:root {
  --bg: #ffffff;
  --bg-dark: #0a0a0a;
  --bg-section: #f5f5f7;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --text-on-dark: #f5f5f7;
  --accent: #0066cc;
  --accent-hover: #0051a8;
  --border: rgba(0, 0, 0, 0.08);
  --max-content: 1200px;
  --section-pad-y: 120px;
  --nav-height: 64px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ── Nav ──────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.nav-logo {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links > a, .nav-links > .nav-dropdown > a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav-links > a:hover, .nav-links > .nav-dropdown > a:hover { color: var(--text); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: "▾";
  font-size: 9px;
  margin-left: 4px;
  vertical-align: middle;
  opacity: 0.6;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 240px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text) !important;
  font-weight: 500;
  transition: background 0.15s var(--ease);
}
.nav-dropdown-menu a:hover {
  background: var(--bg-section);
}
.nav-dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0066cc, #2997ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.nav-dropdown-text { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-text small {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}
.nav-cta {
  background: var(--text);
  color: var(--bg) !important;
  padding: 8px 16px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s var(--ease);
}
.nav-cta:hover { background: var(--accent); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  padding: 140px 24px 0;
  text-align: center;
  background: #050510;
  color: #fff;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.hero-inner { max-width: 980px; margin: 0 auto; position: relative; z-index: 3; }
.hero-text { padding-bottom: 60px; }

/* Hero video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 30%;
  z-index: 0;
  pointer-events: none;
  /* Scale up + anchor top-left so the bottom-right Gemini watermark
     is pushed off-screen and clipped by .hero { overflow: hidden }. */
  transform: scale(1.18);
  transform-origin: 25% 25%;
}
.hero-video-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 16, 0.55) 0%, rgba(5, 5, 16, 0.35) 40%, rgba(5, 5, 16, 0.85) 100%);
}

/* Aurora animated gradient mesh */
.hero-aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  filter: blur(80px);
  pointer-events: none;
}
.hero-aurora span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: aurora 18s ease-in-out infinite;
}
.hero-aurora span:nth-child(1) {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #2997ff 0%, transparent 70%);
  top: -10%; left: 10%;
  animation-delay: 0s;
}
.hero-aurora span:nth-child(2) {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #af52de 0%, transparent 70%);
  top: 20%; right: 5%;
  animation-delay: -6s;
}
.hero-aurora span:nth-child(3) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #ff453a 0%, transparent 70%);
  bottom: -10%; left: 30%;
  animation-delay: -12s;
}
.hero-aurora span:nth-child(4) {
  width: 450px; height: 450px;
  background: radial-gradient(circle, #30d158 0%, transparent 70%);
  bottom: 5%; right: 25%;
  animation-delay: -3s;
}
@keyframes aurora {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-100px, 60px) scale(1.15); }
  50% { transform: translate(80px, -80px) scale(0.95); }
  75% { transform: translate(-40px, -100px) scale(1.1); }
}

/* Subtle grid lines overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Cursor spotlight */
.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.06),
    transparent 40%);
  transition: background 0.15s ease;
}
.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: #6cc1ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.4;
}
.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}
.hero .btn-secondary:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255,255,255,0.1); }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Hero device showcase ─────────────────────────────── */
.hero-showcase {
  position: relative;
  max-width: 1100px;
  margin: 80px auto 0;
  padding: 0 24px 60px;
  perspective: 2000px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 520px;
}
.hero-showcase::before {
  content: "";
  position: absolute;
  inset: -10% -20% 0 -20%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0, 102, 204, 0.18), transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(255, 105, 0, 0.12), transparent 50%);
  filter: blur(40px);
  z-index: 0;
  animation: heroglow 10s ease-in-out infinite;
}
@keyframes heroglow {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* Mac laptop */
.device-mac {
  position: relative;
  width: 620px;
  max-width: 100%;
  z-index: 2;
  transform: rotateX(8deg);
  transform-origin: center bottom;
}
.device-mac-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #1c1c1e;
  border-radius: 14px 14px 4px 4px;
  padding: 18px 14px 14px;
  box-shadow:
    0 0 0 2px #2a2a2c,
    0 30px 60px -20px rgba(0, 0, 0, 0.45),
    0 50px 100px -30px rgba(0, 102, 204, 0.25);
}
.device-mac-screen::before {
  content: "";
  position: absolute;
  top: 4px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 8px;
  background: #0a0a0a;
  border-radius: 0 0 8px 8px;
}
.device-mac-display {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.device-mac-base {
  height: 14px;
  background: linear-gradient(180deg, #d1d1d3 0%, #a8a8aa 50%, #6e6e73 100%);
  width: 110%;
  margin-left: -5%;
  border-radius: 0 0 12px 12px;
  position: relative;
}
.device-mac-base::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 6px;
  background: #5a5a5c;
  border-radius: 0 0 8px 8px;
}

/* App UI inside Mac */
.macapp-bar {
  height: 28px;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  flex-shrink: 0;
}
.macapp-bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: #d8d8d8;
}
.macapp-bar span:nth-child(1) { background: #ff5f57; }
.macapp-bar span:nth-child(2) { background: #febc2e; }
.macapp-bar span:nth-child(3) { background: #28c840; }
.macapp-content {
  flex: 1;
  display: grid;
  grid-template-columns: 140px 1fr;
}
.macapp-sidebar {
  background: rgba(0, 0, 0, 0.03);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.macapp-sidebar-item {
  height: 16px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
}
.macapp-sidebar-item.active {
  background: linear-gradient(90deg, #0066cc, #2997ff);
}
.macapp-main {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.macapp-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.macapp-stat {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 6px;
  padding: 10px;
  height: 50px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.macapp-stat-num {
  width: 60%;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, #0066cc, #2997ff);
}
.macapp-stat-label {
  width: 80%;
  height: 5px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.15);
}
.macapp-chart {
  flex: 1;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.macapp-chart > div {
  flex: 1;
  background: linear-gradient(180deg, #2997ff, #0066cc);
  border-radius: 2px;
  opacity: 0.85;
}

/* iPhone */
.device-phone {
  position: absolute;
  right: 8%;
  bottom: -20px;
  width: 130px;
  z-index: 3;
  transform: rotate(8deg) rotateX(4deg);
  transform-origin: center bottom;
}
.device-phone-frame {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #1c1c1e;
  border-radius: 22px;
  padding: 5px;
  box-shadow:
    0 0 0 2px #2a2a2c,
    0 20px 40px -10px rgba(0, 0, 0, 0.4);
}
.device-phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0a0a0a 0%, #1c1c2e 100%);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  padding: 16px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.device-phone-screen::before {
  content: "";
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 38px; height: 12px;
  background: #000;
  border-radius: 8px;
}
.phoneapp-row {
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
}
.phoneapp-row.short { width: 50%; }
.phoneapp-card {
  background: linear-gradient(135deg, #0066cc, #2997ff);
  border-radius: 8px;
  padding: 8px;
  height: 56px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.phoneapp-card-num {
  width: 60%;
  height: 12px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 3px;
}
.phoneapp-card-bar {
  height: 4px;
  width: 80%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}
.phoneapp-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}
.phoneapp-list > div {
  height: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

/* Windows tablet/window peeking behind-left */
.device-windows {
  position: absolute;
  left: 4%;
  bottom: 30px;
  width: 220px;
  z-index: 1;
  transform: rotate(-6deg) rotateX(6deg);
  transform-origin: center bottom;
  opacity: 0.95;
}
.device-windows-frame {
  width: 100%;
  aspect-ratio: 16 / 11;
  background: #1c1c1e;
  border-radius: 8px;
  padding: 4px;
  box-shadow:
    0 0 0 1px #2a2a2c,
    0 15px 30px -8px rgba(0, 0, 0, 0.35);
}
.device-windows-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1f3a5f 0%, #0a0a14 100%);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.winapp-titlebar {
  height: 18px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 4px;
  gap: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.winapp-titlebar span {
  width: 8px; height: 8px;
}
.winapp-content {
  flex: 1;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.winapp-tile {
  background: linear-gradient(135deg, rgba(41, 151, 255, 0.4), rgba(41, 151, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}
.winapp-tile.alt {
  background: linear-gradient(135deg, rgba(255, 105, 0, 0.35), rgba(255, 105, 0, 0.08));
}

/* Responsive */
@media (max-width: 900px) {
  .hero-showcase { min-height: 380px; }
  .device-mac { width: 100%; }
  .device-phone { width: 90px; right: 4%; bottom: -10px; }
  .device-windows { width: 140px; left: 2%; bottom: 20px; }
}
@media (max-width: 600px) {
  .hero-showcase { min-height: 280px; }
  .device-phone { display: none; }
  .device-windows { display: none; }
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--text); }

/* ── Section ──────────────────────────────────────────── */
.section { padding: var(--section-pad-y) 24px; }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-light { background: var(--bg-section); }
.section-inner { max-width: var(--max-content); margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 80px; }
.section-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-dark .section-eyebrow { color: #2997ff; }
.section h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-lede {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}
.section-dark .section-lede { color: #a1a1a6; }

/* ── Service cards ────────────────────────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px 32px;
  transition: all 0.3s var(--ease);
  text-align: left;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}
.section-dark .service-card {
  background: #1c1c1e;
  border-color: rgba(255,255,255,0.08);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0066cc 0%, #2997ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
}
.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.service-card .service-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: transform 0.2s var(--ease);
}
.service-card:hover .service-link {
  transform: translateX(4px);
}
.section-dark .service-card p { color: #a1a1a6; }

/* ── CTA band ─────────────────────────────────────────── */
.cta-band {
  text-align: center;
  padding: 100px 24px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1c1c1e 100%);
  color: #fff;
}
.cta-band h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 20px;
  color: #a1a1a6;
  margin-bottom: 32px;
}

/* ── Contact page ─────────────────────────────────────── */
.contact-section {
  padding: calc(var(--nav-height) + 80px) 24px 100px;
  background: #050510;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0, 102, 204, 0.18), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(175, 82, 222, 0.12), transparent 50%);
  filter: blur(80px);
  z-index: 0;
}
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.contact-head { text-align: center; margin-bottom: 56px; }
.contact-head .section-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6cc1ff;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.contact-head h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-lede {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}
.contact-form {
  display: grid;
  gap: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 22px;
  padding: 36px 32px;
}
.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-field label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
}
.contact-field input,
.contact-field textarea {
  font: inherit;
  font-size: 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #2997ff;
  background: rgba(0, 0, 0, 0.4);
}
.contact-field textarea { resize: vertical; min-height: 120px; }

/* Honeypot — visually hidden, accessible to bots */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.contact-submit {
  justify-self: start;
  margin-top: 8px;
}
.contact-status {
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 0 0;
  min-height: 22px;
}
.contact-status.sending  { color: rgba(255, 255, 255, 0.65); }
.contact-status.success  { color: #30d158; }
.contact-status.error    { color: #ff5f57; }

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: #f5f5f7;
  padding: 60px 24px 40px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-inner { max-width: var(--max-content); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { font-size: 14px; }
.footer-brand strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
}

/* ── Feature sections (rich service blocks) ─────────── */
.feature {
  padding: 140px 24px;
  position: relative;
  overflow: hidden;
}
.feature-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.feature.reverse .feature-inner > :first-child { order: 2; }
.feature-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.feature p {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}
.feature-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text);
}
.feature-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066cc, #2997ff);
  flex-shrink: 0;
  position: relative;
}
.feature-list li::after {
  content: "✓";
  position: absolute;
  margin-left: 4px;
  color: white;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

/* ── Visual orbs (breathing graphics) ─────────────── */
.visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
.visual-frame {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(0,102,204,0.08), rgba(41,151,255,0.04));
  border: 1px solid rgba(0,102,204,0.12);
  overflow: hidden;
}
.section-dark .visual-frame {
  background: linear-gradient(135deg, rgba(41,151,255,0.12), rgba(48,209,88,0.04));
  border-color: rgba(255,255,255,0.08);
}
.visual-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  animation: float 8s ease-in-out infinite;
}
.visual-orb.a {
  width: 260px; height: 260px;
  background: radial-gradient(circle, #0066cc, transparent 70%);
  top: -40px; left: -40px;
}
.visual-orb.b {
  width: 220px; height: 220px;
  background: radial-gradient(circle, #2997ff, transparent 70%);
  bottom: -30px; right: -30px;
  animation-delay: -3s;
}
.visual-orb.c {
  width: 180px; height: 180px;
  background: radial-gradient(circle, #ff6b00, transparent 70%);
  top: 50%; right: 20%;
  animation-delay: -6s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.1); }
  66% { transform: translate(-25px, 20px) scale(0.95); }
}

/* Real feature image / video (with built-in watermark crop) */
.feature-image,
.feature-video {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
}
.feature-image img,
.feature-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Scale + anchor top-left so any bottom-right Gemini sparkle
     watermark gets pushed off the visible area and clipped. */
  transform: scale(1.1);
  transform-origin: 30% 30%;
}

/* Mock device frames */
.mock-window {
  position: relative;
  z-index: 2;
  width: 88%;
  aspect-ratio: 16 / 11;
  background: #1c1c1e;
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06) inset;
  overflow: hidden;
}
.mock-window-bar {
  height: 32px;
  background: #2c2c2e;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.mock-window-bar span {
  width: 11px; height: 11px; border-radius: 50%;
}
.mock-window-bar span:nth-child(1) { background: #ff5f57; }
.mock-window-bar span:nth-child(2) { background: #febc2e; }
.mock-window-bar span:nth-child(3) { background: #28c840; }
.mock-window-body {
  padding: 20px;
  display: grid;
  gap: 12px;
  height: calc(100% - 32px);
}
.mock-row {
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(41,151,255,0.4), rgba(41,151,255,0.05));
}
.mock-row.short { width: 60%; }
.mock-row.medium { width: 80%; }
.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
}
.mock-grid > div {
  aspect-ratio: 1 / 1.2;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.05);
}

/* Code block visual */
.mock-code {
  background: #1c1c1e;
  border-radius: 14px;
  padding: 24px;
  font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #f5f5f7;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
  width: 88%;
  position: relative;
  z-index: 2;
}
.mock-code .k { color: #ff7ab2; }
.mock-code .s { color: #ffd479; }
.mock-code .f { color: #6cb6ff; }
.mock-code .c { color: #6e6e73; }

/* Big number / chart visual */
.mock-chart {
  position: relative;
  z-index: 2;
  width: 80%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mock-chart-num {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0066cc, #2997ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.mock-chart-label { color: #a1a1a6; font-size: 14px; }
.mock-bars {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 100px;
  margin-top: auto;
}
.mock-bars > div {
  flex: 1;
  background: linear-gradient(180deg, #2997ff, #0066cc);
  border-radius: 3px;
  transition: height 0.6s var(--ease);
}

/* ── Process / Steps ──────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 32px 24px;
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.section-dark .process-step::before { color: #2997ff; }
.process-step h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.process-step p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
}
.section-dark .process-step p { color: #a1a1a6; }

/* ── Work / Portfolio ─────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.work-card {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
  color: #fff;
  padding: 48px 40px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  transition: transform 0.4s var(--ease);
  cursor: pointer;
}
.work-card:hover { transform: translateY(-4px); }
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(41, 151, 255, 0.25), transparent 60%);
  pointer-events: none;
}
.work-card:nth-child(2)::before { background: radial-gradient(circle at 80% 0%, rgba(255, 105, 0, 0.25), transparent 60%); }
.work-card:nth-child(3)::before { background: radial-gradient(circle at 80% 0%, rgba(48, 209, 88, 0.25), transparent 60%); }
.work-card-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a1a1a6;
  margin-bottom: 12px;
}
.work-card h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.work-card p {
  color: #d1d1d6;
  font-size: 15px;
  line-height: 1.5;
}

/* ── About / Stats ────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-copy h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.about-copy p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
}
.stat-num {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #0066cc 0%, #2997ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ── Animations ───────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad-y: 80px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero { padding: 80px 24px 60px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
