/* ==========================================================================
   AGENCIJA VELA — Premium Redesign Concept
   ========================================================================== */

:root {
  /* Colors */
  --navy-950: #0a0d1c;
  --navy-900: #121834;
  --navy-800: #182047;
  --navy-700: #202a5c;
  --navy-600: #293472;
  --navy-border: rgba(165, 180, 252, 0.14);

  --white: #ffffff;
  --off-white: #f8fafc;
  --ink-900: #0b0f19;
  --ink-700: #38445c;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;

  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;

  --grad-accent: linear-gradient(120deg, var(--cyan), var(--blue));
  --grad-accent-violet: linear-gradient(135deg, var(--blue), var(--violet));
  --grad-text: linear-gradient(100deg, #67e8f9, #60a5fa 60%, #93c5fd);
  --grad-hero-bg: linear-gradient(160deg, #0f1830 0%, #101c3a 45%, #0c1428 100%);

  --shadow-sm: 0 2px 8px rgba(4, 8, 20, 0.06);
  --shadow-md: 0 8px 30px rgba(4, 8, 20, 0.08);
  --shadow-lg: 0 24px 60px rgba(4, 8, 20, 0.14);
  --shadow-glow: 0 0 0 1px rgba(34, 211, 238, 0.15), 0 20px 60px rgba(59, 130, 246, 0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-w: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}
.eyebrow--dark { color: var(--blue); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { max-width: 700px; margin-inline: auto; text-align: center; }

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.18;
  margin-bottom: 18px;
}
.section-title--light { color: var(--white); }

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-500);
  max-width: 56ch;
}
.section-head.center .section-lead { margin-inline: auto; }
.section-lead--light { color: var(--ink-300); }

.section { padding: 110px 0; }
.section--dark {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--grad-accent);
  color: var(--navy-950);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-glow { position: relative; }
.btn-glow::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: var(--grad-accent);
  opacity: 0.35;
  filter: blur(16px);
  z-index: -1;
  transition: opacity 0.35s var(--ease);
}
.btn-glow:hover::after { opacity: 0.6; }

.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--navy-border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-outline-dark {
  background: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--navy-border);
}
.btn-outline-dark:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }

.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(15, 19, 42, 0.74);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(6, 9, 22, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--white);
  flex-shrink: 0;
}
.site-header:not(.is-scrolled) .brand { color: var(--white); }
.brand-accent { color: var(--cyan); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s var(--ease);
  position: relative;
  padding: 4px 0;
}
.nav a:hover { color: var(--white); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--grad-accent);
  transition: width 0.3s var(--ease);
}
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  margin-inline: auto;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background: var(--grad-hero-bg);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.glow-1 {
  width: 620px; height: 620px;
  top: -200px; right: -140px;
  background: radial-gradient(circle, var(--blue), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.glow-2 {
  width: 520px; height: 520px;
  bottom: -180px; left: -120px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  opacity: 0.4;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
.glow-3 {
  width: 460px; height: 460px;
  top: 30%; left: 38%;
  background: radial-gradient(circle, var(--cyan), transparent 72%);
  opacity: 0.28;
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.08); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

.hero-copy { max-width: 680px; }

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.14;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-300);
  max-width: 54ch;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-300);
  font-weight: 500;
}
.trust-strip svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; }

/* ---- Hero stack scene (floating glass cards) ---- */

.hero-visual { position: relative; }

.stack-scene {
  position: relative;
  height: 560px;
  perspective: 1400px;
  perspective-origin: 50% 40%;
}

.stack-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse 60% 55% at 55% 45%, rgba(59,130,246,0.28), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.stack-card {
  position: absolute;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(4, 6, 16, 0.45);
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.stack-card--back {
  width: 340px; height: 250px;
  top: 6%; left: 2%;
  opacity: 0.72;
  --rotate: -6deg;
  transform: rotate(var(--rotate)) translate(var(--px, 0px), var(--py, 0px));
}
.stack-card--mid {
  width: 380px; height: 300px;
  top: 22%; left: 22%;
  z-index: 2;
  --rotate: 3deg;
  transform: rotate(var(--rotate)) translate(var(--px, 0px), var(--py, 0px));
}
.stack-card--front {
  width: 250px; height: 210px;
  bottom: 6%; right: 0%;
  z-index: 3;
  --rotate: -4deg;
  transform: rotate(var(--rotate)) translate(var(--px, 0px), var(--py, 0px));
  background: linear-gradient(160deg, rgba(18,24,52,0.92), rgba(10,13,28,0.92));
  border: 1px solid rgba(255,255,255,0.16);
}

.stack-card-inner { padding: 20px; height: 100%; }

/* back card: content skeleton */
.stack-card--back .stack-card-inner { padding: 22px; }
.sc-row { display: flex; gap: 6px; margin-bottom: 16px; }
.sc-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.sc-block { border-radius: 4px; background: rgba(255,255,255,0.14); }
.sc-block--wide { height: 12px; width: 85%; margin-bottom: 12px; }
.sc-block--med { height: 9px; width: 65%; margin-bottom: 9px; }
.sc-block--short { height: 9px; width: 40%; }

/* mid card: nav + hero preview */
.sc-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.sc-logo { width: 18px; height: 18px; border-radius: 5px; background: var(--grad-accent); }
.sc-navlinks { display: flex; gap: 8px; }
.sc-navlinks i { display: block; width: 18px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.16); font-style: normal; }
.sc-hero-eyebrow { height: 6px; width: 35%; border-radius: 3px; background: var(--cyan); opacity: 0.55; margin-bottom: 12px; }
.sc-hero-title { height: 13px; width: 90%; border-radius: 3px; background: rgba(255,255,255,0.85); margin-bottom: 8px; }
.sc-hero-title.short { width: 55%; margin-bottom: 16px; }
.sc-hero-cta { height: 20px; width: 84px; border-radius: 999px; background: var(--grad-accent); margin-bottom: 20px; }
.sc-grid { display: flex; gap: 8px; }
.sc-grid span { flex: 1; height: 30px; border-radius: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); }

/* front card: metric card */
.stack-card--front .stack-card-inner { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; }
.sc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 600;
  color: var(--cyan);
  background: rgba(34,211,238,0.12);
  border: 1px solid rgba(34,211,238,0.25);
  padding: 4px 10px;
  border-radius: 999px;
}
.sc-badge svg { flex-shrink: 0; }

.sc-score { display: flex; align-items: center; gap: 14px; }
.sc-score-ring { position: relative; width: 64px; height: 64px; flex-shrink: 0; }
.sc-score-ring > svg:first-child { width: 100%; height: 100%; transform: rotate(-90deg); }
.sc-score-track { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 5; }
.sc-score-fill {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 169.6;
  stroke-dashoffset: 3.4;
}
.sc-score-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.sc-score-body { display: flex; flex-direction: column; gap: 2px; }
.sc-score-title { font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; color: var(--white); }
.sc-score-sub { font-size: 0.78rem; color: var(--ink-300); }

/* floating chips */
.stack-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display);
  font-size: 0.76rem; font-weight: 600;
  color: var(--white);
  background: rgba(18, 24, 52, 0.85);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 9px 14px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(4, 6, 16, 0.4);
  animation: chipFloat 5s ease-in-out infinite;
  margin-left: var(--px, 0px);
  margin-top: var(--py, 0px);
  transition: margin 0.15s linear;
}
.stack-chip svg { flex-shrink: 0; }
.stack-chip--cyan { top: 10%; right: 6%; color: var(--cyan); animation-delay: 0s; }
.stack-chip--blue { bottom: 16%; left: 0%; color: var(--blue); animation-delay: 1.4s; }

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .stack-chip { animation: none; }
}

/* ==========================================================================
   Problem section
   ========================================================================== */

.problem { background: var(--off-white); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.problem-card {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.25);
}
.problem-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
  color: var(--blue);
  margin-bottom: 18px;
}
.problem-icon svg { width: 22px; height: 22px; }
.problem-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.problem-card p { color: var(--ink-500); font-size: 0.92rem; }

/* ==========================================================================
   Solution section
   ========================================================================== */

.solution { background: var(--white); }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.7), rgba(255,255,255,0.35));
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
}

.solution-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.solution-number {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.06);
}
.solution-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-accent);
  color: var(--navy-950);
  margin-bottom: 22px;
}
.solution-icon svg { width: 24px; height: 24px; }
.solution-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.solution-card p { color: var(--ink-500); font-size: 0.95rem; }

/* ==========================================================================
   Process ("Kako deluje")
   ========================================================================== */

.process { position: relative; }
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(59,130,246,0.14), transparent 60%),
    radial-gradient(600px 300px at 85% 100%, rgba(139,92,246,0.12), transparent 60%);
  pointer-events: none;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(255,255,255,0.05);
}
.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.process-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.05em;
}
.process-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  color: var(--cyan);
}
.process-icon svg { width: 19px; height: 19px; }
.process-step h3 { color: var(--white); font-size: 1.08rem; margin-bottom: 8px; }
.process-step p { color: var(--ink-300); font-size: 0.9rem; }

/* ==========================================================================
   Services
   ========================================================================== */

.services { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(34, 211, 238, 0.3);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900);
  color: var(--cyan);
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); }
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-500); font-size: 0.92rem; }

/* ==========================================================================
   Why us
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.why-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,0.3); }
.why-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 16px;
}
.why-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; line-height: 1.35; }
.why-card p { color: var(--ink-300); font-size: 0.9rem; }

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing { background: var(--off-white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--white);
  border: 2px solid rgba(15,23,42,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(59,130,246,0.35); }

.price-card--featured {
  background: var(--navy-900);
  border-color: var(--navy-900);
  box-shadow: var(--shadow-glow);
}
.price-card--featured:hover { border-color: var(--cyan); }
.price-card--featured .price-card-head h3,
.price-card--featured .price-amount,
.price-card--featured .price-features li { color: var(--white); }
.price-card--featured .price-card-head p { color: var(--ink-300); }
.price-card--featured .pf-check { background: rgba(34,211,238,0.16); color: var(--cyan); }
.price-card--featured .price-from,
.price-card--featured .price-period { color: var(--ink-300); }

.price-card--selected {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34,211,238,0.14), var(--shadow-lg);
  transform: translateY(-8px);
}
.price-card--featured.price-card--selected {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34,211,238,0.22), var(--shadow-glow);
}

.price-featured-tag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-accent);
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card-head h3 { font-size: 1.25rem; margin-bottom: 10px; }
.price-card-head p { color: var(--ink-500); font-size: 0.9rem; margin-bottom: 26px; min-height: 42px; }

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 26px;
  transition: transform 0.3s var(--ease);
}
.price-card:hover .price-amount { transform: scale(1.04); transform-origin: left; }
.price-from { font-size: 1rem; font-weight: 500; color: var(--ink-500); margin-right: 4px; }
.price-period { font-size: 1rem; font-weight: 500; color: var(--ink-500); }

.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; flex-grow: 1; }
.price-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: var(--ink-700);
}
.pf-check {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(59,130,246,0.1);
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.pf-check svg { width: 11px; height: 11px; }
.price-card:hover .pf-check { background: var(--grad-accent); color: var(--navy-950); }
.price-features li:nth-child(1) .pf-check { transition-delay: 0.02s; }
.price-features li:nth-child(2) .pf-check { transition-delay: 0.06s; }
.price-features li:nth-child(3) .pf-check { transition-delay: 0.1s; }
.price-features li:nth-child(4) .pf-check { transition-delay: 0.14s; }
.price-features li:nth-child(5) .pf-check { transition-delay: 0.18s; }
.price-features li:nth-child(6) .pf-check { transition-delay: 0.22s; }

.price-select { position: relative; overflow: hidden; }
.price-select-label { display: inline-flex; align-items: center; gap: 8px; }
.price-select-label::after {
  content: '';
  width: 0; height: 0;
  opacity: 0;
}
.price-card--selected .price-select-label::before {
  content: '';
  display: inline-block;
  width: 16px; height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pricing-note {
  text-align: center;
  color: var(--ink-500);
  font-size: 0.88rem;
  margin-top: 40px;
}

/* ==========================================================================
   Social proof
   ========================================================================== */

.proof { background: var(--white); }
.proof-content { max-width: 720px; margin-bottom: 56px; }
.proof-content .section-title { max-width: 22ch; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.proof-item { padding-top: 4px; }
.proof-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(34,211,238,0.12), rgba(59,130,246,0.12));
  color: var(--blue);
  margin-bottom: 16px;
}
.proof-icon svg { width: 21px; height: 21px; }
.proof-item h3 { font-size: 1rem; margin-bottom: 6px; }
.proof-item p { color: var(--ink-500); font-size: 0.88rem; }

/* ==========================================================================
   Video demo
   ========================================================================== */

.video-demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.video-demo-copy .section-lead { margin-bottom: 32px; }

.laptop-mock { max-width: 460px; margin-inline: auto; }
.laptop-screen {
  position: relative;
  background: #10182b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px 14px 4px 4px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.laptop-bar { display: flex; gap: 5px; padding: 10px 12px; background: rgba(255,255,255,0.03); }
.laptop-bar span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.laptop-body { padding: 20px; }
.laptop-hero {
  height: 110px;
  border-radius: 10px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(34,211,238,0.28), rgba(139,92,246,0.28));
}
.laptop-lines { display: flex; flex-direction: column; gap: 8px; }
.laptop-lines span { height: 8px; border-radius: 3px; background: rgba(255,255,255,0.08); }
.laptop-lines span:nth-child(1) { width: 90%; }
.laptop-lines span:nth-child(2) { width: 75%; }
.laptop-lines span:nth-child(3) { width: 55%; }

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
  animation: playPulse 2.4s ease-out infinite;
  transition: transform 0.3s var(--ease);
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }
.play-btn svg { margin-left: 3px; }
@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.45); }
  70% { box-shadow: 0 0 0 20px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.video-badge {
  position: absolute;
  bottom: 14px; right: 14px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(6, 8, 15, 0.75);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}

.laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #1a2338, #0e1422);
  border-radius: 0 0 10px 10px;
  margin-inline: 16px;
  position: relative;
}
.laptop-base::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 5px;
  background: #222c45;
  border-radius: 0 0 6px 6px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { background: var(--off-white); }
.faq-list { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item.is-open { border-color: rgba(34,211,238,0.35); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-900);
}
.faq-chevron { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; transition: transform 0.35s var(--ease); }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-answer > p {
  overflow: hidden;
  padding: 0 24px;
  color: var(--ink-500);
  font-size: 0.92rem;
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer > p { padding: 0 24px 22px; }
.faq-answer { overflow: hidden; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { position: relative; overflow: hidden; }
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 90% 10%, rgba(59,130,246,0.14), transparent 60%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-copy .section-lead { margin-bottom: 40px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-details li { display: flex; align-items: center; gap: 14px; }
.contact-detail-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.18);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-detail-icon svg { width: 19px; height: 19px; display: block; }
.contact-details li:hover .contact-detail-icon {
  background: var(--grad-accent);
  border-color: transparent;
  color: var(--navy-950);
}
.contact-details li > div { display: flex; flex-direction: column; }
.contact-details li > div > span:first-child { font-size: 0.78rem; color: var(--ink-500); margin-bottom: 2px; }
.contact-details a, .contact-details .static { color: var(--white); font-weight: 500; font-size: 0.98rem; }
.contact-details a:hover { color: var(--cyan); }

.contact-form-wrap {
  border-radius: var(--radius-xl);
  padding: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-300);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.32); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
  background: rgba(255,255,255,0.07);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-honey { position: absolute; left: -9999px; opacity: 0; }

.package-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.3);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--white);
  animation: indicatorIn 0.35s var(--ease);
}
.package-indicator-icon {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--navy-950);
  flex-shrink: 0;
}
.package-indicator strong { color: var(--cyan); font-weight: 600; }
.package-indicator-clear {
  margin-left: auto;
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  color: var(--ink-300);
  flex-shrink: 0;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.package-indicator-clear:hover { background: rgba(255,255,255,0.1); color: var(--white); }

@keyframes indicatorIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-note { text-align: center; color: var(--ink-500); font-size: 0.82rem; margin-top: 16px; }

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  background: var(--navy-950);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 700px; height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(59,130,246,0.22), transparent 70%);
  filter: blur(40px);
}
.final-cta-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.final-cta-inner h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  color: var(--white);
  line-height: 1.25;
  max-width: 20ch;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,0.06); padding: 64px 0 28px; }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p { color: var(--ink-500); font-size: 0.9rem; margin-top: 14px; max-width: 32ch; }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--ink-300); font-size: 0.92rem; transition: color 0.25s var(--ease); }
.footer-links a:hover { color: var(--cyan); }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact a, .footer-contact span { color: var(--ink-300); font-size: 0.92rem; }
.footer-contact a:hover { color: var(--cyan); }

.footer-bottom { padding-top: 24px; text-align: center; }
.footer-bottom p { color: var(--ink-500); font-size: 0.82rem; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
}

@media (max-width: 1080px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { max-width: 560px; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }

  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0; right: 0; bottom: 0;
    height: 100vh;
    background: rgba(8, 11, 20, 0.99);
    backdrop-filter: blur(18px);
    padding: 110px 32px 40px;
    gap: 8px;
    overflow-y: auto;
  }

  .site-header.nav-open .nav a {
    font-size: 1.25rem;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .video-demo-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .video-demo-copy .hero-actions,
  .video-demo-copy { display: flex; flex-direction: column; align-items: center; }
  .video-demo-copy .section-lead { margin-inline: auto; }

  .showcase-item, .showcase-item.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .showcase-item.reverse .showcase-visual { order: 1; }
  .showcase-item.reverse .showcase-info { order: 2; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .hero { padding: 130px 0 70px; }

  .header-cta { display: none; }

  .stack-scene { height: 400px; }
  .stack-card--back { width: 240px; height: 190px; }
  .stack-card--mid { width: 270px; height: 220px; left: 14%; }
  .stack-card--front { width: 190px; height: 170px; }
  .stack-chip { font-size: 0.68rem; padding: 7px 12px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }

  .price-card--featured { order: -1; }
}

@media (max-width: 520px) {
  .container { padding-inline: 18px; }
  .trust-strip { gap: 10px 16px; }
  .btn-lg { padding: 15px 24px; font-size: 0.92rem; }

  .stack-scene { height: 340px; }
  .stack-card--back { width: 190px; height: 160px; left: -2%; }
  .stack-card--mid { width: 220px; height: 190px; left: 16%; }
  .stack-card--front { width: 160px; height: 150px; }
  .stack-chip--blue { left: -4%; }
  .stack-chip--cyan { right: -2%; }
}
