/* Byteagle website. Colours come from the logo: deep navy, eagle blue, cyan. */
:root {
  --navy-950: #040a1c;
  --navy-900: #07122b;
  --navy-800: #0b1d45;
  --navy-700: #12306e;
  --blue-600: #0a6cf5;
  --blue-500: #1f7bff;
  --cyan-400: #1ec8ff;
  --cyan-200: #a6e9ff;
  --ink: #0d1a36;
  --text: #33405c;
  --muted: #64708a;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --line: #e2e8f3;
  --white: #ffffff;
  --grad: linear-gradient(120deg, #0a6cf5 0%, #1ec8ff 100%);
  --grad-text: linear-gradient(100deg, #3c8dff 0%, #1ec8ff 60%, #8fe3ff 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(7, 18, 43, 0.06), 0 12px 32px -12px rgba(7, 18, 43, 0.18);
  --shadow-lg: 0 30px 80px -20px rgba(7, 18, 43, 0.35);
  --wrap: 1200px;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.02em; line-height: 1.12; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(30, 200, 255, 0.28); }
:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: clamp(56px, 8vw, 96px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 16px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.dark .eyebrow { color: var(--cyan-400); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--muted); }
.dark .lead { color: #a9b8d6; }
.head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(34px, 4.6vw, 56px); margin: 18px 0 18px; }
.head.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--body); white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: var(--white); box-shadow: 0 10px 30px -8px rgba(10, 108, 245, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(10, 108, 245, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--white); border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-2px); border-color: #c9d5ea; }
.btn-sm { --h: 42px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.light {
  background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: rgba(13, 26, 54, 0.08);
}
.nav { height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 30px; width: auto; }
.brand .on-light { display: none; }
.site-header.scrolled .brand .on-dark, .site-header.light .brand .on-dark { display: none; }
.site-header.scrolled .brand .on-light, .site-header.light .brand .on-light { display: block; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu > li { position: relative; }
.menu-link {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 999px;
  font: 500 15.5px/1 var(--body); color: rgba(255, 255, 255, 0.82); background: none; border: 0; cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.menu-link:hover, .menu-link[aria-current='page'] { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.scrolled .menu-link, .light .menu-link { color: var(--text); }
.scrolled .menu-link:hover, .light .menu-link:hover, .scrolled .menu-link[aria-current='page'], .light .menu-link[aria-current='page'] { color: var(--ink); background: rgba(13, 26, 54, 0.05); }
.menu-link .chev { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.has-drop.open .chev { transform: rotate(180deg); }
.nav-cta { margin-left: 10px; }

/* Projects dropdown */
.drop {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 400px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.drop::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-drop.open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1001px) {
  .has-drop:hover .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-drop:hover .chev { transform: rotate(180deg); }
}
.drop-item { display: flex; gap: 14px; padding: 14px; border-radius: 14px; transition: background 0.2s; }
.drop-item:hover { background: var(--bg-soft); }
.drop-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); }
.drop-icon img { width: 30px; }
.drop-icon.alt { background: var(--bg-soft); border: 1px dashed #c6d2e8; color: var(--blue-600); }
.drop-icon.alt svg { width: 20px; }
.drop-item strong { display: flex; align-items: center; gap: 8px; font: 600 15.5px/1.3 var(--body); color: var(--ink); }
.drop-item span { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 3px; }
.tag-live { font: 600 11px/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: #0f8a4f; background: #e3f8ec; padding: 4px 7px; border-radius: 999px; }
.drop-foot { margin-top: 6px; padding: 12px 14px 6px; border-top: 1px solid var(--line); font-size: 14px; color: var(--blue-600); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.drop-foot svg { width: 16px; height: 16px; }

.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: var(--white); cursor: pointer; }
.scrolled .burger, .light .burger { color: var(--ink); border-color: var(--line); background: var(--white); }
.burger svg { width: 22px; height: 22px; margin: auto; }

/* ---------- Hero ---------- */
.dark { background: var(--navy-900); color: #c4d0e8; }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.hero { position: relative; overflow: hidden; padding: 170px 0 110px; isolation: isolate; }
.hero.page { padding: 170px 0 96px; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 80% at 50% -10%, #0e2a66 0%, var(--navy-900) 55%, var(--navy-950) 100%); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: float 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 560px; height: 560px; left: -140px; top: -120px; background: #1f6bff; }
.aurora i:nth-child(2) { width: 460px; height: 460px; right: -120px; top: 60px; background: #10b9ff; opacity: 0.35; animation-duration: 22s; }
.aurora i:nth-child(3) { width: 520px; height: 520px; left: 40%; bottom: -320px; background: #3d4cff; opacity: 0.35; animation-duration: 26s; }
.aurora::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
@keyframes float { to { transform: translate(60px, 40px) scale(1.08); } }

.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px);
  font: 500 14px/1 var(--body); color: #cfe0ff;
}
.pill b { font-weight: 600; color: var(--navy-900); background: var(--cyan-400); padding: 5px 9px; border-radius: 999px; font-size: 12px; letter-spacing: 0.04em; }
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); line-height: 1.04; letter-spacing: -0.035em; margin: 26px 0 24px; }
.hero.page h1 { font-size: clamp(40px, 5.6vw, 68px); }
.hero .lead { max-width: 560px; margin-bottom: 38px; }
.hero-note { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: #8fa3c9; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 17px; height: 17px; color: var(--cyan-400); }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #8fa3c9; margin-bottom: 4px; }
.crumbs a:hover { color: var(--white); }

/* Product visual: browser frame, phone and floating cards */
.visual { position: relative; perspective: 1600px; }
.browser {
  position: relative; border-radius: 16px; overflow: hidden; background: #0d1830;
  border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(30, 200, 255, 0.06);
}
.browser-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.browser-bar span { margin-left: 12px; flex: 1; max-width: 300px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); font: 500 12px/22px var(--body); color: #9db0d6; padding: 0 10px; overflow: hidden; white-space: nowrap; }
.browser img { width: 100%; height: auto; }
:where(img[width][height]) { height: auto; }
.light-frame { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-lg); }
.light-frame .browser-bar { background: #f3f6fb; border-color: var(--line); }
.light-frame .browser-bar i { background: #d5ddea; }
.light-frame .browser-bar span { background: var(--white); color: var(--muted); border: 1px solid var(--line); }
.hero .browser { transform: rotateY(-9deg) rotateX(4deg); transform-origin: left center; }
.phone {
  position: absolute; right: -22px; bottom: -46px; width: 30%; border-radius: 30px; padding: 7px; background: #0b1226;
  border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.75);
}
.phone img { border-radius: 24px; aspect-ratio: 9 / 17; object-fit: cover; object-position: top; width: 100%; height: auto; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.55);
  font: 600 14px/1.25 var(--body); animation: bob 6s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--white); flex: none; }
.float-card .ic svg { width: 19px; height: 19px; }
.fc-1 { left: -34px; top: 18%; }
.fc-2 { left: 8%; bottom: -36px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Logo / fact strip ---------- */
.strip { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 90px; padding-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip div { display: flex; flex-direction: column; gap: 4px; }
.strip strong { font: 700 clamp(22px, 2.4vw, 30px)/1.15 var(--display); color: var(--white); letter-spacing: -0.02em; }
.strip span { font-size: 14.5px; color: #8fa3c9; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(10, 108, 245, 0.7), rgba(30, 200, 255, 0.5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
}
.card:hover::after { opacity: 1; }
.card h3 { font-size: 21px; margin: 22px 0 10px; }
.card p { font-size: 16px; color: var(--muted); }
.icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: var(--white);
  background: var(--grad); box-shadow: 0 12px 26px -10px rgba(10, 108, 245, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.icon svg { width: 25px; height: 25px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 15px; color: var(--blue-600); }
.card .more svg { width: 16px; transition: transform 0.25s var(--ease); }
.card:hover .more svg { transform: translateX(4px); }
.ticks { display: grid; gap: 10px; margin-top: 18px; }
.ticks li { display: flex; gap: 10px; font-size: 15.5px; color: var(--text); line-height: 1.5; }
.ticks li::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: #e6f0ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6cf5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.dark .ticks li { color: #c4d0e8; }
.dark .ticks li::before { background-color: rgba(30, 200, 255, 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231ec8ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ---------- Featured project ---------- */
.feature-panel {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(36px, 5vw, 72px);
  background: radial-gradient(90% 120% at 100% 0%, #123a8f 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; isolation: isolate;
}
.feature-panel::before { content: ''; position: absolute; width: 420px; height: 420px; right: -100px; bottom: -160px; border-radius: 50%; background: #10b9ff; filter: blur(90px); opacity: 0.25; z-index: -1; }
.feature-panel h2 { font-size: clamp(34px, 4.4vw, 52px); margin: 18px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; }
.chip { padding: 8px 14px; border-radius: 999px; font: 500 14px/1 var(--body); border: 1px solid rgba(255, 255, 255, 0.16); color: #d6e2fa; background: rgba(255, 255, 255, 0.04); }
.price-hint { display: flex; align-items: baseline; gap: 8px; margin-bottom: 28px; color: #8fa3c9; font-size: 15px; }
.price-hint strong { font: 700 32px/1 var(--display); color: var(--white); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: '0' counter(step);
  display: block; font: 700 46px/1 var(--display); letter-spacing: -0.04em; margin-bottom: 26px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--muted); }
.steps.three { grid-template-columns: repeat(3, 1fr); }

/* ---------- Tech marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 14px 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); font: 600 16px/1 var(--display); color: var(--ink); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(48px, 7vw, 90px) clamp(28px, 6vw, 80px); text-align: center; isolation: isolate;
  background: radial-gradient(80% 140% at 50% 0%, #1550c9 0%, var(--navy-900) 60%, var(--navy-950) 100%);
}
.cta .mark { width: 92px; margin: 0 auto 26px; filter: drop-shadow(0 10px 30px rgba(30, 200, 255, 0.35)); }
.cta h2 { font-size: clamp(32px, 4.6vw, 56px); color: var(--white); max-width: 820px; margin: 0 auto 18px; }
.cta p { color: #a9b8d6; max-width: 600px; margin: 0 auto 36px; font-size: 18.5px; }
.cta .btn-row { justify-content: center; }

/* ---------- Split rows (feature + screenshot) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(80px, 10vw, 130px); }
.split.flip .split-text { order: 2; }
.split h3 { font-size: clamp(28px, 3.2vw, 40px); margin: 16px 0 16px; }
.split p { color: var(--muted); font-size: 17.5px; }
.shot-stack { position: relative; }
.shot-stack .paper { position: absolute; width: 46%; right: -4%; bottom: -12%; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--white); transform: rotate(3deg); }
.shot-stack .paper.left { right: auto; left: -4%; transform: rotate(-3deg); }

/* ---------- Video ---------- */
.video-frame { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.7); background: #000; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; cursor: pointer; background: linear-gradient(0deg, rgba(4, 10, 28, 0.55), rgba(4, 10, 28, 0.1));
}
.play span { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.95); color: var(--blue-600); box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.16); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.play:hover span { transform: scale(1.08); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.12); }
.play svg { width: 34px; height: 34px; margin-left: 5px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 38px 32px 34px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.plan.featured { background: radial-gradient(120% 90% at 100% 0%, #133e98 0%, var(--navy-900) 60%); border-color: transparent; color: #c4d0e8; box-shadow: 0 40px 80px -24px rgba(10, 60, 160, 0.6); transform: translateY(-14px); }
.plan.featured h3, .plan.featured .amount { color: var(--white); }
.plan .badge { position: absolute; top: -14px; left: 32px; padding: 7px 14px; border-radius: 999px; background: var(--grad); color: var(--white); font: 600 12.5px/1 var(--body); letter-spacing: 0.05em; text-transform: uppercase; box-shadow: 0 10px 24px -8px rgba(10, 108, 245, 0.8); }
.plan h3 { font-size: 21px; }
.plan .for { font-size: 15px; color: var(--muted); margin-top: 8px; min-height: 48px; }
.plan.featured .for { color: #a9b8d6; }
.amount { display: flex; align-items: baseline; gap: 6px; margin: 26px 0 6px; font: 700 52px/1 var(--display); letter-spacing: -0.04em; color: var(--ink); }
.amount small { font: 500 16px/1 var(--body); letter-spacing: 0; color: var(--muted); }
.plan.featured .amount small { color: #a9b8d6; }
.plan .billing { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.plan.featured .billing { color: #8fa3c9; }
.plan .ticks { margin: 0 0 32px; flex: 1; align-content: start; }
.plan.featured .ticks li { color: #dbe5f8; }
.plan.featured .ticks li::before { background-color: rgba(30, 200, 255, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231ec8ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.pay-note { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; font-size: 15px; color: var(--muted); }
.pay-note span { display: inline-flex; gap: 8px; align-items: center; }
.pay-note svg { width: 18px; color: var(--blue-600); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color 0.3s, box-shadow 0.3s; }
.faq details[open] { border-color: #c9d8f2; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font: 600 17.5px/1.4 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--blue-600); font: 500 22px/1 var(--body); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--muted); font-size: 16.5px; }

/* ---------- Projects ---------- */
.project-card { display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: var(--white); transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.project-card .pc-text { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; }
.project-card .pc-media { background: radial-gradient(120% 120% at 0% 100%, #123a8f, var(--navy-900) 60%); padding: 48px 0 0 48px; display: flex; align-items: flex-end; overflow: hidden; }
.project-card .pc-media .browser { border-radius: 14px 0 0 0; transform: translateY(6px); transition: transform 0.6s var(--ease); }
.project-card:hover .pc-media .browser { transform: translateY(-4px); }
.project-card h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 18px 0 14px; }
.project-card p { color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.meta span { font-size: 13.5px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); }
.soon { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px 38px; border-radius: 24px; border: 1px dashed #c6d2e8; background: var(--bg-soft); }
.soon h3 { font-size: 22px; margin-bottom: 6px; }
.soon p { color: var(--muted); }

/* ---------- About ---------- */
.values .card { padding: 30px; }
.quote { font: 600 clamp(26px, 3.2vw, 40px)/1.3 var(--display); letter-spacing: -0.02em; color: var(--ink); max-width: 980px; }
.quote .grad-text { font-weight: 700; }
.name-meaning { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; text-align: center; }
.name-meaning .part { padding: 30px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.name-meaning .part strong { display: block; font: 700 34px/1 var(--display); color: var(--ink); margin-bottom: 10px; letter-spacing: -0.02em; }
.name-meaning .part p { color: var(--muted); font-size: 15.5px; }
.name-meaning .op { font: 300 40px/1 var(--display); color: var(--blue-600); }
.name-meaning .result { background: var(--navy-900); border-color: transparent; }
.name-meaning .result img { height: 40px; margin: 0 auto 12px; }
.name-meaning .result p { color: #a9b8d6; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); transition: border-color 0.3s, box-shadow 0.3s; }
a.contact-card:hover { border-color: #c9d8f2; box-shadow: var(--shadow); }
.contact-card .icon { width: 48px; height: 48px; border-radius: 13px; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: 13px; color: var(--muted); }
.contact-card strong { font: 600 16.5px/1.3 var(--body); color: var(--ink); word-break: break-word; }
.form { padding: clamp(28px, 4vw, 44px); border-radius: 26px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form h2 { font-size: 28px; margin-bottom: 8px; }
.form > p { color: var(--muted); margin-bottom: 28px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 4px rgba(31, 123, 255, 0.14); }
.form .btn { margin-top: 24px; }
.form-msg { margin-top: 16px; font-size: 15px; color: var(--muted); }
.form-msg.ok { color: #0f8a4f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8fa3c9; padding: 90px 0 36px; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; left: 50%; top: 0; width: min(900px, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(30, 200, 255, 0.5), transparent); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand img { height: 92px; width: auto; margin-bottom: 20px; }
.foot-brand p { font-size: 15.5px; max-width: 340px; }
.site-footer h4 { font: 600 13px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.site-footer li + li { margin-top: 12px; }
.site-footer a { font-size: 15.5px; transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.foot-bottom { margin-top: 70px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(90px, 16vw, 180px); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .burger { display: grid; }
  .menu {
    position: fixed; inset: 78px 0 auto; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 24px 28px;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(7, 18, 43, 0.3);
    max-height: calc(100vh - 78px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav-open .menu { opacity: 1; visibility: visible; transform: none; }
  .nav-open.site-header { background: var(--white); }
  .nav-open .brand .on-dark { display: none; }
  .nav-open .brand .on-light { display: block; }
  .nav-open .burger { color: var(--ink); border-color: var(--line); background: var(--white); }
  .menu-link, .scrolled .menu-link, .light .menu-link { width: 100%; justify-content: space-between; height: 52px; font-size: 17px; color: var(--ink); border-radius: 12px; }
  .menu-link:hover, .menu-link[aria-current='page'] { color: var(--ink); background: var(--bg-soft); }
  .drop { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 8px; display: none; opacity: 1; visibility: visible; }
  .has-drop.open .drop { display: block; transform: none; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; }
  .hero-grid, .feature-panel, .split, .contact-grid, .project-card { grid-template-columns: 1fr; }
  .split.flip .split-text { order: 0; }
  .hero { padding: 140px 0 90px; }
  .hero .browser { transform: none; }
  .visual { margin: 10px 18px 40px; }
  .grid-3, .pricing { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .pricing { max-width: 520px; margin-inline: auto; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .name-meaning { grid-template-columns: 1fr; }
  .name-meaning .op { transform: rotate(90deg); }
  .project-card .pc-media { padding: 36px 0 0 36px; }
  .shot-stack .paper { right: 0; }
  .shot-stack .paper.left { left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .grid-2, .grid-4, .steps, .steps.three, .fields { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .fc-1 { left: -10px; top: 6%; }
  .fc-2 { left: 0; }
  .float-card { padding: 10px 12px; font-size: 12.5px; }
  .float-card .ic { width: 30px; height: 30px; }
  .phone { right: -10px; width: 34%; border-radius: 22px; }
  .phone img { border-radius: 17px; }
  .strip { margin-top: 70px; }
  .soon { padding: 26px; }
  .feature-panel, .cta { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.form-msg.err { color: #c0352b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
