/* ═══════════════════════════════════════════════════════════════════
   LIMIX — Design System v3 (Neo Blue Futuristic)
   Background: #0A0F1E  Surface: #0F1629  Deep: #060B18
   Neo Blue: #00D9FF  Deep Blue: #0088FF  Success: #10B981  Danger: #EF4444
   Fonts: Space Grotesk (headings) · Inter (body)
═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --bg:      #0A0F1E;
  --bg2:     #0F1629;
  --bg3:     #060B18;
  --card:    rgba(255,255,255,0.03);
  --border:  rgba(255,255,255,0.08);
  --text:    #F1F5F9;
  --muted:   #94A3B8;
  --dim:     #64748B;
  --amber:   #00D9FF;
  --amber2:  #00F0FF;
  --blue:    #0088FF;
  --blue2:   #00D9FF;
  --cyan:    #00D9FF;
  --success: #10B981;
  --danger:  #EF4444;
  --grad:    linear-gradient(135deg, #00D9FF 0%, #0088FF 100%);
  --shadow:  0 20px 60px rgba(0,0,0,0.4);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { cursor: none; }
body.loader-done .hero-title .line { animation-play-state: running; }
@media (max-width: 768px) { body { cursor: auto; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: none; }
@media (max-width: 768px) { a { cursor: pointer; } }
button { font-family: inherit; border: none; background: none; color: inherit; }
::selection { background: var(--blue); color: #fff; }
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ── Typography utilities ── */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.font-mono { font-family: 'Space Grotesk', sans-serif; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* ── Skip link ── */
.skip-link { position: fixed; top: 16px; left: 16px; padding: 10px 14px; background: rgba(10,15,30,.97); color: #fff; border: 1px solid rgba(255,255,255,.12); z-index: 10001; transform: translateY(-120%); transition: transform .25s; text-decoration: none; font-size: 12px; border-radius: 6px; }
.skip-link:focus-visible { transform: translateY(0); outline: none; }

/* ── Scroll progress bar ── */
.scroll-progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 10000; transition: width .12s ease; pointer-events: none; }

/* ── Grid background ── */
.grid-bg { background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; position: absolute; inset: 0; pointer-events: none; }

/* ═══════════════════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════════════════ */
#cursor-dot,
.custom-cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, background .3s, opacity .3s;
}
#cursor-ring,
.custom-cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(0,217,255,0.5);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, border-color .3s, background .3s;
}
#cursor-dot.hover, .custom-cursor-dot.hover { width: 0; height: 0; opacity: 0; }
#cursor-ring.hover, .custom-cursor-ring.hover { width: 60px; height: 60px; background: rgba(0,217,255,0.1); border-color: var(--amber); }
#cursor-dot.click, .custom-cursor-dot.click { transform: translate(-50%,-50%) scale(2); }
#cursor-ring.click, .custom-cursor-ring.click { transform: translate(-50%,-50%) scale(0.8); }
@media (max-width: 768px) { #cursor-dot, #cursor-ring, .custom-cursor-dot, .custom-cursor-ring { display: none; } }

/* ═══════════════════════════════════════════════════════
   PAGE LOADER — Letter-by-letter animation
═══════════════════════════════════════════════════════ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 32px;
}
.preloader.hide { opacity: 0; pointer-events: none; transition: opacity .5s ease; }

.preloader-letters {
  display: flex; gap: 2px; align-items: center;
}
.preloader-letters span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 8vw, 72px);
  color: var(--amber);
  opacity: 0;
  transform: translateY(40px);
  animation: letterIn 0.4s cubic-bezier(.22,1,.36,1) forwards;
  animation-play-state: running;
}
.preloader-letters span:nth-child(1) { animation-delay: 0s; }
.preloader-letters span:nth-child(2) { animation-delay: .12s; }
.preloader-letters span:nth-child(3) { animation-delay: .24s; }
.preloader-letters span:nth-child(4) { animation-delay: .36s; }
.preloader-letters span:nth-child(5) { animation-delay: .48s; }
@keyframes letterIn { to { opacity: 1; transform: translateY(0); } }

.preloader-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .3em;
  opacity: 0; animation: letterIn .4s ease .88s forwards;
}
/* Legacy progress bar (hidden, kept for back-compat) */
.preloader-progress, .preloader-logo { display: none; }

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn-gradient {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber);
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: none;
  transition: filter .2s, box-shadow .2s, transform .2s;
  text-decoration: none;
}
.btn-gradient:hover { filter: brightness(1.15); box-shadow: 0 0 24px rgba(0,217,255,.4); transform: translateY(-2px); }
@media (max-width: 768px) { .btn-gradient { cursor: pointer; } }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: none;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); background: rgba(0,217,255,.06); transform: translateY(-2px); }
@media (max-width: 768px) { .btn-ghost { cursor: pointer; } }

/* ═══════════════════════════════════════════════════════
   HEADER — Glassmorphism sticky
═══════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 24px 0;
  transition: all .35s ease;
}
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(10,15,30,.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo {
  display: flex; align-items: center; gap: 1px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 22px;
  letter-spacing: -.02em; color: var(--text);
  text-transform: uppercase; cursor: none;
}
.logo .dot { color: var(--amber); }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 22px; color: var(--text); text-transform: uppercase; }
.logo-text .dot { color: var(--amber); }

/* Desktop nav */
.nav-desktop, .main-nav { display: none; gap: 36px; align-items: center; }
@media (min-width: 768px) { .nav-desktop, .main-nav { display: flex; } }
.nav-desktop a, .main-nav a {
  font-size: 13px; color: var(--muted); font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  transition: color .2s;
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; cursor: none;
}
.nav-desktop a::after, .main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 2px; background: var(--amber);
  transition: width .25s ease;
}
.nav-desktop a:hover, .main-nav a:hover { color: var(--text); }
.nav-desktop a:hover::after, .main-nav a:hover::after { width: 100%; }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; color: var(--blue2); font-size: 12px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { display: none; font-size: 12px; padding: 10px 20px; border-radius: 8px; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* Hamburger */
.mobile-toggle, .hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; padding: 8px; cursor: pointer; border-radius: 8px;
  transition: background .2s;
}
@media (min-width: 768px) { .mobile-toggle, .hamburger { display: none; } }
.mobile-toggle:hover, .hamburger:hover { background: rgba(255,255,255,.06); }
.mobile-toggle span, .hamburger span {
  width: 22px; height: 2px; background: #fff; display: block;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
.mobile-toggle.open span:nth-child(1), .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2), .hamburger.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3), .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  background: rgba(6,11,24,.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu a:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  padding: 120px 0 96px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg {
  position: absolute; inset: 0;
  background: var(--bg);
  background-size: cover; background-position: center;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 18%, rgba(0,217,255,.12) 0, transparent 22%),
    radial-gradient(circle at 78% 12%, rgba(0,136,255,.10) 0, transparent 24%),
    radial-gradient(circle at 45% 80%, rgba(0,217,255,.07) 0, transparent 20%);
  animation: heroGlow 28s linear infinite; pointer-events: none;
}
@keyframes heroGlow {
  0%, 100% { background-position: 0 0, 0 0, 0 0; }
  50% { background-position: 40px 40px, -28px 20px, 20px -32px; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,15,30,.2) 0%, rgba(10,15,30,.7) 65%, var(--bg) 100%);
  pointer-events: none;
}
/* Glowing orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); pointer-events: none;
}
.hero-orb-amber {
  width: 500px; height: 500px;
  bottom: -100px; left: -80px;
  background: radial-gradient(circle, rgba(0,217,255,.12) 0%, transparent 70%);
}
.hero-orb-blue {
  width: 400px; height: 400px;
  top: -60px; right: -60px;
  background: radial-gradient(circle, rgba(0,136,255,.10) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }

/* Hero overline */
.overline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .3em; color: var(--blue2);
  margin: 0 0 24px;
}

/* Hero headline */
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: clamp(40px, 6vw, 100px);
  line-height: 1.02; letter-spacing: -.03em;
  margin: 0; text-transform: none;
}
.hero-title .line {
  display: block;
  opacity: 0; transform: translateY(50px);
  animation: lineIn .75s cubic-bezier(.22,1,.36,1) forwards;
  animation-play-state: paused; /* started by loader-done class */
}
.hero-title .line.last {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
@keyframes lineIn { to { opacity: 1; transform: translateY(0); } }

.hero-sub {
  margin: 32px 0 0; max-width: 640px;
  color: var(--muted); font-size: clamp(16px, 2vw, 18px);
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.hero-ctas .btn-gradient { animation: pulseGlow 3s ease-in-out infinite alternate; }
@keyframes pulseGlow {
  from { box-shadow: 0 0 20px rgba(0,217,255,.2); }
  to   { box-shadow: 0 0 36px rgba(0,217,255,.35); transform: translateY(-2px); }
}

.hero-social-proof {
  display: flex; align-items: center; gap: 8px;
  margin: 20px 0 0; color: var(--muted);
  font-size: 13px; letter-spacing: .06em;
  font-family: 'Space Grotesk', sans-serif;
}
.hero-social-proof i { color: var(--success); font-size: 14px; }
.hero-social-proof .fa-check { color: var(--success); }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; color: var(--muted);
  letter-spacing: .3em; text-transform: uppercase;
  animation: fadeIn 1s ease 1.8s forwards; opacity: 0;
}
@keyframes fadeIn { to { opacity: 1; } }

/* ═══════════════════════════════════════════════════════
   MARQUEE TICKER
═══════════════════════════════════════════════════════ */
.marquee {
  background: var(--bg3);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 16px 0; overflow: hidden; position: relative;
}
.marquee-track {
  display: flex; width: max-content;
  align-items: center; gap: 0;
  animation: marqueeScroll 40s linear infinite;
  padding-left: 32px;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: .12em; color: var(--muted);
  text-transform: uppercase; white-space: nowrap;
  padding: 0 4px;
  transition: color .3s;
}
.marquee-item:hover { color: var(--amber); }
.marquee-sep { color: var(--amber); margin: 0 24px; font-size: 14px; }

/* ═══════════════════════════════════════════════════════
   SECTIONS (shared)
═══════════════════════════════════════════════════════ */
.section { padding: 120px 0; position: relative; }
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -.03em;
  margin: 0 0 56px; max-width: 820px; line-height: 1.05;
}
.section-sub {
  color: var(--muted); font-size: 16px; line-height: 1.75;
  margin: -32px 0 48px; max-width: 700px;
}
@media (min-width: 640px) { .section-sub { font-size: 18px; } }

/* ═══════════════════════════════════════════════════════
   SOLUTIONS / SERVICES GRID
═══════════════════════════════════════════════════════ */
.solutions-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }

.category-group {
  padding: 32px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}
.category-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 20px;
  margin: 0 0 24px; color: var(--text);
}
.category-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }

.solution-card {
  position: relative;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 36px 28px 28px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .35s;
  cursor: none;
}
/* Faded large number */
.solution-card-num {
  position: absolute; top: 16px; right: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 80px; line-height: 1;
  color: rgba(0,217,255,.06);
  pointer-events: none; user-select: none;
}
/* Gradient border on hover */
.solution-card::before {
  content: ''; position: absolute; inset: 0;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; pointer-events: none;
  border-radius: 20px;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: 0 0 40px rgba(0,217,255,.08), 0 20px 40px rgba(0,0,0,.3); border-color: rgba(0,217,255,.25); }
.solution-card:hover::before { opacity: 1; }

.solution-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.solution-icon-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0,217,255,.1);
  display: flex; align-items: center; justify-content: center;
}
.solution-icon-wrap i, .solution-icon { font-size: 20px; color: var(--amber); }
.solution-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--amber);
  letter-spacing: .3em; text-transform: uppercase;
  background: rgba(0,217,255,.08); padding: 6px 12px; border-radius: 999px;
}
.solution-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 20px; color: var(--text);
  margin: 22px 0 12px; line-height: 1.3;
}
.solution-desc { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; }
.solution-arrow {
  display: inline-flex; align-items: center;
  color: var(--dim); transition: color .3s; margin-top: 18px;
}
.solution-card:hover .solution-arrow { color: var(--amber); }

/* ═══════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════ */
.about-section {
  background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.about-grid { display: grid; grid-template-columns: 1fr; gap: 64px; margin-top: 16px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr .8fr; align-items: center; } }
.about-text .section-title { margin-bottom: 24px; }
.about-p { color: var(--muted); font-size: 16px; line-height: 1.85; margin: 0 0 20px; }
@media (min-width: 640px) { .about-p { font-size: 17px; } }

/* Key benefits list */
.about-why { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.about-why li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--text); line-height: 1.7;
}
.about-why li i { color: var(--amber); margin-top: 3px; flex-shrink: 0; }
/* Legacy ::before support */
.about-why li::before { display: none; }

/* Stats grid */
.about-stats { display: grid; grid-template-columns: 1fr; gap: 2px; }
@media (min-width: 640px) { .about-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .about-stats { grid-template-columns: 1fr; } }
.about-stat {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: 16px;
  margin-bottom: 8px;
}
.about-stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: clamp(32px, 4vw, 44px);
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  letter-spacing: -.02em;
  border-bottom: 2px solid rgba(0,217,255,.25);
  padding-bottom: 12px; margin-bottom: 8px;
  display: inline-block;
}
.about-stat-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-top: 6px; }

/* ═══════════════════════════════════════════════════════
   CASE STUDIES
═══════════════════════════════════════════════════════ */
.case-list { margin-top: 48px; display: grid; gap: 16px; }
.case-row {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px; position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px; color: var(--muted);
  transition: transform .3s, background .3s, box-shadow .3s, border-color .3s;
  cursor: none; text-decoration: none;
}
.case-row:hover { transform: translateY(-4px); background: rgba(255,255,255,.05); box-shadow: 0 24px 60px rgba(0,217,255,.1); border-color: rgba(0,217,255,.18); color: var(--text); }
.case-card { display: flex; flex-direction: column; gap: 10px; }
.case-badge {
  align-self: flex-start; padding: 6px 14px;
  border-radius: 999px; background: rgba(0,217,255,.1);
  color: var(--amber); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.case-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -.02em; margin: 0; color: var(--text);
}
.case-meta {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted);
  margin: 0;
}
.case-meta i { color: var(--amber); }
.case-body { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 6px 0 0; display: none; max-width: 640px; }
.case-row:hover .case-body { display: block; }
@media (max-width: 768px) { .case-body { display: block; } }
.case-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-size: 13px;
  text-transform: uppercase; letter-spacing: .18em; color: var(--dim);
  transition: color .2s; margin-top: 4px;
}
.case-row:hover .case-link { color: var(--amber); }
.case-preview {
  position: fixed; width: 360px; height: 220px;
  pointer-events: none; z-index: 30;
  opacity: 0; transform: scale(.94);
  transition: opacity .25s, transform .25s;
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 20px 60px rgba(0,217,255,.15);
  background-size: cover; background-position: center;
  display: none; border-radius: 16px; overflow: hidden;
}
@media (min-width: 768px) { .case-preview.show { opacity: 1; transform: scale(1); display: block; } }

/* ═══════════════════════════════════════════════════════
   AUTOMATION TOOLS SECTION
═══════════════════════════════════════════════════════ */
.automation-tools-section {
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (min-width: 768px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tools-grid { grid-template-columns: repeat(3, 1fr); } }

.tool-card {
  position: relative;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(0,217,255,.15);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all .35s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
  cursor: none;
}
.tool-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,217,255,.35);
  box-shadow: 0 20px 60px rgba(0,217,255,.12), 0 0 40px rgba(0,217,255,.08);
  background: rgba(0,217,255,.02);
}
@media (max-width: 768px) { .tool-card { cursor: pointer; } }

.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,217,255,.3) 0%, rgba(0,136,255,.1) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  border-radius: 16px;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.tool-card:hover::before { opacity: 1; }

.tool-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0,217,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--amber);
  margin-bottom: 20px;
  transition: all .35s;
}
.tool-card:hover .tool-icon {
  background: rgba(0,217,255,.15);
  box-shadow: 0 0 24px rgba(0,217,255,.2);
  transform: scale(1.05);
}

.tool-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.3;
}

.tool-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
}

.tool-tag {
  display: inline-block;
  background: rgba(0,217,255,.08);
  border: 1px solid rgba(0,217,255,.2);
  color: var(--amber);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 6px 12px;
  border-radius: 999px;
  margin-right: 8px;
  margin-top: 8px;
  display: inline-block;
}

/* ═══════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════ */
.pricing-section {
  background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 16px; }
@media (min-width: 768px)  { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.pricing-card {
  position: relative;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px; padding: 40px 32px 32px;
  display: flex; flex-direction: column;
  transition: transform .4s, border-color .4s;
}
.pricing-card:hover { transform: translateY(-6px); border-color: rgba(0,217,255,.25); }
.pricing-card.highlighted {
  border: 1.5px solid var(--amber);
  box-shadow: 0 0 60px rgba(0,217,255,.12);
  transform: scale(1.04);
}
.pricing-card.highlighted:hover { transform: scale(1.04) translateY(-4px); }
/* Gradient border for highlighted */
.pricing-card.highlighted::before {
  content: ''; position: absolute; inset: 0; padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  border-radius: 20px; pointer-events: none;
}
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}
.pricing-name { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--blue2); margin: 0 0 20px; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin: 0 0 8px; }
.pricing-currency { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: var(--text); align-self: flex-start; margin-top: 6px; }
.pricing-amount { font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 52px; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; line-height: 1; }
.pricing-amount.custom { font-size: 38px; -webkit-text-fill-color: #fff; background: none; color: #fff; }
.pricing-period { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.pricing-desc { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0 0 28px; }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 24px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.pricing-features li {
  font-size: 14px; color: #d4d4d8; padding: 8px 0;
  border-bottom: 1px solid rgba(39,39,42,.5);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.pricing-features li::before { content: '✓'; color: var(--amber); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-cta { width: 100%; text-align: center; padding: 14px 24px; font-size: 13px; border-radius: 8px; }
.pricing-note { margin-top: 24px; color: var(--dim); font-size: 13px; text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════════════ */
.faq-section { background: var(--bg); }
.faq-search { max-width: 540px; margin: 0 auto 0; }
.faq-search input {
  width: 100%; padding: 16px 20px;
  border: 1px solid var(--border);
  background: var(--bg2); color: var(--text); outline: none;
  border-radius: 12px; font-size: 15px;
  transition: border-color .2s;
}
.faq-search input:focus { border-color: var(--amber); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 48px; max-width: 780px; margin-left: auto; margin-right: auto; }
.faq-item {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; overflow: hidden;
  transition: border-color .3s;
}
.faq-item:hover { border-color: rgba(59,130,246,.25); }
.faq-item.open { border-left: 3px solid var(--amber); }
.faq-q {
  width: 100%; text-align: left; padding: 20px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 15px; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; line-height: 1.4;
  background: none; border: none;
}
.faq-q::after {
  content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  font-size: 14px; color: var(--amber); flex-shrink: 0;
  transition: transform .3s; display: inline-block;
}
.faq-item.open .faq-q::after { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  font-size: 15px; color: var(--muted); line-height: 1.75;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 24px 20px; }
.faq-bottom-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14px; }
.faq-bottom-note a { color: var(--blue2); }

/* ═══════════════════════════════════════════════════════
   IMPACT STATS COUNTER SECTION
═══════════════════════════════════════════════════════ */
.impact {
  background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 80px 0;
}
.impact-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 40px;
}
@media (min-width: 768px) { .impact-grid { grid-template-columns: repeat(4, 1fr); } }
.impact-cell {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; padding: 32px 16px; text-align: center;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  transition: border-color .3s, box-shadow .3s;
}
.impact-cell:hover { border-color: rgba(59,130,246,.2); box-shadow: 0 0 32px rgba(59,130,246,.06); }
.impact-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(59,130,246,.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--blue2); font-size: 18px;
}
.impact-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900; font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin: 0; line-height: 1;
}
.impact-label {
  margin: 0; font-size: 12px;
  text-transform: uppercase; letter-spacing: .18em; color: var(--muted);
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS SLIDER
═══════════════════════════════════════════════════════ */
.testimonials { position: relative; overflow: hidden; }
.testimonial-stage {
  position: relative; text-align: center;
  min-height: 280px; max-width: 880px; margin: 0 auto;
}
.testimonial {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s, transform .5s;
  pointer-events: none;
}
.testimonial.active { opacity: 1; transform: translateY(0); position: relative; pointer-events: auto; }
/* Large opening quote decorative */
.testimonial::before {
  content: '"';
  position: absolute; top: -60px; left: -20px;
  font-size: 400px; line-height: 1;
  color: rgba(0,217,255,.04);
  font-family: 'Space Grotesk', sans-serif;
  pointer-events: none;
}
.testimonial-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: clamp(18px, 2.5vw, 28px);
  color: var(--text); line-height: 1.5; margin: 0; font-style: italic;
  max-width: 860px;
}
.testimonial-meta { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.testimonial-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.1); }
.testimonial-name { font-weight: 700; color: var(--amber); text-align: left; }
.testimonial-title { font-family: 'Space Grotesk', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); text-align: left; margin-top: 2px; }
.testimonial-controls { margin-top: 56px; display: flex; align-items: center; justify-content: center; gap: 24px; }
.t-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: 50%;
  font-size: 20px; color: var(--text);
  cursor: none; transition: all .2s;
}
.t-btn:hover { border-color: var(--amber); color: var(--amber); }
@media (max-width: 768px) { .t-btn { cursor: pointer; } }
.t-dots { display: flex; gap: 8px; }
.t-dot {
  height: 3px; width: 24px; background: rgba(255,255,255,.1);
  cursor: none; transition: all .25s; border-radius: 999px;
  border: none;
}
.t-dot.active { width: 48px; background: var(--amber); }
@media (max-width: 768px) { .t-dot { cursor: pointer; } }

/* ═══════════════════════════════════════════════════════
   CTA / CONTACT SECTION
═══════════════════════════════════════════════════════ */
.cta-section {
  padding: 120px 0;
  background: var(--bg3);
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(0,217,255,.05), transparent);
}
.cta-inner { max-width: 880px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900; font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -.03em; margin: 0; color: var(--text); line-height: 1.05;
}
.cta-sub { margin: 24px 0 40px; color: var(--muted); font-size: clamp(16px, 2vw, 18px); line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.cta-btn { margin-top: 8px; }
.contact-note { max-width: 700px; margin: 0 auto 28px; color: var(--muted); line-height: 1.75; font-size: 15px; }
.form-message { max-width: 640px; margin: 0 auto 18px; font-size: 15px; line-height: 1.6; }
.form-message.success { color: #6ee7b7; }
.form-message.error   { color: #fda4af; }

/* Forms */
.limix-input {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px; width: 100%;
  border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.limix-input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(0,217,255,.1); }
.limix-textarea { min-height: 130px; resize: vertical; }
.contact-form {
  display: grid; grid-template-columns: 1fr;
  gap: 16px; margin-top: 48px; text-align: left;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) { .contact-form { grid-template-columns: 1fr 1fr; } }
.contact-form .span-2 { grid-column: 1 / -1; }
.contact-form.hidden { display: none; }
.field-error { min-height: 18px; font-size: 12px; color: #fca5a5; margin-top: -8px; }
.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }

/* Newsletter */
.newsletter {
  margin: 80px auto 0; max-width: 420px;
  display: flex; border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  transition: border-color .2s;
}
.newsletter:focus-within { border-color: var(--amber); }
.newsletter input { background: transparent; flex: 1; padding: 13px 16px; outline: none; color: var(--text); font-size: 14px; border: none; font-family: inherit; }
.newsletter input::placeholder { color: var(--dim); }
.newsletter button { padding: 0 20px; font-family: 'Space Grotesk', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .2em; cursor: none; font-weight: 700; color: var(--amber); white-space: nowrap; }
@media (max-width: 768px) { .newsletter button { cursor: pointer; } }
.newsletter-note { margin-top: 12px; text-align: center; font-family: 'Space Grotesk', sans-serif; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .2em; }

/* ═══════════════════════════════════════════════════════
   FOOTER — 5-column professional
═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg3);
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 72px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px; margin: 0 auto; padding: 0 40px 48px;
}
@media (min-width: 768px) { .footer-top { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 48px; } }

/* Footer brand column */
.footer-brand {}
.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 22px; color: var(--text);
}
.footer-logo span { color: var(--amber); }
.footer-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .2em; color: var(--dim);
  margin: 8px 0;
}
.footer-mission { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 12px 0 20px; max-width: 240px; }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; color: var(--muted);
  font-size: 28px;
  transition: border-color .2s, color .2s;
  cursor: none;
}
.footer-socials a:hover { border-color: var(--amber); color: var(--amber); }
@media (max-width: 768px) { .footer-socials a { cursor: pointer; } }

/* Footer navigation columns */
.footer-col {}
.footer-col .footer-heading,
.footer-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); margin: 0 0 16px;
}
.footer-col a,
.footer-list a {
  display: block; font-size: 14px; color: var(--dim);
  margin-bottom: 10px; text-decoration: none;
  transition: color .2s; cursor: none;
}
.footer-col a:hover, .footer-list a:hover { color: var(--text); }
@media (max-width: 768px) { .footer-col a, .footer-list a { cursor: pointer; } }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0; }

/* Footer contact */
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-contact a, .footer-contact div {
  display: flex; align-items: center; gap: 10px;
  color: var(--dim); text-decoration: none;
  transition: color .2s; cursor: none;
}
.footer-contact a:hover { color: var(--text); }
.footer-contact i { color: var(--blue2); min-width: 16px; text-align: center; }
/* Legacy footer-social (app.js injects this in old footer) */
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 72px; height: 72px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--muted); border-radius: 8px; transition: all .2s; cursor: none; }
.footer-social a:hover { border-color: var(--amber); color: var(--amber); }

.footer-divider { height: 1px; background: rgba(255,255,255,.05); max-width: 1200px; margin: 0 auto; }
.footer-bottom {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  max-width: 1200px; margin: 0 auto;
  padding: 20px 40px 40px;
  font-size: 12px; color: var(--dim);
  text-align: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; } }

/* Legacy footer-grid (app.js may render this on index page) */
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-bar { max-width: 1200px; margin: 48px auto 0; padding: 24px 40px 40px; border-top: 1px solid rgba(255,255,255,.05); display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--dim); }
@media (min-width: 768px) { .footer-bar { flex-direction: row; justify-content: space-between; } }

/* ═══════════════════════════════════════════════════════
   TOASTS
═══════════════════════════════════════════════════════ */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9998; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  background: var(--bg2);
  border: 1px solid var(--border); color: var(--text);
  padding: 12px 18px; font-size: 14px;
  min-width: 240px; max-width: 340px;
  border-radius: 10px;
  animation: toastIn .3s ease; pointer-events: auto;
}
.toast.success { border-color: rgba(74,222,128,.4); }
.toast.error   { border-color: rgba(248,113,113,.4); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* ═══════════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg3); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES
═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-title   { font-size: 36px; }
  .section-title { font-size: 28px; }
  .cta-headline  { font-size: 28px; }
  .footer-top   { padding: 0 20px 40px; }
  .footer-bottom { padding: 16px 20px 32px; }
  .hero-ctas    { flex-direction: column; }
  .cta-actions  { flex-direction: column; align-items: center; }
}
@media (max-width: 767px) {
  .header-cta { display: none !important; }
}
@media (max-width: 1023px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.highlighted { transform: none; }
}

/* ═══════════════════════════════════════════════════════
   UTILITY — hide/show
═══════════════════════════════════════════════════════ */
.hidden { display: none !important; }
