/* ═══════════════════════════════════════════════════════════════
   NovaReach — style.css
   Premium dark navy + electric cyan + violet theme
   Fonts: Syne (headings) · DM Sans (body)
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. CSS Custom Properties ─────────────────────────────── */
:root {
  /* Colors */
  --clr-navy: #050d1a;
  --clr-navy-2: #080f20;
  --clr-navy-3: #0d1628;
  --clr-navy-4: #111d32;
  --clr-navy-card: #0d1a2e;
  --clr-navy-border: rgba(255, 255, 255, 0.15);

  --clr-cyan: #00d4ff;
  --clr-cyan-dim: rgba(0, 212, 255, 0.15);
  --clr-cyan-glow: rgba(0, 212, 255, 0.25);

  --clr-violet: #7c3aed;
  --clr-violet-dim: rgba(124, 58, 237, 0.18);
  --clr-violet-mid: #9f6ef5;

  --clr-white: #ffffff;
  --clr-gray-1: #f1f5f9;
  --clr-gray-2: #b8c5d6;
  --clr-gray-3: #475569;

  --clr-green: #22c55e;
  --clr-orange: #f97316;
  --clr-pink: #ec4899;
  --clr-gold: #eab308;

  /* Gradient presets */
  --grad-cyan-violet: linear-gradient(
    135deg,
    var(--clr-cyan),
    var(--clr-violet-mid)
  );
  --grad-card: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );

  /* Typography */
  --ff-head: "Rajdhani", sans-serif;
  --ff-body: "Inter", sans-serif;

  /* Spacing */
  --section-py: 100px;
  --container: 1200px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 0.18s;
  --t-mid: 0.32s;

  /* Accordion animations */
  --acc-gap: 8px;
  --acc-base: clamp(52px, 5.5vw, 68px);
  --acc-speed: 0.6s;
  --acc-ease: ease-in-out;
}

/* ── 2. Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  font-size: 16px;
  height: 100%;
}

body {
  font-family: var(--ff-body);
  background: #050d1a;
  color: var(--clr-gray-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100%;
  /* Prevent any trailing space below footer */
  display: flex;
  flex-direction: column;
}

/* Rajdhani looks best with slightly wider tracking on headings */
h1,
h2,
h3,
h4,
h5,
.section-title,
.hero__headline,
.navbar__logo .logo-text,
.pricing-name,
.step-card h3,
.why-card h4,
.feature-card h4,
.service-card h4,
.template-name,
.testimonial-name,
.faq-question span {
  letter-spacing: 0.02em;
}

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

/* ── 3. Utility Classes ───────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.gradient-text {
  background: linear-gradient(135deg, #00eeff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-cyan);
  border: 1px solid var(--clr-cyan-dim);
  background: var(--clr-cyan-dim);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-gray-2);
  line-height: 1.75;
}

/* ── 4. Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.reveal--visible {
  opacity: 1;
  transform: none;
}

/* ── 5. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease);
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--grad-cyan-violet);
  color: var(--clr-white);
  border: none;
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.2);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--clr-cyan);
  border: 1.5px solid var(--clr-cyan);
}
.btn-outline:hover {
  background: var(--clr-cyan-dim);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--clr-gray-1);
  border: 1px solid var(--clr-navy-border);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--clr-white);
  border: none;
  box-shadow: 0 0 28px rgba(37, 211, 102, 0.2);
}
.btn-whatsapp:hover {
  background: #20ba5a;
  box-shadow: 0 0 40px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 0.98rem;
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── 6. Badges ────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}
.badge--glow {
  background: var(--clr-violet-dim);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: var(--clr-violet-mid);
}

/* ── 7. Page Loader ───────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--clr-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.5s var(--ease),
    visibility 0.5s;
}
#page-loader.loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  text-align: center;
}
.loader-brand {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad-cyan-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}
.loader-bar {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-fill {
  height: 100%;
  background: var(--grad-cyan-violet);
  animation: loaderAnim 0.8s var(--ease) forwards;
}
@keyframes loaderAnim {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* ── 8. Floating WhatsApp Button — bottom LEFT ───────────── */
#whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px; /* ← left side */
  z-index: 900;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all var(--t-fast) var(--ease);
}
#whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
.wa-tooltip {
  position: absolute;
  left: 62px; /* tooltip opens to the RIGHT of the button */
  right: auto;
  background: var(--clr-navy-card);
  color: var(--clr-white);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--clr-navy-border);
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--t-fast) var(--ease);
  pointer-events: none;
}
#whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ── 9. Scroll-to-Top — bottom RIGHT ─────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px; /* ← right side, no overlap */
  z-index: 900;
  width: 44px;
  height: 44px;
  background: var(--clr-navy-card);
  border: 1px solid var(--clr-navy-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gray-2);
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--t-fast) var(--ease);
}
#scroll-top.scroll-top--visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
#scroll-top:hover {
  background: var(--clr-cyan-dim);
  color: var(--clr-cyan);
  border-color: var(--clr-cyan);
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000; /* well above canvas(0), sections(1), cards(2) */
  padding: 14px 0;
  background: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 100, 255, 0.18);
  transition:
    padding var(--t-mid) var(--ease),
    background var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease);
}
.logo-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 20%;
}
.navbar--scrolled {
  background: rgba(5, 13, 26, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 180, 255, 0.28);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(0, 120, 255, 0.1);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--clr-white);
  flex-shrink: 0;
}
.logo-icon {
  font-size: 1.5rem;
  background: var(--grad-cyan-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.nav-link {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-gray-2);
  padding: 7px 12px;
  border-radius: var(--r-sm);
  transition:
    color var(--t-fast),
    background var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link--active {
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.06);
}
.nav-cta {
  margin-left: 8px;
}
.nav-menu__close-row {
  display: none;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger__bar {
  width: 24px;
  height: 2px;
  background: var(--clr-gray-1);
  border-radius: 2px;
  transition: all var(--t-fast) var(--ease);
  display: block;
}
.hamburger--open .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger--open .hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger--open .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
/* ── Site-wide fixed honeycomb canvas background ─────────── */
#honeycomb-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* ── Blur + tint overlay — sits between canvas and content ── */
#honeycomb-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(5, 13, 26, 0.207);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(3px);
}

/* Z-index hierarchy:
   0  = honeycomb canvas
   1  = page sections / main content
   2  = cards, modals within sections
   900= floating buttons (WA, scroll-top)
   9000 = navbar (always on top)
   9999 = page loader
*/
.navbar {
  z-index: 9000;
} /* already set in navbar block — belt-and-braces */

/* Everything sits above the canvas */
main,
footer {
  position: relative;
  z-index: 1;
}
#whatsapp-float,
#scroll-top {
  z-index: 900;
}
#page-loader {
  z-index: 9999;
}

main {
  flex: 1;
} /* pushes footer to bottom, no trailing gap */

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}

/* hero-bg still exists for soft radial depth gradients (no orbs) */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Soft ambient colour pools — replace old orbs, complement honeycomb */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}
.orb--1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(
    circle,
    rgba(180, 40, 0, 0.22) 0%,
    transparent 70%
  );
  top: -160px;
  left: -80px;
  animation: orbFloat 14s ease-in-out infinite;
}
.orb--2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(120, 30, 200, 0.18) 0%,
    transparent 70%
  );
  top: 80px;
  right: -120px;
  animation: orbFloat 18s ease-in-out infinite reverse;
}
.orb--3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(200, 60, 0, 0.14) 0%,
    transparent 70%
  );
  bottom: -80px;
  left: 38%;
  animation: orbFloat 11s ease-in-out infinite 2s;
}
@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(18px, -26px) scale(1.04);
  }
  66% {
    transform: translate(-14px, 18px) scale(0.97);
  }
}

/* Grid lines hidden — replaced by canvas */
.grid-lines {
  display: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
  position: relative;
  z-index: 2;
}
.hero__content {
  max-width: 600px;
}
.hero__eyebrow {
  margin-bottom: 22px;
}
.hero__headline {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero__subheadline {
  font-size: 1.1rem;
  color: var(--clr-gray-2);
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero__subheadline strong {
  color: var(--clr-gray-1);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-gray-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--clr-navy-border);
  padding: 6px 12px;
  border-radius: 100px;
  transition: all var(--t-fast);
}
.trust-badge i {
  color: var(--clr-cyan);
  font-size: 0.75rem;
}
.trust-badge:hover {
  background: var(--clr-cyan-dim);
  border-color: var(--clr-cyan);
  color: var(--clr-white);
}

/* Hero Visual — Floating mockup cards */
.hero__visual {
  position: relative;
  height: 480px;
  overflow: visible;
}
.mockup-stack {
  position: relative;
  width: 100%;
  height: 100%;
  /* NO transform-style: preserve-3d — keeps z-index working normally */
}
.float-card {
  position: absolute;
  background: var(--clr-navy-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 8px 20px rgba(0, 0, 0, 0.4);
  /* JS controls transform — no CSS animation conflict */
  will-change: transform;
  cursor: default;
}

/* Glare overlay — positioned/opacity set by JS */
.fc-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  border-radius: inherit;
  transition: opacity 0.1s ease;
}

.float-card--main {
  width: 340px;
  top: 40px;
  left: 50%;
  margin-left: -170px;
  z-index: 10; /* always on top — never beaten by back cards */
}
.float-card--back {
  width: 280px;
  z-index: 2;
  opacity: 1;
}
.float-card--back1 {
  top: 20px;
  left: -20px;
  z-index: 2;
}
.float-card--back2 {
  top: 10px;
  right: -20px;
  z-index: 2;
}

/* Gentle idle float — only plays when JS hasn't taken over (no hover) */
@keyframes cardFloatIdle {
  0%,
  100% {
    margin-top: 0px;
  }
  50% {
    margin-top: -10px;
  }
}
.float-card--main {
  animation: cardFloatIdle 6s ease-in-out infinite;
}
.float-card--back1 {
  animation: cardFloatIdle 8s ease-in-out infinite 1.2s;
}
.float-card--back2 {
  animation: cardFloatIdle 7s ease-in-out infinite 0.6s;
}

/* Pause idle float when hero is being interacted with */
.hero__visual:hover .float-card {
  animation-play-state: paused;
}
.fc-bar {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.fc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.fc-dot--r {
  background: #ff5f57;
}
.fc-dot--y {
  background: #febc2e;
}
.fc-dot--g {
  background: #28c840;
}
.fc-url {
  font-size: 0.68rem;
  color: var(--clr-gray-3);
  margin-left: 4px;
  font-family: monospace;
}
.fc-body {
  padding: 0;
}
.fc-hero-strip {
  padding: 18px 16px;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fc-strip--orange {
  background: linear-gradient(135deg, #f97316, #f59e0b);
}
.fc-strip--pink {
  background: linear-gradient(135deg, #ec4899, #a855f7);
}
.fc-strip--cyan {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}
.fc-biz-name {
  font-family: var(--ff-head);
  font-weight: 700;
  color: white;
  font-size: 1rem;
}
.fc-biz-tag {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}
.fc-content {
  padding: 12px 14px;
}
.fc-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 7px;
}
.fc-line--wide {
  width: 90%;
}
.fc-line--med {
  width: 65%;
}
.fc-nav-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.fc-nav-row span {
  font-size: 0.6rem;
  color: var(--clr-gray-3);
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}
.fc-nav-row .fc-active {
  background: var(--clr-cyan-dim);
  color: var(--clr-cyan);
  border: 1px solid var(--clr-cyan);
}

/* Floating pills */
.float-pill {
  position: absolute;
  background: var(--clr-navy-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-white);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.float-pill i {
  color: var(--clr-cyan);
}
.float-pill--1 {
  bottom: 120px;
  left: 10px;
  animation: pillBob 4s ease-in-out infinite;
}
.float-pill--2 {
  bottom: 60px;
  left: 50%;
  margin-left: -70px;
  animation: pillBob 5s ease-in-out infinite 1s;
}
.float-pill--3 {
  bottom: 120px;
  right: 10px;
  animation: pillBob 3.5s ease-in-out infinite 0.5s;
}
@keyframes pillBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.float-pill--2 {
  animation-name: pillBob;
}

/* Hero scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--clr-gray-3);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--clr-gray-3);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px;
  height: 7px;
  background: var(--clr-gray-3);
  border-radius: 2px;
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ══════════════════════════════════════════════════════════════
   PROBLEM SECTION
   ══════════════════════════════════════════════════════════════ */
.problem-section {
  background: transparent;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.problem-card {
  background: rgba(5, 13, 26, 0.65);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  transition:
    border-color var(--t-fast),
    transform var(--t-fast);
}
.problem-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-4px);
}
.problem-icon {
  width: 48px;
  height: 48px;
  background: var(--clr-violet-dim);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--clr-violet-mid);
  margin-bottom: 16px;
}
.problem-card h3 {
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.problem-card p {
  font-size: 0.875rem;
  color: var(--clr-gray-2);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   SOLUTION SECTION
   ══════════════════════════════════════════════════════════════ */
.solution-section {
  background: transparent;
}
.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.solution-list {
  margin: 32px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.solution-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.sol-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--clr-cyan);
  margin-top: 1px;
}
.solution-list strong {
  color: var(--clr-white);
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 4px;
}
.solution-list p {
  font-size: 0.875rem;
  color: var(--clr-gray-2);
  line-height: 1.65;
}

.solution__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  background: rgba(5, 13, 26, 0.3);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition:
    transform var(--t-fast),
    border-color var(--t-fast);
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-cyan);
}
.stat-card--accent {
  background: linear-gradient(
    145deg,
    var(--clr-violet-dim),
    var(--clr-cyan-dim)
  );
  border-color: rgba(0, 212, 255, 0.2);
}
.stat-number {
  display: block;
  font-family: var(--ff-head);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--grad-cyan-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--clr-gray-2);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════
   CORE PAGES SECTION
   ══════════════════════════════════════════════════════════════ */
.core-pages-section {
  background: transparent;
}
.pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.page-card {
  background: rgba(5, 13, 26, 0.3);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--t-fast);
}
.page-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-cyan);
}
.page-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.page-card__icon--cyan {
  background: var(--clr-cyan-dim);
  color: var(--clr-cyan);
}
.page-card__icon--violet {
  background: var(--clr-violet-dim);
  color: var(--clr-violet-mid);
}
.page-card__icon--gold {
  background: rgba(234, 179, 8, 0.15);
  color: var(--clr-gold);
}
.page-card__icon--green {
  background: rgba(34, 197, 94, 0.15);
  color: var(--clr-green);
}
.page-card__icon--pink {
  background: rgba(236, 72, 153, 0.15);
  color: var(--clr-pink);
}
.page-card__content h3 {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 6px;
}
.page-card__content p {
  font-size: 0.85rem;
  color: var(--clr-gray-2);
  line-height: 1.65;
  margin-bottom: 14px;
}
.page-features {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.page-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--clr-gray-2);
}
.page-features i {
  color: var(--clr-cyan);
  font-size: 0.55rem;
}
.page-card--cta {
  background: linear-gradient(
    145deg,
    var(--clr-violet-dim),
    var(--clr-cyan-dim)
  );
  border-color: rgba(0, 212, 255, 0.2);
  align-items: center;
  justify-content: center;
}
.page-cta-inner {
  text-align: center;
}
.page-cta-inner i {
  font-size: 2rem;
  color: var(--clr-cyan);
  margin-bottom: 12px;
  display: block;
}
.page-cta-inner h3 {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 8px;
}
.page-cta-inner p {
  font-size: 0.82rem;
  color: var(--clr-gray-2);
  margin-bottom: 18px;
}

/* ══════════════════════════════════════════════════════════════
   ADVANCED FEATURES SECTION
   ══════════════════════════════════════════════════════════════ */
.features-section {
  background: transparent;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: rgba(5, 13, 26, 0.3);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-lg);
  padding: 26px 20px;
  transition: all var(--t-fast);
}
.feature-card:hover {
  border-color: var(--clr-cyan);
  background: rgba(0, 212, 255, 0.04);
  transform: translateY(-4px);
}
.feature-card--highlight {
  border-color: rgba(0, 212, 255, 0.2);
  background: linear-gradient(
    145deg,
    var(--clr-cyan-dim),
    var(--clr-violet-dim)
  );
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--clr-cyan-dim);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--clr-cyan);
  margin-bottom: 14px;
}
.feature-card h4 {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 7px;
  line-height: 1.3;
}
.feature-card p {
  font-size: 0.82rem;
  color: var(--clr-gray-2);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES SECTION
   ══════════════════════════════════════════════════════════════ */
.services-section {
  background: transparent;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: rgba(5, 13, 26, 0.3);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-lg);
  padding: 26px 20px;
  transition: all var(--t-fast);
}
.service-card:hover {
  transform: translateY(-4px);
}

/* ── Unique accent per card ─────────────────────────────── */
/* 1 – violet  (Ready-Made) */
.service-card:nth-child(1) .service-icon {
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
}
.service-card:nth-child(1):hover {
  border-color: #a78bfa;
}

/* 2 – cyan    (Customization) */
.service-card:nth-child(2) .service-icon {
  background: rgba(0, 212, 255, 0.12);
  color: var(--clr-cyan);
}
.service-card:nth-child(2):hover {
  border-color: var(--clr-cyan);
}

/* 3 – gold    (Restaurant) */
.service-card:nth-child(3) .service-icon {
  background: rgba(234, 179, 8, 0.15);
  color: var(--clr-gold);
}
.service-card:nth-child(3):hover {
  border-color: var(--clr-gold);
}

/* 4 – orange  (Restaurant + Dashboard) — highlight */
.service-card:nth-child(4) .service-icon {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
}
.service-card:nth-child(4) {
  border-color: rgba(249, 115, 22, 0.25);
  background: linear-gradient(
    145deg,
    rgba(249, 115, 22, 0.08),
    rgba(0, 0, 0, 0)
  );
}
.service-card:nth-child(4):hover {
  border-color: #fb923c;
}

/* 5 – pink    (Salon) */
.service-card:nth-child(5) .service-icon {
  background: rgba(236, 72, 153, 0.15);
  color: var(--clr-pink);
}
.service-card:nth-child(5):hover {
  border-color: var(--clr-pink);
}

/* 6 – sky     (Car Service) */
.service-card:nth-child(6) .service-icon {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}
.service-card:nth-child(6):hover {
  border-color: #38bdf8;
}

/* 7 – green   (Plumber) */
.service-card:nth-child(7) .service-icon {
  background: rgba(34, 197, 94, 0.15);
  color: var(--clr-green);
}
.service-card:nth-child(7):hover {
  border-color: var(--clr-green);
}

/* 8 – rose    (Redesign) */
.service-card:nth-child(8) .service-icon {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
}
.service-card:nth-child(8):hover {
  border-color: #fb7185;
}

/* 9 – teal    (Booking) */
.service-card:nth-child(9) .service-icon {
  background: rgba(20, 184, 166, 0.15);
  color: #2dd4bf;
}
.service-card:nth-child(9):hover {
  border-color: #2dd4bf;
}

/* 10 – indigo  (Admin Dashboard) — highlight */
.service-card:nth-child(10) .service-icon {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}
.service-card:nth-child(10) {
  border-color: rgba(99, 102, 241, 0.25);
  background: linear-gradient(
    145deg,
    rgba(99, 102, 241, 0.08),
    rgba(0, 0, 0, 0)
  );
}
.service-card:nth-child(10):hover {
  border-color: #818cf8;
}

/* 11 – amber  (SEO) */
.service-card:nth-child(11) .service-icon {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}
.service-card:nth-child(11):hover {
  border-color: #fbbf24;
}

/* 12 – lime   (Hosting) */
.service-card:nth-child(12) .service-icon {
  background: rgba(132, 204, 22, 0.15);
  color: #a3e635;
}
.service-card:nth-child(12):hover {
  border-color: #a3e635;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.service-card h4 {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 7px;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.82rem;
  color: var(--clr-gray-2);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   TEMPLATES SECTION
   ══════════════════════════════════════════════════════════════ */
.templates-section {
  background: transparent;
}
.template-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-btn {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-gray-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--clr-navy-border);
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter-btn:hover,
.filter-btn--active {
  color: var(--clr-white);
  background: var(--clr-cyan-dim);
  border-color: var(--clr-cyan);
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.template-card {
  background: rgba(5, 13, 26, 0.3);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-mid);
  display: flex;
  flex-direction: column;
}
.template-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-cyan);
  box-shadow: 0 16px 40px rgba(0, 212, 255, 0.1);
}
.template-mockup {
  padding: 12px 12px 10px;
  background: var(--clr-navy-2);
}
.mockup-browser {
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.mockup-bar {
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.mockup-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.mockup-screen {
  padding: 0;
}
.mockup-hero-strip {
  height: 50px;
}
.mockup-lines {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mockup-line {
  height: 5px;
  border-radius: 3px;
}

/* ── Video poster card (replaces CSS mockup when a video exists) ── */
.template-mockup--video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: none;
  padding: 0;
  background: var(--clr-navy-2);
  cursor: pointer;
  display: block;
  overflow: hidden;
}
.template-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-mid), filter var(--t-mid);
}
.template-mockup--video:hover .template-poster {
  transform: scale(1.04);
  filter: brightness(0.65);
}
.template-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(5, 13, 26, 0.55);
  border: 2px solid var(--accent, var(--clr-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 1.1rem;
  backdrop-filter: blur(4px);
  transition: transform var(--t-fast), background var(--t-fast);
  pointer-events: none;
}
.template-mockup--video:hover .template-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--accent, var(--clr-cyan));
  color: var(--clr-navy);
}

.template-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.template-name {
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 6px;
}
.template-desc {
  font-size: 0.8rem;
  color: var(--clr-gray-2);
  margin-bottom: 12px;
  line-height: 1.6;
}
.template-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
  flex: 1;
  align-content: flex-start;
}
.template-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--clr-cyan);
  background: var(--clr-cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
}
/* Fix: stack buttons vertically so neither gets clipped in narrow 4-col cards */
.template-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.template-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal; /* allow text to wrap if needed */
  word-break: keep-all;
}

/* ══════════════════════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════════════════════ */
.how-section {
  background: transparent;
}
.steps-wrapper {
  position: relative;
  margin-bottom: 52px;
}
.steps-line {
  position: absolute;
  top: 52px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--clr-cyan),
    var(--clr-violet-mid),
    transparent
  );
  opacity: 0.4;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step-card {
  background: rgba(5, 13, 26, 0.3);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-lg);
  padding: 30px 24px 28px;
  text-align: center;
  position: relative;
  transition: all var(--t-fast);
}
.step-card:hover {
  border-color: var(--clr-cyan);
  transform: translateY(-4px);
}
.step-number {
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--clr-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}
.step-icon {
  width: 60px;
  height: 60px;
  background: var(--clr-cyan-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--clr-cyan);
  margin: 0 auto 16px;
  border: 2px solid rgba(0, 212, 255, 0.25);
}
.step-card h3 {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.85rem;
  color: var(--clr-gray-2);
  line-height: 1.65;
}
.how-cta {
  text-align: center;
}
.how-cta p {
  color: var(--clr-gray-2);
  margin-bottom: 20px;
}

/* ══════════════════════════════════════════════════════════════
   WHY CHOOSE US
   ══════════════════════════════════════════════════════════════ */
.why-section {
  background: transparent;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  background: rgba(5, 13, 26, 0.3);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: all var(--t-fast);
}
.why-card:hover {
  transform: translateY(-4px);
}
.why-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.why-icon--cyan {
  background: var(--clr-cyan-dim);
  color: var(--clr-cyan);
}
.why-icon--violet {
  background: var(--clr-violet-dim);
  color: var(--clr-violet-mid);
}
.why-icon--gold {
  background: rgba(234, 179, 8, 0.15);
  color: var(--clr-gold);
}
.why-icon--green {
  background: rgba(34, 197, 94, 0.15);
  color: var(--clr-green);
}
.why-icon--pink {
  background: rgba(236, 72, 153, 0.15);
  color: var(--clr-pink);
}
.why-card h4 {
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.why-card p {
  font-size: 0.85rem;
  color: var(--clr-gray-2);
  line-height: 1.65;
}
.why-card:hover .why-icon--cyan {
  background: var(--clr-cyan-glow);
}
.why-card:hover .why-icon--violet {
  background: rgba(124, 58, 237, 0.3);
}

/* ══════════════════════════════════════════════════════════════
   PRICING SECTION
   ══════════════════════════════════════════════════════════════ */
.pricing-section {
  background: transparent;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
  align-items: stretch;
}
.pricing-card {
  background: rgba(5, 13, 26, 0.3);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-xl);
  padding: 36px 30px;
  position: relative;
  transition: all var(--t-mid);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-cyan);
}
.pricing-card--highlight {
  background: linear-gradient(145deg, #0d2040, #0a1a30);
  border: 2px solid var(--clr-cyan);
  box-shadow:
    0 0 40px rgba(0, 212, 255, 0.12),
    inset 0 0 40px rgba(0, 212, 255, 0.03);
  transform: scale(1.03);
}
.pricing-card--highlight:hover {
  transform: scale(1.03) translateY(-6px);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-cyan-violet);
  color: white;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.pricing-header {
  margin-bottom: 28px;
}
.pricing-label {
  font-size: 0.78rem;
  color: var(--clr-gray-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 8px;
}
.pricing-price {
  font-family: var(--ff-head);
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad-cyan-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.pricing-name {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 4px;
}
.pricing-tag {
  font-size: 0.8rem;
  color: var(--clr-gray-2);
}
.pricing-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--clr-gray-1);
  line-height: 1.5;
}
.pricing-features i {
  color: var(--clr-cyan);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 3px;
}
.pricing-cta {
  width: 100%;
  justify-content: center;
}
.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-md);
  padding: 16px 22px;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-note i {
  color: var(--clr-cyan);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-note p {
  font-size: 0.83rem;
  color: var(--clr-gray-2);
  line-height: 1.7;
}
.pricing-note strong {
  color: var(--clr-gray-1);
}

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ══════════════════════════════════════════════════════════════ */
.testimonials-section {
  background: transparent;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(5, 13, 26, 0.3);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative;
  transition: all var(--t-fast);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-violet-mid);
}
.testimonial-quote {
  font-size: 1.8rem;
  color: var(--clr-violet-mid);
  margin-bottom: 14px;
  opacity: 0.6;
}
.testimonial-text {
  font-size: 0.92rem;
  color: var(--clr-gray-1);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-cyan-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-white);
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-white);
}
.testimonial-biz {
  font-size: 0.78rem;
  color: var(--clr-gray-2);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════════════════════════════ */
.faq-section {
  background: transparent;
}
.faq-wrapper {
  max-width: 780px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.faq-item {
  background: rgba(5, 13, 26, 0.3);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq-item:has(.faq-question--open),
.faq-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-white);
  text-align: left;
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq-question:hover {
  color: var(--clr-cyan);
}
.faq-question--open {
  color: var(--clr-cyan);
}
.faq-icon {
  flex-shrink: 0;
  color: var(--clr-gray-2);
  font-size: 0.75rem;
  transition:
    transform var(--t-fast),
    color var(--t-fast);
}
.faq-question--open .faq-icon {
  transform: rotate(180deg);
  color: var(--clr-cyan);
}
.faq-answer {
  padding: 0 22px 20px;
}
.faq-answer p {
  font-size: 0.9rem;
  color: var(--clr-gray-2);
  line-height: 1.75;
  border-top: 1px solid var(--clr-navy-border);
  padding-top: 16px;
}
.faq-cta {
  text-align: center;
}
.faq-cta p {
  color: var(--clr-gray-2);
  margin-bottom: 16px;
  font-size: 0.92rem;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════════════════════════ */
.contact-section {
  background: transparent;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form-wrap {
  background: rgba(5, 13, 26, 0.3);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-xl);
  padding: 40px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-gray-2);
  letter-spacing: 0.02em;
}
.required {
  color: var(--clr-cyan);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--clr-white);
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-gray-3);
}
.form-group select option {
  background: var(--clr-navy-4);
  color: var(--clr-white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.input--error {
  border-color: #f87171 !important;
}
.field-error {
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 4px;
}
.form-success {
  text-align: center;
  padding: 60px 20px;
}
.form-success i {
  font-size: 3rem;
  color: var(--clr-green);
  margin-bottom: 16px;
  display: block;
}
.form-success h3 {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  color: var(--clr-white);
  margin-bottom: 10px;
}
.form-success p {
  color: var(--clr-gray-2);
}

/* Contact info panel */
.contact-info-card {
  background: rgba(5, 13, 26, 0.3);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  margin-bottom: 16px;
}
.contact-info-card h3 {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 8px;
}
.contact-info-card > p {
  font-size: 0.88rem;
  color: var(--clr-gray-2);
  margin-bottom: 24px;
  line-height: 1.7;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--clr-navy-border);
  margin-bottom: 12px;
  transition: all var(--t-fast);
}
.contact-channel:hover {
  border-color: var(--clr-cyan);
  background: var(--clr-cyan-dim);
}
.contact-channel--whatsapp:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.08);
}
.cc-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-channel--whatsapp .cc-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}
.contact-channel--email .cc-icon {
  background: var(--clr-cyan-dim);
  color: var(--clr-cyan);
}
.contact-channel strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clr-white);
}
.contact-channel span {
  display: block;
  font-size: 0.78rem;
  color: var(--clr-gray-2);
  margin-top: 2px;
}
.contact-channel .fa-arrow-right {
  margin-left: auto;
  color: var(--clr-gray-3);
  font-size: 0.8rem;
  transition: transform var(--t-fast);
}
.contact-channel:hover .fa-arrow-right {
  transform: translateX(3px);
  color: var(--clr-cyan);
}

.contact-social {
  margin-top: 20px;
}
.contact-social p {
  font-size: 0.8rem;
  color: var(--clr-gray-2);
  margin-bottom: 10px;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--clr-gray-2);
  transition: all var(--t-fast);
}
.social-link:hover {
  background: var(--clr-violet-dim);
  color: var(--clr-violet-mid);
  border-color: var(--clr-violet-mid);
  transform: translateY(-2px);
}
.contact-nudge {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-nudge i {
  color: var(--clr-cyan);
  font-size: 1rem;
}
.contact-nudge p {
  font-size: 0.83rem;
  color: var(--clr-gray-2);
}
.contact-nudge strong {
  color: var(--clr-gray-1);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: rgba(5, 13, 26, 0.96);
  border-top: 1px solid var(--clr-navy-border);
}
.footer-top {
  padding: 72px 0 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 0.875rem;
  color: var(--clr-gray-2);
  line-height: 1.75;
  margin-bottom: 22px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-heading {
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--clr-gray-2);
  transition: color var(--t-fast);
}
.footer-links a:hover {
  color: var(--clr-cyan);
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--clr-gray-2);
}
.footer-contact-list i {
  color: var(--clr-cyan);
  width: 16px;
}
.footer-contact-list a {
  color: var(--clr-gray-2);
  transition: color var(--t-fast);
}
.footer-contact-list a:hover {
  color: var(--clr-cyan);
}
.footer-bottom {
  border-top: 1px solid var(--clr-navy-border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--clr-gray-3);
}
.footer-credits {
  color: var(--clr-gray-3);
}

/* ═══════════════════════════════════════════════════════════════
   PHASE 4 ADDITIONS — JS-driven states & animation polish
   ═══════════════════════════════════════════════════════════════ */

/* Template cards — smooth filter transition */
.template-card {
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    translateY 0.18s ease;
}

/* FAQ answer slide — using max-height trick for smooth open/close */
.faq-answer {
  overflow: hidden;
  transition:
    max-height 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    padding 0.32s ease;
}
.faq-answer[hidden] {
  display: block !important; /* override hidden so transition works */
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  visibility: hidden;
}
.faq-answer:not([hidden]) {
  max-height: 500px;
  visibility: visible;
}

/* Stat counter — prevent layout shift during animation */
.stat-number {
  min-width: 4ch;
  display: inline-block;
}

/* Mobile nav overlay body lock */
body.nav-open {
  overflow: hidden;
}

/* Pricing card stagger animation */
.pricing-card:nth-child(1) {
  transition-delay: 0.05s;
}
.pricing-card:nth-child(2) {
  transition-delay: 0.12s;
}
.pricing-card:nth-child(3) {
  transition-delay: 0.19s;
}

/* Step card stagger */
.step-card:nth-child(1) {
  transition-delay: 0.05s;
}
.step-card:nth-child(2) {
  transition-delay: 0.12s;
}
.step-card:nth-child(3) {
  transition-delay: 0.19s;
}
.step-card:nth-child(4) {
  transition-delay: 0.26s;
}

/* Problem card stagger */
.problem-card:nth-child(odd) {
  transition-delay: 0.04s;
}
.problem-card:nth-child(even) {
  transition-delay: 0.1s;
}

/* Why card stagger */
.why-card:nth-child(3n + 1) {
  transition-delay: 0.04s;
}
.why-card:nth-child(3n + 2) {
  transition-delay: 0.1s;
}
.why-card:nth-child(3n + 3) {
  transition-delay: 0.16s;
}

/* Form success animation */
.form-success {
  animation: fadeInUp 0.5s ease forwards;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Focus-visible ring for accessibility */
:focus-visible {
  outline: 2px solid var(--clr-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--clr-cyan);
}

/* Smooth image loading */
img {
  transition: opacity 0.3s ease;
}

/* Selection color */
::selection {
  background: var(--clr-cyan-dim);
  color: var(--clr-white);
}

/* ═══════════════════════════════════════════════════════════
   JS-POWERED ADDITIONS (appended by Phase 4)
   ═══════════════════════════════════════════════════════════ */

/* Stagger delay support for reveal cards */
.reveal {
  transition-delay: var(--delay, 0ms);
}
.reveal--visible {
  transition-delay: 0ms !important;
}

/* Nav mobile overlay backdrop */
#nav-backdrop {
  /* positioned by JS; just ensure it sits below the menu panel */
  pointer-events: auto;
}

/* Contact form transition wrapper */
#contact-form {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* FAQ answer smooth reveal */
.faq-answer {
  overflow: hidden;
}
.faq-answer[hidden] {
  display: none;
}

/* Stat counter — prevent layout shift during animation */
.stat-number {
  display: block;
  min-width: 3ch;
  font-variant-numeric: tabular-nums;
}

/* Template card — maintain height during filter animation */
.template-card {
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

/* Pricing CTA full width inside card */
.pricing-cta {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* Step card entrance — slight scale for depth */
.step-card.reveal {
  transform: translateY(24px) scale(0.97);
}
.step-card.reveal--visible {
  transform: none;
}

/* Feature / service / why cards — keep icon color on parent hover */
.feature-card:hover .feature-icon,
.service-card:hover .service-icon {
  transform: scale(1.08);
  transition: transform 0.18s ease;
}

/* Problem card icon pulse on hover */
.problem-card:hover .problem-icon i {
  animation: iconPulse 0.5s ease;
}
@keyframes iconPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Testimonial card subtle border glow on hover */
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(124, 58, 237, 0.3) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: var(--r-xl);
}
.testimonial-card:hover::before {
  opacity: 1;
}

/* Solution list icon bounce on hover */
.solution-list li:hover .sol-icon i {
  animation: iconBounce 0.4s ease;
}
@keyframes iconBounce {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Page card hover — icon scale */
.page-card:hover .page-card__icon {
  transform: scale(1.1);
  transition: transform 0.18s ease;
}

/* Filter button transition */
.filter-btn {
  transition: all 0.18s ease;
}

/* Pricing card feature list item spacing */
.pricing-features li + li {
  padding-top: 2px;
}

/* Form submit button loading state */
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
/* ══════════════════════════════════════════════════════════════
   PROBLEM SECTION ACCORDION
   ══════════════════════════════════════════════════════════════ */

/* ── Grid container — transition !important ensures it fires ─ */
.acc-list {
  display: grid;
  grid-template-columns: 10fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: var(--acc-gap);
  list-style: none;
  padding: 0;
  margin: 0 auto;
  height: clamp(320px, 44dvh, 500px);
  max-width: 1060px;
  width: 100%;
  transition: grid-template-columns 0.65s ease-in-out !important;
  container-type: inline-size;
}

/* ── Each panel ──────────────────────────────────────────── */
.acc-list li {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(40, 100, 220, 0.22);
  background: rgba(6, 14, 30, 0.82);
  min-width: var(--acc-base);
  cursor: pointer;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}
.acc-list li[data-active="true"] {
  border-color: rgba(0, 200, 255, 0.5);
  box-shadow: 0 0 32px rgba(0, 170, 255, 0.14);
}
/* Cyan top glow line */
.acc-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 5;
  pointer-events: none;
}
.acc-list li[data-active="true"]::before {
  opacity: 1;
}

/* ── Background: top→bottom accent colour fade ───────────── */
.acc-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Gradient on top of image via pseudo-element */
  opacity: 0;
  transition: opacity calc(var(--acc-speed) * 1.2) ease-in-out;
}
.acc-bg-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--accent, #00d4ff) 30%, transparent) 0%,
    rgba(6, 14, 30, 0.55) 45%,
    rgba(6, 14, 30, 0.97) 100%
  );
}
.acc-list li[data-active="true"] .acc-bg-img {
  opacity: 1;
  transition-delay: calc(var(--acc-speed) * 0.1);
}

/* ── Collapsed: icon + rotated label ─────────────────────── */
.acc-collapsed {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 1;
  transition: opacity calc(var(--acc-speed) * 0.4) ease;
  pointer-events: none;
  overflow: hidden;
}
.acc-list li[data-active="true"] .acc-collapsed {
  opacity: 0;
}

.acc-collapsed::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--clr-cyan),
    transparent
  );
  opacity: 0.5;
}
.acc-collapsed i {
  display: block;
  font-size: 1.2rem;
  color: var(--clr-cyan);
  opacity: 0.75;
  flex-shrink: 0;
}
.acc-collapsed span {
  font-family: var(--ff-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
  overflow: hidden;
  max-height: 65%;
}
.acc-list li:not([data-active="true"]):hover .acc-collapsed i {
  opacity: 1;
}
.acc-list li:not([data-active="true"]):hover .acc-collapsed span {
  color: rgba(255, 255, 255, 0.95);
}
.acc-list li:not([data-active="true"]):hover {
  background: rgba(0, 100, 200, 0.15);
}

/* ── Expanded: two zones (top + bottom) ──────────────────── */
.acc-expanded {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 22px 24px 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity calc(var(--acc-speed) * 0.5) ease;
  transition-delay: 0s;
}
.acc-list li[data-active="true"] .acc-expanded {
  opacity: 1;
  pointer-events: auto;
  transition-delay: calc(var(--acc-speed) * 0.3);
}

/* Top zone */
.acc-exp-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acc-exp-icon {
  font-size: 1.4rem;
  color: var(--clr-cyan);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity calc(var(--acc-speed) * 0.5) ease,
    transform calc(var(--acc-speed) * 0.5) ease;
  transition-delay: 0s;
}
.acc-list li[data-active="true"] .acc-exp-icon {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--acc-speed) * 0.35);
}

.acc-exp-title {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity calc(var(--acc-speed) * 0.5) ease,
    transform calc(var(--acc-speed) * 0.5) ease;
  transition-delay: 0s;
}
.acc-list li[data-active="true"] .acc-exp-title {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--acc-speed) * 0.4);
}

/* Bottom zone */
.acc-exp-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acc-exp-bottom p {
  font-size: 0.855rem;
  line-height: 1.65;
  color: #c2d4e8;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity calc(var(--acc-speed) * 0.5) ease,
    transform calc(var(--acc-speed) * 0.5) ease;
  transition-delay: 0s;
}
.acc-list li[data-active="true"] .acc-exp-bottom p {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--acc-speed) * 0.45);
}

.acc-exp-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--clr-cyan);
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  width: fit-content;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity calc(var(--acc-speed) * 0.5) ease,
    transform calc(var(--acc-speed) * 0.5) ease,
    color 0.2s ease;
  transition-delay: 0s;
}
.acc-list li[data-active="true"] .acc-exp-link {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--acc-speed) * 0.5);
}
.acc-exp-link:hover {
  color: #ffffff;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════════ */
.about-section {
  background: transparent;
}

/* Intro block — text + stats side by side */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}
.about-intro__text .section-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}
.about-intro__text .section-title {
  margin-bottom: 20px;
}
.about-lead {
  font-size: 1.05rem;
  color: var(--clr-gray-1);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-body {
  font-size: 0.92rem;
  color: var(--clr-gray-2);
  line-height: 1.75;
}
.about-intro__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Problem pills */
.about-problems {
  margin-bottom: 90px;
}
.about-problems .section-header {
  margin-bottom: 40px;
}
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-pill {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(5, 13, 26, 0.3);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  transition:
    transform var(--t-fast),
    border-color var(--t-fast);
}
.problem-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.2);
}
.problem-pill__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
  width: 28px;
  text-align: center;
}
.problem-pill strong {
  display: block;
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 6px;
}
.problem-pill p {
  font-size: 0.83rem;
  color: var(--clr-gray-2);
  line-height: 1.6;
  margin: 0;
}

/* Process block */
.about-process {
  margin-bottom: 90px;
}
.about-process .section-header {
  margin-bottom: 48px;
}

/* Why block */
.about-why {
  margin-bottom: 60px;
}
.about-why .section-header {
  margin-bottom: 40px;
}

/* ══════════════════════════════════════════════════════════════
   TEMPLATE EMPTY STATE  ("Stay Tuned")
   ══════════════════════════════════════════════════════════════ */
.template-empty {
  text-align: center;
  padding: 70px 24px;
  border: 1px dashed var(--clr-navy-border);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.015);
}
.template-empty__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--clr-cyan-dim);
  color: var(--clr-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.template-empty__title {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 10px;
}
.template-empty__text {
  color: var(--clr-gray-2);
  font-size: 0.95rem;
  max-width: 420px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   VIDEO LIGHTBOX MODAL
   ══════════════════════════════════════════════════════════════ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal--open {
  display: flex;
}
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.video-modal__panel {
  position: relative;
  width: 100%;
  max-width: 880px;
  background: var(--clr-navy-card);
  border: 1px solid var(--clr-navy-border);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: videoModalIn 0.28s var(--ease);
}
@keyframes videoModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.video-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--clr-navy-border);
}
.video-modal__title {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
}
.video-modal__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--clr-navy-border);
  background: transparent;
  color: var(--clr-gray-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  flex-shrink: 0;
}
.video-modal__close:hover {
  background: var(--clr-cyan);
  color: var(--clr-navy);
  border-color: var(--clr-cyan);
}
.video-modal__frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-modal__frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .video-modal { padding: 0; }
  .video-modal__panel { max-width: 100%; border-radius: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (max 1024px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  /* Hero */
  .hero__inner {
    gap: 40px;
    padding: 50px 0;
  }
  .hero__visual {
    height: 380px;
  }
  .float-card--main {
    width: 280px;
    margin-left: -140px;
  }

  /* About intro */
  .about-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-intro__stats {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Grids: 4-col → 2-col */
  .services-grid,
  .features-grid,
  .steps-grid,
  .template-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 3-col → 2-col */
  .why-grid,
  .testimonials-grid,
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pricing stays 3-col but tighter */
  .pricing-grid {
    gap: 16px;
  }
  .pricing-card {
    padding: 28px 22px;
  }

  /* Contact */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (max 768px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  /* Section spacing */
  .section {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .section-subtitle {
    font-size: 0.9rem;
  }

  /* ── Navbar ───────────────────────────────────────────── */
  .hamburger {
    display: flex;
  }
  .nav-cta {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75vw;
    max-width: 300px;
    height: 100vh;
    background: rgba(5, 13, 26, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--clr-navy-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 32px;
    gap: 4px;
    transition: right 0.3s ease;
    z-index: 8999;
  }
  .nav-menu.nav-menu--open {
    right: 0;
  }
  .nav-menu__close-row {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    position: absolute;
    top: 20px;
    right: 24px;
  }
  .nav-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--clr-navy-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--clr-gray-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all var(--t-fast);
  }
  .nav-close:hover {
    background: var(--clr-cyan);
    border-color: var(--clr-cyan);
    color: var(--clr-navy);
  }
  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  /* ── Hero ─────────────────────────────────────────────── */
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 40px 0 32px;
    gap: 32px;
    text-align: center;
  }
  .hero__content {
    max-width: 100%;
  }
  .hero__eyebrow {
    justify-content: center;
  }
  .hero__actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero__visual {
    height: 260px;
  }
  .float-card--main {
    width: 220px;
    margin-left: -110px;
  }
  .float-card--back {
    width: 180px;
  }
  .hero__trust {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ── About ────────────────────────────────────────────── */
  .about-intro {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 56px;
  }
  .about-intro__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .about-problems {
    margin-bottom: 56px;
  }
  .about-process {
    margin-bottom: 56px;
  }
  .about-why {
    margin-bottom: 40px;
  }

  /* Problem accordion → stacked cards (JS clears inline styles on mobile) */
  .acc-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    height: auto !important;
  }
  .acc-list li {
    height: auto !important;
    min-width: unset !important;
    min-height: 180px;
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
  }
  /* Show bg image on every card */
  .acc-bg-img {
    opacity: 0.35 !important;
    transition: none !important;
  }
  /* Hide the collapsed label strip */
  .acc-collapsed {
    display: none !important;
  }
  /* Always show expanded content */
  .acc-expanded {
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 20px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    position: absolute !important;
    inset: 0 !important;
  }
  .acc-exp-top {
    margin-bottom: 8px;
  }
  .acc-exp-title {
    font-size: 1rem;
    opacity: 1 !important;
    transform: none !important;
  }
  .acc-exp-bottom p {
    opacity: 1 !important;
    transform: none !important;
    font-size: 0.82rem;
  }
  .acc-exp-link {
    opacity: 1 !important;
    transform: none !important;
  }
  .acc-exp-icon {
    opacity: 1 !important;
    transform: none !important;
  }

  /* ── Services ─────────────────────────────────────────── */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .service-card {
    padding: 20px 16px;
  }

  /* ── Templates ────────────────────────────────────────── */
  .template-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .template-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  /* ── Steps ────────────────────────────────────────────── */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .steps-line {
    display: none;
  }
  .step-card {
    padding: 24px 20px;
  }

  /* ── Why ──────────────────────────────────────────────── */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .why-card {
    padding: 22px 18px;
  }

  /* ── Pricing ──────────────────────────────────────────── */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pricing-card--highlight {
    transform: none;
  }
  .pricing-card--highlight:hover {
    transform: translateY(-6px);
  }
  .pricing-card {
    padding: 28px 22px;
  }

  /* ── Testimonials ─────────────────────────────────────── */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ── FAQ ──────────────────────────────────────────────── */
  .faq-question {
    padding: 16px 14px;
    font-size: 0.9rem;
  }

  /* ── Contact ──────────────────────────────────────────── */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-form-wrap {
    padding: 24px 18px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ── Footer ───────────────────────────────────────────── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-top {
    padding: 48px 0 36px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* ── Floating buttons ─────────────────────────────────── */
  #whatsapp-float {
    bottom: 20px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  #scroll-top {
    bottom: 76px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  /* ── Buttons ──────────────────────────────────────────── */
  .btn-lg {
    padding: 13px 22px;
    font-size: 0.9rem;
  }
  .how-cta {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .how-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  (max 480px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
  .section {
    padding: 48px 0;
  }

  /* Hero */
  .hero__visual {
    display: none;
  }
  .hero__inner {
    padding: 32px 0 24px;
  }

  /* Services → single column */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* About stats */
  .about-intro__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pricing price size */
  .pricing-price {
    font-size: 2.4rem;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(1.3rem, 7vw, 1.7rem);
  }

  /* Template grid already 1-col, ensure info padding */
  .template-info {
    padding: 14px;
  }

  /* Footer */
  .footer-grid {
    gap: 24px;
  }
}
