/* ---------- Stage ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #050A1C; overflow: hidden; }
body { -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision; }
.board { position: relative; overflow: hidden; display: none; }
.board.on { display: block; }

/* ---------- Brand backdrop ---------- */
:root {
  --ink-0: #040816;
  --ink-1: #071030;
  --ink-2: #0B1A4A;
  --blue: #2563EB;
  --blue-4: #3B82F6;
  --blue-3: #60A5FA;
  --blue-2: #93C5FD;
  --blue-1: #BFDBFE;
  --mk-text: #FFFFFF;
  --mk-sub: #A9B8DD;
  --mk-font: 'Plus Jakarta Sans', 'Inter', sans-serif;
}
.bg { position: absolute; inset: 0; }
.bg-deep {
  background:
    radial-gradient(1200px 900px at 20% 8%, rgba(37, 99, 235, .30), transparent 70%),
    radial-gradient(1400px 1100px at 85% 95%, rgba(59, 130, 246, .22), transparent 70%),
    linear-gradient(180deg, #050A1E 0%, #081438 55%, #0A1B4C 100%);
}
.grain {
  position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.dotgrid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(147, 197, 253, .16) 1.6px, transparent 1.8px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
}
.waves { position: absolute; left: 0; top: 0; pointer-events: none; }
.photo { position: absolute; background-size: cover; background-position: center; }

/* ---------- Marketing type ---------- */
.copy { position: absolute; color: var(--mk-text); font-family: var(--mk-font); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 700 34px/1 var(--mk-font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2);
  padding: 16px 26px; border-radius: 999px;
  background: rgba(59, 130, 246, .14); border: 1.5px solid rgba(147, 197, 253, .28);
}
.eyebrow i { font-size: 38px; }
.headline {
  font: 800 128px/1.02 var(--mk-font); letter-spacing: -0.035em; color: #fff;
  text-wrap: balance;
}
.headline .hl {
  background: linear-gradient(92deg, #93C5FD 0%, #60A5FA 45%, #DBEAFE 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { font: 500 46px/1.32 'Inter', sans-serif; color: var(--mk-sub); letter-spacing: -0.01em; }

/* ---------- Phone ---------- */
.phone-wrap { position: absolute; transform-style: preserve-3d; }
.phone {
  position: relative; width: 428px; height: 900px; border-radius: 70px;
  background: linear-gradient(145deg, #4A4F58 0%, #23262C 18%, #121417 50%, #2B2E35 82%, #50555E 100%);
  box-shadow:
    inset 0 0 0 1.4px rgba(255, 255, 255, .22),
    inset 0 0 0 4px #0B0C0E,
    0 2px 0 rgba(255, 255, 255, .06);
}
.phone.shadowed { filter: drop-shadow(0 60px 70px rgba(0, 0, 0, .55)) drop-shadow(0 0 60px rgba(37, 99, 235, .28)); }
.phone .hw { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #5A5F68, #24272D); }
.phone .hw.l1 { left: -3px; top: 180px; height: 34px; }
.phone .hw.l2 { left: -3px; top: 238px; height: 62px; }
.phone .hw.l3 { left: -3px; top: 314px; height: 62px; }
.phone .hw.r1 { right: -3px; top: 262px; height: 98px; }
.phone .hw.r2 { right: -3px; top: 420px; height: 70px; }
.screen {
  position: absolute; left: 13px; top: 13px; width: 402px; height: 874px; border-radius: 57px;
  overflow: hidden; background: #F2F2F7; isolation: isolate;
}
.island {
  position: absolute; z-index: 50; left: 50%; top: 11px; width: 124px; height: 36px; margin-left: -62px;
  border-radius: 20px; background: #000;
}
.statusbar {
  position: absolute; z-index: 40; left: 0; right: 0; top: 0; height: 54px;
  display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 52px;
  font: 600 17px/1 'Inter', sans-serif; color: #000; letter-spacing: -0.01em;
}
.statusbar.light { color: #fff; }
.statusbar .sb-r { display: flex; align-items: center; gap: 7px; }
.homebar {
  position: absolute; z-index: 60; left: 50%; bottom: 8px; width: 140px; height: 5px; margin-left: -70px;
  border-radius: 3px; background: #000;
}
.homebar.light { background: #fff; }

/* ---------- Floating cards (pop-outs) ---------- */
.float {
  position: absolute; z-index: 30;
  filter: drop-shadow(0 40px 50px rgba(2, 6, 23, .55)) drop-shadow(0 8px 16px rgba(2, 6, 23, .35));
}
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  border: 1.5px solid rgba(255, 255, 255, .22);
  border-radius: 40px; backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  color: #fff;
}
