/* The Growth Code — auto theme: dark by default, light when the device uses light mode (prefers-color-scheme). Brand: black + green, gold accent. */
:root{color-scheme:dark}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: #0b0f0d; color: #e8f0e8; line-height: 1.6; padding-top: 54px; }
a { color: #4ade80; }







.hero { position: relative; overflow: hidden; }
.hero img { width: 100%; height: 420px; object-fit: cover; display: block; filter: brightness(0.55); }
.hero .hero-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px; max-width: 900px; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0) 100%); }
.hero h1 { font-size: 42px; line-height: 1.15; margin: 0 0 10px; color: #fff; font-weight: 800; text-shadow: 0 2px 14px rgba(0,0,0,0.65); }
.hero p { font-size: 18px; color: #e8f0e8; margin: 0; text-shadow: 0 1px 10px rgba(0,0,0,0.65); }
.hero-text .btn { font-size: 17px; padding: 14px 26px; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 32px 24px 60px; background: #0b0f0d; position: relative; z-index: 1; }
h2 { color: #fff; font-size: 28px; margin-top: 40px; }
h3 { color: #fff; }
.gold { color: #d4af37; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 20px; }
.card { background: #121a14; border: 1px solid #223527; border-radius: 14px; padding: 22px; }
.card h3 { margin-top: 0; }
.muted { color: #9db4a0; }
.btn { display: inline-block; background: #1faa53; color: #fff; text-decoration: none; padding: 12px 24px; border-radius: 10px; font-weight: bold; }
.btn.ghost { background: transparent; border: 1px solid #4ade80; color: #4ade80; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
table.modules { width: 100%; border-collapse: collapse; margin-top: 16px; }
table.modules th, table.modules td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #223527; }
table.modules th { color: #d4af37; }
.sample-banner { background: #2a2110; border: 1px solid #d4af37; border-radius: 12px; padding: 18px 22px; margin-top: 24px; }
.sample-badge { display: inline-block; background: #d4af37; color: #111; font-size: 12px; font-weight: bold; padding: 3px 10px; border-radius: 20px; letter-spacing: 1px; }
.t-card { background: #121a14; border: 1px solid #223527; border-radius: 14px; padding: 20px; }
.t-card .mono { width: 48px; height: 48px; border-radius: 50%; background: #1faa53; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; }
.t-card .stars { color: #d4af37; letter-spacing: 2px; }
.t-card .shot-box { background: #0b0f0d; border: 1px dashed #3a5a40; border-radius: 10px; padding: 16px; text-align: center; color: #9db4a0; font-size: 14px; margin-top: 14px; }
.faq-item { background: #121a14; border: 1px solid #223527; border-radius: 12px; padding: 18px 22px; margin-top: 14px; }
.faq-item h3 { margin: 0 0 6px; }
footer { border-top: 1px solid #223527; background: #0b0f0d; padding: 28px 24px; text-align: center; color: #9db4a0; font-size: 14px; }
footer div { display: flex; flex-wrap: wrap; justify-content: center; }
footer a { color: #e8f0e8; text-decoration: none; margin: 0 10px; }
footer .social a { color: #4ade80; }
@media (max-width: 640px) { .hero img { height: 280px; } .hero h1 { font-size: 30px; }  }





.card, .t-card, .faq-item { transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease; }
.card:hover, .t-card:hover, .faq-item:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.45); border-color: #2e5a38; }
.btn { transition: transform .25s ease, filter .25s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.1); }
.hero img { transition: transform 1.4s cubic-bezier(.22,.61,.36,1); will-change: transform, opacity; }
.hero:hover img { transform: scale(1.025); }

/* Pro motion: GPU-only transforms, JS-gated so content stays visible without JS */
.tgc-js .tgc-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.tgc-js .tgc-reveal.tgc-revealed { opacity: 1; transform: none; }
.grid .tgc-reveal:nth-child(2) { transition-delay: .08s; }
.grid .tgc-reveal:nth-child(3) { transition-delay: .16s; }
.grid .tgc-reveal:nth-child(4) { transition-delay: .24s; }
.grid .tgc-reveal:nth-child(5) { transition-delay: .32s; }
.grid .tgc-reveal:nth-child(6) { transition-delay: .40s; }
@keyframes tgcFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-in, .tgc-hero { animation: tgcFadeUp .9s cubic-bezier(.22,.61,.36,1) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tgc-js .tgc-reveal { transition: none; opacity: 1; transform: none; }
  .hero-in, .tgc-hero { animation: none; }
}

/* Header: logo + hamburger only. All links + login live inside the drawer (LMS style). Pure CSS toggle, works without JS. */
.site-head { background: #0b0f0d; border-bottom: 1px solid #223527; padding: 10px 18px; display: flex; align-items: center; position: fixed; top: 0; left: 0; right: 0; z-index: 9000; }
.site-head.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.site-head .brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: bold; font-size: 17px; }
.site-head .brand img { height: 34px; width: auto; }
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { margin-left: auto; width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; border: 1px solid #223527; border-radius: 10px; background: #121a14; }
.burger span { display: block; width: 22px; height: 2px; background: #e8f0e8; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .35s ease; z-index: 9998; }
.drawer { position: fixed; top: 0; right: 0; height: 100dvh; width: min(320px, 85vw); background: #121a14; border-left: 1px solid #223527; padding: 20px; transform: translateX(105%); transition: transform .45s cubic-bezier(.22,.61,.36,1); z-index: 9999; overflow-y: auto; }
.drawer a { display: block; color: #e8f0e8; text-decoration: none; font-size: 18px; padding: 13px 10px; border-bottom: 1px solid #223527; }
.drawer a:hover { color: #4ade80; }
.drawer .drawer-close { display: block; text-align: right; font-size: 30px; color: #9db4a0; cursor: pointer; padding: 0 6px 10px; border: none; }
.drawer .drawer-login { margin-top: 18px; background: #1faa53; color: #fff; text-align: center; border-radius: 10px; font-weight: bold; border: none; }
.menu-toggle:checked ~ .menu-overlay { opacity: 1; pointer-events: auto; }
.menu-toggle:checked ~ .drawer { transform: translateX(0); }
.menu-toggle:checked ~ .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
.menu-toggle:checked ~ .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
body:has(.menu-toggle:checked) { overflow: hidden; }
/* Images inside content */
.img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.img-row img { width: 100%; height: 300px; object-fit: cover; border-radius: 14px; border: 1px solid #223527; }
.split { display: flex; gap: 24px; align-items: center; margin-top: 20px; }
.split img { width: 42%; border-radius: 14px; border: 1px solid #223527; }
.split .split-text { flex: 1; }
.table-wrap { overflow-x: auto; }
.table-wrap table { min-width: 520px; }
/* Mobile alignment pass */
@media (max-width: 640px) {
  .wrap { padding: 24px 16px 48px; }
  .hero img { height: 260px; }
  .hero-home img { height: 640px; object-position: center 15%; }
  .hero-about img { height: 480px; }
  .hero-courses img { height: 480px; }
  .hero-faq img { height: 320px; }
  .hero-contact img { height: 320px; }
.hero-about img { object-position: 68% 50%; }
.hero-courses img { object-position: 68% 15%; }
.hero-faq img { object-position: 35% 10%; }
.hero-contact img { object-position: center 15%; }
  .hero h1 { font-size: 32px; line-height: 1.2; }
  .hero p { font-size: 17px; }
  .hero .hero-text { padding: 24px 16px; }
  h2 { font-size: 23px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .card, .t-card { padding: 16px; }
  .faq-item { padding: 14px 16px; }
  .sample-banner { padding: 14px 16px; }
  .cta-row .btn { flex: 1; text-align: center; }
  .site-head { padding: 8px 12px; }
  body { padding-top: 44px; }
  footer { padding: 24px 16px; }
  .site-head .brand { font-size: 15px; }
  .site-head .brand img { height: 28px; }
  .burger { width: 40px; height: 40px; }
  .img-row { grid-template-columns: 1fr; }
  .img-row img { height: 240px; }
  .split { flex-direction: column; }
  .split img { width: 100%; }
  table.modules th, table.modules td { padding: 10px 8px; font-size: 14px; }
}

/* FAQ accordion: click a question, the answer drops down (pure HTML details, no JS needed) */
.faq-item summary { cursor: pointer; font-weight: bold; font-size: 18px; color: #fff; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: #4ade80; font-size: 24px; line-height: 1; flex-shrink: 0; transition: transform .3s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 12px 0 0; color: #cfe3d2; }

/* Course modules: click a module, its classes drop down */
.module-acc { background: #121a14; border: 1px solid #223527; border-radius: 14px; padding: 18px 20px; margin: 0 0 14px; }
.module-acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 18px; color: #fff; }
.module-acc summary::-webkit-details-marker { display: none; }
.module-acc summary::after { content: "+"; color: #4ade80; font-size: 24px; line-height: 1; flex-shrink: 0; transition: transform .3s ease; }
.module-acc[open] summary::after { transform: rotate(45deg); }
.module-acc .m-count { color: #9db4a0; font-size: 14px; white-space: nowrap; }
.class-list { margin: 16px 0 0; padding-left: 22px; color: #cfe3d2; }
.class-list li { margin: 0 0 12px; }
.class-list li b { color: #fff; display: block; }
.class-list li span { font-size: 15px; }
/* Course price, end of page: green gradient panel, replaces the old gold-bordered box */
.price-panel { background: linear-gradient(135deg, #12351f, #0b0f0d 70%); border: 1px solid #1faa53; border-radius: 16px; padding: 32px 24px; text-align: center; margin-top: 28px; }
.price-panel .price-label { color: #4ade80; letter-spacing: 2px; font-size: 13px; font-weight: bold; }
.price-panel .price-amount { font-size: 42px; font-weight: bold; color: #fff; margin: 8px 0; }
.price-panel .price-amount span { font-size: 20px; color: #d4af37; }
.price-panel p { color: #cfe3d2; margin: 0 0 20px; }
.price-panel .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer social icons */
footer .social { display: flex; gap: 16px; justify-content: center; }
footer .social a { color: #cfe3d2; display: inline-flex; align-items: center; }
footer .social a:hover { color: #4ade80; }
footer .social svg { width: 24px; height: 24px; display: block; }
/* Hero crops, all sizes (face stays above the text) */
.hero-home img { object-position: center 15%; }
.hero-about img { object-position: 68% 50%; }
.hero-courses img { object-position: 68% 15%; }
.hero-faq img { object-position: 35% 10%; }
.hero-contact img { object-position: center 15%; }
/* Contact form */
.contact-form { max-width: 640px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 10px; border: 1px solid #223527; background: #121a14; color: #e8f0e8; font-size: 16px; box-sizing: border-box; }
.contact-form textarea { resize: vertical; }
.form-msg { font-weight: 600; min-height: 24px; }
.form-msg.ok { color: #4ade80; }
.form-msg.err { color: #f87171; }

/* AUTO LIGHT THEME (2026-10-27): follows the device setting. Dark rules above stay untouched;
   everything below only applies when the device uses light mode. Hero stays photo + white text in both modes. */
@media (prefers-color-scheme: light) {
  :root { color-scheme: light; }
  body { background: #f6f8f6; color: #0a0f0c; }
  a { color: #15803d; }
  .wrap { background: #f6f8f6; }
  h2, h3 { color: #0a0f0c; }
  .gold { color: #8c6d12; }
  .card, .t-card, .faq-item, .module-acc { background: #ffffff; border-color: #dce5dd; }
  .muted, .module-acc .m-count { color: #63736a; }
  .btn.ghost { border-color: #1faa53; color: #1faa53; }
  table.modules th, table.modules td { border-bottom-color: #dce5dd; }
  table.modules th { color: #8c6d12; }
  .sample-banner { background: #fdf6e0; border-color: #d4af37; }
  .t-card .stars { color: #8c6d12; }
  .t-card .shot-box { background: #f0f4f0; border-color: #b9cbb9; color: #63736a; }
  footer { background: #ffffff; border-top-color: #dce5dd; color: #63736a; }
  footer a { color: #1c2b20; }
  footer .social a { color: #3d4a41; }
  footer .social a:hover { color: #1faa53; }
  .site-head { background: #ffffff; border-bottom-color: #dce5dd; }
  .site-head .brand { color: #0a0f0c; }
  .burger { background: #ffffff; border-color: #dce5dd; }
  .burger span { background: #0a0f0c; }
  .drawer { background: #ffffff; border-left-color: #dce5dd; }
  .drawer a { color: #0a0f0c; border-bottom-color: #dce5dd; }
  .drawer a:hover { color: #1faa53; }
  .drawer .drawer-close { color: #63736a; }
  .img-row img, .split img { border-color: #dce5dd; }
  .faq-item summary { color: #0a0f0c; }
  .faq-item summary::after { color: #1faa53; }
  .faq-item p { color: #3d4a41; }
  .module-acc summary { color: #0a0f0c; }
  .module-acc summary::after { color: #1faa53; }
  .class-list { color: #3d4a41; }
  .class-list li b { color: #0a0f0c; }
  .price-panel { background: linear-gradient(135deg, #e3f4e8, #ffffff); border-color: #1faa53; }
  .price-panel .price-label { color: #1faa53; }
  .price-panel .price-amount { color: #0a0f0c; }
  .price-panel .price-amount span { color: #8c6d12; }
  .price-panel p { color: #3d4a41; }
  .contact-form input, .contact-form select, .contact-form textarea { background: #ffffff; border-color: #dce5dd; color: #0a0f0c; }
  .form-msg.ok { color: #1faa53; }
  .form-msg.err { color: #dc2626; }
  .card:hover, .t-card:hover, .faq-item:hover { border-color: #9cc4a4; box-shadow: 0 14px 34px rgba(0,0,0,.12); }
}
