/* Job Applier — glass / 3D / motion design system */
:root {
  --bg: #01041c;
  --bg-2: #03106e;
  --ink: #ffffff;
  --ink-2: #c7d2fe;
  --ink-3: #8b9bd6;
  --royal: #1f5fff;
  --sky: #38bdf8;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);
  --glass: rgba(255, 255, 255, .06);
  --glass-2: rgba(255, 255, 255, .10);
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --pink: #38bdf8;
  --lime: #a3e635;
  --amber: #fbbf24;
  --red: #fb7185;
  --grad: linear-gradient(135deg, #3b82f6 0%, #1f5fff 55%, #1d4ed8 100%);
  --grad-text: linear-gradient(90deg, #7dd3fc 0%, #38bdf8 35%, #3b82f6 100%);
  --grad-warm: linear-gradient(135deg, #38bdf8 0%, #1f8bff 50%, #1f5fff 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Manrope", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 15px/1.6 var(--font);
  background: radial-gradient(900px 700px at 78% 58%, rgba(41, 98, 255, .75) 0%, rgba(20, 50, 200, .35) 35%, transparent 65%),
              radial-gradient(700px 500px at 0% 0%, rgba(30, 64, 175, .55) 0%, transparent 60%),
              linear-gradient(160deg, #020624 0%, #030b52 45%, #0a1ca8 100%);
  background-attachment: fixed; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: #93c5fd; text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
::selection { background: rgba(59, 130, 246, .5); }

/* ---------- Ambient background: animated orbs + grain + grid ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; mix-blend-mode: screen; animation: drift 22s var(--ease) infinite alternate; }
.orb.o1 { width: 520px; height: 520px; background: #1d4ed8; top: -120px; right: -80px; }
.orb.o2 { width: 460px; height: 460px; background: #1e3a8a; bottom: -140px; left: -120px; animation-duration: 26s; animation-delay: -6s; }
.orb.o3 { width: 340px; height: 340px; background: #0ea5e9; top: 40%; left: 55%; opacity: .32; animation-duration: 30s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-60px, 50px, 0) scale(1.12); }
  100% { transform: translate3d(40px, -30px, 0) scale(.95); }
}
.grid-floor { display: none;
  position: absolute; left: -50%; right: -50%; bottom: -30%; height: 70%;
  background-image: linear-gradient(rgba(59, 130, 246, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 130, 246, .18) 1px, transparent 1px);
  background-size: 60px 60px; transform: perspective(600px) rotateX(70deg);
  mask-image: linear-gradient(to top, rgba(0,0,0,.7), transparent 75%); animation: floor 14s linear infinite;
}
@keyframes floor { to { background-position: 0 60px, 60px 0; } }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.grain { position: absolute; inset: -50%; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.spotlight { position: fixed; width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(59, 130, 246, .14), transparent 60%); transition: opacity .3s; left: -999px; top: -999px; }

/* ---------- Glass primitives ---------- */
.glass {
  position: relative; background: linear-gradient(180deg, rgba(60, 110, 255, .2), rgba(6, 16, 90, .62));
  border: 1px solid rgba(147, 197, 253, .2); border-radius: var(--radius);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--shadow);
}
.glass::before { /* top edge highlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,.35), rgba(255,255,255,0) 35%, rgba(255,255,255,0) 70%, rgba(59,130,246,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass-pad { padding: 28px; }
.glass-sm { border-radius: var(--radius-sm); }

/* 3D tilt (JS sets --rx/--ry/--mx/--my) */
.tilt { transform-style: preserve-3d; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform .5s var(--ease), box-shadow .5s var(--ease); will-change: transform; }
.tilt:hover { box-shadow: 0 40px 90px -25px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06) inset; }
.tilt .sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 45%); }
.tilt:hover .sheen { opacity: 1; }
.lift { transform: translateZ(40px); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--grad); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; border: 0; cursor: pointer; font: 600 15px/1 var(--font); color: #fff;
  background: var(--b); box-shadow: 0 10px 30px -8px rgba(37, 99, 235, .7), inset 0 1px 0 rgba(255,255,255,.35);
  overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .2s;
  white-space: nowrap; text-decoration: none;
}
.btn::after { /* shine sweep */
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(37, 99, 235, .85), inset 0 1px 0 rgba(255,255,255,.4); }
.btn:hover::after { left: 140%; }
.btn:active { transform: translateY(0) scale(.97); }
.btn-lg { padding: 1.05em 1.8em; font-size: 17px; }
.btn-sm { padding: .6em 1em; font-size: 13px; }
.btn { background: linear-gradient(180deg, #3d7bff 0%, #1f5fff 55%, #1a4fe0 100%); box-shadow: 0 10px 34px -6px rgba(31, 95, 255, .75), 0 0 0 1px rgba(125, 211, 252, .25) inset, inset 0 1px 0 rgba(255,255,255,.35); }
.btn:hover { box-shadow: 0 18px 46px -8px rgba(31, 95, 255, .95), 0 0 0 1px rgba(125, 211, 252, .45) inset, inset 0 1px 0 rgba(255,255,255,.45); }
.btn-ghost { background: rgba(255,255,255,.06); border: 1px solid rgba(147, 197, 253, .35); box-shadow: none; backdrop-filter: blur(12px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.btn-warm { --b: var(--grad-warm); box-shadow: 0 10px 30px -8px rgba(56, 189, 248, .6), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-danger { background: rgba(251, 113, 133, .15); border: 1px solid rgba(251, 113, 133, .4); box-shadow: none; color: #fecdd3; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .spin { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse-ring { position: relative; }
.pulse-ring::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid rgba(96, 165, 250, .6); animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { 0% { opacity: .9; transform: scale(.95); } 100% { opacity: 0; transform: scale(1.25); } }

/* ---------- Site nav ---------- */
.nav { position: sticky; top: 18px; z-index: 50; margin: 18px auto 0; max-width: 1180px; padding: 10px 10px 10px 22px; display: flex; align-items: center; gap: 18px; border-radius: 999px; }
/* Light frosted pill on the dark site */
.nav.glass { background: linear-gradient(180deg, rgba(236, 240, 252, .94), rgba(222, 229, 250, .9)); border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 20px 60px -20px rgba(0, 10, 80, .8), inset 0 1px 0 #fff; backdrop-filter: blur(18px); }
.nav.glass::before { display: none; }
.nav .brand { color: #0b1f6b; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.nav .brand small { display: block; font: 600 8.5px/1 var(--font); letter-spacing: .32em; color: #4b5b8f; margin-top: 3px; }
.nav .nav-links a { color: #4b5563; font-size: 15px; }
.nav .nav-links a:hover { color: #1f5fff; }
.nav .sound-toggle { background: rgba(15, 30, 100, .06); border-color: rgba(15, 30, 100, .15); color: #33427a; }
.nav .sound-toggle:hover { background: rgba(15, 30, 100, .12); color: #0b1f6b; }
.nav .btn-ghost { color: #1e2b6b; border-color: rgba(31, 95, 255, .3); background: rgba(255,255,255,.6); }
.nav .btn-ghost:hover { color: #1f5fff; background: #fff; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 18px var(--display); color: #fff; letter-spacing: -.02em; }
.brand .logo { width: 34px; height: 34px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(37,99,235,.8), inset 0 1px 0 rgba(255,255,255,.5); transform: rotate(-8deg); }
.brand .logo svg { width: 19px; height: 19px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 14px; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.sound-toggle { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.sound-toggle:hover { color: #fff; background: var(--glass-2); }
.sound-toggle svg { width: 17px; height: 17px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 90px 0 70px; min-height: calc(100vh - 80px); }
.eyebrow { display: block; font: 600 clamp(13px, 1.4vw, 17px)/1.4 var(--font); letter-spacing: .5em; text-transform: uppercase; color: #fff; margin-bottom: 34px; }
.eyebrow em { font-style: normal; color: #38bdf8; }
.hero h1 { font-size: clamp(46px, 7.2vw, 104px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 30px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 200%; animation: gradshift 8s ease infinite; }
@keyframes gradshift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero .lead { font-size: clamp(17px, 1.6vw, 21px); color: #e0e7ff; max-width: 600px; margin-bottom: 14px; }
.hero .lead-2 { font-size: clamp(16px, 1.4vw, 19px); color: #9fb0e8; max-width: 600px; margin-bottom: 34px; }

/* Glowing sphere emblem */
.orbit-scene { position: relative; height: 620px; display: grid; place-items: center; perspective: 1200px; }
.halo { position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 132, 255, .55) 0%, rgba(31, 95, 255, .25) 35%, transparent 68%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
.sphere { position: relative; width: 440px; height: 440px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 34% 30%, #2f5bff 0%, #0f2bb0 34%, #071677 60%, #030a45 100%);
  box-shadow: 0 0 120px 20px rgba(41, 98, 255, .55), inset -30px -40px 90px rgba(0, 4, 40, .65), inset 20px 20px 70px rgba(125, 211, 252, .25); }
.sphere::before { /* halftone dots */ content: ""; position: absolute; inset: 0; border-radius: 50%;
  background-image: radial-gradient(rgba(186, 230, 253, .55) 1.2px, transparent 1.6px); background-size: 12px 12px;
  -webkit-mask: radial-gradient(circle at 70% 60%, #000 0%, transparent 62%); mask: radial-gradient(circle at 70% 60%, #000 0%, transparent 62%); opacity: .7; }
.sphere::after { /* rim light */ content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(147, 197, 253, .35), inset 18px 10px 40px rgba(186, 230, 253, .25); }
.orbit { position: absolute; width: 560px; height: 560px; border-radius: 50%; border: 1.5px solid rgba(147, 197, 253, .35); transform: rotateX(72deg) rotateZ(-18deg); animation: orbitSpin 18s linear infinite; }
.orbit.o2 { width: 500px; height: 500px; transform: rotateX(68deg) rotateY(20deg) rotateZ(30deg); animation-duration: 26s; animation-direction: reverse; border-color: rgba(56, 189, 248, .3); }
.orbit i { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 4px rgba(147, 197, 253, .9); }
@keyframes orbitSpin { to { transform: rotateX(72deg) rotateZ(342deg); } }
.emblem { position: absolute; width: 300px; height: 300px; transform-style: preserve-3d; animation: emblemFloat 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 8, 60, .7)); }
@keyframes emblemFloat { 0%, 100% { transform: rotateY(-16deg) rotateX(8deg) translateY(0); } 50% { transform: rotateY(10deg) rotateX(4deg) translateY(-14px); } }
.emblem svg { width: 100%; height: 100%; overflow: visible; }
.float-card { position: absolute; padding: 14px 16px; border-radius: 18px; min-width: 230px; z-index: 2; animation: bob 6s ease-in-out infinite; }
.float-card.f1 { left: -10px; top: 70px; } .float-card.f2 { right: -10px; bottom: 80px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Floating round CTA (like a chat bubble) */
.fab { position: fixed; right: 28px; bottom: 28px; z-index: 70; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #3d7bff, #1a4fe0); box-shadow: 0 0 0 6px rgba(31, 95, 255, .18), 0 16px 40px -8px rgba(31, 95, 255, .9); transition: transform .3s var(--ease); }
.fab::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(125, 211, 252, .55); animation: ring 2.4s var(--ease) infinite; }
.fab:hover { transform: scale(1.08) rotate(-6deg); color: #fff; }
.fab svg { width: 28px; height: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust { display: flex; gap: 22px; margin-top: 34px; color: var(--ink-3); font-size: 13px; flex-wrap: wrap; }
.trust b { color: #fff; font: 700 22px var(--display); display: block; }

/* 3D floating scene in the hero */
.scene { position: relative; height: 560px; perspective: 1400px; }
.stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-20deg); animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: rotateX(14deg) rotateY(-20deg) translateY(0); } 50% { transform: rotateX(10deg) rotateY(-12deg) translateY(-18px); } }
.card3d { position: absolute; width: 330px; padding: 18px 20px; border-radius: 20px; transform-style: preserve-3d; }
.card3d.c1 { top: 40px; left: 30px; transform: translateZ(80px); }
.card3d.c2 { top: 190px; left: 150px; transform: translateZ(150px); }
.card3d.c3 { top: 350px; left: 40px; transform: translateZ(40px); }
.job-mini { display: flex; gap: 12px; align-items: center; }
.job-mini .co { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 16px var(--display); color: #fff; flex: none; }
.job-mini h4 { font-size: 15px; margin: 0; }
.job-mini small { color: var(--ink-3); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: rgba(255,255,255,.07); border: 1px solid var(--line); color: var(--ink-2); }
.chip.ok { background: rgba(163, 230, 53, .12); border-color: rgba(163, 230, 53, .35); color: #d9f99d; }
.chip.warn { background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .35); color: #fde68a; }
.chip.bad { background: rgba(251, 113, 133, .12); border-color: rgba(251, 113, 133, .35); color: #fecdd3; }
.chip.info { background: rgba(34, 211, 238, .1); border-color: rgba(34, 211, 238, .35); color: #a5f3fc; }
.chip.violet { background: rgba(59, 130, 246, .15); border-color: rgba(59, 130, 246, .4); color: #bfdbfe; }
.draft-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,.12); margin: 8px 0; }
.draft-line.w70 { width: 70%; } .draft-line.w90 { width: 90%; } .draft-line.w50 { width: 50%; }
.ring3d { position: absolute; width: 180px; height: 180px; right: 10px; top: 20px; border-radius: 50%; transform: translateZ(-60px);
  background: conic-gradient(from 0deg, #60a5fa, #22d3ee, #38bdf8, #60a5fa); filter: blur(1px); opacity: .9; animation: spin 14s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); mask: radial-gradient(circle, transparent 54%, #000 56%); }
.cube { position: absolute; right: 70px; bottom: 60px; width: 90px; height: 90px; transform-style: preserve-3d; animation: cube 12s linear infinite; }
.cube div { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.35); background: linear-gradient(135deg, rgba(96,165,250,.35), rgba(34,211,238,.15)); backdrop-filter: blur(6px); border-radius: 14px; }
.cube .f1 { transform: translateZ(45px); } .cube .f2 { transform: rotateY(180deg) translateZ(45px); }
.cube .f3 { transform: rotateY(90deg) translateZ(45px); } .cube .f4 { transform: rotateY(-90deg) translateZ(45px); }
.cube .f5 { transform: rotateX(90deg) translateZ(45px); } .cube .f6 { transform: rotateX(-90deg) translateZ(45px); }
@keyframes cube { from { transform: rotateX(-20deg) rotateY(0); } to { transform: rotateX(-20deg) rotateY(360deg); } }
.sent-badge { position: absolute; right: 0; top: 300px; transform: translateZ(200px); padding: 10px 14px; border-radius: 14px; display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.sent-badge .ic { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, #a3e635, #22d3ee); display: grid; place-items: center; color: #052e16; }

/* ---------- Sections ---------- */
section { padding: 90px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(32px, 4vw, 50px); }
.section-head p { color: var(--ink-2); font-size: 18px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7dd3fc; margin-bottom: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px; }
.step .num { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 700 18px var(--display); background: var(--grad); margin-bottom: 18px; box-shadow: 0 10px 25px -8px rgba(37,99,235,.8); }
.step h3 { font-size: 20px; }
.step p { color: var(--ink-2); margin: 0; }
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.feature { padding: 28px; grid-column: span 2; }
.feature.wide { grid-column: span 3; }
.feature .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(59,130,246,.18); border: 1px solid rgba(59,130,246,.4); }
.feature .ico svg { width: 22px; height: 22px; color: #93c5fd; }
.feature h3 { font-size: 19px; }
.feature p { color: var(--ink-2); margin: 0; }
.sources-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.source-pill { padding: 12px 20px; border-radius: 999px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.source-pill .live { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(163,230,53,.7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(163,230,53,0); } 100% { box-shadow: 0 0 0 0 rgba(163,230,53,0); } }
.cta-band { text-align: center; padding: 70px 30px; overflow: hidden; }
.cta-band h2 { font-size: clamp(32px, 4.5vw, 56px); }
.cta-band p { color: var(--ink-2); font-size: 18px; max-width: 620px; margin: 0 auto 30px; }
.cta-band .glow { position: absolute; inset: -40%; background: conic-gradient(from 90deg, transparent, rgba(59,130,246,.35), transparent 30%); animation: spin 10s linear infinite; z-index: -1; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 20px 24px; cursor: pointer; }
.faq summary { font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; font-size: 22px; color: #7dd3fc; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 12px 0 0; }
footer.site-foot { padding: 40px 0 60px; color: var(--ink-3); font-size: 14px; text-align: center; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 90px); display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 440px; padding: 38px; }
.auth-card h1 { font-size: 32px; }
.auth-card .sub { color: var(--ink-2); margin-bottom: 26px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--ink-3); }
.input, select.input, textarea.input {
  width: 100%; padding: 13px 15px; border-radius: 13px; border: 1px solid var(--line); background: rgba(10, 8, 35, .55); color: var(--ink);
  font: 15px var(--font); transition: border-color .2s, box-shadow .2s, background .2s; outline: none;
}
.input:focus { border-color: rgba(96, 165, 250, .8); box-shadow: 0 0 0 4px rgba(59, 130, 246, .2); background: rgba(10, 8, 35, .75); }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.55; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; margin-bottom: 14px; }
.switch input { display: none; }
.switch .track { width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid var(--line); position: relative; transition: .25s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .3s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.switch input:checked + .track { background: var(--grad); border-color: transparent; }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch span:last-child { font-size: 14px; color: var(--ink-2); }
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 260px; overflow: auto; padding: 4px; }
.country-grid label { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.03); cursor: pointer; font-size: 13.5px; transition: .2s; }
.country-grid input { accent-color: var(--violet); }
.country-grid label:has(input:checked) { border-color: rgba(96,165,250,.7); background: rgba(59,130,246,.18); color: #fff; }
.dropzone { border: 1.5px dashed var(--line-strong); border-radius: 16px; padding: 22px; text-align: center; cursor: pointer; transition: .25s; background: rgba(255,255,255,.02); }
.dropzone:hover, .dropzone.drag { border-color: var(--violet); background: rgba(59,130,246,.1); }
.dropzone input { display: none; }

/* ---------- App shell ---------- */
.shell { display: grid; grid-template-columns: 260px 1fr; gap: 24px; max-width: 1400px; margin: 0 auto; padding: 20px; min-height: 100vh; }
.sidebar { position: sticky; top: 20px; height: calc(100vh - 40px); padding: 22px 16px; display: flex; flex-direction: column; gap: 6px; }
.sidebar .brand { padding: 0 8px 18px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 13px; color: var(--ink-2); font-weight: 500; transition: .2s; position: relative; }
.side-link svg { width: 19px; height: 19px; opacity: .85; }
.side-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.side-link.active { color: #fff; background: linear-gradient(90deg, rgba(59,130,246,.3), rgba(37,99,235,.08)); box-shadow: inset 0 0 0 1px rgba(96,165,250,.35); }
.side-link.active::before { content: ""; position: absolute; left: -16px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--grad); }
.side-foot { margin-top: auto; display: grid; gap: 10px; }
.gmail-pill { padding: 12px 14px; border-radius: 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.gmail-pill .st { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.main { padding: 8px 0 60px; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head h1 { font-size: 34px; margin: 0; }
.page-head p { color: var(--ink-2); margin: 6px 0 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.stat { padding: 22px; overflow: hidden; }
.stat .label { color: var(--ink-3); font-size: 13px; font-weight: 500; }
.stat .value { font: 700 36px var(--display); margin-top: 6px; }
.stat .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); opacity: .7; }

.setup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.setup-step { padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.setup-step .ck { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1.5px solid var(--line-strong); font-weight: 700; font-size: 13px; }
.setup-step.done .ck { background: linear-gradient(135deg, #a3e635, #22d3ee); border: 0; color: #052e16; }
.setup-step h4 { font-size: 15px; margin: 0 0 4px; }
.setup-step p { font-size: 13px; color: var(--ink-3); margin: 0 0 10px; }

/* Jobs list */
.filters { padding: 16px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; position: sticky; top: 12px; z-index: 20; }
.filters .input { width: auto; padding: 10px 13px; font-size: 14px; }
.filters .search { flex: 1; min-width: 180px; }
.toggle-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: 13px; color: var(--ink-2); cursor: pointer; user-select: none; transition: .2s; }
.toggle-chip input { display: none; }
.toggle-chip:has(input:checked) { border-color: rgba(96,165,250,.7); background: rgba(59,130,246,.2); color: #fff; }
.job-list { display: grid; gap: 14px; }
.job { padding: 18px 20px; display: grid; grid-template-columns: auto 52px 1fr auto; gap: 16px; align-items: center; cursor: pointer; }
.job .pick { width: 22px; height: 22px; accent-color: var(--violet); cursor: pointer; }
.job .co { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font: 700 20px var(--display); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.job h3 { font-size: 17px; margin: 0 0 3px; font-family: var(--font); font-weight: 650; letter-spacing: -.01em; }
.job .meta { color: var(--ink-3); font-size: 13px; display: flex; gap: 12px; flex-wrap: wrap; }
.job .chips { margin-top: 8px; }
.score { width: 58px; height: 58px; position: relative; display: grid; place-items: center; font: 700 15px var(--display); }
.score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 5; }
.score .bg { stroke: rgba(255,255,255,.1); }
.score .fg { stroke: url(#scoreGrad); stroke-linecap: round; stroke-dasharray: 151; transition: stroke-dashoffset 1.2s var(--ease); }
.job.selected { box-shadow: 0 0 0 1.5px rgba(96,165,250,.8), var(--shadow); background: linear-gradient(180deg, rgba(59,130,246,.16), rgba(255,255,255,.03)); }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); }
.empty .big { font-size: 46px; margin-bottom: 10px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }

/* Floating action bar */
.actionbar { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 140%); transition: transform .5s var(--ease); padding: 12px 12px 12px 22px; border-radius: 999px; display: flex; align-items: center; gap: 16px; }
.actionbar.show { transform: translate(-50%, 0); }
.actionbar .count { font: 700 16px var(--display); }
.actionbar select.input { width: auto; padding: 9px 12px; font-size: 13px; }

/* Drawer (job preview) */
.drawer-back { position: fixed; inset: 0; background: rgba(3, 2, 15, .55); backdrop-filter: blur(4px); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .35s; }
.drawer-back.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 14px; right: 14px; bottom: 14px; width: min(720px, calc(100vw - 28px)); z-index: 90; transform: translateX(110%); transition: transform .55s var(--ease); display: flex; flex-direction: column; overflow: hidden; }
.drawer.show { transform: none; }
.drawer-head { padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.drawer-body { padding: 20px 24px; overflow: auto; flex: 1; }
.drawer-foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.tabs { display: flex; gap: 6px; margin-top: 14px; }
.tab { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; font: 600 13px var(--font); }
.tab.on { background: rgba(59,130,246,.25); color: #fff; border-color: rgba(96,165,250,.6); }
.email-preview { padding: 20px; border-radius: 16px; background: rgba(255,255,255,.96); color: #1f2937; font: 14px/1.6 Arial, sans-serif; white-space: pre-wrap; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.email-preview .hdr { border-bottom: 1px solid #e5e7eb; padding-bottom: 10px; margin-bottom: 14px; font-size: 13px; color: #4b5563; white-space: normal; }
.email-preview .hdr b { color: #111827; }
.attach { display: flex; width: fit-content; gap: 8px; align-items: center; margin-top: 18px; white-space: normal; padding: 8px 12px; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 13px; color: #374151; background: #f9fafb; }
.desc { white-space: pre-wrap; color: var(--ink-2); font-size: 14px; }

/* Tables */
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.table th { text-align: left; color: var(--ink-3); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr { transition: background .2s; }
.table tbody tr:hover { background: rgba(255,255,255,.03); }

/* Template editor */
.tpl-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.ph-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ph { cursor: pointer; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.ph:hover { border-color: rgba(96,165,250,.8); color: #fff; }

/* Toasts / flash */
.toasts { position: fixed; top: 20px; right: 20px; z-index: 200; display: grid; gap: 10px; width: min(380px, calc(100vw - 40px)); }
.toast { padding: 14px 16px 14px 18px; border-radius: 16px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; animation: toastIn .6s var(--ease) both; }
.toast.out { animation: toastOut .4s var(--ease) both; }
.toast .ti { width: 26px; height: 26px; border-radius: 9px; flex: none; display: grid; place-items: center; font-weight: 700; }
.toast.ok .ti { background: linear-gradient(135deg, #a3e635, #22d3ee); color: #052e16; }
.toast.error .ti { background: rgba(251, 113, 133, .25); color: #fecdd3; }
.toast.info .ti { background: rgba(34, 211, 238, .2); color: #a5f3fc; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px) scale(.95); } }

/* Confetti */
.confetti { position: fixed; top: -10px; width: 9px; height: 14px; z-index: 300; pointer-events: none; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot)); opacity: .9; } }

/* Page enter */
.page-enter { animation: pageIn .45s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.mt { margin-top: 18px; } .mb { margin-bottom: 18px; }
.hidden { display: none !important; }
.err-note { padding: 12px 14px; border-radius: 12px; background: rgba(251,113,133,.12); border: 1px solid rgba(251,113,133,.35); color: #fecdd3; font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .orbit-scene { height: 520px; } .sphere { width: 360px; height: 360px; } .halo { width: 520px; height: 520px; } .orbit { width: 460px; height: 460px; } .orbit.o2 { width: 410px; height: 410px; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; min-height: 0; }
  .scene { height: 470px; max-width: 520px; margin: 0 auto; width: 100%; }
  .features { grid-template-columns: 1fr 1fr; } .feature, .feature.wide { grid-column: span 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tpl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .steps, .setup { grid-template-columns: 1fr; }
  .shell { grid-template-columns: 1fr; padding: 12px; }
  .sidebar { position: relative; top: 0; height: auto; flex-direction: row; flex-wrap: wrap; padding: 12px; }
  .sidebar .brand { width: 100%; padding-bottom: 8px; }
  .side-link { padding: 9px 12px; font-size: 14px; }
  .side-link.active::before { display: none; }
  .side-foot { margin-top: 0; width: 100%; }
  .side-foot .gmail-pill { display: none; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .job { grid-template-columns: auto 1fr auto; } .job .co { display: none; }
  .filters { position: static; }
}
@media (max-width: 560px) {
  .orbit-scene { height: 380px; } .sphere { width: 260px; height: 260px; } .halo { width: 380px; height: 380px; } .orbit { width: 330px; height: 330px; } .orbit.o2 { width: 300px; height: 300px; } .emblem { width: 190px; height: 190px; } .float-card { display: none; }
  .eyebrow { letter-spacing: .3em; } .fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .wrap { padding: 0 16px; }
  .features, .stats { grid-template-columns: 1fr; }
  .nav { margin: 10px 10px 0; padding-left: 14px; } .nav-cta .btn-ghost { display: none; }
  .scene { height: 400px; } .card3d { width: 260px; } .card3d.c2 { left: 60px; }
  .actionbar { left: 12px; right: 12px; transform: translateY(140%); border-radius: 22px; flex-wrap: wrap; }
  .actionbar.show { transform: none; }
  .glass-pad, .auth-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Two-line brand (sidebar + nav) */
.brand small { display: block; font: 600 8.5px/1 var(--font); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.brand .logo { background: linear-gradient(180deg, #3d7bff, #1a4fe0); transform: none; box-shadow: 0 8px 22px -6px rgba(31, 95, 255, .9), inset 0 1px 0 rgba(255,255,255,.5); }

/* ---------- Admin ---------- */
.side-label { margin: 14px 14px 4px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.co-sm { width: 36px; height: 36px; border-radius: 11px; flex: none; display: grid; place-items: center; font: 800 15px var(--display); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.row-link { cursor: pointer; }
.row-link:hover td { background: rgba(56, 189, 248, .06); }
.chart { margin: 12px 0 0; position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: rgba(199, 210, 254, .12); stroke-width: 1; }
.chart .axis { stroke: rgba(199, 210, 254, .35); stroke-width: 1; }
.chart .tick { fill: var(--ink-3); font: 500 17px var(--font); }
.chart .bar { fill: #38bdf8; transition: opacity .2s; }
.chart .hit { fill: transparent; }
.chart .bar-g:hover .bar { fill: #7dd3fc; }
.chart:hover .bar { opacity: .7; } .chart .bar-g:hover .bar { opacity: 1; }
.chart-tip { position: fixed; z-index: 300; pointer-events: none; padding: 7px 11px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: #fff;
  background: rgba(4, 12, 70, .95); border: 1px solid rgba(147, 197, 253, .35); box-shadow: 0 10px 30px -10px rgba(0,0,0,.7); transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .15s; }
.chart-tip.show { opacity: 1; }
.chart-table summary { cursor: pointer; color: var(--ink-3); font-size: 12.5px; margin-top: 8px; }
.chart-table .table { margin-top: 8px; max-height: 240px; display: block; overflow: auto; }
.feed { display: grid; gap: 12px; }
.feed-item { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.dot-ev { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex: none; background: var(--ink-3); box-shadow: 0 0 0 3px rgba(199, 210, 254, .08); }
.dot-ev.ev-draft_created { background: #38bdf8; } .dot-ev.ev-register { background: #a3e635; } .dot-ev.ev-login { background: #93c5fd; }
.dot-ev.ev-draft_failed, .dot-ev.ev-limit_reached { background: #fb7185; } .dot-ev.ev-gmail_connected { background: #34d399; }

/* ================= Hero v2 (responsive, scales with its column) ================= */
.hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 64px); min-height: min(880px, calc(100vh - 90px)); padding: clamp(36px, 7vh, 90px) 0 clamp(40px, 6vh, 70px); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(40px, 5.4vw, 90px); line-height: 1; letter-spacing: -.04em; margin-bottom: 26px; }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .line + .line { margin-top: .04em; }
.eyebrow { margin-bottom: 24px; letter-spacing: .42em; }

/* rotating last word */
.rotator { display: inline-grid; vertical-align: top; }
.rotator .word { grid-area: 1 / 1; display: inline-block; transition: transform .7s var(--ease), opacity .7s var(--ease), filter .7s var(--ease); }
.rotator .word.leave { transform: translateY(-.55em) rotateX(40deg); opacity: 0; filter: blur(10px); }
.rotator .word.enter { transform: translateY(.55em) rotateX(-40deg); opacity: 0; filter: blur(10px); }

/* live badge */
.live-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px; margin-bottom: 26px; font-size: 13.5px; font-weight: 500; color: #dbeafe;
  background: rgba(56, 189, 248, .1); border: 1px solid rgba(125, 211, 252, .35); box-shadow: 0 0 24px -6px rgba(56, 189, 248, .6); transition: .3s var(--ease); }
.live-badge b { color: #fff; }
.live-badge .arrow { transition: transform .3s var(--ease); }
.live-badge:hover { color: #fff; background: rgba(56, 189, 248, .18); }
.live-badge:hover .arrow { transform: translateX(4px); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: live 2s infinite; }

.cta-note { margin: 18px 0 0; font-size: 13.5px; color: #9fb0e8; }
.stat-pills { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.stat-pill { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; }
.stat-pill .sp-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: rgba(56, 189, 248, .14); border: 1px solid rgba(125, 211, 252, .25); }
.stat-pill b { display: block; font: 800 21px/1.1 var(--display); color: #fff; }
.stat-pill small { color: #9fb0e8; font-size: 12.5px; }

/* sphere scene scales with the column */
.orbit-scene { height: auto; width: 100%; max-width: 620px; aspect-ratio: 1 / 1; margin-inline: auto; }
.halo { width: 112%; height: 112%; }
.sphere { width: 68%; height: 68%; }
.orbit { width: 90%; height: 90%; }
.orbit.o2 { width: 82%; height: 82%; }
.emblem { width: 46%; height: 46%; }
.float-card { min-width: 0; width: max-content; max-width: 62%; }
.float-card.f1 { left: -2%; top: 10%; }
.float-card.f2 { right: -2%; bottom: 16%; }
.float-card.f3 { left: 4%; bottom: 4%; min-width: 190px; animation-delay: -1.5s; }
.mini-meter { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: #c7d2fe; }
.mini-meter b { color: #fff; font-family: var(--display); }
.meter { height: 7px; border-radius: 99px; background: rgba(255,255,255,.1); margin-top: 8px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #38bdf8, #3d7bff); box-shadow: 0 0 12px rgba(56, 189, 248, .8); animation: fillUp 2.4s var(--ease) both; }
@keyframes fillUp { from { width: 0 !important; } }

@media (max-width: 1080px) { .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: left; min-height: 0; }
  .hero h1 { font-size: clamp(40px, 10vw, 76px); }
  .orbit-scene { max-width: 460px; }
}
@media (max-width: 480px) {
  .hero h1 .line { white-space: normal; }
  .stat-pill { flex: 1 1 100%; }
  .float-card.f3 { display: none; }
  .eyebrow { letter-spacing: .28em; }
}

/* Hero v2 polish: cards scale with the scene, bigger sphere */
.orbit-scene { container-type: inline-size; }
.sphere { width: 74%; height: 74%; }
.emblem { width: 50%; height: 50%; }
.orbit { width: 96%; height: 96%; }
.orbit.o2 { width: 88%; height: 88%; }
.float-card { padding: clamp(9px, 2.4cqw, 16px) clamp(10px, 2.8cqw, 18px); border-radius: clamp(12px, 3cqw, 18px); }
.float-card .job-mini { gap: clamp(8px, 2cqw, 12px); }
.float-card .job-mini h4 { font-size: clamp(12px, 2.7cqw, 15px); }
.float-card .job-mini small, .float-card .mini-meter { font-size: clamp(10.5px, 2.2cqw, 13px); }
.float-card .job-mini .co { width: clamp(28px, 6.5cqw, 40px); height: clamp(28px, 6.5cqw, 40px); border-radius: clamp(8px, 2cqw, 12px); font-size: clamp(12px, 2.8cqw, 16px); }
.float-card .chips { margin-top: clamp(6px, 1.8cqw, 12px); }
.float-card .chip { font-size: clamp(10px, 2cqw, 12px); padding: 2px clamp(6px, 1.6cqw, 10px); }
.float-card.f1 { left: -6%; top: 2%; }
.float-card.f2 { right: -6%; bottom: 10%; }
.float-card.f3 { left: -2%; bottom: 0; min-width: 0; width: 34%; }
@media (max-width: 1200px) { .float-card.f3 { display: none; } }
@media (max-width: 560px) { .brand { white-space: nowrap; font-size: 16px; } .brand small { display: none; } }

/* Locked jobs page (profile not complete yet) */
.lock-card{max-width:720px;padding:32px;display:flex;flex-direction:column;gap:22px}
.lock-top{display:flex;gap:18px;align-items:flex-start}
.lock-top h2{margin:0 0 6px;font-size:1.35rem}
.lock-top p{margin:0}
.lock-icon{flex:none;width:56px;height:56px;border-radius:16px;display:grid;place-items:center;color:#fff;
  background:linear-gradient(135deg,#3b82f6,#1d4ed8);box-shadow:0 10px 30px rgba(37,99,235,.45),inset 0 1px 0 rgba(255,255,255,.35)}
.lock-bar{height:10px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}
.lock-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#60a5fa,#2563eb);transition:width .8s ease}
.lock-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.lock-list li{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:12px;padding:10px 14px;border-radius:12px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}
.lock-dot{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:.75rem;font-weight:700;border:2px solid rgba(255,255,255,.25)}
.lock-list li.done .lock-dot{background:#22c55e;border-color:#22c55e;color:#04210f}
.lock-list li.done > span:nth-child(2){color:rgba(255,255,255,.6)}
.lock-list li.todo .lock-dot{border-color:#fbbf24}
.lock-card .btn{align-self:flex-start}
@media (max-width:600px){.lock-card{padding:22px}.lock-top{flex-direction:column}}

/* Profile: salary + start */
.salary-row{display:grid;grid-template-columns:92px 1fr 118px;gap:8px}
.salary-row select.input{padding-left:12px;padding-right:8px}
.start-days{display:flex;align-items:center;gap:10px;margin-top:8px}
.start-days[hidden]{display:none}
.start-days .input{max-width:130px}
@media (max-width:600px){.salary-row{grid-template-columns:1fr 1fr}.salary-row #salary{grid-column:1/-1;grid-row:1}}
/* Keep browser-autofilled fields dark like the rest of the form */
.input:-webkit-autofill,.input:-webkit-autofill:hover,.input:-webkit-autofill:focus{
  -webkit-text-fill-color:#fff;caret-color:#fff;-webkit-box-shadow:0 0 0 1000px #0d1347 inset;transition:background-color 9999s}
