/* ============ Tokens ============ */
:root {
  --navy-950: #050d1f;
  --navy-900: #0a1830;
  --navy-850: #0b1f42;
  --navy-800: #0e2a5c;
  --navy-700: #153b7a;
  --navy-600: #1e4fa0;
  --blue-500: #2f6fe0;
  --cyan-500: #04bff4;
  --cyan-400: #3dd3fa;
  --cyan-300: #8fe6fc;
  --cyan-100: #e3f9ff;

  --bg: #f7fafd;
  --bg-alt: #eef3fa;
  --surface: #ffffff;
  --text: #0b1b33;
  --text-muted: #55627a;
  --text-faint: #8592a8;
  --border: #e1e8f2;
  --border-dark: rgba(255, 255, 255, 0.12);
  --danger: #dc2626;
  --success: #16a34a;

  --grad-brand: linear-gradient(135deg, var(--navy-800) 0%, var(--blue-500) 55%, var(--cyan-500) 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(14, 42, 92, 0.08), rgba(4, 191, 244, 0.08));
  --grad-text: linear-gradient(120deg, var(--navy-800), var(--blue-500) 45%, var(--cyan-500));

  --shadow-sm: 0 1px 2px rgba(11, 27, 51, 0.06), 0 1px 3px rgba(11, 27, 51, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 27, 51, 0.08), 0 2px 8px rgba(11, 27, 51, 0.06);
  --shadow-lg: 0 24px 64px rgba(6, 16, 35, 0.16), 0 8px 24px rgba(6, 16, 35, 0.08);
  --shadow-glow: 0 0 0 1px rgba(4, 191, 244, 0.25), 0 12px 40px rgba(4, 191, 244, 0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --ff-display: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  --ff-body: "DM Sans", system-ui, -apple-system, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --header-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--ff-display); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
p { color: var(--text-muted); }
::selection { background: var(--cyan-400); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--cyan-500); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ============ Layout ============ */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 640px) { .container { padding-inline: 32px; } }
@media (min-width: 1024px) { .container { padding-inline: 48px; } }

.section { padding-block: var(--space-8); position: relative; }
@media (min-width: 1024px) { .section { padding-block: var(--space-9); } }
.section-tight { padding-block: var(--space-7); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-500);
  background: var(--grad-brand-soft); border: 1px solid rgba(47, 111, 224, 0.18);
  padding: 6px 14px; border-radius: var(--radius-full); margin-bottom: var(--space-4);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-500); box-shadow: 0 0 0 3px rgba(4, 191, 244, 0.25); }
.section--dark .eyebrow { color: var(--cyan-300); background: rgba(4, 191, 244, 0.1); border-color: rgba(4, 191, 244, 0.25); }

.section-head { max-width: 640px; margin-bottom: var(--space-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); color: var(--text); margin-bottom: var(--space-3); }
.section-desc { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); color: var(--text-muted); }
.section--dark .section-title { color: #fff; }
.section--dark .section-desc { color: rgba(255, 255, 255, 0.68); }

.text-gradient {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; display: inline-block;
}

.section--dark { background: var(--navy-950); color: #fff; }
.section--alt { background: var(--bg-alt); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ============ Buttons ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-display); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: var(--radius-full); white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s ease, color 0.25s ease;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--navy-700); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-accent { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-accent:hover svg { transform: translateX(3px); }

.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--navy-800); background: var(--bg-alt); }

.btn-ghost-light { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); }

.btn-sm { padding: 10px 20px; font-size: 14px; min-height: 40px; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-800); font-family: var(--ff-display); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--cyan-300); }

/* ============ Header ============ */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  background: rgba(247, 250, 253, 0); border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.site-header.is-scrolled { background: rgba(247, 250, 253, 0.85); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--border); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; font-family: var(--ff-display); }
.brand-word b { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -0.01em; transition: color 0.4s var(--ease-out); }
.brand-word span { font-size: 9.5px; font-weight: 600; letter-spacing: 0.25em; color: var(--cyan-300); margin-top: 3px; transition: color 0.4s var(--ease-out); }
.site-header.is-scrolled .brand-word b { color: var(--navy-800); }
.site-header.is-scrolled .brand-word span { color: var(--blue-500); }

.nav-links { display: none; align-items: center; gap: var(--space-6); }
.nav-links a { font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, 0.88); position: relative; padding-block: 6px; transition: color 0.4s var(--ease-out); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: linear-gradient(120deg, var(--cyan-300), var(--cyan-500)); transition: width 0.3s var(--ease-out); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: #fff; }
.site-header.is-scrolled .nav-links a { color: var(--text); }
.site-header.is-scrolled .nav-links a::after { background: var(--grad-text); }
.site-header.is-scrolled .nav-links a.active { color: var(--navy-800); }
@media (min-width: 900px) { .nav-links { display: flex; } }

.header-cta { display: none; align-items: center; gap: var(--space-4); }
@media (min-width: 900px) { .header-cta { display: flex; } }

.nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-sm); }
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: transform 0.3s var(--ease-out), opacity 0.3s ease, background 0.4s var(--ease-out); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff; transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out), background 0.4s var(--ease-out); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }
.site-header.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle span::before,
.site-header.is-scrolled .nav-toggle span::after { background: var(--navy-800); }
.site-header.is-scrolled .nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before, .nav-toggle.is-open span::after { background: var(--navy-800); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--surface);
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  overflow-y: auto; padding: var(--space-6) 20px var(--space-8);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mobile-nav a { display: block; font-family: var(--ff-display); font-size: 26px; font-weight: 600; padding-block: 14px; border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: var(--space-6); }
@media (min-width: 900px) { .mobile-nav { display: none; } }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--navy-950); color: #fff; overflow: hidden; padding-top: var(--header-h);
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.hero-video-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 15% 10%, rgba(4, 191, 244, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(5, 13, 31, 0.55) 0%, rgba(5, 13, 31, 0.85) 60%, var(--navy-950) 100%);
}
.hero-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; filter: blur(120px); opacity: 0.35; pointer-events: none; z-index: 0; }
.hero-glow--a { background: var(--cyan-500); top: -180px; right: -140px; }
.hero-glow--b { background: var(--blue-500); bottom: -220px; left: -160px; }

.hero-inner { position: relative; z-index: 2; padding-block: var(--space-8); width: 100%; }
.hero-grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-6); } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cyan-300); background: rgba(4, 191, 244, 0.1); border: 1px solid rgba(4, 191, 244, 0.28);
  padding: 8px 16px; border-radius: var(--radius-full); margin-bottom: var(--space-5);
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400); }

.hero-title {
  font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); color: #fff; margin-bottom: var(--space-5);
  max-width: 16ch;
}
.hero-title .char { display: inline-block; will-change: transform, opacity; }
.hero-title .word { display: inline-block; white-space: nowrap; }
.hero-title .accent { color: var(--cyan-400); }

.hero-desc { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); color: rgba(255, 255, 255, 0.72); max-width: 46ch; margin-bottom: var(--space-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-7); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); max-width: 480px; }
.hero-stats .stat b { display: block; font-family: var(--ff-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); color: #fff; }
.hero-stats .stat span { font-size: 12.5px; color: rgba(255, 255, 255, 0.58); letter-spacing: 0.02em; }


.hero-visual { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; }
.hv-grid {
  position: absolute; inset: 0; display: grid; grid-template-columns: repeat(11, 1fr); grid-template-rows: repeat(11, 1fr);
  gap: clamp(4px, 1.1vw, 10px); padding: 3%;
  -webkit-mask-image: radial-gradient(circle at center, #000 38%, transparent 74%);
  mask-image: radial-gradient(circle at center, #000 38%, transparent 74%);
}
.hv-cell { display: block; border-radius: 24%; background: var(--blue-500); will-change: transform, opacity; }
.hv-cell i { display: block; width: 100%; height: 100%; border-radius: inherit; background: inherit; }
.hv-layer { position: absolute; inset: 0; pointer-events: none; }
.hv-layer--core { display: grid; place-items: center; }
.hv-core {
  position: relative; z-index: 2; width: 34%; aspect-ratio: 1; border-radius: 28%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.96); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 0 60px rgba(4, 191, 244, 0.55), var(--shadow-lg);
}
.hv-core img { width: 64%; height: auto; }
.hv-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(143, 230, 252, 0.45); }
.hv-ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 12px var(--cyan-400); }
.hv-ring--inner { inset: 27%; }
.hv-ring--outer { inset: 10%; border-color: rgba(143, 230, 252, 0.25); }
.hv-ring--outer::after { top: auto; bottom: -4px; background: var(--blue-500); box-shadow: 0 0 12px var(--blue-500); }
.hv-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-full);
  font-family: var(--ff-display); font-size: clamp(11px, 1.4vw, 13.5px); font-weight: 600; color: #fff; white-space: nowrap;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); box-shadow: var(--shadow-md);
}
.hv-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 8px var(--cyan-400); }
.hv-chip--1 { top: 9%; left: 2%; }
.hv-chip--2 { top: 20%; right: 0; }
.hv-chip--3 { bottom: 22%; left: 0; }
.hv-chip--4 { bottom: 9%; right: 6%; }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue span { font-family: var(--ff-display); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.scroll-cue .track { width: 1px; height: 36px; background: rgba(255, 255, 255, 0.18); position: relative; overflow: hidden; }
.scroll-cue .track i { position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: linear-gradient(var(--cyan-400), transparent); animation: scrollcue 1.8s ease-in-out infinite; }
@media (max-width: 1023px) { .scroll-cue { display: none; } }
@keyframes scrollcue { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* ============ Marquee ============ */
.marquee-section { padding-block: var(--space-6); border-block: 1px solid var(--border); background: var(--surface); }
.marquee-label { text-align: center; font-family: var(--ff-display); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--space-5); }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: var(--space-9); flex-shrink: 0; padding-right: var(--space-9); }
.marquee-track span { font-family: var(--ff-display); font-size: 22px; font-weight: 700; color: var(--text-faint); white-space: nowrap; letter-spacing: -0.01em; opacity: 0.7; }

/* ============ Cards: Bento / Feature ============ */
.bento { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 780px) { .bento { grid-template-columns: repeat(6, 1fr); } }
.bento-card {
  grid-column: span 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-6); position: relative; overflow: hidden; transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
@media (min-width: 780px) {
  .bento-card--lg { grid-column: span 3; }
  .bento-card--md { grid-column: span 2; }
  .bento-card--sm { grid-column: span 6; }
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(4, 191, 244, 0.35); }
.bento-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease;
  background: radial-gradient(240px 160px at 85% -10%, rgba(4, 191, 244, 0.16), transparent 70%);
}
.bento-card:hover::before { opacity: 1; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--grad-brand); margin-bottom: var(--space-5); box-shadow: var(--shadow-md); }
.card-icon svg { width: 24px; height: 24px; color: #fff; }
.bento-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text); }
.bento-card p { font-size: 14.5px; }
.bento-card--sm { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); }

/* ============ Process ============ */
.process { position: relative; }
.process-list { display: grid; gap: var(--space-6); counter-reset: step; }
@media (min-width: 900px) { .process-list { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); } }
.process-item { position: relative; padding-top: var(--space-6); }
.process-item .num {
  font-family: var(--ff-display); font-size: 13px; font-weight: 700; color: var(--cyan-500);
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(4, 191, 244, 0.35);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); background: var(--surface);
}
.section--dark .process-item .num { background: var(--navy-950); }
.process-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-item p { font-size: 14px; }
.process-line { position: absolute; top: 20px; left: calc(50% + 20px); width: calc(100% - 40px); height: 1px; background: linear-gradient(90deg, rgba(4,191,244,0.4), transparent); display: none; }
@media (min-width: 900px) { .process-item:not(:last-child) .process-line { display: block; } }

/* ============ Stats / video showcase ============ */
.showcase { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; }
.showcase video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,13,31,0.35) 0%, rgba(5,13,31,0.92) 100%); }
.showcase-body { position: relative; z-index: 2; padding: var(--space-7); width: 100%; }
.showcase-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
@media (min-width: 780px) { .showcase-stats { grid-template-columns: repeat(4, 1fr); } }
.showcase-stats .stat b { font-family: var(--ff-display); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); color: #fff; display: block; }
.showcase-stats .stat span { font-size: 13px; color: rgba(255,255,255,0.62); }

.avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-weight: 700; font-size: 14px; color: #fff; background: var(--grad-brand); flex-shrink: 0; }

/* ============ CTA banner ============ */
.cta-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--grad-brand); padding: var(--space-8) var(--space-6); text-align: center; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(255,255,255,0.18), transparent 60%); }
.cta-banner-inner { position: relative; z-index: 1; max-width: 640px; margin-inline: auto; }
.cta-banner h2 { color: #fff; font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.6rem); margin-bottom: var(--space-3); }
.cta-banner p { color: rgba(255,255,255,0.82); margin-bottom: var(--space-6); font-size: 1.05rem; }
.cta-banner .actions { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding-block: var(--space-8) var(--space-6); }
.footer-top { display: grid; gap: var(--space-7); grid-template-columns: 1fr; margin-bottom: var(--space-7); }
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-brand .brand-word b { color: #fff; }
.footer-brand p { margin-top: var(--space-4); font-size: 14px; max-width: 32ch; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 10px; margin-top: var(--space-5); }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; transition: background 0.25s, border-color 0.25s; }
.footer-social a:hover { background: rgba(4,191,244,0.15); border-color: var(--cyan-500); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-family: var(--ff-display); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.9); margin-bottom: var(--space-4); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan-300); }
.footer-col .contact-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.footer-col .contact-row svg { width: 17px; height: 17px; color: var(--cyan-400); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-bottom .links { display: flex; gap: var(--space-5); }

/* ============ Page hero (inner pages) ============ */
.page-hero { position: relative; background: var(--navy-950); color: #fff; padding-top: calc(var(--header-h) + var(--space-8)); padding-bottom: var(--space-8); overflow: hidden; }
.page-hero .hero-glow { opacity: 0.28; }
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: var(--space-5); font-family: var(--ff-display); letter-spacing: 0.04em; }
.page-hero .breadcrumb svg { width: 13px; height: 13px; }
.page-hero h1 { font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem); margin-bottom: var(--space-4); }
.page-hero p { color: rgba(255,255,255,0.68); font-size: 1.1rem; max-width: 56ch; }

/* ============ reveal utility (progressive enhancement) ============ */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; }

/* ============ Services page ============ */
.service-row {
  display: grid; gap: var(--space-6); grid-template-columns: 1fr; align-items: center;
  padding-block: var(--space-7); border-bottom: 1px solid var(--border);
}
@media (min-width: 900px) { .service-row { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-8); } }
.service-row:last-child { border-bottom: none; }
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-visual {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--grad-brand); display: flex; align-items: center; justify-content: center;
}
.service-visual svg { width: 30%; height: 30%; color: rgba(255,255,255,0.9); }
.service-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 80% 100%, rgba(255,255,255,0.18), transparent 60%); }
.service-visual .grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 28px 28px; }
.service-index { font-family: var(--ff-display); font-size: 13px; font-weight: 700; color: var(--cyan-500); letter-spacing: 0.1em; margin-bottom: var(--space-3); }
.service-content h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); margin-bottom: var(--space-3); }
.service-content > p { margin-bottom: var(--space-5); font-size: 15.5px; }
.service-features { display: grid; gap: 12px; margin-bottom: var(--space-6); }
.service-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text); }
.service-features svg { width: 18px; height: 18px; color: var(--cyan-500); flex-shrink: 0; margin-top: 1px; }

.pricing-note { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); }
.pricing-note svg { width: 40px; height: 40px; color: var(--cyan-500); flex-shrink: 0; }

/* ============ About page ============ */
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }



/* ============ Portfolio page ============ */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-7); }
.filter-tab {
  padding: 10px 20px; border-radius: var(--radius-full); border: 1px solid var(--border);
  font-family: var(--ff-display); font-weight: 600; font-size: 13.5px; color: var(--text-muted);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filter-tab:hover { border-color: var(--navy-800); color: var(--text); }
.filter-tab.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.project-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project-thumb { position: relative; aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--navy-900); }
.project-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease-out); }
.project-card:hover .project-thumb img { transform: scale(1.04); }
.project-thumb svg { width: 34%; height: 34%; color: rgba(255,255,255,0.92); position: relative; z-index: 1; transition: transform 0.5s var(--ease-out); }
.project-card:hover .project-thumb svg { transform: scale(1.12) rotate(-4deg); }
.project-thumb .grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 24px 24px; }
.project-thumb .tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--ff-display); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: rgba(5,13,31,0.45); backdrop-filter: blur(6px); padding: 5px 12px; border-radius: var(--radius-full); }
.project-body { padding: var(--space-5); }
.project-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.project-body p { font-size: 13.5px; margin-bottom: var(--space-4); }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.project-meta span { font-size: 11.5px; font-weight: 600; color: var(--blue-500); background: var(--grad-brand-soft); padding: 4px 10px; border-radius: var(--radius-full); }
.project-card[hidden] { display: none; }

/* ============ Contact page ============ */
.contact-grid { display: grid; gap: var(--space-7); grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }
.contact-info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); margin-bottom: var(--space-5); display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-info-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card .ic svg { width: 20px; height: 20px; color: #fff; }
.contact-info-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; margin: 0; }
.contact-info-card a { color: var(--navy-800); font-weight: 600; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); }
@media (min-width: 640px) { .form-card { padding: var(--space-7); } }
.form-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text); font-family: var(--ff-display); }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 13px 16px; font-size: 14.5px;
  background: var(--bg-alt); transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan-500); background: var(--surface); box-shadow: 0 0 0 4px rgba(4,191,244,0.14); }
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { font-size: 12.5px; color: var(--danger); display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error-msg { display: block; }
.form-note { font-size: 12.5px; color: var(--text-faint); margin-top: var(--space-4); }
.form-success { display: none; align-items: center; gap: 12px; background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.3); color: #15803d; padding: var(--space-4) var(--space-5); border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; margin-bottom: var(--space-5); }
.form-success.is-visible { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }


/* ============ FAQ ============ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-5); text-align: left; width: 100%; font-family: var(--ff-display); font-size: 16px; font-weight: 600; color: var(--text); }
.faq-q svg { width: 20px; height: 20px; color: var(--blue-500); flex-shrink: 0; transition: transform 0.35s var(--ease-out); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-a p { padding-bottom: var(--space-5); font-size: 14.5px; max-width: 62ch; }

/* ============ back to top ============ */
.back-to-top {
  position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-800); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-700); }
.back-to-top svg { width: 18px; height: 18px; }

/* ============ misc utilities ============ */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ============ WhatsApp + chatbot widgets ============ */
.wa-float, .chat-launcher {
  position: fixed; right: 20px; z-index: 95; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 10px 28px rgba(5, 13, 31, 0.28); transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.wa-float:hover, .chat-launcher:hover { transform: translateY(-3px) scale(1.04); }
.wa-float { bottom: 20px; background: #25d366; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: wa-pulse 2.4s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.6); opacity: 0; } }
.chat-launcher { bottom: 88px; background: var(--grad-brand); }
.chat-launcher svg { width: 26px; height: 26px; transition: transform 0.3s var(--ease-out); }
.chat-launcher[aria-expanded="true"] svg { transform: rotate(90deg); }

.chat-panel {
  position: fixed; right: 20px; bottom: 156px; z-index: 95; width: min(360px, calc(100vw - 40px)); height: min(500px, calc(100dvh - 176px)); min-height: 260px;
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.97); transform-origin: bottom right;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
}
.chat-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy-900); color: #fff; }
.chat-head img { width: 34px; height: 34px; padding: 5px; border-radius: 10px; background: #fff; }
.chat-head b { display: block; font-family: var(--ff-display); font-size: 14.5px; line-height: 1.2; }
.chat-head small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255, 255, 255, 0.65); }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #25d366; }
.chat-close { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.8); }
.chat-close:hover { background: rgba(255, 255, 255, 0.12); }
.chat-close svg { width: 18px; height: 18px; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.chat-msg.bot { align-self: flex-start; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--navy-800); color: #fff; border-bottom-right-radius: 4px; }
.chat-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-full); font-size: 12.5px; font-weight: 600; font-family: var(--ff-display); background: var(--cyan-100); color: var(--navy-800); }
.chat-link:hover { background: var(--cyan-300); }
.chat-link.wa { background: #25d366; color: #fff; }
.chat-link.wa:hover { filter: brightness(1.08); }
.chat-link svg { width: 14px; height: 14px; }
.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; border-bottom-left-radius: 4px; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-faint); animation: chat-dot 1s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot { 0%, 80%, 100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-4px); opacity: 1; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 0; background: var(--bg); }
.chat-chip { padding: 7px 13px; border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--navy-800); font-family: var(--ff-display); transition: border-color 0.2s, background 0.2s; }
.chat-chip:hover { border-color: var(--cyan-500); background: var(--cyan-100); }
.chat-form { display: flex; gap: 8px; padding: 12px 16px 14px; background: var(--bg); }
.chat-form input { flex: 1; min-width: 0; border: 1.5px solid var(--border); border-radius: var(--radius-full); padding: 10px 16px; font-size: 14px; background: var(--surface); }
.chat-form input:focus { outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(4, 191, 244, 0.15); }
.chat-form button { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--navy-800); color: #fff; display: flex; align-items: center; justify-content: center; }
.chat-form button:hover { background: var(--navy-700); }
.chat-form button svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .wa-float::before, .chat-typing i { animation: none; } }

/* ============ Prose (legal pages) ============ */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 0.7rem; }
.prose p, .prose li { font-size: 16px; line-height: 1.75; }
.prose p { margin-bottom: 0.9rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin: 0.6rem 0 1rem; }
.prose li { color: var(--text-muted); margin-bottom: 0.4rem; }
.prose a { color: var(--blue-500); text-decoration: underline; }
.showcase { background: var(--navy-900); }
