/* Liracure Website Styles */

/* CSS Variables for consistent theming */
:root {
  --primary-color: #6ab7ff;
  --secondary-color: #ff9cce;
  --light-color: #ffffff;
  --dark-color: #333333;
  --gradient-bg: linear-gradient(135deg, var(--primary-color) 0%, var(--light-color) 50%, var(--secondary-color) 100%);
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --section-padding: 80px 0;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.section-title p {
  font-size: 1.1rem;
  color: #777;
  max-width: 700px;
  margin: 0 auto;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
  color: white;
}

.btn-secondary {
  background: var(--secondary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 15px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo span {
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: var(--gradient-bg);
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/pattern.svg');
  opacity: 0.1;
}

.hero-content {
  max-width: 600px;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}

.hero-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  z-index: 0;
}

/* Features Section */
.features {
  background-color: #f9f9f9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-bg);
  border-radius: 50%;
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  fill: white;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* How It Works Section */
.how-it-works {
  background-color: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Pricing Section */
.pricing {
  background-color: #f9f9f9;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pricing-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 15px;
  right: -35px;
  background: var(--primary-color);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.pricing-card .price span {
  font-size: 1rem;
  color: #777;
}

.pricing-card ul {
  margin-bottom: 30px;
}

.pricing-card ul li {
  margin-bottom: 10px;
  color: #555;
}

/* Testimonials Section */
.testimonials {
  background-color: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: #555;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.9rem;
  color: #777;
}

/* CTA Section */
.cta {
  background: var(--gradient-bg);
  text-align: center;
  padding: 100px 0;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Section */
.contact {
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-info p {
  margin-bottom: 30px;
  color: #555;
}

.contact-info .info-item {
  display: flex;
  margin-bottom: 20px;
}

.info-item .icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.info-item .icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.info-item .text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-item .text p {
  margin-bottom: 0;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: #222;
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-col p {
  margin-bottom: 15px;
  color: #aaa;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #aaa;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
}

.footer-bottom p {
  color: #aaa;
}

/* Terms and Privacy Pages */
.terms-content,
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 20px 60px;
}

.terms-content h1,
.privacy-content h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.terms-content h2,
.privacy-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--primary-color);
}

.terms-content p,
.privacy-content p {
  margin-bottom: 20px;
  color: #555;
}

.terms-content ul,
.privacy-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.terms-content ul li,
.privacy-content ul li {
  list-style: disc;
  margin-bottom: 10px;
  color: #555;
}

/* Thank You Message */
.thank-you-message {
  display: none;
  background: #e8f5e9;
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  margin-top: 20px;
}

.thank-you-message.show {
  display: block;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-image {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .header .container {
    padding: 15px;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .hero {
    height: auto;
    padding: 150px 0 100px;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-image {
    position: relative;
    width: 80%;
    margin: 50px auto 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 25px;
  }
}
