/* Base Styles */
:root {
  --color-primary: #A5C8E1; /* Light blue */
  --color-secondary: #D7C2E9; /* Lavender */
  --color-tertiary: #B8E0D2; /* Mint */
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F9FA;
  --color-border: #E6E6E6;
  --font-primary: 'Nunito', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: var(--transition);
}

a:hover {
  color: var(--color-text);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-primary);
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: #8ABBD9;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: #C4A9DE;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-tertiary {
  background-color: var(--color-tertiary);
  color: white;
}

.btn-tertiary:hover {
  background-color: #9DD5C2;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Header & Navigation */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
  transition: var(--transition);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  transition: var(--transition);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: var(--color-text);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--color-text);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 160px 0 120px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8edf2 100%);
  overflow: hidden;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-divider path {
  fill: var(--color-bg);
}

/* Benefits Section */
.benefits-section {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-card h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.benefit-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* How It Works Section */
.how-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #f1f6ff 0%, #e6ecf7 100%);
}

.curve-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.curve-divider.top {
  top: 0;
}

.curve-divider.bottom {
  bottom: 0;
  transform: rotate(180deg);
}

.curve-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.curve-divider path {
  fill: var(--color-bg);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.step {
  text-align: center;
  padding: 30px;
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  background-color: var(--color-primary);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
}

.how-image {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Program Section */
.program-section {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.program-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.program-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.program-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.2rem;
}

.program-card p {
  padding: 0 20px 20px;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #e6e9f0 0%, #eef1f5 100%);
}

.diagonal-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.diagonal-divider.top {
  top: 0;
}

.diagonal-divider.bottom {
  bottom: 0;
}

.diagonal-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.diagonal-divider path {
  fill: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--color-text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pricing-header {
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.starter .pricing-header {
  background-color: rgba(165, 200, 225, 0.1);
}

.basic .pricing-header {
  background-color: rgba(215, 194, 233, 0.1);
}

.premium .pricing-header {
  background-color: rgba(184, 224, 210, 0.1);
}

.pricing-header h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.price {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.period {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.pricing-features {
  padding: 30px;
  flex-grow: 1;
}

.pricing-features ul {
  margin-bottom: 30px;
}

.pricing-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.pricing-card .btn {
  margin: 0 30px 30px;
}

/* Subscription Section */
.subscription-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #e6f3fa 0%, #d9e7f1 100%);
}

.subscription-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.wave-divider.top path {
  fill: var(--color-bg);
}

.subscription-content {
  max-width: 500px;
}

.subscription-form {
  margin-top: 30px;
}

.form-group {
  display: flex;
  margin-bottom: 15px;
}

.form-group input {
  flex-grow: 1;
  padding: 12px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-family: var(--font-primary);
}

.form-group button {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.subscription-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.about-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8edf2 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form-container {
  background-color: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.contact-form label {
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
}

.map-container {
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.site-footer {
  background-color: #2c3e50;
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 15px;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: white;
}

.footer-contact address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact address p {
  margin-bottom: 5px;
}

.footer-newsletter .form-group {
  margin-bottom: 10px;
}

.footer-newsletter input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Success / Error Messages */
.success-message,
.error-message {
  padding: 15px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.success-message {
  background-color: rgba(184, 224, 210, 0.3);
  border: 1px solid var(--color-tertiary);
  color: #2d7362;
}

.error-message {
  background-color: rgba(255, 107, 107, 0.1);
  border: 1px solid #ff6b6b;
  color: #d63031;
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-section {
    padding: 140px 0 100px;
  }
  
  .hero-section .container,
  .subscription-section .container,
  .about-section .container,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-image {
    order: -1;
  }
  
  .subscription-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background-color: white;
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .how-section,
  .testimonials-section,
  .subscription-section,
  .contact-section {
    padding: 80px 0;
  }
  
  .benefits-section,
  .program-section,
  .pricing-section,
  .about-section {
    padding: 60px 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .form-group input {
    border-radius: var(--radius-md);
    margin-bottom: 10px;
  }
  
  .form-group button {
    border-radius: var(--radius-md);
    width: 100%;
  }
  
  .contact-form-container {
    padding: 30px 20px;
  }
}

/* Animation Classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}