/* SSC 2027 — Pastel + Liquid Glass + Component Patterns */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --cream:#FBF6EE;
  --ink:#26201B;
  --pink:#FFC7D9;
  --peach:#FFD9B8;
  --sage:#C9D6BE;
  --blue:#C4D5EA;
  --lav:#DCCFF0;
  --hot:#F65086;
  --fuji:#59769D;
  --swift:#F05123;
  --swift-soft:#FF8A65;

  --glass-bg:rgba(20,20,20,0.55);
  --glass-border:rgba(255,255,255,0.12);
  --glass-shadow:0 8px 32px rgba(0,0,0,0.3);
  --glass-highlight:rgba(255,255,255,0.15);

  --font-display:'Unbounded',sans-serif;
  --font-body:'Space Grotesk',sans-serif;
  --font-serif:'Instrument Serif',serif;

  --pad:clamp(1.25rem,5vw,4.5rem);
  --radius:20px;
  --radius-sm:12px;
  --ease:cubic-bezier(.22,1,.36,1);
  --spring:cubic-bezier(.34,1.56,.64,1);
}

html{scroll-behavior:auto}
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:hidden}


body{
  background:#050202;
  background-image:
    radial-gradient(ellipse 70% 55% at 18% 12%,  rgba(240,81,35,0.38) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 82% 88%,  rgba(210,65,20,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 65% 30%,  rgba(242,160,55,0.14) 0%, transparent 50%),
    radial-gradient(ellipse 80% 25% at 40% 90%,  rgba(180,45,10,0.18) 0%, transparent 55%);
  color:#fff;
  font-family:var(--font-body);
  font-size:clamp(1rem,.9rem + .3vw,1.125rem);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

/* ---- Back to Site Button ---- */
.back-to-site-btn{
  background:none;
  border:none;
  cursor:pointer;
  font-family:var(--font-body);
  font-size:0.85rem;
  color:rgba(255,255,255,0.75);
  padding:0.45rem 1rem;
  border-radius:var(--radius-sm);
  transition:color .2s,transform .2s;
}
.back-to-site-btn:hover{
  color:#fff;
  transform:translateX(-2px);
}

/* ---- Apple Lab Notice ---- */
.apple-lab-notice{
  display:flex;
  align-items:flex-start;
  gap:0.75rem;
  margin-top:1.5rem;
  padding:1rem 1.25rem;
  border-radius:var(--radius-sm);
  background:rgba(240,81,35,0.08);
  border:1px solid rgba(240,81,35,0.22);
  color:rgba(255,255,255,0.85);
  font-size:0.88rem;
  line-height:1.5;
}
.apple-lab-notice-icon{
  flex-shrink:0;
  color:var(--swift);
  margin-top:2px;
}
.apple-lab-notice-text strong{
  display:block;
  color:#fff;
  font-weight:600;
  margin-bottom:0.25rem;
  font-size:0.9rem;
}
.apple-lab-notice-text p{
  color:rgba(255,255,255,0.7);
  margin:0;
}

::selection{background:var(--hot);color:#fff}
img{max-width:100%;display:block}

/* ---- Boot Animation ---- */
 .boot{
   position:fixed; inset:0; z-index:9999;
   display:flex; flex-direction:column; align-items:center; justify-content:center;
   background:#050202;
   background-image:
     radial-gradient(ellipse 70% 55% at 18% 12%, rgba(240,81,35,0.38) 0%, transparent 60%),
     radial-gradient(ellipse 55% 45% at 82% 88%, rgba(210,65,20,0.28) 0%, transparent 55%),
     radial-gradient(ellipse 40% 35% at 65% 30%, rgba(242,160,55,0.14) 0%, transparent 50%);
   background-size: 100% 100%;
 }
 .boot-logo-wrap{
   position:relative;width:130px;height:130px;
   will-change:transform,filter;
   animation:bootGlow 3s ease-in-out .6s infinite;
 }
 .boot-logo{
   width:100%; height:100%;
   will-change:transform, opacity, filter;
   backface-visibility:hidden;
   opacity:0;
   animation:
     bootFall 1.5s cubic-bezier(.22,1,.36,1) forwards,
     bootBob 3.8s ease-in-out 1.6s infinite alternate;
 }
 .boot-text{
   margin-top:1.5rem;
   font-family:var(--font-display);
   font-size:clamp(1.5rem,4vw,2.5rem);
   font-weight:700;letter-spacing:.01em;
   filter:drop-shadow(0 2px 22px rgba(232,116,31,.25));
 }
 .boot-text span{
   display:inline-block;
   background:linear-gradient(135deg,#ffffff 0%,#ffeed6 45%,#f7cf96 100%);
   -webkit-background-clip:text;background-clip:text;
   -webkit-text-fill-color:transparent;color:transparent;
   opacity:0;
   animation:softRise .95s cubic-bezier(.16,1,.3,1) forwards;
 }
 .boot-text span:nth-child(1){animation-delay:.7s}
 .boot-text span:nth-child(2){animation-delay:.88s}
 .boot-text span:nth-child(3){animation-delay:1.06s}
 .boot-sub{
   margin-top:.45rem;
   font-family:var(--font-body);
   font-size:clamp(.9rem,2vw,1.15rem);
   font-weight:400;letter-spacing:.14em;text-transform:uppercase;
   color:rgba(255,224,190,.62);
   opacity:0;
   animation:softRise 1s cubic-bezier(.16,1,.3,1) 1.25s forwards;
 }
 .boot.hidden{
   opacity:0;
   transform:scale(1.03);
   pointer-events:none;
   transition:opacity .75s cubic-bezier(.4,0,.2,1),transform .75s cubic-bezier(.4,0,.2,1);
 }
 @keyframes bootFall{
   0%{transform:translate3d(0,-55vh,0) rotate(-150deg); opacity:0; filter:blur(8px);}
   18%{opacity:1; filter:blur(0);}
   52%{transform:translate3d(0,2.5vh,0) rotate(-12deg);}
   70%{transform:translate3d(0,-2vh,0) rotate(4deg);}
   85%{transform:translate3d(0,.8vh,0) rotate(-1deg);}
   100%{transform:translate3d(0,0,0) rotate(0deg); opacity:1;}
 }
 @keyframes bootBob{
   from{transform:translateY(0);}
   to{transform:translateY(-8px);}
 }
 @keyframes bootGlow{
   0%,100%{filter:drop-shadow(0 0 10px rgba(240,81,35,.18))}
   50%{filter:drop-shadow(0 0 20px rgba(240,120,40,.32))}
 }
 @keyframes softRise{
   from{opacity:0;transform:translateY(18px);filter:blur(6px);}
   to{opacity:1;transform:translateY(0);filter:blur(0);}
 }
 @keyframes fadeIn{
   to{opacity:1;}
 }
@keyframes bgShift{
  0%,100%{background-position:0% 0%, 100% 100%, 0 0;}
  50%{background-position:100% 100%, 0% 0%, 20px 20px;}
}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}

::-webkit-scrollbar{width:10px}
::-webkit-scrollbar-track{background:#0a0a0a}
::-webkit-scrollbar-thumb{background:var(--pink);border-radius:99px;border:2px solid #0a0a0a}
::-webkit-scrollbar-thumb:hover{background:var(--hot)}

/* ---- Grain ---- */
.grain{
  position:fixed;inset:-10%;z-index:9999;pointer-events:none;opacity:.045;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  /* Fix 3: Animation removed — static grain is visually identical and eliminates continuous compositor repaints */
}

@media (prefers-reduced-motion: reduce), (max-width: 768px) {
  .blob { animation: none !important; }
  .grain { animation: none !important; }
}

.guideline-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}

@keyframes grain{
  0%,100%{transform:translate(0,0)}10%{transform:translate(-5%,-8%)}20%{transform:translate(-12%,3%)}
  30%{transform:translate(6%,-12%)}40%{transform:translate(-4%,14%)}50%{transform:translate(-12%,8%)}
  60%{transform:translate(12%,0)}70%{transform:translate(0,12%)}80%{transform:translate(3%,18%)}90%{transform:translate(-8%,8%)}
}

/* ---- Ambient Blobs (disabled to let pure WebGL plasma shader render cleanly) ---- */
.blobs{display:none !important}
.blob{position:absolute;border-radius:50%;filter:blur(80px);opacity:.45;will-change:transform}
.b1{width:55vmax;height:55vmax;background:var(--pink);top:-18%;left:-14%;animation:drift1 26s ease-in-out infinite alternate}
.b2{width:50vmax;height:50vmax;background:var(--blue);bottom:-24%;right:-16%;animation:drift2 32s ease-in-out infinite alternate}
.b3{width:40vmax;height:40vmax;background:var(--lav);top:32%;left:40%;opacity:.35;animation:drift3 24s ease-in-out infinite alternate}
@keyframes drift1{to{transform:translate(9vw,7vh) scale(1.12)}}
@keyframes drift2{to{transform:translate(-8vw,-9vh) scale(.9)}}
@keyframes drift3{to{transform:translate(-7vw,6vh) rotate(40deg) scale(1.15)}}

/* ============================================
   LIQUID GLASS SYSTEM
   Three layers: highlight, shadow, illumination
   Inspired by Apple's WWDC 2025 Liquid Glass
   ============================================ */

/* Glass Button — direct port from g.txt GlassButton component */
.glass-button-wrap{
  position:relative;
  border-radius:9999px;
  cursor:pointer;
}
.glass-button{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:none;
  border-radius:9999px;
  background:rgba(255,255,255,0.12);
  backdrop-filter:blur(12px) saturate(1.5);
  -webkit-backdrop-filter:blur(12px) saturate(1.5);
  color:#fff;
  font-family:var(--font-body);
  font-weight:600;
  cursor:pointer;
  transition:all .3s ease;
  box-shadow:
    0 4px 30px rgba(0,0,0,0.15),
    inset 0 0 20px rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.18);
}
.glass-button:hover{
  background:rgba(255,255,255,0.18);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.2),
    inset 0 0 30px rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.25);
}
.glass-button-text{
  position:relative;
  display:block;
  user-select:none;
  letter-spacing:-0.02em;
}
.glass-button-shadow{
  position:absolute;
  inset:0;
  border-radius:9999px;
  box-shadow:0 4px 20px rgba(0,0,0,0.15);
  pointer-events:none;
}

/* Liquid Glass Panel — glassmorphism + liquid metal chrome */
.liquid-glass{
  position:relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 20%),
    linear-gradient(155deg, rgba(18,22,32,0.30) 0%, rgba(13,16,24,0.22) 50%, rgba(9,11,17,0.16) 100%);
  backdrop-filter:blur(12px) saturate(1.7);
  -webkit-backdrop-filter:blur(12px) saturate(1.7);
  border:1px solid rgba(255,255,255,0.09);
  border-radius:var(--radius);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.42),
    inset 0 1px 1px rgba(255,255,255,0.16),
    inset 0 -10px 22px rgba(0,0,0,0.30),
    inset 1px 0 1px rgba(255,255,255,0.05),
    inset -1px 0 1px rgba(255,255,255,0.05);
  overflow:hidden;
  transition:box-shadow .3s ease, border-color .3s ease;
}

.liquid-glass:hover{
  border-color:rgba(255,255,255,0.14);
  box-shadow:
    0 20px 56px rgba(0,0,0,0.46),
    inset 0 1px 1px rgba(255,255,255,0.22),
    inset 0 -12px 24px rgba(0,0,0,0.34),
    inset 1px 0 1px rgba(255,255,255,0.08),
    inset -1px 0 1px rgba(255,255,255,0.08);
}

/* Liquid glass top specular — thin glassy edge (kept subtle) */
.liquid-glass::before{
  content:'';position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent 4%,rgba(255,255,255,0.45) 30%,rgba(255,255,255,0.6) 50%,rgba(255,255,255,0.45) 70%,transparent 96%);
  z-index:4;pointer-events:none;
}

/* Liquid glass — watery drifting sheen (cool, not white) */
.liquid-glass::after{
  content:'';position:absolute;inset:0;z-index:2;pointer-events:none;
  border-radius:inherit;
  background:
    radial-gradient(75% 60% at 25% -10%, rgba(150,195,230,0.10), transparent 60%),
    radial-gradient(60% 55% at 95% 110%, rgba(120,170,220,0.06), transparent 70%);
  background-size:150% 150%;
  opacity:.55;
  animation:liquidFloat 11s ease-in-out infinite;
}
.liquid-glass > *{position:relative;z-index:3}
@keyframes liquidFloat{
  0%,100%{background-position:0% 0%}
  50%{background-position:100% 100%}
}

/* ---- SVG Filters ---- */
.svg-filters{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}

/* ---- Header ---- */
.site-header{
  position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:100;
  width:max-content;max-width:94vw;
  padding:14px 36px;
  background:linear-gradient(155deg, rgba(20,24,34,0.42) 0%, rgba(15,18,27,0.32) 50%, rgba(11,13,20,0.24) 100%);
  backdrop-filter:blur(12px) saturate(1.9) brightness(1.05);
  -webkit-backdrop-filter:blur(12px) saturate(1.9) brightness(1.05);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:100px;
  box-shadow:
    0 10px 40px rgba(0,0,0,0.4),
    inset 0 1px 1px rgba(255,255,255,0.45),
    inset 0 -1px 1px rgba(255,255,255,0.06),
    inset 1px 0 1px rgba(255,255,255,0.12),
    inset -1px 0 1px rgba(255,255,255,0.12);
}
.header-inner{display:flex;align-items:center;justify-content:center;width:100%;gap:16px}
.brand{display:flex;align-items:center;gap:18px}
.brand-logos{display:flex;align-items:center;gap:10px;flex-shrink:0}
.swift-logo{width:38px;height:38px;flex-shrink:0;object-fit:contain}
.brand-text{display:flex;flex-direction:column;gap:2px}
.brand-name{font-family:var(--font-body);font-size:16px;font-weight:600;letter-spacing:-.01em;color:#fff;white-space:nowrap}
.brand-sub{font-size:10.5px;font-weight:500;color:rgba(255,255,255,0.55);letter-spacing:.03em;white-space:nowrap}
.parul-wordmark{height:20px;width:auto;display:block}
.parul-logo{height:34px;width:auto;display:block;flex-shrink:0}
.nav-divider{
  width:1px;height:22px;flex-shrink:0;
  background:linear-gradient(to bottom, rgba(242,191,115,0), rgba(242,191,115,0.75), rgba(232,116,31,0));
  box-shadow:0 0 8px rgba(232,116,31,0.35);
  opacity:.85;
}
.aatce-logo{height:42px;width:auto;display:block;opacity:.9}
.vthub-logo{height:34px;width:auto;display:block;flex-shrink:0}

.header-logo-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition:transform .25s cubic-bezier(.16,1,.3,1), opacity .25s ease;
  line-height:0;
  cursor:pointer;
}
.header-logo-link:hover{
  transform:translateY(-1px) scale(1.05);
  opacity:1;
}
.header-logo-link:active{
  transform:scale(.97);
}

.nav-swift-icon{width:22px;height:27px;flex-shrink:0;opacity:.35;transition:opacity .3s ease}
.nav-swift-icon:hover{opacity:.7}

/* ---- Hero ---- */
.main-content{position:relative;z-index:2;padding-top:80px;min-height:100vh}
.hero-section{
  display:flex;align-items:center;justify-content:center;
  min-height:calc(100vh - 80px);padding:40px 24px;
}
.hero-inner{
  max-width:620px;width:100%;text-align:center;
  padding:64px 48px;
}
.hero-eyebrow{
  font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(242,191,115,0.85);margin-bottom:20px;
  display:flex;align-items:center;justify-content:center;gap:8px;
}
.hero-eyebrow .tick{
  display:inline-block;width:8px;height:8px;border-radius:50%;
  background:var(--sage);animation:pulse 2s ease-in-out infinite;
}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}

/* Liquid-Metal Apple — inline SVG clipPath + animated gradient (no CSS mask) */
.hero-apple{
  display:block;
  width:212px;height:212px;
  margin:0 auto 2rem;
  overflow:visible;
  filter:drop-shadow(0 12px 26px rgba(0,0,0,.5)) drop-shadow(0 0 30px rgba(240,120,40,.32)) drop-shadow(0 2px 3px rgba(255,220,180,.25));
}

.hero-title{
  margin-bottom:16px;line-height:1.05;text-align:center;
}
.hero-title-inner{
  display:inline-block;
  font-family:'Instrument Serif', serif;
  font-size:clamp(40px,7vw,64px);
  font-weight:400;letter-spacing:.005em;
  transform:scaleX(1.14);transform-origin:center;
  background:linear-gradient(135deg,#fff3d8 0%,#f2bf73 32%,#e8741f 62%,#fff3d8 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  text-shadow:0 2px 30px rgba(232,116,31,0.25);
}
.hero-title .accent{color:var(--swift);-webkit-text-fill-color:initial}
.hero-desc{font-size:15px;line-height:1.6;color:rgba(255,224,190,0.72);margin-bottom:40px;max-width:420px;margin-left:auto;margin-right:auto}

/* Hero entrance — staggered rise as the boot screen fades out */
body.boot-done .hero-apple{animation:heroIn .9s cubic-bezier(.16,1,.3,1) .05s both}
body.boot-done .hero-eyebrow{animation:heroIn .8s cubic-bezier(.16,1,.3,1) .25s both}
body.boot-done .hero-title{animation:heroIn .85s cubic-bezier(.16,1,.3,1) .38s both}
body.boot-done .hero-desc{animation:heroIn .8s cubic-bezier(.16,1,.3,1) .52s both}
@keyframes heroIn{
  from{opacity:0;transform:translateY(26px) scale(.97);}
  to{opacity:1;transform:translateY(0) scale(1);}
}

/* ============================================
   MAGNETIC BUTTON
   Follows cursor proximity with spring physics
   ============================================ */
.cta-btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:15px 36px;border:none;border-radius:50px;
  background:var(--swift);color:#fff;
  font-family:var(--font-body);font-size:14px;font-weight:600;
  letter-spacing:-.01em;cursor:pointer;
  transition:background .3s var(--ease),box-shadow .3s var(--ease);
  position:relative;z-index:5;
}
.cta-btn::before{
  content:'';position:absolute;inset:0;border-radius:50px;
  background:linear-gradient(135deg,rgba(255,255,255,0.2),transparent 60%);
  opacity:0;transition:opacity .3s ease;
}
.cta-btn:hover{
  background:#d94420;
  box-shadow:0 8px 32px rgba(240,81,35,0.4),0 0 0 1px rgba(240,81,35,0.2);
}
.cta-btn:hover::before{opacity:1}
.cta-btn:active{transform:scale(0.97)}
.cta-btn.magnetic-active{transition:transform .15s var(--spring)}

/* ---- Liquid Glass CTA (Apply Now) ---- */
.apply-cta-section{display:flex;justify-content:center;padding:48px 24px 130px;margin-top:-70px}
.cta-btn.liquid-glass{
  border-radius:50px;
  color:#fff;
  text-decoration:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 22%),
    linear-gradient(155deg, rgba(240,81,35,0.16) 0%, rgba(18,22,32,0.30) 55%, rgba(9,11,17,0.22) 100%);
}
.cta-btn.liquid-glass:hover{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, transparent 22%),
    linear-gradient(155deg, rgba(240,81,35,0.30) 0%, rgba(18,22,32,0.34) 55%, rgba(9,11,17,0.26) 100%);
  box-shadow:
    0 20px 56px rgba(0,0,0,0.46),
    0 8px 40px rgba(240,81,35,0.18),
    inset 0 1px 1px rgba(255,255,255,0.22),
    inset 0 -12px 24px rgba(0,0,0,0.34);
}

/* ---- Ember Ignition — the thread's pulse lands in the button.
       Visual layers only; the .apply-lit class is added by app.js
       exclusively on desktop (fine pointer), never on mobile. ---- */
.btn-ember-core{
  position:absolute;inset:2px;border-radius:inherit;display:none;
  background:radial-gradient(70% 150% at 50% 108%,
    rgba(255,232,180,0.98) 0%,rgba(255,160,70,0.85) 34%,
    rgba(240,81,35,0.5) 60%,transparent 80%);
  opacity:0;pointer-events:none;z-index:2;
}
@keyframes emberCoreFlash{
  0%{opacity:0;transform:translateY(14px)}
  12%{opacity:1}
  55%{opacity:.85;transform:translateY(0)}
  100%{opacity:0;transform:translateY(-5px)}
}
@keyframes emberBloom{
  0%{box-shadow:0 20px 56px rgba(0,0,0,0.46)}
  15%{box-shadow:
    0 0 70px 18px rgba(240,81,35,0.5),
    0 0 26px 6px rgba(255,190,110,0.55),
    inset 0 0 34px rgba(255,205,130,0.4)}
  100%{box-shadow:0 20px 56px rgba(0,0,0,0.46)}
}
.cta-btn.liquid-glass.apply-lit{animation:emberBloom 1.5s cubic-bezier(.22,.61,.36,1)}
.cta-btn.liquid-glass.apply-lit .btn-ember-core{display:block;animation:emberCoreFlash 1.5s cubic-bezier(.22,.61,.36,1)}

/* fluid layers — jelly squish, splash ripple, molten sheen (desktop only) */
.btn-ripple{
  position:absolute;left:50%;top:62%;width:28px;height:28px;border-radius:50%;
  border:2px solid rgba(255,200,125,.85);border-width:0;opacity:0;
  pointer-events:none;z-index:3;transform:translate(-50%,-50%) scale(.25);
}
.btn-sheen{
  position:absolute;top:-40%;bottom:-40%;left:-30%;width:34%;z-index:2;
  background:linear-gradient(105deg,transparent,rgba(255,222,165,.32),transparent);
  transform:skewX(-18deg);opacity:0;pointer-events:none;
}
@media (hover:hover) and (pointer:fine){
  @keyframes applyJelly{
    0%{transform:scale(1)}
    18%{transform:scale(1.07,.88)}
    42%{transform:scale(.96,1.06)}
    68%{transform:scale(1.02,.98)}
    100%{transform:scale(1)}
  }
  @keyframes emberRipple{
    0%{opacity:.95;border-width:2px;transform:translate(-50%,-50%) scale(.25)}
    100%{opacity:0;border-width:1px;transform:translate(-50%,-50%) scale(3.4)}
  }
  @keyframes sheenSweep{
    0%{opacity:0;transform:skewX(-18deg) translateX(0)}
    22%{opacity:1}
    100%{opacity:0;transform:skewX(-18deg) translateX(540%)}
  }
  .cta-btn.liquid-glass.apply-lit{
    animation:emberBloom 1.5s cubic-bezier(.22,.61,.36,1),
              applyJelly .8s cubic-bezier(.34,1.56,.64,1);
  }
  .cta-btn.liquid-glass.apply-lit .btn-ember-core{display:block;animation:emberCoreFlash 1.5s cubic-bezier(.22,.61,.36,1)}
  .cta-btn.liquid-glass.apply-lit .btn-ripple{animation:emberRipple .9s cubic-bezier(.22,.61,.36,1)}
  .cta-btn.liquid-glass.apply-lit .btn-sheen{animation:sheenSweep 1.15s .06s ease-in-out}
}

/* ---- Footer ---- */
.site-footer {
  width: 100%;
  padding: 40px 24px 40px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 800px;
  width: 100%;
}
.creators-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 12px;
}
.creator-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 40px;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.creator-link:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.creator-name {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.gh-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.creator-link:hover .gh-icon {
  opacity: 0.9;
}

/* travelling droplet (fixed-position liquid-metal blob flown by app.js) */
.spark-orb{
  position:fixed;top:0;left:0;width:13px;height:19px;
  border-radius:50% 50% 46% 54%/62% 62% 38% 38%;
  pointer-events:none;z-index:9999;will-change:transform;
  background:
    radial-gradient(circle at 32% 24%,rgba(255,255,255,.98) 0%,rgba(255,238,200,.6) 22%,transparent 48%),
    radial-gradient(circle at 58% 68%,#ffd9a0 0%,#ff7a3d 52%,#c2410f 100%);
  filter:drop-shadow(0 0 9px rgba(255,160,70,.95)) drop-shadow(0 0 24px rgba(240,81,35,.6));
}

/* ============================================
   FORM SECTION
   ============================================ */
.form-section{position:relative;z-index:2;max-width:680px;margin:0 auto;padding:20px 24px 100px}
.form-section.hidden{display:none}

/* ---- Apply Page Top Bar (back to main site) ---- */
.apply-topbar{
  position:fixed;
  top:16px;
  left:28px;
  z-index:101;
  display:flex;
  align-items:center;
}

.back-to-site-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:linear-gradient(155deg, rgba(20,24,34,0.42) 0%, rgba(15,18,27,0.32) 50%, rgba(11,13,20,0.24) 100%);
  backdrop-filter:blur(12px) saturate(1.9) brightness(1.05);
  -webkit-backdrop-filter:blur(12px) saturate(1.9) brightness(1.05);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:100px;
  box-shadow:
    0 10px 40px rgba(0,0,0,0.4),
    inset 0 1px 1px rgba(255,255,255,0.45),
    inset 0 -1px 1px rgba(255,255,255,0.06);
  color:rgba(255,255,255,0.85);
  padding:10px 20px;
  font-family:var(--font-body);
  font-size:13.5px;
  font-weight:500;
  cursor:pointer;
  transition:all 0.25s var(--ease);
}
.back-to-site-btn:hover{
  color:#fff;
  background:rgba(240,81,35,0.25);
  border-color:rgba(240,81,35,0.5);
  transform:translateY(-1px);
}

@media (max-width: 900px) {
  .apply-topbar {
    position:relative;
    top:auto;
    left:auto;
    max-width:680px;
    margin:0 auto;
    padding:calc(76px + env(safe-area-inset-top)) 24px 0;
  }
}

.form-section{position:relative;z-index:2;max-width:680px;margin:0 auto;padding:calc(96px + env(safe-area-inset-top)) 24px 100px}
@media (max-width: 900px) {
  .form-section{padding-top:16px}
}

/* ---- Progress Bar with Shimmer ---- */
.progress-wrapper{margin-bottom:36px}
.progress-bar{width:100%;height:5px;background:rgba(38,32,27,0.06);border-radius:5px;overflow:hidden;position:relative}
.progress-fill{
  height:100%;width:11.11%;
  background:linear-gradient(90deg,var(--swift),var(--swift-soft),var(--hot));
  background-size:200% 100%;
  border-radius:5px;transition:width .6s var(--ease);
  position:relative;overflow:hidden;
}
.progress-fill::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.4),transparent);
  background-size:200% 100%;animation:progressShimmer 2s ease-in-out infinite;
}
@keyframes progressShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.progress-info{display:flex;justify-content:space-between;margin-top:10px}
.progress-step,.progress-percent{font-size:12px;font-weight:500;color:rgba(255,255,255,0.6);letter-spacing:.02em}

/* ---- Form Pages ---- */
.form-page{display:none}
.form-page.active{display:block;animation:pageIn .35s var(--ease)}
/* Opacity-only entrance: no transform/scale, so the backdrop-filter glass
   doesn't get re-sampled every frame while animating (keeps mobile smooth). */
@keyframes pageIn{from{opacity:0}to{opacity:1}}

/* Form panels: static liquid-glass. Freeze the drifting sheen so it isn't
   repainting continuously behind the backdrop blur on every device. */
.form-page .liquid-glass::after{animation:none!important}

/* ---- Glass Card ---- */
.glass-card{padding:44px 40px}
.step-title{font-family:var(--font-display);font-size:22px;font-weight:700;letter-spacing:-.02em;margin-bottom:6px;
  background:linear-gradient(135deg,#fff3d8 0%,#f2bf73 40%,#e8741f 75%,#fff3d8 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  text-shadow:0 2px 24px rgba(232,116,31,0.2);
}
.step-desc{font-size:14px;color:rgba(255,224,190,0.72);margin-bottom:32px;line-height:1.5}

/* ============================================
   FLOATING LABEL INPUTS
   Label animates up on focus/fill (21st.dev pattern)
   ============================================ */
.field-group{margin-bottom:24px;position:relative}
.field-group:last-child{margin-bottom:0}
.field-label{display:block;font-size:13px;font-weight:500;color:rgba(255,255,255,0.7);margin-bottom:8px;letter-spacing:.01em;opacity:1}
.req{color:var(--swift)}
.optional-tag{font-size:11px;font-weight:400;color:rgba(255,255,255,0.4);letter-spacing:.02em}
.field-hint{display:block;font-size:11.5px;color:rgba(255,255,255,0.4);margin:-4px 0 8px}

.field-input,.field-textarea{
  width:100%;padding:13px 16px;
  background:rgba(255,255,255,0.08);
  border:1.5px solid rgba(255,255,255,0.12);
  border-radius:var(--radius-sm);
  color:#fff;font-family:var(--font-body);font-size:14px;
  transition:border-color .25s ease,box-shadow .25s ease,background .25s ease;
  outline:none;
}
.field-input::placeholder,.field-textarea::placeholder{color:rgba(255,255,255,0.35);opacity:1}
.field-input:focus,.field-textarea:focus{
  border-color:var(--swift);
  box-shadow:0 0 0 3px rgba(240,81,35,0.15),0 2px 8px rgba(240,81,35,0.1);
  background:rgba(255,255,255,0.12);
}
.field-textarea{resize:vertical;min-height:80px;line-height:1.5}

/* Focus ring animation */
.field-input:focus,.field-textarea:focus{
  animation:fieldFocusIn .3s var(--spring);
}
@keyframes fieldFocusIn{
  from{box-shadow:0 0 0 0 rgba(240,81,35,0)}
  to{box-shadow:0 0 0 3px rgba(240,81,35,0.08),0 2px 8px rgba(240,81,35,0.06)}
}

/* ---- Field Error ---- */
.field-error{display:block;font-size:12px;color:var(--hot);margin-top:6px;min-height:0;opacity:0;transition:opacity .2s ease,margin .2s ease}
.field-error.visible{opacity:1;margin-top:6px}
.field-input.error,.field-textarea.error{border-color:var(--hot);animation:fieldError .4s var(--spring)}
.field-group.has-error .field-error{opacity:1}
@keyframes fieldError{
  0%,100%{transform:translateX(0)}
  20%{transform:translateX(-4px)}
  40%{transform:translateX(4px)}
  60%{transform:translateX(-2px)}
  80%{transform:translateX(2px)}
}

/* ============================================
   ANIMATED RADIO BUTTONS
   Sliding glider indicator (21st.dev pattern)
   ============================================ */
.radio-group{display:flex;flex-wrap:wrap;gap:8px}
.custom-radio,.custom-checkbox{
  display:flex;align-items:center;gap:10px;
  padding:11px 18px;
  background:rgba(255,255,255,0.06);
  border:1.5px solid rgba(255,255,255,0.14);
  border-radius:var(--radius-sm);
  cursor:pointer;transition:all .25s var(--ease);user-select:none;
  position:relative;overflow:hidden;
}
.custom-radio::before,.custom-checkbox::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(240,81,35,0.10),transparent);
  opacity:0;transition:opacity .25s ease;border-radius:inherit;
}
.custom-radio:hover,.custom-checkbox:hover{
  background:rgba(255,255,255,0.10);
  border-color:rgba(255,255,255,0.22);
  transform:translateY(-1px);
}
.custom-radio:hover::before,.custom-checkbox:hover::before{opacity:1}
.custom-radio:active,.custom-checkbox:active{transform:scale(0.98)}
.custom-radio input,.custom-checkbox input{display:none}

/* Radio mark — spring pop */
.radio-mark{
  width:20px;height:20px;border-radius:50%;
  border:2px solid rgba(255,255,255,0.25);
  position:relative;transition:all .25s var(--spring);flex-shrink:0;
}
.radio-mark::after{
  content:'';position:absolute;inset:3px;border-radius:50%;
  background:var(--swift);
  transform:scale(0);
  transition:transform .3s var(--spring);
  box-shadow:0 0 8px rgba(240,81,35,0.3);
}
.custom-radio input:checked+.radio-mark{
  border-color:var(--swift);
  box-shadow:0 0 0 3px rgba(240,81,35,0.1);
}
.custom-radio input:checked+.radio-mark::after{transform:scale(1)}
.custom-radio span:last-child{font-size:13px;color:rgba(255,255,255,0.7);transition:all .25s ease}
.custom-radio input:checked~span:last-child{color:#fff;opacity:1;font-weight:500}

/* ============================================
   ANIMATED CHECKBOX
   Spring check + strike-through (21st.dev pattern)
   ============================================ */
.check-mark{
  width:20px;height:20px;border-radius:6px;
  border:2px solid rgba(255,255,255,0.25);
  position:relative;transition:all .25s var(--spring);flex-shrink:0;
}
.check-mark::after{
  content:'';position:absolute;left:6px;top:2px;width:5px;height:9px;
  border:solid var(--swift);border-width:0 2.5px 2.5px 0;
  transform:rotate(45deg) scale(0);
  transition:transform .3s var(--spring);
}
.custom-checkbox input:checked+.check-mark{
  border-color:var(--swift);
  background:rgba(240,81,35,0.1);
  box-shadow:0 0 0 3px rgba(240,81,35,0.08);
}
.custom-checkbox input:checked+.check-mark::after{transform:rotate(45deg) scale(1)}
.custom-checkbox span:last-child{font-size:13px;color:rgba(255,255,255,0.7);transition:all .25s ease}
.custom-checkbox input:checked~span:last-child{color:#fff;opacity:1;font-weight:500}

.radio-group.error .custom-radio,.checkbox-group.error .custom-checkbox{
  border-color:rgba(246,80,134,0.3);
  animation:fieldError .4s var(--spring);
}

/* "Other" write-in revealed when Other radio is selected */
.other-writein{flex-basis:100%;margin-top:6px}

/* ============================================
   NAVIGATION BUTTONS
   ============================================ */
.form-nav{display:flex;justify-content:space-between;align-items:center;margin-top:36px;gap:12px;flex-wrap:wrap}
.turnstile-wrap{width:100%;display:flex;flex-direction:column;align-items:center;gap:8px;min-height:65px}
.turnstile-fallback{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  font-family:'JetBrains Mono','SF Mono','Fira Code',monospace;
  font-size:0.68rem;font-weight:700;letter-spacing:0.06em;
  color:#0c0c0e;background:#F05123;
  border:2px solid #0c0c0e;box-shadow:4px 4px 0 #0c0c0e;
  padding:10px 14px;max-width:100%;
}
.turnstile-fallback.hidden{display:none}
.turnstile-fallback-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;flex-shrink:0;
  background:#0c0c0e;color:#F05123;
  font-size:0.85rem;font-weight:800;
}
#turnstileRetry{
  font-family:inherit;font-size:0.68rem;font-weight:800;letter-spacing:0.06em;
  background:#0c0c0e;color:#fff;border:none;
  padding:8px 14px;cursor:pointer;
}
#turnstileRetry:hover{background:#1b1b1f}
.nav-btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 32px;border-radius:50px;
  font-family:var(--font-body);font-size:14px;font-weight:600;
  cursor:pointer;transition:all .25s var(--ease);
  position:relative;overflow:hidden;
  color:#fff;
}
.prev-btn:hover:not(:disabled){transform:translateY(-2px);border-color:rgba(255,255,255,0.30)}
.prev-btn:disabled{opacity:.3;cursor:not-allowed}
.next-btn{
  border-color:rgba(255,255,255,0.18);
}
.next-btn:hover:not(:disabled){transform:translateY(-2px);border-color:rgba(255,255,255,0.32)}
.next-btn:active{transform:scale(0.97)}
.submit-btn{
  border-color:rgba(255,255,255,0.20);
}
.submit-btn:hover{transform:translateY(-2px);border-color:rgba(255,255,255,0.34)}
.submit-btn:active{transform:scale(0.97)}
.hidden{display:none !important}

/* ============================================
   TOAST NOTIFICATION
   Slides in from top-right, auto-dismiss
   ============================================ */
.toast-container{
  position:fixed;top:96px;right:24px;z-index:1000;
  display:flex;flex-direction:column;gap:8px;
  pointer-events:none;
}
.toast{
  display:flex;align-items:center;gap:10px;
  padding:14px 20px;border-radius:var(--radius-sm);
  background:rgba(255,255,255,0.1);
  backdrop-filter:blur(12px) saturate(1.5);
  -webkit-backdrop-filter:blur(12px) saturate(1.5);
  border:1px solid rgba(255,255,255,0.15);
  box-shadow:0 8px 32px rgba(0,0,0,0.2);
  font-size:13px;font-weight:500;color:#fff;
  pointer-events:auto;
  animation:toastIn .4s var(--spring);
}
.toast.toast-out{animation:toastOut .3s var(--ease) forwards}
.toast-icon{width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.toast-icon.success{background:rgba(201,214,190,0.5);color:#4a7c3f}
.toast-icon.error{background:rgba(246,80,134,0.15);color:var(--hot)}
@keyframes toastIn{from{opacity:0;transform:translateX(40px) scale(0.95)}to{opacity:1;transform:translateX(0) scale(1)}}
@keyframes toastOut{from{opacity:1;transform:translateX(0) scale(1)}to{opacity:0;transform:translateX(40px) scale(0.95)}}

/* ============================================
   FOOTER
   ============================================ */
.site-footer{
  padding:60px 24px 40px;
  text-align:center;
}
.footer-inner{max-width:500px;margin:0 auto}
.footer-mew{
  width:120px;height:120px;
  border-radius:50%;
  object-fit:cover;
  margin:0 auto 20px;
  box-shadow:0 8px 32px rgba(0,0,0,0.1);
  border:3px solid rgba(255,255,255,0.8);
}
.footer-text{font-size:14px;color:#fff;font-weight:500;margin-bottom:4px}
.footer-sub{font-size:12px;color:rgba(255,255,255,0.6)}

.swift-orbs-bg{display:none;}
.shader-bg{
  position:fixed;top:0;left:0;width:100vw;height:100vh;
  z-index:0;pointer-events:none;
}
.swift-orb-decor{position:fixed;z-index:1;pointer-events:none;}
.swift-orb-canvas{display:block;opacity:1;}

/* ============================================
   SUCCESS SCREEN
   ============================================ */
 .success-message{
   min-height:calc(100vh - 140px);
   display:flex;align-items:center;justify-content:center;
   padding:40px 24px;
 }
 .success-card{
   width:100%;max-width:560px;margin:0 auto;text-align:center;
   padding:52px 44px;
   border-top:6px solid var(--swift);
 }
.success-icon{margin-bottom:24px}
.success-title{font-family:var(--font-display);font-size:26px;font-weight:700;color:#fff;margin-bottom:12px}
.success-desc{font-size:15px;color:rgba(255,255,255,0.6);line-height:1.6;max-width:400px;margin:0 auto}
.success-email-box{
  display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 9px;margin:22px auto 0;
  padding:11px 20px;border-radius:24px;
  background:rgba(240,81,56,0.10);border:1px solid rgba(240,81,56,0.28);
  color:rgba(255,255,255,0.88);font-size:14px;
  max-width:100%;box-sizing:border-box;text-align:center;
}
.success-email-box svg{color:var(--swift);flex:none}
.success-email{color:#fff;font-weight:700;word-break:normal;overflow-wrap:break-word}
.success-note{
  max-width:420px;margin:20px auto 0;font-size:13px;line-height:1.6;
  color:rgba(255,255,255,0.45);
}
.success-note a{color:var(--swift);text-decoration:none;border-bottom:1px solid rgba(240,81,56,0.4)}
.success-note a:hover{color:#ff7a5c}
 .success-card.guideline-card{padding:52px 44px;border-top:6px solid var(--swift)}
 .success-swift{
   display:block;margin:0 auto 1.5rem;width:76px;height:auto;
   background:none;border-radius:0;filter:drop-shadow(0 0 22px rgba(240,81,56,.45));
   animation:successPulse 3.2s ease-in-out infinite;
 }
 @keyframes successPulse{0%,100%{transform:scale(1);filter:drop-shadow(0 0 18px rgba(240,81,56,.35))}50%{transform:scale(1.05);filter:drop-shadow(0 0 30px rgba(240,81,56,.6))}}

.site-footer{
  position:relative;z-index:1;
  padding:48px 24px 40px;
  text-align:center;
}
.footer-inner{
  max-width:400px;margin:0 auto;
}
.footer-img{
  width:auto;height:40px;max-width:240px;
  margin:0 auto 16px;display:block;
  filter:drop-shadow(0 4px 20px rgba(0,0,0,.12));
}
.footer-title{
  font-family:var(--font-display);
  font-size:16px;font-weight:700;
  color:#fff;margin-bottom:4px;
}
.footer-sub{
  font-size:13px;color:rgba(255,255,255,0.6);
  letter-spacing:.3px;
}

/* ============================================
   DEVICE SHOWCASE — 3D Floating Devices
   ============================================ */
.showcase-section{
  position:relative;z-index:1;
  padding:80px 24px 100px;
  overflow:hidden;
}
.showcase-section::before{
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(232,116,31,0.16), transparent 70%),
    radial-gradient(55% 50% at 75% 65%, rgba(242,191,115,0.12), transparent 70%);
}
.showcase-inner{
  position:relative;z-index:1;
  max-width:1000px;margin:0 auto;text-align:center;
}
.showcase-eyebrow{
  font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(242,191,115,0.85);margin-bottom:16px;
}
.showcase-title{
  font-family:var(--font-display);font-size:clamp(26px,5vw,40px);
  font-weight:800;letter-spacing:-.03em;line-height:1.15;
  margin-bottom:14px;
  background:linear-gradient(135deg,#fff3d8 0%,#f2bf73 32%,#e8741f 62%,#fff3d8 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  text-shadow:0 2px 30px rgba(232,116,31,0.22);
}
.showcase-title .accent{color:var(--swift);-webkit-text-fill-color:initial}
.showcase-desc{
  font-size:15px;line-height:1.6;color:rgba(255,224,190,0.72);
  max-width:480px;margin:0 auto 56px;
}

/* Devices Stage — 3D perspective container */
.devices-stage{
  position:relative;
  height:440px;
  perspective:1200px;
  transform-style:preserve-3d;
  max-width:900px;
  margin:0 auto;
}

/* Base device float */
.device-float{
  position:absolute;
  will-change:transform;
}

/* iPhone — center, slightly right */
.device-iphone{
  left:55%;top:50%;
  transform:translate(-50%,-50%) rotateY(-6deg) rotateX(3deg);
  z-index:3;
}
.device-iphone .device-frame{
  position:relative;width:220px;aspect-ratio:39/80;
}
.device-iphone .device-img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:fill;
  filter:drop-shadow(0 24px 55px rgba(120,30,5,0.45)) drop-shadow(0 0 26px rgba(232,116,31,0.28));
}
.device-iphone .device-screen{
  position:absolute;
  top:1.1%;left:1.3%;right:1.3%;bottom:1.1%;
  border-radius:46px;
  overflow:hidden;
}
.device-iphone .screen-content{
  width:100%;height:100%;
  position:relative;overflow:hidden;
  border-radius:46px;
  background:#000;
}
.phone-wallpaper{
  width:100%;height:100%;object-fit:cover;
}
.phone-overlay{
  position:absolute;inset:0;
  display:flex;flex-direction:column;
  background:rgba(0,0,0,0.15);
}

/* iPhone Status Bar */
.phone-status-bar{
  display:flex;align-items:center;justify-content:space-between;
  padding:8px 14px 4px;
  font-size:10px;font-weight:600;color:#fff;
  position:relative;z-index:2;
}
.phone-notch{
  width:80px;height:22px;background:#000;border-radius:0 0 16px 16px;
  position:absolute;left:50%;transform:translateX(-50%);top:0;
}
.phone-icons{display:flex;align-items:center;gap:4px}
.phone-battery{
  width:20px;height:9px;border:1.5px solid rgba(255,255,255,0.5);border-radius:2px;
  position:relative;padding:1px;
}
.phone-battery::after{
  content:'';position:absolute;right:-3px;top:2px;
  width:2px;height:3px;background:rgba(255,255,255,0.5);border-radius:0 1px 1px 0;
}
.phone-battery-fill{width:70%;height:100%;background:#34c759;border-radius:1px}

/* iPhone App Grid */
.phone-app-grid{
  flex:1;display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px 2px;
  padding:24px 10px 10px;
  align-content:start;
}
.phone-app{
  display:flex;flex-direction:column;align-items:center;gap:3px;
}
.phone-app-icon{
  width:40px;height:40px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 8px rgba(0,0,0,0.2);
}
.phone-app span{font-size:8px;color:#fff;font-weight:500;text-shadow:0 1px 3px rgba(0,0,0,0.5)}

/* iPhone Dock */
.phone-dock{
  display:flex;justify-content:center;gap:14px;
  padding:8px 20px 4px;
  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-top:1px solid rgba(255,255,255,0.1);
}
.phone-dock-icon{
  width:40px;height:40px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 8px rgba(0,0,0,0.2);
}

/* iPhone Home Indicator */
.phone-home-indicator{
  width:100px;height:4px;
  background:rgba(255,255,255,0.4);border-radius:2px;
  margin:4px auto 6px;
}

/* MacBook — left side, below iPhone */
.device-macbook{
  left:18%;top:55%;
  transform:translate(-50%,-50%) rotateY(10deg) rotateX(-2deg) scale(0.8);
  z-index:2;
}
.device-macbook .device-frame{position:relative;width:360px;aspect-ratio:800/489}
.device-macbook .device-img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:fill;
  filter:drop-shadow(0 28px 65px rgba(120,30,5,0.42)) drop-shadow(0 0 30px rgba(232,116,31,0.25));
}
.device-macbook .device-screen{
  position:absolute;
  top:4%;left:8%;right:8%;bottom:6%;
  border-radius:8px;overflow:hidden;
}

/* Mac Screen */
.screen-mac{
  background:#1e1e2e;
  display:flex;flex-direction:column;
  height:100%;
}

/* Mac Title Bar */
.mac-titlebar{
  display:flex;align-items:center;gap:8px;
  padding:6px 10px;
  background:#181825;
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.mac-dots{display:flex;gap:4px}
.mac-dots span{width:8px;height:8px;border-radius:50%}
.mac-dots span:nth-child(1){background:#f38ba8}
.mac-dots span:nth-child(2){background:#f9e2af}
.mac-dots span:nth-child(3){background:#a6e3a1}
.mac-title{font-size:9px;color:#6c7086;font-family:'SF Mono',monospace;flex:1;text-align:center}
.mac-dots-placeholder{width:36px}

/* Mac Editor */
.mac-editor{display:flex;flex:1;overflow:hidden;height:100%}

.mac-sidebar{
  width:110px;background:#181825;
  border-right:1px solid rgba(255,255,255,0.06);
  padding:6px 0;
  flex-shrink:0;
  overflow-y:auto;height:100%;
}
.mac-sidebar-item{
  display:flex;align-items:center;gap:5px;
  padding:3px 8px;font-size:8px;color:#6c7086;
  cursor:default;white-space:nowrap;
}
.mac-sidebar-item.active{background:rgba(255,255,255,0.06);color:#cdd6f4}

.mac-code-area{
  flex:1;padding:6px 8px;overflow:hidden;
  font-family:'SF Mono',Monaco,Consolas,monospace;
  font-size:8px;line-height:1.7;
}
.mac-line{display:flex;gap:8px;white-space:nowrap}
.mac-ln{
  color:#45475a;min-width:14px;text-align:right;
  user-select:none;flex-shrink:0;
}
.code-kw{color:#cba6f7}
.code-mod{color:#89b4fa}
.code-type{color:#f9e2af}
.code-str{color:#a6e3a1}
.mac-cursor-line{
  display:inline-block;width:1px;height:10px;
  background:#f5e0dc;animation:macBlink 1s step-end infinite;
  margin-left:-1px;vertical-align:middle;
}
@keyframes macBlink{0%,100%{opacity:1}50%{opacity:0}}

/* Swift Logo — top right */
.device-swift{
  right:12%;top:15%;
  left:auto;top:15%;
  transform:none;
  z-index:4;
  animation:swiftFloat 4s ease-in-out infinite;
}
@keyframes swiftFloat{
  0%,100%{transform:translateY(0) rotate(0deg)}
  25%{transform:translateY(-8px) rotate(3deg)}
  50%{transform:translateY(-4px) rotate(-2deg)}
  75%{transform:translateY(4px) rotate(1deg)}
}
.swift-float-icon{
  width:72px;height:72px;
  filter:drop-shadow(0 8px 24px rgba(240,81,35,0.35));
}

/* App Store Badge — top left */
.device-badge{
  left:8%;top:12%;
  transform:none;
  z-index:4;
  animation:badgeFloat 5s ease-in-out infinite 0.5s;
}
@keyframes badgeFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
}
.app-store-img{
  width:140px;height:auto;
  filter:drop-shadow(0 6px 20px rgba(0,0,0,0.15));
}

/* Device labels */
.device-label{
  font-size:11px;font-weight:600;color:rgba(242,191,115,0.8);
  letter-spacing:.06em;text-transform:uppercase;
  margin-top:12px;text-align:center;
  text-shadow:0 1px 12px rgba(232,116,31,0.25);
}

/* ============================================
   RESPONSIVE — Mobile-First Breakpoints
   ============================================ */

/* Tablet (768px and below) */
@media(max-width:768px){
  .showcase-section{padding:60px 20px 80px}
  .devices-stage{height:380px}
  .device-iphone{left:55%}
  .device-iphone .device-frame{width:190px}
  .device-iphone .device-screen,
  .device-iphone .screen-content{border-radius:40px}
  .device-macbook{left:20%;top:58%;transform:translate(-50%,-50%) rotateY(8deg) scale(0.65)}
  .device-macbook .device-frame{width:300px}
  .device-swift{right:10%}
  .swift-float-icon{width:60px;height:60px}
  .device-badge{left:6%}
  .app-store-img{width:120px}
}

/* Mobile (640px and below) */
@media(max-width:640px){
  .creators-list {
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
  }
  .creator-link {
    padding: 6px 8px;
    gap: 4px;
  }
  .creator-name {
    font-size: 8.5px;
    white-space: nowrap;
  }
  .gh-icon {
    width: 11px;
    height: 11px;
  }
  .site-footer {
    padding-left: 12px;
    padding-right: 12px;
  }
  /* Header */
  .site-header{padding:11px 18px;top:12px;min-height:50px}
  .brand-name{font-size:13px}
  .brand-sub{font-size:8.5px}
  .swift-logo{width:20px;height:20px;margin-left:6px}
  .parul-logo{height:22px}
  .aatce-logo{height:28px;max-width:100px}
  .vthub-logo{height:22px}
  .brand{gap:8px}

  /* Hero */
  .hero-section{min-height:calc(100vh - 60px);padding:24px 16px}
  .hero-inner{padding:36px 20px}
  .hero-title{font-size:28px;letter-spacing:-.02em;max-width:240px;margin:0 auto 16px}
  .hero-desc{font-size:14px;margin-bottom:32px}
  .hero-eyebrow{font-size:11px;margin-bottom:16px}
  .hero-apple{width:176px;height:176px}
  .hero-inner .swift-logo{width:56px;margin-bottom:1.5rem}
  .cta-btn{padding:14px 32px;font-size:13px}

  /* Showcase */
  .showcase-section{padding:48px 16px 64px}
  .showcase-title{font-size:22px}
  .showcase-desc{font-size:14px;margin-bottom:40px}
  .devices-stage{
    height:300px;
    perspective:800px;
    overflow:visible;
  }

  /* iPhone — center */
  .device-iphone{
    left:50%;top:45%;
    transform:translate(-50%,-50%) rotateY(-4deg) rotateX(2deg);
  }
  .device-iphone .device-frame{width:150px}
  .device-iphone .device-screen,
  .device-iphone .screen-content{border-radius:31px}
  .phone-app-icon{width:32px;height:32px;border-radius:8px}
  .phone-app span{font-size:7px}
  .phone-dock-icon{width:32px;height:32px;border-radius:8px}
  .phone-app-grid{padding:18px 6px 6px;gap:4px 1px}

  /* MacBook — bottom left */
  .device-macbook{
    left:22%;top:65%;
    transform:translate(-50%,-50%) rotateY(6deg) scale(0.45);
  }
  .device-macbook .device-frame{width:240px}
  .mac-code-area{font-size:6px}
  .mac-sidebar{width:80px}

  /* Swift icon — top right */
  .device-swift{
    right:8%;top:10%;left:auto;
    animation:swiftFloatMobile 4s ease-in-out infinite;
  }
  @keyframes swiftFloatMobile{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-6px)}
  }
  .swift-float-icon{width:44px;height:44px}

  /* Badge — top left */
  .device-badge{
    left:5%;top:8%;
    animation:badgeFloatMobile 5s ease-in-out infinite;
  }
  @keyframes badgeFloatMobile{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-5px)}
  }
  .app-store-img{width:95px}

  .device-label{font-size:9px;margin-top:8px}

  /* Form */
  .form-section{padding:16px 16px 80px}
  .glass-card{padding:28px 20px}
  .step-title{font-size:18px;margin-bottom:4px}
  .step-desc{font-size:13px;margin-bottom:24px}
  .field-group{margin-bottom:20px}
  .field-input,.field-textarea{padding:12px 14px;font-size:13px}
  .radio-group,.checkbox-group{flex-direction:column;gap:6px}
  .custom-radio,.custom-checkbox{width:100%;padding:12px 14px}
  .custom-radio span:last-child,.custom-checkbox span:last-child{font-size:12px}

  /* Nav buttons */
  .form-nav{flex-direction:column;gap:10px;margin-top:28px}
  .prev-btn,.next-btn,.submit-btn{width:100%;justify-content:center;padding:14px 24px;font-size:13px}
  .progress-bar{height:4px}
  .progress-info{margin-top:8px}

  /* Toast */
  .toast-container{right:12px;left:12px;top:72px}
  .toast{padding:12px 16px;font-size:12px}

  /* Success */
  .success-card.guideline-card{padding:40px 22px;border-top-width:5px}
  .success-title{font-size:22px}
  .success-desc{font-size:14px}

  /* Scrollbar — hide on mobile */
  ::-webkit-scrollbar{width:0}

  /* Grain — lighter on mobile */
  .grain{opacity:.03}

  /* Blobs — smaller on mobile */
  .blob{filter:blur(60px);opacity:.35}
  .b1{width:40vmax;height:40vmax}
  .b2{width:35vmax;height:35vmax}
  .b3{width:30vmax;height:30vmax}
}

/* Small phones (400px and below) */
@media(max-width:400px){
  .hero-title{font-size:24px}
  .showcase-title{font-size:20px}
  .devices-stage{height:240px}
  .device-iphone .device-frame{width:120px}
  .device-iphone .device-screen,
  .device-iphone .screen-content{border-radius:25px}
  .device-macbook .device-frame{width:200px}
  .swift-float-icon{width:32px;height:32px}
  .app-store-img{width:75px}

  /* Keep the header tidy on tiny screens */
  .site-header{padding:9px 12px;min-height:44px}
  .header-inner{gap:7px}
  .brand{gap:8px}
  .parul-logo{height:20px}
  .swift-logo{width:18px;height:18px;margin-left:4px}
  .aatce-logo{height:26px;max-width:90px}
  .vthub-logo{height:20px}

  /* Tighten hero/glass cards so nothing feels cramped */
  .hero-inner{padding:32px 18px}
  .glass-card{padding:24px 16px}
  .guideline-card{padding:22px 16px}
  .success-card.guideline-card{padding:32px 18px}
  .field-input,.field-textarea{padding:11px 12px}
  .custom-radio,.custom-checkbox{padding:11px 12px}
  .step-title{font-size:17px}
  .form-nav{gap:8px}
}

/* Safe area for notch devices */
@supports(padding:env(safe-area-inset-top)){
  .site-header{top:calc(16px + env(safe-area-inset-top))}
  .form-section{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
}

/* Touch device optimizations */
@media(hover:none)and(pointer:coarse){
  .liquid-glass::after{display:none}
  .cta-btn:hover{transform:none;box-shadow:none}
  .nav-btn:hover{transform:none}
  .custom-radio:hover,.custom-checkbox:hover{transform:none;box-shadow:none}
}

/* ============================================
   MOBILE PERFORMANCE — design preserved, render cost reduced
   ============================================ */

/* Promote glass to its own compositor layer so the backdrop blur isn't
   re-sampled on the main thread while scrolling (big win on mid-range
   Android — verified ~45→58fps in Versatile Webworks benchmarks).
   NOTE: .site-header is excluded — it already uses transform:translateX(-50%)
   for centering and must keep it. */
.liquid-glass,
.glass-button,
.glass-card,
.toast{
  transform:translateZ(0);
}

/* On phones, drop the glass blur 30px→14px and header/button blur 20→14px.
   The frosted look is retained; the per-frame Gaussian cost is slashed. */
@media(max-width:768px){
  .liquid-glass,
  .glass-button,
  .glass-card,
  .site-header,
  .toast{
    backdrop-filter:blur(10px) saturate(1.5);
    -webkit-backdrop-filter:blur(10px) saturate(1.5);
  }
}

/* Skip layout + paint for below-the-fold sections on initial load.
   Cuts first render work up to ~7x on low-end mobile (web.dev). The hero
   (LCP) is intentionally excluded. contain-intrinsic-size prevents CLS. */
.guidelines-section,
.showcase-section,
.site-footer{
  content-visibility:auto;
  contain-intrinsic-size:auto 900px;
}

/* ============================================
   GUIDELINES / BEFORE YOU APPLY PAGE
   ============================================ */
.guidelines-section{position:relative;z-index:1;padding:140px 24px 100px;max-width:840px;margin:0 auto}
.guidelines-head{text-align:center;margin-bottom:52px}
.guidelines-kicker{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,0.55);margin-bottom:16px}
.guidelines-title{font-family:var(--font-display);font-size:clamp(30px,6vw,48px);font-weight:900;letter-spacing:-.03em;margin-bottom:14px;line-height:1.05;background:linear-gradient(135deg,#fff3d8 0%,#f2bf73 32%,#e8741f 62%,#fff3d8 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;text-shadow:0 2px 30px rgba(232,116,31,0.25)}
.guidelines-title .accent{color:var(--swift)}
.guidelines-sub{font-size:15px;color:rgba(255,255,255,0.6);max-width:540px;margin:0 auto;line-height:1.6}
.guidelines-list{display:flex;flex-direction:column;gap:20px}
.guideline-card{padding:34px 34px}

/* ============================================
   GUIDELINES SCATTER LAYOUT — big displays ONLY
   (min-width + fine pointer so phones/tablets keep
    the cheap single-column flow with zero transforms)
   JS in app.js owns the card transforms here.
   ============================================ */
@media (min-width:1100px) and (hover:hover) and (pointer:fine){
  .guidelines-section{max-width:1480px;padding-left:80px;padding-right:80px}
  .guidelines-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:72px 96px;
    align-items:start;
    position:relative;
  }
  /* right column subtle editorial stagger */
  .guidelines-list .guideline-card:nth-child(even){margin-top:40px}
  .guidelines-list .guideline-card.looking-for{margin-top:40px}
  .guidelines-list .guideline-card{will-change:transform;backface-visibility:hidden;position:relative;z-index:1}

  /* the thread that joins the panels (path built by app.js) */
  .guide-thread{
    position:absolute;inset:0;width:100%;height:100%;
    pointer-events:none;z-index:0;overflow:visible;
  }
}

/* Ultra-wide displays (27"+ / iMac) */
@media (min-width:1900px) and (hover:hover) and (pointer:fine){
  .guidelines-section{max-width:1780px;padding-left:110px;padding-right:110px}
  .guidelines-list{gap:72px 120px}
  .guidelines-list .guideline-card:nth-child(even){margin-top:50px}
  .guidelines-list .guideline-card.looking-for{margin-top:50px}
}
.guideline-card h2{font-family:var(--font-display);font-size:21px;font-weight:700;letter-spacing:-.02em;color:#fff;margin-bottom:16px;display:flex;align-items:center}
.guideline-card h2::before{content:'';width:9px;height:9px;border-radius:2px;background:var(--swift);transform:rotate(45deg);flex:none;margin-right:12px}
.guideline-card.important h2{color:#fff}
.guideline-card.important h2::before{background:var(--hot)}
.guideline-card p{font-size:15px;color:rgba(255,255,255,0.74);line-height:1.75;margin-bottom:14px}
.guideline-card p:last-child{margin-bottom:0}
.guideline-card ul{list-style:none;display:flex;flex-direction:column;gap:9px;margin:4px 0 14px}
.guideline-card li{font-size:15px;color:rgba(255,255,255,0.74);line-height:1.6;padding-left:22px;position:relative}
.guideline-card li::before{content:'';position:absolute;left:0;top:9px;width:7px;height:7px;border-radius:2px;background:var(--swift);transform:rotate(45deg)}
.guideline-card.important li::before{background:var(--hot)}

/* guidelines panel — emphasize specific key words inline, no panel glow */
.guideline-card.looking-for h2{color:#fff}
.guideline-card.looking-for h2::before{background:var(--hot)}
.guideline-card.looking-for strong{
  font-weight:700;
  color:#fff;
}

.confirm-wrap{display:flex;justify-content:center;margin-top:40px}
.confirm-box{max-width:600px;width:100%;padding:22px 26px}
.confirm-box .custom-checkbox{background:transparent;border:0;padding:0;width:100%;align-items:flex-start}
.confirm-box .custom-checkbox .check-mark{margin-top:2px}
.confirm-text{font-size:14.5px;color:rgba(255,255,255,0.85);line-height:1.55;text-align:left}
.confirm-note{text-align:center;font-size:13px;color:rgba(255,255,255,0.5);margin-top:14px;transition:opacity .3s ease}
.guideline-cta{text-align:center;margin-top:26px}

/* GUIDELINES PANELS — unified liquid glass (same as the form cards) */
.guidelines-list{counter-reset:gcard}

.guideline-card h2{
  text-transform:uppercase;
  letter-spacing:.02em;
  border-bottom:1px solid rgba(255,255,255,0.10);
  padding-bottom:14px;
  margin-bottom:20px;
}
.guideline-card h2::before{
  width:9px;height:9px;border-radius:2px;margin-right:13px;
  box-shadow:1px 1px 0 rgba(0,0,0,0.4);
}
.guideline-card li::before{box-shadow:none}

/* Important — same glass, with a warm accent edge so it still reads as key */
.glass-card.liquid-glass.guideline-card.important{
  border-color:rgba(246,80,134,0.45);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.42),
    inset 0 1px 1px rgba(255,255,255,0.16),
    inset 0 -10px 22px rgba(0,0,0,0.30),
    0 0 0 1px rgba(246,80,134,0.25),
    0 0 30px rgba(246,80,134,0.18);
}

/* Confirm toggle (guidelines page) — liquid glass pill */
.confirm-box .confirm-check{display:flex;gap:14px;align-items:flex-start;cursor:pointer}
.confirm-box .confirm-check .check-mark{
  flex:none;width:52px;height:28px;margin-top:2px;border-radius:999px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.18);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 1px rgba(255,255,255,0.18);
  position:relative;transition:background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.confirm-box .confirm-check .check-mark::after{
  content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:999px;
  background:rgba(255,255,255,0.22);
  box-shadow:0 2px 4px rgba(0,0,0,.5);
  transition:transform .25s cubic-bezier(.4,1.4,.6,1), background .25s ease;
}
.confirm-box .confirm-check input:checked + .check-mark{
  background:linear-gradient(180deg,var(--swift),#c63a1e);
  border-color:transparent;
  box-shadow:0 0 14px rgba(240,81,56,.45);
}
.confirm-box .confirm-check input:checked + .check-mark::after{
  transform:translateX(24px);
  background:rgba(255,255,255,0.92);
}

/* Continue button (guidelines page) — glass */
.guideline-cta .cta-btn{
  display:inline-block;
  background:rgba(255,255,255,0.06);
  color:#fff;
  border:1px solid rgba(255,255,255,0.18);
  border-radius:999px;
  padding:16px 38px;
  font-weight:800;letter-spacing:.05em;text-transform:uppercase;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 1px rgba(255,255,255,0.18);
  transition:transform .12s ease, box-shadow .12s ease, background .2s ease;
}
.guideline-cta .cta-btn:hover{
  background:rgba(255,255,255,0.10);
  box-shadow:inset 0 1px 1px rgba(255,255,255,0.22), 0 8px 24px rgba(0,0,0,.35);
}
.guideline-cta .cta-btn.is-disabled{opacity:.4;box-shadow:inset 0 1px 1px rgba(255,255,255,0.18)}

.cta-btn.is-disabled{opacity:.4;pointer-events:none;filter:grayscale(.25)}

.hero-cta-row{display:flex;justify-content:center;margin-top:34px}

@media(max-width:640px){
  .guidelines-section{padding:120px 16px 80px}
  .guideline-card{padding:26px 20px}
  .guideline-card h2{font-size:18px}
  .guideline-card p,.guideline-card li{font-size:14px}
}

/* Reduced motion — keep animations but lighter */
@media(prefers-reduced-motion:reduce){
  .grain{animation-duration:20s!important}
  .blob{animation-duration:40s!important}
  .device-swift,.device-badge{animation-duration:8s!important}
  .liquid-glass::after{animation-duration:4s!important}
  *{transition-duration:.15s!important}
  .form-page.active{animation-duration:.2s!important}
}

/* ============================================
   MOBILE PERFORMANCE & ANTI-LAG ACCELERATION
   ============================================ */
@media (max-width: 768px) {
  /* Prevent iOS Safari form focus auto-zoom */
  .field-input, .field-textarea, select {
    font-size: 16px !important;
  }

  /* Static mode: remove ALL backdrop-filter on mobile — biggest GPU savings */
  .glass-card, .liquid-glass, .sub-card, .site-header, .confirm-mark, .check-mark,
  .toast, .glass-button, .phone-dock, .confirm-modal-backdrop,
  .back-to-site-btn, .guideline-cta .cta-btn, .confirm-box .confirm-check .check-mark {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Slightly increase background opacity to compensate for no blur */
  .liquid-glass {
    background: linear-gradient(155deg, rgba(18,22,32,0.55) 0%, rgba(13,16,24,0.45) 50%, rgba(9,11,17,0.35) 100%) !important;
  }
  .site-header {
    background: linear-gradient(155deg, rgba(20,24,34,0.65) 0%, rgba(15,18,27,0.55) 50%, rgba(11,13,20,0.45) 100%) !important;
  }

  /* Disable continuous background repaints on mobile GPUs */
  .grain, .blob {
    display: none !important;
  }

  /* Beautiful CSS gradient for mobile site */
  body {
    background: #0d0403 !important;
    background-image: 
      radial-gradient(ellipse 80% 50% at 50% -20%, rgba(240, 81, 35, 0.4) 0%, transparent 80%),
      radial-gradient(ellipse 60% 60% at 80% 100%, rgba(180, 45, 10, 0.3) 0%, transparent 80%),
      radial-gradient(ellipse 100% 100% at 0% 100%, rgba(242, 160, 55, 0.15) 0%, transparent 70%) !important;
  }
  .shader-bg {
    display: none !important;
  }

  /* Force all content visible since GSAP won't animate opacity in */
  .hero-inner, .hero-eyebrow, .hero-title, .hero-desc,
  .guidelines-head, .guideline-card, .showcase-eyebrow, .showcase-title,
  .showcase-desc, .device-iphone, .device-macbook, .device-swift, .device-badge {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  /* Make sure header is visible without breaking its horizontal centering */
  .site-header {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Disable content-visibility on mobile to prevent "black blocks" popping in during fast scroll */
  .guideline-card, .guidelines-section, .showcase-section, .site-footer {
    content-visibility: visible !important;
  }

  /* Hide the boot animation entirely on mobile to prevent any loading delay */
  .boot {
    display: none !important;
  }

  /* Remove default mobile tap highlight flash */
  *, *::before, *::after {
    -webkit-tap-highlight-color: transparent;
  }

  /* Responsive card padding */
  .glass-card {
    padding: 28px 20px !important;
  }

  .form-section {
    padding: 16px 14px 80px !important;
  }

  /* Kill all animations and transitions on mobile */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Exceptions: keep form page transitions functional */
  .form-page.active {
    animation-duration: 0.3s !important;
  }
}

/* ============================================
   SUBMISSION CONFIRMATION MODAL (Liquid Glass)
   ============================================ */
.confirm-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 1.5rem;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.confirm-modal-backdrop.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}

.confirm-modal-backdrop:not(.hidden) .confirm-modal-card {
  animation: modalPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPopIn {
  0% { opacity: 0; transform: scale(0.92) translateY(16px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.confirm-modal-backdrop.hidden .confirm-modal-card {
  transform: scale(0.92) translateY(12px);
  opacity: 0;
}

.confirm-modal-card {
  max-width: 420px;
  width: 100%;
  padding: 2.4rem 2.2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(60px) saturate(180%);
  -webkit-backdrop-filter: blur(60px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 32px 64px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 1px 0 0 rgba(255,255,255,0.08),
    inset -1px 0 0 rgba(255,255,255,0.08);
}

.confirm-modal-card > * { position: relative; z-index: 3; }

/* Shimmer sweep across the glass panel */
.confirm-shimmer-sweep {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.confirm-shimmer-sweep::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.06) 45%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 55%, transparent 60%);
  transform: skewX(-20deg);
  animation: confirmShimmer 4s ease-in-out infinite;
}
@keyframes confirmShimmer {
  0%, 100% { left: -60%; }
  50% { left: 120%; }
}

/* Subtle glow orb behind the icon */
.confirm-glow-orb {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,81,35,0.12) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
  pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.confirm-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.confirm-modal-close:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85);
  transform: scale(1.05);
}

.confirm-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Pulsing ring behind the shield */
.confirm-icon-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(240,81,35,0.20);
  animation: ringPulse 2.5s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

.confirm-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(240,81,56,0.08);
  border: 1px solid rgba(240,81,56,0.25);
  box-shadow:
    0 0 40px rgba(240,81,35,0.15),
    0 0 80px rgba(240,81,35,0.06),
    inset 0 1px 1px rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-kicker {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.5rem;
}

.confirm-modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.65rem;
  letter-spacing: -0.03em;
}

.confirm-modal-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto 1.5rem;
  letter-spacing: -0.01em;
}

.confirm-warn-pill {
  display: inline-block;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  background: rgba(240,81,56,0.08);
  border: 1px solid rgba(240,81,56,0.22);
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.confirm-modal-actions {
  position: relative;
}

.confirm-modal-btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.confirm-modal-btn {
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.01em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.confirm-modal-btn.cancel-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.confirm-modal-btn.cancel-btn:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.95);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.confirm-modal-btn.submit-btn-confirm {
  background: linear-gradient(135deg, #F05123 0%, #FF6434 40%, #FF8A50 70%, #F05123 100%);
  background-size: 200% 200%;
  border: 1px solid rgba(255,180,140,0.35);
  color: #fff;
  box-shadow:
    0 4px 24px rgba(240,81,35,0.40),
    0 0 48px rgba(240,81,35,0.12),
    inset 0 1px 1px rgba(255,255,255,0.40),
    inset 0 -2px 4px rgba(0,0,0,0.15);
  animation: btnGradient 3s ease-in-out infinite;
}
@keyframes btnGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Shimmer sweep on the button */
.btn-shimmer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.20) 50%, transparent 70%);
  animation: btnShimmer 2.5s ease-in-out infinite;
}
@keyframes btnShimmer {
  0%, 70%, 100% { left: -100%; }
  40% { left: 150%; }
}

.confirm-modal-btn.submit-btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(240,81,35,0.55),
    0 0 60px rgba(240,81,35,0.18),
    inset 0 1px 1px rgba(255,255,255,0.55);
}

.confirm-modal-btn.submit-btn-confirm:active {
  transform: scale(0.97) translateY(0) !important;
}

.btn-label {
  position: relative;
  z-index: 2;
}

@media (max-width: 480px) {
  .confirm-modal-backdrop {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(30px) saturate(160%);
    -webkit-backdrop-filter: blur(30px) saturate(160%);
  }
  .confirm-modal-card {
    padding: 2rem 1.4rem 1.6rem;
    border-radius: 24px;
    background: rgba(18, 18, 24, 0.75);
    backdrop-filter: blur(40px) saturate(160%);
    -webkit-backdrop-filter: blur(40px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
      0 24px 64px rgba(0,0,0,0.55),
      inset 0 1px 0 rgba(255,255,255,0.15),
      inset 1px 0 0 rgba(255,255,255,0.06),
      inset -1px 0 0 rgba(255,255,255,0.06);
  }
  .confirm-modal-title {
    font-size: 1.22rem;
  }
  .confirm-modal-btn-row {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .confirm-modal-btn {
    width: 100%;
    padding: 13px 18px;
  }
}
