:root{
  /* Neutral / light base */
  --bg:#f6f7fb;
  --surface:#ffffff;
  --surface2:#fbfbff;
  --ink:#0b1020;
  --muted:#55627a;
  --line:rgba(15, 23, 42, .10);

  /* Futuristic accents */
  --aqua:#2ee7ff;
  --violet:#7c5cff;
  --mint:#6ef7c8;

  /* Shadows / radius */
  --shadow:0 22px 60px rgba(11,16,32,.10);
  --shadow2:0 40px 90px rgba(11,16,32,.14);
  --radius:26px;

  --max:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Manrope, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--ink);
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.wrap{max-width:var(--max);margin:auto;padding:0 24px}

h1,h2,h3{font-family:"Space Grotesk", Manrope, system-ui, sans-serif}
h2{letter-spacing:-.3px}

/* Make anchor jumps land below sticky header */
section, [id]{ scroll-margin-top: 110px; }

/* =========================
   HEADER (DESKTOP/TABLET)
   ========================= */
.site-header{
  position:sticky;top:0;
  background:rgba(246,247,251,.72);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  z-index:1000;
  border-bottom:1px solid rgba(15, 23, 42, .10);
}

.nav{
  display:flex;
  align-items:center;
  gap:16px;
  padding:14px 0;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  min-width:0;
  color:var(--ink);
}
.brand-name{
  letter-spacing:.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Logo - bigger + animated halo */
.mark{
  width:54px;height:54px;border-radius:18px;
  position:relative;
  display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(46,231,255,.24), rgba(124,92,255,.24));
  border:1px solid rgba(15, 23, 42, .10);
  box-shadow:0 18px 45px rgba(124,92,255,.12);
  overflow:hidden;
  transform:translateZ(0);
  flex:0 0 auto;
}
.mark::before{
  content:"";
  position:absolute; inset:-40%;
  background:conic-gradient(from 180deg, rgba(46,231,255,.85), rgba(124,92,255,.85), rgba(110,247,200,.75), rgba(46,231,255,.85));
  animation:ring 5.5s linear infinite;
  filter:blur(10px);
  opacity:.55;
}
.mark::after{
  content:"";
  position:absolute; inset:1px;
  background:rgba(246,247,251,.85);
  border-radius:16px;
  border:1px solid rgba(15, 23, 42, .08);
}
@keyframes ring{to{transform:rotate(360deg)}}

.mark img{
  position:relative; z-index:2;
  width:100%; height:100%;
  object-fit:cover;
  border-radius:16px;
}
.mark-fallback{
  position:relative; z-index:2;
  display:grid; place-items:center;
  font-weight:1000;
  color:rgba(11,16,32,.85);
}
.mark:not(.no-img) .mark-fallback{display:none}

/* Links */
.links{
  margin-left:auto;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.links a{
  font-weight:800;
  padding:10px 14px;
  border-radius:999px;
  line-height:1;
  color:rgba(11,16,32,.78);
  border:1px solid transparent;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.links a:hover{
  background:rgba(124,92,255,.08);
  border-color:rgba(124,92,255,.18);
  transform:translateY(-1px);
}
.links .link-cta{
  background:linear-gradient(135deg, rgba(46,231,255,.22), rgba(124,92,255,.18));
  border:1px solid rgba(124,92,255,.22);
}
.links .link-cta:hover{
  background:linear-gradient(135deg, rgba(46,231,255,.30), rgba(124,92,255,.22));
}

/* =========================
   ✅ AUTH UI (WELCOME + ADMIN)
   ========================= */

/* Welcome pill */
.nav-welcome{
  display:inline-flex;
  align-items:center;
  gap:10px;

  padding:7px 12px;
  border-radius:999px;

  background:rgba(255,255,255,.55);
  border:1px solid rgba(15, 23, 42, .10);
  box-shadow:0 10px 28px rgba(15, 23, 42, .06);

  font-weight:600;            /* lighter clean look */
  font-size:13px;
  color:rgba(15, 23, 42, .70);
  letter-spacing:.15px;
  white-space:nowrap;

  /* ✅ pushes it further right after ENROL (desktop/tablet) */
  margin-left:16px;
}

/* green online dot */
.nav-welcome .dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#22c55e;
  box-shadow:
    0 0 0 3px rgba(34,197,94,.18),
    0 0 16px rgba(34,197,94,.35);
}

/* name slightly bolder */
.nav-welcome .name{
  font-weight:700;
  color:rgba(15, 23, 42, .88);
}

/* Admin button */
.nav-admin-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:8px 14px;
  border-radius:999px;

  font-weight:800;
  font-size:13px;
  text-decoration:none;

  color:rgba(15, 23, 42, .85);
  background:rgba(34, 197, 94, .12);
  border:1px solid rgba(34, 197, 94, .30);

  box-shadow:0 10px 28px rgba(15, 23, 42, .06);
  transition:transform .15s ease, filter .15s ease;
}

.nav-admin-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.05);
}

/* =========================
   ✅ COURSES DROPDOWN (NO JS)
   ========================= */
.nav-dd{
  position:relative;
  display:inline-block;
}
.nav-dd > summary{
  list-style:none;
  cursor:pointer;
  user-select:none;

  font-weight:800;
  padding:10px 14px;
  border-radius:999px;
  line-height:1;
  color:rgba(11,16,32,.78);
  border:1px solid transparent;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.nav-dd > summary:hover{
  background:rgba(124,92,255,.08);
  border-color:rgba(124,92,255,.18);
  transform:translateY(-1px);
}
.nav-dd > summary::-webkit-details-marker{display:none}

/* caret */
.nav-dd > summary::after{
  content:"▾";
  font-weight:1100;
  opacity:.65;
  transform:translateY(-1px);
}
.nav-dd[open] > summary{
  background:rgba(15, 23, 42, .06);
  border-color:rgba(15, 23, 42, .10);
}
.nav-dd[open] > summary::after{
  content:"▴";
  opacity:.55;
}

/* menu (desktop/tablet) */
.dd-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:220px;
  padding:8px;
  border-radius:18px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(15, 23, 42, .10);
  box-shadow:0 26px 70px rgba(11,16,32,.14);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  z-index:1100;
}
.dd-menu a{
  display:block;
  padding:10px 12px;
  border-radius:14px;
  font-weight:900;
  color:rgba(11,16,32,.78);
  border:1px solid transparent;
}
.dd-menu a:hover{
  background:rgba(124,92,255,.08);
  border-color:rgba(124,92,255,.16);
}

/* =========================
   HERO
   ========================= */
.hero{
  position:relative;
  overflow:hidden;
  padding:92px 0 88px;
  background:
    radial-gradient(900px 420px at 15% 15%, rgba(46,231,255,.22), transparent 60%),
    radial-gradient(800px 420px at 85% 30%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(900px 520px at 55% 110%, rgba(110,247,200,.16), transparent 60%),
    linear-gradient(180deg, #ffffff, #f6f7fb);
  border-bottom:1px solid rgba(15, 23, 42, .08);
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(15, 23, 42, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .05) 1px, transparent 1px);
  background-size:60px 60px;
  opacity:.35;
  mask-image:radial-gradient(60% 60% at 30% 20%, #000 40%, transparent 80%);
  pointer-events:none;
}
.hero::after{
  content:"";
  position:absolute;
  width:520px;height:520px;
  left:-120px; top:-180px;
  background:radial-gradient(circle at 30% 30%, rgba(46,231,255,.55), transparent 55%),
             radial-gradient(circle at 70% 70%, rgba(124,92,255,.50), transparent 55%);
  filter:blur(22px);
  opacity:.35;
  animation:drift 10s ease-in-out infinite alternate;
  pointer-events:none;
}
@keyframes drift{
  to{transform:translate(140px, 70px) scale(1.06)}
}

.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:40px;
  align-items:center;
  z-index:1;
}

.pill{
  display:inline-flex;align-items:center;
  padding:10px 14px;
  border-radius:999px;
  font-weight:900;
  color:rgba(11,1616,32,.80);
  background:rgba(255,255,255,.72);
  border:1px solid rgba(15, 23, 42, .10);
  box-shadow:0 14px 32px rgba(11,16,32,.06);
}

h1{
  font-size:58px;
  line-height:1.03;
  margin:18px 0 10px;
  letter-spacing:-.9px;
}
.accent{
  background:linear-gradient(90deg, var(--violet), var(--aqua));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  max-width:640px;
  font-size:18px;
  color:rgba(11,16,32,.70);
}

.hero-actions{margin-top:28px;display:flex;gap:12px;flex-wrap:wrap}
.btn{
  position:relative;
  padding:16px 22px;
  border-radius:999px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  line-height:1;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
  will-change:transform;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  color:#07101a;
  background:linear-gradient(135deg, rgba(46,231,255,.85), rgba(124,92,255,.80));
  box-shadow:0 18px 40px rgba(124,92,255,.18);
}
.btn-primary::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform:translateX(-120%);
  opacity:.65;
  border-radius:999px;
}
.btn-primary:hover::after{
  transform:translateX(120%);
  transition:transform .8s ease;
}
.btn-secondary{
  color:rgba(11,16,32,.80);
  background:rgba(255,255,255,.68);
  border:1px solid rgba(15, 23, 42, .12);
  box-shadow:0 14px 30px rgba(11,16,32,.06);
}
.btn-secondary:hover{filter:brightness(1.02)}

.hero-badges{margin-top:18px;display:flex;gap:10px;flex-wrap:wrap}
.chip{
  display:inline-flex;align-items:center;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.70);
  border:1px solid rgba(15, 23, 42, .10);
  font-weight:900;
  font-size:13px;
  color:rgba(11,16,32,.72);
}

.hero-media{position:relative}
.media-frame{
  border-radius:32px;
  background:rgba(255,255,255,.74);
  border:1px solid rgba(15, 23, 42, .10);
  box-shadow:var(--shadow2);
  padding:10px;
}
.media-frame img{
  width:100%;
  border-radius:24px;
  height:auto;
}
.floating-card{
  position:absolute;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(15, 23, 42, .10);
  border-radius:16px;
  padding:12px 14px;
  box-shadow:0 18px 40px rgba(11,16,32,.10);
  backdrop-filter:blur(10px);
  animation:floaty 3.8s ease-in-out infinite;
}
.floating-card strong{display:block;font-weight:1000;font-size:13px}
.floating-card span{display:block;color:rgba(11,16,32,.62);font-weight:800;font-size:12px;margin-top:3px}
.fc-1{left:-8px;bottom:22px;animation-delay:.2s}
.fc-2{right:-10px;top:26px;animation-delay:.65s}
@keyframes floaty{50%{transform:translateY(-6px)}}

/* Sections */
.section{padding:92px 0}
.section-head{max-width:720px;margin-bottom:34px}
.muted{color:var(--muted)}

/* Pricing */
.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.price-card{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(15, 23, 42, .10);
  border-radius:var(--radius);
  padding:30px;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.price-card::before{
  content:"";
  position:absolute; inset:-40%;
  background:conic-gradient(from 90deg, rgba(46,231,255,.35), rgba(124,92,255,.35), rgba(110,247,200,.28), rgba(46,231,255,.35));
  opacity:.18;
  filter:blur(18px);
}
.price-card:hover{
  transform:translateY(-6px);
  box-shadow:0 36px 90px rgba(11,16,32,.14);
  border-color:rgba(124,92,255,.22);
}
.price-card.highlight{border-color:rgba(46,231,255,.26)}
.badge-top{
  position:absolute;top:16px;right:16px;
  background:linear-gradient(135deg, rgba(46,231,255,.22), rgba(124,92,255,.18));
  border:1px solid rgba(124,92,255,.20);
  color:rgba(11,16,32,.78);
  font-weight:1000;
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
}
.price{font-size:36px;font-weight:1000;margin:10px 0 10px}
.price small{font-size:14px;color:var(--muted);font-weight:900}
.price-card ul{padding-left:18px;color:rgba(11,16,32,.64);margin:12px 0 0}
.price-card li{margin:7px 0}
.mini-cta{
  display:inline-flex;
  margin-top:16px;
  font-weight:1000;
  color:rgba(68, 56, 255, .95);
}
.mini-cta:hover{text-decoration:underline}

/* Team Carousel */
.team-shell{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(15, 23, 42, .10);
  border-radius:30px;
  box-shadow:var(--shadow);
  padding:22px;
  overflow:hidden;
}
.team-top{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:18px;margin-bottom:18px;
}
.small{font-size:13px}
.team-controls{display:flex;gap:10px;align-items:center}
.ctrl-btn{
  width:44px;height:44px;border-radius:999px;
  border:1px solid rgba(15, 23, 42, .10);
  background:rgba(255,255,255,.85);
  cursor:pointer;
  font-weight:1000;
  transition:transform .18s ease, box-shadow .18s ease;
}
.ctrl-btn:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(11,16,32,.12)}
.dots{display:flex;gap:8px;align-items:center}
.dot{
  width:10px;height:10px;border-radius:999px;
  background:rgba(11,16,32,.20);
  cursor:pointer;
  border:0;
}
.dot.active{background:linear-gradient(135deg, var(--violet), var(--aqua))}
.carousel{overflow:hidden}
.track{
  display:flex;
  gap:18px;
  transition:transform .55s cubic-bezier(.2,.8,.2,1);
  will-change:transform;
}
.member{
  min-width:calc((100% - 36px)/3);
  background:rgba(255,255,255,.84);
  border-radius:22px;
  padding:16px;
  border:1px solid rgba(15, 23, 42, .10);
  box-shadow:0 18px 44px rgba(11,16,32,.08);
}
.member img{
  width:100%;
  height:210px;
  object-fit:cover;
  border-radius:18px;
  margin-bottom:12px;
}
.member strong{display:block;margin-top:2px;font-weight:1000}
.member p{margin:6px 0 0}

/* Results */
.results-wrap{
  background:rgba(255,255,255,.74);
  border:1px solid rgba(15, 23, 42, .10);
  border-radius:34px;
  box-shadow:var(--shadow);
  padding:38px;
  position:relative;
  overflow:hidden;
}
.results-wrap::before{
  content:"";
  position:absolute; inset:-40%;
  background:conic-gradient(from 180deg, rgba(46,231,255,.25), rgba(124,92,255,.25), rgba(110,247,200,.18), rgba(46,231,255,.25));
  filter:blur(22px);
  opacity:.22;
}
.results-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:32px;
  align-items:center;
}
.callout{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}
.tag{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(124,92,255,.10);
  border:1px solid rgba(124,92,255,.18);
  color:rgba(11,16,32,.75);
  font-weight:1000;
  font-size:12px;
}
.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:18px;
}
.stat{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(15, 23, 42, .10);
  border-radius:18px;
  padding:16px;
}
.stat .num{font-weight:1100;font-size:26px}
.stat .lbl{color:rgba(11,16,32,.62);font-weight:900;margin-top:6px;font-size:13px}
.quote-strip{display:grid;gap:14px}
.quote{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(15, 23, 42, .10);
  border-radius:20px;
  padding:16px;
  box-shadow:0 14px 30px rgba(11,16,32,.06);
}
.quote strong{display:block;margin-bottom:6px;font-weight:1000}
.quote p{margin:0;color:rgba(11,16,32,.62);font-weight:800}
.quote-row{display:flex;gap:14px;align-items:center}
.quote-row img{
  width:46px;height:46px;border-radius:999px;
  border:1px solid rgba(15, 23, 42, .10);
}
.results-actions{margin-top:18px;display:flex;gap:12px;flex-wrap:wrap}

/* FAQ */
.faq{max-width:860px}
details.faq-item{
  background:rgba(255,255,255,.78);
  border-radius:18px;
  padding:18px 22px;
  box-shadow:0 18px 44px rgba(11,16,32,.08);
  border:1px solid rgba(15, 23, 42, .10);
  margin-bottom:14px;
}
details.faq-item summary{font-weight:1000;cursor:pointer}
details.faq-item p{margin:12px 0 0}

/* =========================
   ✅ FOOTER (EXACTLY ABOUT.CSS)
   ========================= */
.site-footer{
  background:linear-gradient(180deg, rgba(255,255,255,.0), rgba(246,247,251,1));
  border-top:1px solid rgba(15, 23, 42, .10);
  padding:70px 0 44px;
}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}
.site-footer h4{margin:0 0 12px}
.site-footer p,.site-footer a{color:rgba(11,16,32,.72)}
.footer-title{margin:0;font-weight:1100}
.dim{opacity:.65}

/* Reveal animations */
.reveal{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .55s ease, transform .55s ease;
  transition-delay:var(--d, 0ms);
}
.reveal.is-visible{opacity:1;transform:translateY(0)}

/* Accessibility */
:focus-visible{
  outline:3px solid rgba(124,92,255,.45);
  outline-offset:2px;
  border-radius:12px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
}

/* =========================
   RESPONSIVE
   ========================= */
@media(max-width:1100px){
  .hero{padding:78px 0 76px}
  .hero-grid{grid-template-columns:1fr}
  h1{font-size:46px}
  .floating-card{display:none}
}
@media(max-width:1000px){
  .section{padding:84px 0}
  .pricing{grid-template-columns:1fr}
  .results-grid{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr}
  .member{min-width:85%}
}
@media(max-width:560px){
  .wrap{padding:0 18px}
  .btn{width:100%}
  .team-top{align-items:flex-start;flex-direction:column}
  .team-controls{width:100%;justify-content:space-between}
}

/* =========================
   ✅ MOBILE HEADER (TIGER-STYLE STRUCTURE)
   - brand row (left)
   - nav row: About, Courses, Pricing, Team, FAQ
   - big ENROL button underneath
   - courses dropdown = centered floating panel
   ========================= */
@media (max-width: 680px){

  .site-header{
    padding-top: env(safe-area-inset-top);
  }

  /* stacked but LEFT-aligned (like Tiger) */
  .nav{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 0 12px;
  }

  .brand{
    justify-content: flex-start;
    text-align: left;
    gap: 10px;
  }

  .mark{
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }
  .mark::after{ border-radius: 14px; }

  .brand-name{
    font-size: 18px;
    color: var(--ink);
  }

  /* nav row */
  .links{
    margin-left: 0;
    width: 100%;
    display:flex;
    align-items:center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 0 2px;
  }

  /* Make the nav items look like Tiger: cleaner, bigger text, less “pill” */
  .links a:not(.link-cta),
  .nav-dd > summary{
    border: 0;
    background: transparent;
    color: rgba(11,16,32,.90);
    font-size: 18px;
    font-weight: 1000;
    padding: 10px 10px;
  }

  .links a:not(.link-cta):hover,
  .nav-dd > summary:hover{
    background: rgba(15,23,42,.06);
  }

  .nav-dd > summary{
    transform:none;
  }

  .nav-dd[open] > summary{
    background: rgba(15,23,42,.06);
    border-color: transparent;
  }

  /* Keep the intended order on mobile (in case wrapping happens) */
  .nav-about{ order: 1; }
  .nav-courses{ order: 2; }
  .nav-pricing{ order: 3; }
  .nav-team{ order: 4; }
  .nav-faq{ order: 5; }

  /* CTA: full-width button UNDER the row (like Tiger's Enrol Now) */
  .nav-enrol.link-cta{
    order: 10;
    width: 100%;
    justify-content: center;
    padding: 16px 18px;
    font-size: 18px;
    font-weight: 1100;
    box-shadow: 0 22px 55px rgba(124,92,255,.22);
    margin-top: 6px;
  }

  /* dropdown menu becomes centered floating panel */
  .dd-menu{
    position: fixed;         /* JS sets top + centers */
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: min(360px, calc(100vw - 48px));
    min-width: 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: 0 30px 80px rgba(11,16,32,.18);
    z-index: 2000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .dd-menu a{
    display:block;
    padding: 14px 14px;
    border-radius: 16px;
    font-weight: 1100;
    font-size: 18px;
    color: rgba(11,16,32,.92);
    border: 0;
    background: transparent;
  }
  .dd-menu a:hover{
    background: rgba(15, 23, 42, .05);
  }

  /* ✅ mobile spacing for auth UI (don’t use big left margin on mobile) */
  .nav-welcome{
    margin-left: 0;
    margin-top: 6px;
  }
  .nav-admin-btn{
    margin-top: 6px;
  }

  /* anchor jumps land under taller stacked header */
  section, [id]{ scroll-margin-top: 150px; }
}
