:root {
  --green: #1f7a3a;
  --green-2: #13542a;
  --green-light: #2a9d4e;
  --yellow: #e6f23a;
  --yellow-soft: rgba(230, 242, 58, 0.12);
  --offwhite: #f8faf8;
  --ink: #0c1b12;
  --muted: #4a6356;
  --card: #ffffff;
  --border: rgba(12, 27, 18, 0.08);
  --shadow: 0 4px 6px -1px rgba(12, 27, 18, 0.05), 0 10px 20px -2px rgba(12, 27, 18, 0.08);
  --shadow-lg: 0 20px 40px -8px rgba(12, 27, 18, 0.12), 0 8px 16px -4px rgba(12, 27, 18, 0.06);
  --shadow-xl: 0 25px 50px -12px rgba(12, 27, 18, 0.18);
  --radius: 20px;
  --radius-lg: 28px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  transition: color var(--transition);
}

/* Announcement Bar */
.announcement {
  text-align: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.announcement strong {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}

.announcement a {
  color: #fff;
  text-decoration: none;
  margin-left: 12px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-weight: 700;
  transition: all var(--transition);
}

.announcement a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 28px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  position: sticky;
  top: 16px;
  z-index: 100;
  transition: all var(--transition);
}

.nav:hover {
  box-shadow: var(--shadow-lg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform var(--transition);
}

.brand:hover {
  transform: scale(1.02);
}

.brand-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(12, 27, 18, 0.04);
}

.brand-logo {
  display: block;
  object-fit: contain;
  height: 40px;
  width: auto;
  max-width: min(220px, 50vw);
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 4px;
  border-radius: 999px;
  background: rgba(12, 27, 18, 0.03);
}

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  transition: all var(--transition);
}

.nav-link:hover {
  background: var(--yellow-soft);
  color: var(--green-2);
}

.nav-active {
  background: var(--yellow);
  color: var(--green-2);
  font-weight: 600;
}

.cta {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  box-shadow: 0 4px 14px rgba(31, 122, 58, 0.3);
  white-space: nowrap;
  line-height: 1;
  transition: all var(--transition);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 122, 58, 0.4);
}

/* Hero Section */
.hero {
  padding: 80px 0 40px;
  text-align: center;
}

.hero .container {
  max-width: 900px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--green-2);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow);
}

.k-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

h1 {
  margin: 24px 0 16px;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--ink) 0%, var(--green-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 {
  margin-bottom: 20px;
}

.sub {
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(17px, 2.4vw, 20px);
  max-width: 64ch;
  line-height: 1.65;
}

.hero .sub {
  font-size: clamp(18px, 2.4vw, 22px);
}

/* Stats Section */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin: 50px 0 30px;
  padding: 0;
}

.stat {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* Cards */
.card {
  grid-column: span 6;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  opacity: 1;
}

.card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.card ul {
  margin: 16px 0 0;
  padding-left: 0;
  color: var(--muted);
  line-height: 1.7;
  list-style: none;
}

.card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.wide {
  grid-column: span 12;
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(31, 122, 58, 0.1) 0%, rgba(230, 242, 58, 0.2) 100%);
  border-radius: 16px;
  font-size: 28px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Buttons */
.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero .btn-row {
  justify-content: center;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  background: #fff;
  transition: all var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(31, 122, 58, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(31, 122, 58, 0.35);
}

.btn-secondary {
  background: var(--yellow);
  color: var(--green-2);
  border: none;
}

.btn-secondary:hover {
  background: #d9e535;
}

/* Note/Alert Box */
.note {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(31, 122, 58, 0.15);
  background: linear-gradient(135deg, rgba(230, 242, 58, 0.1) 0%, rgba(31, 122, 58, 0.05) 100%);
  color: var(--green-2);
  line-height: 1.6;
  font-size: 15px;
}

.note strong {
  font-weight: 700;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--green-2) 0%, var(--green) 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin-top: 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-section .btn-row {
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--green-2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
  background: var(--yellow);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* Trust Badges */
.trust-section {
  text-align: center;
  padding: 40px 0;
  margin-top: 60px;
  border-top: 1px solid var(--border);
}

.trust-section p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.trust-badge span {
  font-size: 24px;
}

/* Footer */
footer.site-footer {
  margin-top: 80px;
  padding: 0;
  background: linear-gradient(180deg, var(--offwhite) 0%, #fff 100%);
  position: relative;
}

footer.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--green), var(--border), transparent);
}

.footer-wrapper {
  background: linear-gradient(180deg, rgba(31, 122, 58, 0.03) 0%, rgba(230, 242, 58, 0.05) 100%);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 28px;
}

.footer-brand {
  padding-right: 20px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  max-width: 340px;
}

.footer-column h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-2);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-column a:hover {
  color: var(--green);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background: rgba(12, 27, 18, 0.03);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1140px;
  margin: 0 auto;
}

.footer-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-note strong {
  color: var(--ink);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.footer-links a:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 122, 58, 0.25);
}

/* Consent Banner */
.consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 24px;
}

.consent-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.consent-title {
  font-weight: 700;
  margin: 0 0 6px;
  font-size: 16px;
}

.consent-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.consent-actions button {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
}

.consent-actions button:hover {
  background: rgba(31, 122, 58, 0.05);
}

.consent-actions button.primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  border: none;
  color: #fff;
}

.consent-actions button.primary:hover {
  box-shadow: 0 4px 14px rgba(31, 122, 58, 0.3);
}

.consent-actions a {
  align-self: center;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: all var(--transition);
}

.consent-actions a:hover {
  background: rgba(31, 122, 58, 0.08);
  color: var(--green);
}

/* Accordion (FAQ & Curriculum) */
.accordion {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
}

.accordion:hover {
  box-shadow: var(--shadow-lg);
}

.accordion + .accordion {
  margin-top: 12px;
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.accordion summary:hover {
  background: rgba(31, 122, 58, 0.03);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  transition: transform var(--transition);
}

.accordion[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.accordion[open] summary {
  border-bottom: 1px solid var(--border);
}

.accordion .content {
  padding: 20px 24px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

/* Page Headers */
main > h1 {
  text-align: center;
  margin-top: 60px;
}

main > .sub {
  text-align: center;
  margin-bottom: 40px;
}

/* Section Spacing */
section.card {
  margin-top: 24px;
}

section.card:first-of-type {
  margin-top: 40px;
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--yellow);
  color: var(--green-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* Pricing Card */
.pricing-card {
  background: linear-gradient(135deg, #fff 0%, rgba(230, 242, 58, 0.1) 100%);
  border: 2px solid var(--green);
  position: relative;
}

.pricing-card::before {
  opacity: 1 !important;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0;
}

.price-original {
  font-size: 24px;
  color: var(--muted);
  text-decoration: line-through;
}

.price-current {
  font-size: 48px;
  font-weight: 800;
  color: var(--green);
}

.price-period {
  font-size: 16px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .nav {
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 16px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .brand-logo {
    height: 36px;
  }

  .hero {
    padding: 50px 0 30px;
  }

  footer.site-footer {
    padding: 30px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: span 1;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .consent-row {
    grid-template-columns: 1fr;
  }

  .consent-actions {
    justify-content: flex-start;
  }

  .cta-section {
    padding: 40px 24px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .card {
    grid-column: span 12;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 16px 20px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat {
    padding: 20px 12px;
  }

  .stat-value {
    font-size: 26px;
  }

  .trust-badges {
    gap: 20px;
  }
}
