/* ============================================================
   BluViz — AI-Accelerated Software Agency
   Theme: dark, glassmorphism, aurora gradients, neon accents
   ============================================================ */

:root {
  /* Accent palette as RGB triplets — overridden by [data-accent="..."] */
  --a1: 124, 58, 237;   /* primary   */
  --a2: 0, 212, 255;    /* secondary */
  --a3: 34, 245, 224;   /* tertiary  */
  --purple: rgb(var(--a1));
  --blue: rgb(var(--a2));
  --cyan: rgb(var(--a3));
  /* logo dot colors — overridden per accent */
  --dot1: #A855F7; --dot2: #7C3AED; --dot3: #00D4FF; --dot4: #22F5E0; --dot5: #6D8BFF;
  --bg: #06070d;
  --bg-2: #0a0c16;
  --text: #eaf0ff;
  --text-dim: #97a0bd;
  --border: rgba(var(--a1), 0.18);
  --glass: rgba(18, 21, 38, 0.55);
  --glass-strong: rgba(22, 26, 48, 0.72);
  --grad: linear-gradient(120deg, var(--purple), var(--blue));
  --grad-soft: linear-gradient(120deg, rgba(var(--a1),.16), rgba(var(--a2),.16));
  --radius: 18px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --ring: 0 0 0 1px rgba(255,255,255,.06);
  /* themeable surfaces (overridden by [data-theme="light"]) */
  --nav-bg: rgba(6, 7, 13, 0.7);
  --panel-bg: rgba(8, 10, 18, 0.96);
  --footer-bg: rgba(6, 7, 13, 0.6);
  --input-bg: rgba(255, 255, 255, 0.03);
  --ghost-bg: rgba(255, 255, 255, 0.04);
  --placeholder: #5a627d;
  --accent-ink: var(--blue);
  --aurora-opacity: 0.5;
  --maxw: 1160px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---------- Light theme ---------- */
[data-theme="light"] {
  --bg: #f5f7ff;
  --bg-2: #ffffff;
  --text: #0d1126;
  --text-dim: #58607c;
  --border: rgba(var(--a1), 0.20);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --shadow: 0 22px 50px -26px rgba(60, 40, 120, 0.30);
  --ring: 0 0 0 1px rgba(13, 17, 38, 0.04);
  --nav-bg: rgba(245, 247, 255, 0.8);
  --panel-bg: rgba(255, 255, 255, 0.97);
  --footer-bg: rgba(255, 255, 255, 0.55);
  --input-bg: rgba(13, 17, 38, 0.03);
  --ghost-bg: rgba(13, 17, 38, 0.04);
  --placeholder: #9aa1bb;
  --accent-ink: #0a86b8;
  --aurora-opacity: 0.32;
}
[data-theme="light"] body { background: var(--bg); }
[data-theme="light"] .hero-mini-trust span { color: #e0a200; }

/* ---------- Accent color themes ----------
   Each sets the RGB triplets + logo dot colors. --accent-ink is the
   eyebrow/link tone: a bright value for dark mode, darker for light mode. */
[data-accent="aurora"] {
  --a1: 124, 58, 237; --a2: 0, 212, 255; --a3: 34, 245, 224;
  --dot1:#A855F7; --dot2:#7C3AED; --dot3:#00D4FF; --dot4:#22F5E0; --dot5:#6D8BFF;
  --accent-ink: var(--blue);
}
[data-theme="light"][data-accent="aurora"] { --accent-ink: #0a86b8; }

[data-accent="orange"] {
  --a1: 242, 101, 34; --a2: 255, 138, 61; --a3: 255, 178, 112;
  --dot1:#FFB270; --dot2:#F26522; --dot3:#FF8A3D; --dot4:#F2762A; --dot5:#FF9E52;
  --accent-ink: #FF8A3D;
}
[data-theme="light"][data-accent="orange"] { --accent-ink: #D2541E; }

[data-accent="emerald"] {
  --a1: 16, 185, 129; --a2: 52, 211, 153; --a3: 110, 231, 183;
  --dot1:#6EE7B7; --dot2:#10B981; --dot3:#34D399; --dot4:#059669; --dot5:#A7F3D0;
  --accent-ink: #34D399;
}
[data-theme="light"][data-accent="emerald"] { --accent-ink: #047857; }

[data-accent="rose"] {
  --a1: 236, 72, 153; --a2: 244, 63, 94; --a3: 251, 146, 180;
  --dot1:#F9A8D4; --dot2:#EC4899; --dot3:#F43F5E; --dot4:#FB7185; --dot5:#FBCFE8;
  --accent-ink: #F472B6;
}
[data-theme="light"][data-accent="rose"] { --accent-ink: #BE185D; }

/* Logo dots pick up the active accent (CSS fill overrides the inline fallback) */
.brand-dots circle:nth-of-type(1) { fill: var(--dot1); }
.brand-dots circle:nth-of-type(2) { fill: var(--dot2); }
.brand-dots circle:nth-of-type(3) { fill: var(--dot3); }
.brand-dots circle:nth-of-type(4) { fill: var(--dot4); }
.brand-dots circle:nth-of-type(5) { fill: var(--dot5); }

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; font-weight: 700; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ---------- Backgrounds ---------- */
#bg-canvas {
  position: fixed; inset: 0; z-index: -2;
  width: 100%; height: 100%;
}

.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora-blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--aurora-opacity);
  animation: drift 22s ease-in-out infinite alternate;
}
.blob-1 { width: 520px; height: 520px; top: -120px; left: -100px; background: radial-gradient(circle, rgba(var(--a1),.55), transparent 70%); }
.blob-2 { width: 560px; height: 560px; top: 20%; right: -160px; background: radial-gradient(circle, rgba(var(--a2),.42), transparent 70%); animation-delay: -7s; }
.blob-3 { width: 480px; height: 480px; bottom: -160px; left: 30%; background: radial-gradient(circle, rgba(var(--a3),.30), transparent 70%); animation-delay: -14s; }

@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(60px, 50px) scale(1.15); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: var(--font-display); font-weight: 600;
  font-size: 15px; padding: 12px 22px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer; transition: .25s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #fff; background: var(--grad);
  box-shadow: 0 10px 30px -8px rgba(var(--a1),.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(var(--a2),.55); }

.btn-ghost {
  color: var(--text); background: var(--ghost-bg);
  border-color: var(--border); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--blue); color: #fff; transform: translateY(-2px); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--ring);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 4px; }
.brand-dots { display: grid; place-items: center; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.5px; }
.brand-name .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--text-dim); transition: color .2s; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: 22px; }
.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; cursor: pointer; color: var(--text);
  background: var(--ghost-bg); border: 1px solid var(--border);
  backdrop-filter: blur(8px); transition: .25s ease;
}
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.theme-toggle .ic-moon { display: none; }
[data-theme="light"] .theme-toggle .ic-sun { display: none; }
[data-theme="light"] .theme-toggle .ic-moon { display: block; }

/* Accent color picker */
.palette { position: relative; }
.palette-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; cursor: pointer; color: var(--text);
  background: var(--ghost-bg); border: 1px solid var(--border);
  backdrop-filter: blur(8px); transition: .25s ease; padding: 0;
}
.palette-btn:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.palette-btn .swatch {
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 2px rgba(255,255,255,.12);
}
.palette-pop {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 200;
  min-width: 190px; padding: 8px; border-radius: 14px;
  background: var(--panel-bg); border: 1px solid var(--border);
  box-shadow: var(--shadow); backdrop-filter: blur(14px);
  display: none; flex-direction: column; gap: 2px;
}
.palette-pop.open { display: flex; }
.palette-pop .pop-title {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-dim); padding: 6px 10px 4px;
}
.swatch-opt {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 9px 10px; border: none; border-radius: 9px; cursor: pointer;
  background: transparent; color: var(--text); font-family: var(--font-body);
  font-size: 14px; text-align: left; transition: background .15s;
}
.swatch-opt:hover { background: var(--ghost-bg); }
.swatch-opt .dot { width: 18px; height: 18px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.swatch-opt .check { margin-left: auto; opacity: 0; color: var(--blue); font-weight: 700; }
.swatch-opt[aria-checked="true"] .check { opacity: 1; }
.swatch-opt[aria-checked="true"] { background: var(--ghost-bg); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 90px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; color: var(--text-dim);
  padding: 7px 14px; border-radius: 999px;
  background: var(--ghost-bg); border: 1px solid var(--border);
  margin-bottom: 22px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }

.hero-title { font-size: clamp(34px, 5vw, 58px); letter-spacing: -1.5px; margin-bottom: 22px; }
.grad-text { display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 19px; color: var(--text-dim); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-mini-trust { font-size: 14px; color: var(--text-dim); }
.hero-mini-trust span { color: #ffd34d; letter-spacing: 2px; margin-right: 6px; }

/* Hero visual */
.hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.orb-card { width: 100%; max-width: 420px; aspect-ratio: 1/1; display: grid; place-items: center; position: relative; overflow: hidden; padding: 30px; }
.orb { position: relative; width: 240px; height: 240px; display: grid; place-items: center; }
.orb-core {
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--blue) 40%, var(--purple) 90%);
  box-shadow: 0 0 60px rgba(var(--a2),.6), 0 0 120px rgba(var(--a1),.5);
  animation: float 6s ease-in-out infinite;
}
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(var(--a2),.35); }
.ring-1 { width: 150px; height: 150px; animation: spin 12s linear infinite; }
.ring-2 { width: 210px; height: 210px; border-color: rgba(var(--a1),.4); animation: spin 18s linear infinite reverse; }
.ring-3 { width: 270px; height: 270px; border-style: dashed; border-color: rgba(var(--a3),.25); animation: spin 26s linear infinite; }
.node { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.node-a { top: 8px; left: 50%; }
.node-b { right: 6px; top: 46%; background: var(--purple); box-shadow: 0 0 14px var(--purple); }
.node-c { bottom: 10px; left: 38%; background: var(--blue); box-shadow: 0 0 14px var(--blue); }
.node-d { left: 6px; top: 40%; }

.orb-screens { position: absolute; inset: 0; }
.chip {
  position: absolute; font-size: 12px; font-weight: 600; font-family: var(--font-display);
  padding: 6px 12px; border-radius: 10px; background: var(--glass-strong);
  border: 1px solid var(--border); backdrop-filter: blur(8px);
  animation: float 5s ease-in-out infinite;
}
.chip-web { top: 22px; left: 22px; }
.chip-mobile { top: 30px; right: 24px; animation-delay: -1.2s; }
.chip-cloud { bottom: 30px; left: 28px; animation-delay: -2.4s; }
.chip-ai { bottom: 24px; right: 26px; animation-delay: -3.6s; color: var(--cyan); }

.float-card {
  position: absolute; padding: 14px 18px; display: flex; flex-direction: column;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { font-family: var(--font-display); font-size: 18px; }
.float-card span { font-size: 12px; color: var(--text-dim); }
.float-card-1 { top: 8%; left: -6%; animation-delay: -1s; }
.float-card-2 { bottom: 6%; right: -4%; animation-delay: -3s; }
.float-card-2 strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Trust metrics ---------- */
.trust { padding: 10px 0 30px; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  padding: 26px; border-radius: var(--radius);
  background: var(--grad-soft); border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.trust-item { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.trust-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 36px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-num.trust-text { font-size: clamp(16px, 2vw, 22px); }
.trust-label { font-size: 13px; color: var(--text-dim); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -1px; margin-bottom: 14px; }
.section-lead { color: var(--text-dim); font-size: 18px; }

/* ---------- Cards (services) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 30px; transition: transform .3s ease, border-color .3s ease; position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: var(--grad-soft); opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(var(--a2),.4); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 18px; }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--text-dim); margin-bottom: 16px; }
.card ul { display: flex; flex-direction: column; gap: 8px; }
.card li { font-size: 14px; color: var(--text); padding-left: 22px; position: relative; }
.card li::before { content: "▸"; position: absolute; left: 0; color: var(--blue); }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-item { padding: 26px; transition: transform .3s, border-color .3s; }
.why-item:hover { transform: translateY(-5px); border-color: rgba(var(--a1),.5); }
.why-item h3 { font-size: 18px; margin-bottom: 10px; }
.why-item p { color: var(--text-dim); font-size: 15px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; position: relative; transition: transform .3s, border-color .3s; }
.step:hover { transform: translateY(-5px); border-color: rgba(var(--a2),.4); }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 40px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .85; display: block; margin-bottom: 8px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 15px; }

/* ---------- Portfolio ---------- */
.portfolio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.folio { padding: 32px; transition: transform .3s, border-color .3s; position: relative; overflow: hidden; }
.folio::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(var(--a2),.18), transparent 70%); }
.folio:hover { transform: translateY(-6px); border-color: rgba(var(--a2),.4); }
.folio-tag { display: inline-block; font-size: 12px; font-weight: 600; font-family: var(--font-display); color: var(--cyan); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); background: rgba(var(--a3),.06); margin-bottom: 16px; }
.folio h3 { font-size: 22px; margin-bottom: 8px; }
.folio p { color: var(--text-dim); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price { padding: 32px; display: flex; flex-direction: column; transition: transform .3s, border-color .3s; position: relative; }
.price:hover { transform: translateY(-6px); border-color: rgba(var(--a1),.5); }
.price-featured { border-color: var(--blue); box-shadow: 0 0 0 1px rgba(var(--a2),.4), 0 30px 70px -25px rgba(var(--a2),.5); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 999px; background: var(--grad); color: #fff; white-space: nowrap; }
.price h3 { font-size: 20px; margin-bottom: 14px; }
.price-amount { font-size: 15px; color: var(--text-dim); margin-bottom: 20px; }
.price-amount strong { display: inline; font-family: var(--font-display); font-size: 32px; color: var(--text); }
.price-amount .per { font-size: 15px; color: var(--text-dim); }
.price ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex-grow: 1; }
.price li { font-size: 15px; padding-left: 24px; position: relative; color: var(--text); }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.pricing-note { text-align: center; color: var(--text-dim); font-size: 14px; margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq-item { padding: 0; overflow: hidden; transition: border-color .3s; }
.faq-item summary { cursor: pointer; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--blue); transition: transform .3s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: rgba(var(--a2),.35); }
.faq-item p { padding: 0 24px 22px; color: var(--text-dim); }

/* ---------- Contact ---------- */
.contact-form { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 500; color: var(--text-dim); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  background: var(--input-bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }

/* Honeypot — hidden from real users */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(var(--a2),.15);
}
.field select option { background: var(--bg-2); color: var(--text); }
.form-status { font-size: 14px; text-align: center; min-height: 20px; }
.form-status.success { color: var(--cyan); }
.form-status.error { color: #ff7a7a; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; margin-top: 40px; background: var(--footer-bg); backdrop-filter: blur(10px); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-dim); margin-top: 12px; max-width: 280px; font-size: 15px; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--text); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-dim); font-size: 15px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 14px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; min-height: 340px; }
  .cards, .process, .pricing { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 72px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 18px 24px 26px; background: var(--panel-bg);
    border-bottom: 1px solid var(--border); backdrop-filter: blur(14px);
    transform: translateY(-130%); transition: transform .35s ease; visibility: hidden;
    margin-left: 0;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: 12px 4px; color: var(--text); }
  .nav-links a.btn { margin-top: 8px; }
  .nav-toggle { display: flex; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cards, .process, .pricing, .portfolio, .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .float-card-1 { left: 0; }
  .float-card-2 { right: 0; }
  .section { padding: 70px 0; }
}

@media (max-width: 460px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
