:root {
  --primary: #1e293b;
  --primary-light: #334155;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --highlight: #d97706;
  --highlight-hover: #b45309;
  --bg-soft: #f8fafc;
  --text-dark: #0f172a;
  --text-light: #475569;
  --white: #ffffff;
  --border: #e2e8f0;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--highlight);
  color: var(--white);
  padding: 10px 20px;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

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

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

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

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

.btn-secondary {
  background-color: transparent;
  border-color: var(--border);
  color: var(--text-dark);
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Header */
.main-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-img {
  width: 40px;
  height: 40px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent);
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--accent) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.05;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.hero-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  object-fit: cover;
  height: 400px;
}

/* Stats */
.stats {
  padding: 3rem 0;
  background-color: var(--primary);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--highlight);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: #94a3b8;
  margin-bottom: 0;
}

/* How It Works */
.how-it-works {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--bg-soft);
  padding: 2rem;
  border-radius: 8px;
  border-top: 4px solid var(--accent);
  text-align: center;
}

.step-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.step-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Services */
.services-section {
  padding: 5rem 0;
  background-color: var(--bg-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.service-img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.service-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Features */
.features {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  height: 450px;
  object-fit: cover;
}

.features-list {
  list-style: none;
}

.features-list li {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.features-list i {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

/* Pricing */
.pricing {
  padding: 5rem 0;
  background-color: var(--bg-soft);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--highlight);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-family: var(--font-serif);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 1rem;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.pricing-features i {
  color: var(--accent);
}

/* FAQ (Accordion) */
.faq-section {
  padding: 5rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-top: 1rem;
  margin-bottom: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active i {
  transform: rotate(180deg);
}

/* Contact & Form Section */
.contact-section {
  padding: 5rem 0;
  background-color: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-details li {
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-details i {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.map-container {
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.contact-form-wrapper {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input {
  margin-top: 0.35rem;
}

/* Trust Layer (Global) */
.trust-layer {
  background-color: #f1f5f9;
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

.trust-layer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.trust-layer h4 {
  font-size: 1.125rem;
  color: var(--primary);
  font-family: var(--font-sans);
  font-weight: 600;
}

/* Footer */
.main-footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 5rem 0 2rem;
  font-size: 0.9375rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 1.5rem;
}

.footer-links h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: #94a3b8;
}

.footer-links ul li a:hover {
  color: var(--highlight);
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
}

.parent-info {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.parent-info a {
  color: #94a3b8;
}

.parent-info a:hover {
  color: var(--highlight);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  max-width: 450px;
  background: var(--white);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15), 0 10px 10px -5px rgba(0,0,0,0.04);
  border-radius: 8px;
  padding: 2rem;
  z-index: 9999;
  border-left: 5px solid var(--accent);
}

.cookie-content p {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Accessibility */
*:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
  .hero-grid, .services-grid, .features-grid, .contact-grid, .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pricing-card.popular {
    transform: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 1px solid var(--border);
  }
  .nav-menu.active {
    display: flex;
  }
  .burger-menu {
    display: block;
  }
  .header-actions .btn {
    display: none;
  }
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .stats-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
}