/* ============================================================
   Mythikos Developers — mythikos.dev design system
   Shares the dark / purple language of mythikosfitness.com,
   with the Mythikos brand type: Cinzel (display) + Outfit (body)
   ============================================================ */

:root{
  --bg:        #0B0B0D;
  --bg-2:      #0E0D11;
  --surface:   #16151B;
  --surface-2: #1C1A23;
  --line:      #2A2832;
  --line-soft: #221F2A;

  --white:     #F4F2F8;
  --cream:     #E8E2D6;
  --text:      #E7E4EE;
  --muted:     #ADA9B8;
  --dim:       #777484;

  --purple:        #8B5CF6;
  --purple-bright: #A78BFA;
  --purple-deep:   #6D3DF0;
  --purple-brand:  #5B2D8E;
  --purple-glow:   rgba(139,92,246,.45);

  --green:  #34D399;
  --amber:  #F5B544;

  --radius:   18px;
  --radius-l: 26px;
  --maxw:     1160px;
  --ease:     cubic-bezier(.22,.61,.36,1);
  --display:  "Cinzel", Georgia, serif;
  --body:     "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:     ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg); color:var(--text);
  font-family:var(--body); line-height:1.65;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
a{ color:var(--purple-bright); text-decoration:none; }
img,svg{ display:block; }
.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 clamp(28px,6vw,64px); }

body::before{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(900px 460px at 82% -6%, rgba(139,92,246,.16), transparent 60%),
    radial-gradient(720px 420px at -6% 8%,  rgba(139,92,246,.08), transparent 55%);
}
main, header, footer{ position:relative; z-index:1; }

/* ---------------- NAV ---------------- */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(140%) blur(14px);
  background:rgba(11,11,13,.72);
  border-bottom:1px solid var(--line-soft);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:18px; height:68px; }
.brand{ display:flex; align-items:center; gap:12px; color:var(--white); flex-shrink:0; }
.brand .logo{ width:36px; height:36px; filter:drop-shadow(0 4px 12px var(--purple-glow)); }
.brand b{ font-family:var(--display); font-weight:700; font-size:15px; letter-spacing:2.5px; text-transform:uppercase; white-space:nowrap; line-height:1; }
.brand b span{ color:var(--purple-bright); }
@media (max-width:380px){ .brand b{ font-size:12px; letter-spacing:2px; } }
.nav-links{ display:flex; align-items:center; gap:4px; flex-shrink:0; }
.nav-links a{
  color:var(--muted); font-size:14.5px; font-weight:500; white-space:nowrap;
  padding:9px 13px; border-radius:999px;
  transition:color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover{ color:var(--white); background:rgba(139,92,246,.12); }
.nav-cta{
  background:linear-gradient(135deg,var(--purple),var(--purple-deep));
  color:#fff !important; font-weight:600;
  box-shadow:0 8px 22px rgba(109,61,240,.4);
}
.nav-cta:hover{ background:linear-gradient(135deg,var(--purple-bright),var(--purple)) !important; transform:translateY(-1px); }
.nav-burger{ display:none; background:none; border:0; color:var(--white); cursor:pointer; }

/* ---------------- BUTTONS ---------------- */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  font-weight:600; font-size:15px; letter-spacing:.1px; font-family:var(--body);
  padding:13px 22px; border-radius:999px; cursor:pointer; border:1px solid transparent;
  transition:transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn-primary{ background:linear-gradient(135deg,var(--purple),var(--purple-deep)); color:#fff; box-shadow:0 10px 28px rgba(109,61,240,.42); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 38px rgba(109,61,240,.55); }
.btn-ghost{ background:rgba(255,255,255,.04); border-color:var(--line); color:var(--white); }
.btn-ghost:hover{ border-color:var(--purple); background:rgba(139,92,246,.10); transform:translateY(-2px); }

/* ---------------- SECTION HEADERS ---------------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:700; letter-spacing:1.6px; text-transform:uppercase;
  color:var(--purple-bright);
  background:rgba(139,92,246,.10); border:1px solid rgba(139,92,246,.28);
  padding:6px 14px; border-radius:999px;
}
.section{ padding-block:96px; }
.section h2{ font-family:var(--display); font-size:clamp(26px,3.6vw,38px); line-height:1.15; font-weight:700; letter-spacing:.5px; color:var(--white); margin:18px 0 14px; }
.section .lead{ color:var(--muted); font-size:18px; max-width:640px; }
.center{ text-align:center; }
.center .lead{ margin:0 auto; }

/* ---------------- HERO ---------------- */
.hero{ padding-block:76px 48px; position:relative; }
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
.hero h1{ font-family:var(--display); font-size:clamp(34px,5.2vw,58px); line-height:1.08; font-weight:700; letter-spacing:.5px; color:var(--white); }
.hero h1 .accent{ background:linear-gradient(120deg,var(--purple-bright),var(--purple)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p.sub{ color:var(--muted); font-size:19px; margin:22px 0 30px; max-width:560px; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-meta{ display:flex; gap:26px; margin-top:34px; flex-wrap:wrap; }
.hero-meta div b{ display:block; font-size:24px; color:var(--white); font-weight:700; letter-spacing:-.3px; }
.hero-meta div span{ font-size:13px; color:var(--dim); }

/* hero "terminal" card */
.term{
  background:linear-gradient(180deg,var(--surface),var(--bg-2));
  border:1px solid var(--line); border-radius:var(--radius-l);
  box-shadow:0 40px 90px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.03);
  overflow:hidden; max-width:520px; margin:0 auto; width:100%;
  transition:transform .35s var(--ease);
}
.term-bar{ display:flex; align-items:center; gap:8px; padding:12px 16px; border-bottom:1px solid var(--line-soft); background:rgba(255,255,255,.02); }
.term-bar i{ width:11px; height:11px; border-radius:50%; background:#2f2c38; display:block; }
.term-bar i:nth-child(1){ background:#F87171; } .term-bar i:nth-child(2){ background:var(--amber); } .term-bar i:nth-child(3){ background:var(--green); }
.term-bar span{ margin-left:auto; font-family:var(--mono); font-size:12px; color:var(--dim); }
.term-body{ padding:20px 22px 22px; font-family:var(--mono); font-size:13.5px; line-height:1.75; color:var(--text); }
.term-body .c{ color:var(--dim); }
.term-body .k{ color:var(--purple-bright); }
.term-body .s{ color:var(--green); }
.term-body .cur{ display:inline-block; width:8px; height:15px; background:var(--purple-bright); vertical-align:-2px; animation:blink 1s steps(1) infinite; }
@keyframes blink{ 50%{ opacity:0; } }
.term-rows{ display:flex; flex-direction:column; gap:10px; margin-top:16px; }
.term-row{ display:flex; align-items:center; gap:12px; background:var(--surface-2); border:1px solid var(--line-soft); border-radius:12px; padding:10px 12px; font-family:var(--body); }
.term-row .ic{ width:34px; height:34px; border-radius:9px; flex-shrink:0; display:flex; align-items:center; justify-content:center; background:linear-gradient(150deg,rgba(139,92,246,.22),rgba(139,92,246,.06)); border:1px solid rgba(139,92,246,.3); font-size:16px; }
.term-row b{ display:block; font-size:13.5px; color:var(--white); font-weight:600; }
.term-row span{ font-size:12px; color:var(--dim); }
.term-row em{ margin-left:auto; font-style:normal; font-size:11px; font-weight:700; padding:4px 9px; border-radius:999px; background:rgba(52,211,153,.14); color:var(--green); white-space:nowrap; }
.term-row em.soon{ background:rgba(245,181,68,.14); color:var(--amber); }

/* ---------------- GRID / CARDS ---------------- */
.grid{ display:grid; gap:18px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.feature{
  background:linear-gradient(180deg,var(--surface),var(--bg-2));
  border:1px solid var(--line); border-radius:var(--radius);
  padding:28px 26px; position:relative; overflow:hidden;
  transition:transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.feature::before{ content:""; position:absolute; inset:0; opacity:0; transition:opacity .28s var(--ease);
  background:radial-gradient(420px 200px at 20% -10%, rgba(139,92,246,.16), transparent 60%); }
.feature:hover{ transform:translateY(-6px); border-color:rgba(139,92,246,.45); box-shadow:0 22px 46px rgba(0,0,0,.4); }
.feature:hover::before{ opacity:1; }
.feature .fic{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  font-size:24px; margin-bottom:18px;
  background:linear-gradient(150deg,rgba(139,92,246,.22),rgba(139,92,246,.06));
  border:1px solid rgba(139,92,246,.3);
}
.feature .fic svg{ width:24px; height:24px; }
.feature h3{ font-family:var(--display); font-size:17px; color:var(--white); font-weight:700; letter-spacing:1px; margin-bottom:9px; }
.feature p{ color:var(--muted); font-size:15px; }
.feature .tags{ display:flex; flex-wrap:wrap; gap:7px; margin-top:16px; }
.feature .tags span{ font-size:11.5px; font-weight:600; padding:4px 10px; border-radius:999px; background:rgba(139,92,246,.12); color:var(--purple-bright); border:1px solid rgba(139,92,246,.22); }
.feature .status{ position:absolute; top:18px; right:18px; font-size:10.5px; font-weight:700; letter-spacing:1px; text-transform:uppercase; padding:4px 9px; border-radius:999px; background:rgba(52,211,153,.14); color:var(--green); }
.feature .status.soon{ background:rgba(245,181,68,.14); color:var(--amber); }
.feature .more{ margin-top:16px; font-size:13.5px; font-weight:700; color:var(--purple-bright); display:inline-block; }

/* ---------------- PHONE FRAME ---------------- */
.phone{
  --pw:260px; width:min(var(--pw),78vw); aspect-ratio:300/620; position:relative; margin:0 auto;
  background:linear-gradient(160deg,#26242E,#141319); border-radius:42px; padding:12px;
  box-shadow:0 40px 90px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.06), 0 0 0 2px #000;
}
.phone-screen{ position:relative; width:100%; height:100%; border-radius:31px; overflow:hidden; background:var(--bg); }
.phone-screen .shot{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.phones{ display:flex; justify-content:center; align-items:flex-end; gap:0; }
.phones .phone{ margin:0; --pw:190px; }
.phones .phone:nth-child(1){ transform:translateX(44px) rotate(-6deg) scale(.86); z-index:1; }
.phones .phone:nth-child(2){ z-index:2; }
.phones .phone:nth-child(3){ transform:translateX(-44px) rotate(6deg) scale(.86); z-index:1; }

/* ---------------- FEATURED PRODUCT ---------------- */
.product{
  display:grid; grid-template-columns:1.2fr 1fr; gap:40px; align-items:center;
  background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(109,61,240,.03));
  border:1px solid rgba(139,92,246,.28); border-radius:var(--radius-l);
  padding:52px 48px; margin-top:52px; overflow:hidden;
}
.product h3{ font-family:var(--display); font-size:clamp(24px,3vw,32px); color:var(--white); font-weight:700; letter-spacing:.5px; margin:12px 0 14px; line-height:1.15; }
.product p{ color:var(--muted); font-size:16.5px; margin-bottom:20px; }
.tick{ list-style:none; display:flex; flex-direction:column; gap:11px; margin-bottom:26px; }
.tick li{ display:flex; gap:12px; align-items:flex-start; color:var(--text); font-size:15px; }
.tick li::before{ content:""; flex-shrink:0; margin-top:7px; width:16px; height:16px; border-radius:5px;
  background:linear-gradient(135deg,var(--purple),var(--purple-deep)); box-shadow:0 0 0 4px rgba(139,92,246,.14); }

/* ---------------- PROCESS ---------------- */
.steps-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:48px; counter-reset:st; }
.step{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:26px 24px; position:relative; counter-increment:st; transition:border-color .25s var(--ease), transform .25s var(--ease); }
.step:hover{ border-color:rgba(139,92,246,.4); transform:translateY(-4px); }
.step::before{ content:"0" counter(st); font-family:var(--display); font-size:13px; letter-spacing:2px; color:var(--purple-bright); font-weight:700; }
.step h3{ font-size:18px; color:var(--white); font-weight:600; margin:10px 0 8px; }
.step p{ color:var(--muted); font-size:14.5px; }

/* ---------------- STACK STRIP ---------------- */
.stack{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:36px; }
.stack span{ font-size:13.5px; font-weight:600; color:var(--text); padding:9px 16px; border-radius:999px; background:var(--surface); border:1px solid var(--line); transition:border-color .2s var(--ease), color .2s var(--ease); }
.stack span:hover{ border-color:var(--purple); color:var(--white); }

/* ---------------- ABOUT / TEAM ---------------- */
.about{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:start; margin-top:48px; }
.about p{ color:var(--muted); font-size:16.5px; margin-bottom:16px; }
.about p strong{ color:var(--white); font-weight:600; }
.family{ display:flex; flex-direction:column; gap:12px; }
.family a, .family div{ display:flex; align-items:center; gap:14px; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:14px 16px; color:var(--text); transition:border-color .2s var(--ease), transform .2s var(--ease); }
.family a:hover{ border-color:rgba(139,92,246,.45); transform:translateX(4px); }
.family .fm{ width:40px; height:40px; border-radius:10px; flex-shrink:0; display:flex; align-items:center; justify-content:center; background:var(--surface-2); border:1px solid var(--line-soft); font-family:var(--display); font-weight:700; color:var(--purple-bright); font-size:15px; }
.family b{ display:block; font-size:14.5px; color:var(--white); font-weight:600; }
.family span{ font-size:12.5px; color:var(--dim); }
.family .you{ border-color:rgba(139,92,246,.4); background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(139,92,246,.02)); }
.team{ display:grid; grid-template-columns:1fr; gap:14px; margin-top:36px; }
.person{ display:flex; gap:16px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px; }
.person .av{ width:56px; height:56px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-family:var(--display); font-weight:700; font-size:18px; color:#fff; background:linear-gradient(135deg,var(--purple),var(--purple-deep)); box-shadow:0 8px 20px var(--purple-glow); }
.person b{ display:block; color:var(--white); font-size:16.5px; font-weight:600; }
.person span{ display:block; color:var(--purple-bright); font-size:13px; font-weight:600; margin:2px 0 6px; }
.person p{ color:var(--muted); font-size:14px; margin:0; }

/* ---------------- CONTACT BAND ---------------- */
.cta-band{
  background:linear-gradient(135deg,rgba(139,92,246,.16),rgba(109,61,240,.05));
  border:1px solid rgba(139,92,246,.3); border-radius:var(--radius-l);
  padding:56px 44px; text-align:center; position:relative; overflow:hidden;
}
.cta-band h2{ font-family:var(--display); font-size:clamp(24px,3.6vw,36px); color:var(--white); font-weight:700; letter-spacing:.5px; }
.cta-band p{ color:var(--muted); font-size:17px; margin:14px auto 26px; max-width:540px; }
.contact-row{ display:flex; justify-content:center; gap:28px; flex-wrap:wrap; margin-top:28px; color:var(--dim); font-size:14px; }
.contact-row a{ color:var(--text); font-weight:500; }
.contact-row a:hover{ color:var(--white); }

/* ---------------- FOOTER ---------------- */
.footer{ border-top:1px solid var(--line-soft); padding:54px 0 40px; margin-top:30px; }
.foot-grid{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.foot-brand{ max-width:340px; }
.foot-lockup{ display:flex; align-items:center; gap:14px; }
.foot-lockup .logo{ width:46px; height:46px; flex-shrink:0; filter:drop-shadow(0 5px 16px var(--purple-glow)); }
.foot-lockup .wm{ display:flex; flex-direction:column; line-height:1.1; }
.foot-lockup .wm b{ font-family:var(--display); font-size:15px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; color:var(--white); white-space:nowrap; }
.foot-lockup .wm b span{ color:var(--purple-bright); }
.foot-lockup .wm small{ font-size:10.5px; letter-spacing:2.5px; text-transform:uppercase; color:var(--dim); margin-top:5px; }
.foot-brand p{ color:var(--dim); font-size:14px; margin-top:16px; }
.foot-col h5{ font-size:12px; letter-spacing:1px; text-transform:uppercase; color:var(--dim); margin-bottom:14px; font-weight:700; }
.foot-col a{ display:block; color:var(--muted); font-size:14.5px; padding:5px 0; transition:color .2s var(--ease); }
.foot-col a:hover{ color:var(--white); }
.foot-bottom{ margin-top:44px; padding-top:22px; border-top:1px solid var(--line-soft); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; color:var(--dim); font-size:13px; }

/* ---------------- ARTICLE (legal pages) ---------------- */
.doc{ max-width:780px; margin:0 auto; padding:54px 0 90px; }
.doc .eyebrow{ margin-bottom:18px; }
.doc h1{ font-family:var(--display); font-size:clamp(28px,4.4vw,40px); color:var(--white); font-weight:700; letter-spacing:.5px; }
.doc .updated{ color:var(--dim); font-size:15px; margin:10px 0 30px; }
.doc h2{ font-size:21px; color:var(--white); font-weight:600; margin:38px 0 12px; }
.doc h3{ font-size:17px; color:var(--white); font-weight:600; margin:24px 0 8px; }
.doc p,.doc li{ color:var(--text); font-size:16px; }
.doc ul{ padding-left:22px; margin:8px 0; }
.doc li{ margin:7px 0; }
.doc hr{ border:0; border-top:1px solid var(--line); margin:42px 0 24px; }
.callout{ background:var(--surface); border:1px solid var(--line); border-left:3px solid var(--purple); border-radius:14px; padding:18px 22px; margin:18px 0; }
.callout strong{ color:var(--white); }

/* ---------------- SCROLL REVEAL ---------------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; transition:none; } .term-body .cur{ animation:none; } }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width:980px){
  .steps-grid{ grid-template-columns:1fr 1fr; }
  .grid-4{ grid-template-columns:1fr 1fr; }
}
@media (max-width:920px){
  .hero-grid{ grid-template-columns:1fr; gap:40px; text-align:center; }
  .hero-cta,.hero-meta{ justify-content:center; }
  .hero p.sub{ margin-left:auto; margin-right:auto; }
  .grid-3{ grid-template-columns:1fr 1fr; }
  .product{ grid-template-columns:1fr; gap:36px; padding:40px 28px; }
  .about{ grid-template-columns:1fr; gap:32px; }
}
@media (max-width:1000px){
  .nav-links{ position:fixed; inset:68px 0 auto 0; flex-direction:column; gap:0;
    background:rgba(11,11,13,.97); border-bottom:1px solid var(--line); padding:10px 18px 18px;
    transform:translateY(-130%); transition:transform .35s var(--ease); }
  .nav-links.open{ transform:translateY(0); }
  .nav-links a{ width:100%; padding:14px 12px; font-size:16px; }
  .nav-cta{ text-align:center; margin-top:6px; }
  .nav-burger{ display:block; }
}
@media (max-width:680px){
  .grid-3,.grid-2,.grid-4,.steps-grid,.team{ grid-template-columns:1fr; }
  .section{ padding-block:70px; }
  .cta-band{ padding:40px 24px; }
  .foot-grid{ display:grid; grid-template-columns:1fr 1fr; gap:30px 20px; }
  .foot-brand{ grid-column:1 / -1; max-width:none; }
  .phones .phone{ --pw:120px; }
}
@media (max-width:480px){
  .wrap{ padding:0 20px; }
  .hero h1{ font-size:clamp(28px,8.6vw,38px); }
  .hero p.sub{ font-size:17px; margin:18px 0 26px; }
  .section .lead{ font-size:16px; }
  .hero{ padding-block:36px 16px; }
  .hero-grid{ gap:32px; }
  .section{ padding-block:56px; }
  .hero-meta{ gap:16px 22px; margin-top:24px; }
  .hero-meta div b{ font-size:21px; }
  .feature{ padding:22px 20px; }
  .term-body{ padding:16px; font-size:12.5px; }
  .foot-grid{ grid-template-columns:1fr; gap:26px; }
  .foot-bottom{ flex-direction:column; gap:8px; }
  .nav-inner{ padding-top:env(safe-area-inset-top,0); }
}
