/*
Theme Name: Splash Media Ltd
Theme URI: https://splashmedialtd.co.uk
Author: Splash Media Ltd
Description: Award-winning digital marketing agency theme. Black, white & cyan. Light/Dark mode. Elementor Pro compatible.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: splashmedialtd
*/

/* =====================================================
   IMPORTS & FONT FACE
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* =====================================================
   DESIGN TOKENS — LIGHT MODE (default)
   ===================================================== */
:root {
  /* Brand */
  --cyan:        #29ABE2;
  --cyan-dark:   #1a8bbf;
  --cyan-light:  #e8f6fc;
  --cyan-glow:   rgba(41,171,226,0.18);

  /* Light Mode */
  --bg:          #FFFFFF;
  --bg-2:        #F5F5F5;
  --bg-3:        #EBEBEB;
  --fg:          #0A0A0A;
  --fg-2:        #1A1A1A;
  --fg-3:        #2C2C2C;
  --muted:       #767676;
  --muted-2:     #AAAAAA;
  --border:      rgba(0,0,0,0.09);
  --border-2:    rgba(0,0,0,0.15);
  --invert-bg:   #0A0A0A;
  --invert-fg:   #FFFFFF;

  /* Typography */
  --ff-display: 'Bricolage Grotesque', sans-serif;
  --ff-body:    'DM Sans', sans-serif;

  /* Spacing */
  --section-pad: clamp(5rem, 9vw, 10rem);
  --container:   1320px;
  --gutter:      clamp(1.5rem, 4vw, 2.5rem);

  /* Radius */
  --r-sm:  6px;
  --r-md:  14px;
  --r-lg:  24px;
  --r-xl:  40px;
  --r-pill: 100px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.14);
  --shadow-cyan: 0 8px 32px rgba(41,171,226,0.28);

  /* Easing */
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.65, 0, 0.35, 1);
  --t:           0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:      0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =====================================================
   DARK MODE TOKENS
   ===================================================== */
[data-theme="dark"] {
  --bg:        #0A0A0A;
  --bg-2:      #141414;
  --bg-3:      #1E1E1E;
  --fg:        #F5F5F5;
  --fg-2:      #E5E5E5;
  --fg-3:      #CCCCCC;
  --muted:     #888888;
  --muted-2:   #555555;
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.14);
  --invert-bg: #FFFFFF;
  --invert-fg: #0A0A0A;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.6);
}

/* =====================================================
   RESET
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--t), color var(--t);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--ff-body); }
input, textarea, select { font-family: var(--ff-body); }

/* =====================================================
   TYPOGRAPHY SCALE
   ===================================================== */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
}
h1 { font-size: clamp(3rem, 7vw, 7rem);   font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h4 { font-size: 1.25rem; }
p  { font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--muted); line-height: 1.75; }

.display-xl { font-size: clamp(3.5rem, 9vw, 10rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; }
.display-lg { font-size: clamp(3rem, 7vw, 7.5rem);  font-weight: 800; letter-spacing: -0.04em; line-height: 1.0;  }

/* Accent colour */
.text-cyan    { color: var(--cyan); }
.text-muted   { color: var(--muted); }
.text-center  { text-align: center; }
.text-upper   { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 600; }

/* Underline accent */
.u-line {
  position: relative;
  display: inline-block;
}
.u-line::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: var(--cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.u-line.visible::after,
.u-line:hover::after { transform: scaleX(1); }

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-sm { max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); }
.section    { padding-block: var(--section-pad); }
.section-sm { padding-block: calc(var(--section-pad) * 0.55); }
.section-xs { padding-block: calc(var(--section-pad) * 0.35); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

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

/* =====================================================
   SCROLL PROGRESS BAR
   ===================================================== */
#scroll-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: var(--cyan);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* =====================================================
   HEADER
   ===================================================== */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.5s var(--ease);
}
#site-header.scrolled {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 36px;
  width: auto;
  transition: opacity var(--t-fast);
}
/* Show white logo in dark mode, dark logo in light mode */
.logo-light { display: block; }
.logo-dark  { display: none;  }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark  { display: block; }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 0.1rem; }
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--fg); background: var(--bg-2); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 0.5rem); left: 0;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 0.5rem;
  min-width: 210px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-md);
  list-style: none;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 0.6rem 1rem;
  font-size: 0.85rem; color: var(--muted);
  border-radius: var(--r-sm);
  transition: all 0.2s;
  text-decoration: none;
}
.dropdown li a:hover { color: var(--fg); background: var(--bg-2); }

/* Header right */
.header-right { display: flex; align-items: center; gap: 1rem; }

/* Dark mode toggle */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  transition: all var(--t-fast);
  color: var(--fg);
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--bg-3); border-color: var(--cyan); }
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* Hamburger */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 0.5rem;
  background: none; border: none;
}
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 998;
  padding: 6rem var(--gutter) 3rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
  display: flex; flex-direction: column;
  border-left: 1px solid var(--border);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color var(--t-fast);
  letter-spacing: -0.02em;
}
.mobile-nav a:hover { color: var(--cyan); }
.mobile-nav-footer { margin-top: 2.5rem; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--r-pill);
  font-family: var(--ff-display);
  font-weight: 600; font-size: 0.9rem;
  cursor: pointer; border: 1.5px solid transparent;
  transition: all var(--t); text-decoration: none;
  white-space: nowrap; position: relative; overflow: hidden;
}
/* Primary — filled cyan */
.btn-primary {
  background: var(--cyan);
  color: #fff;
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}
.btn-primary:hover {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(41,171,226,0.4);
  color: #fff;
}
/* Dark filled */
.btn-dark {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-dark:hover { opacity: 0.82; transform: translateY(-2px); color: var(--bg); }
/* Outline */
.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-2);
}
.btn-outline:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); transform: translateY(-2px); }
/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  padding-inline: 0.75rem;
}
.btn-ghost:hover { color: var(--fg); background: var(--bg-2); }

.btn-lg  { padding: 1.05rem 2.5rem; font-size: 1rem; }
.btn-sm  { padding: 0.55rem 1.25rem; font-size: 0.82rem; }
.btn-xl  { padding: 1.25rem 3rem; font-size: 1.05rem; }

/* Arrow button */
.btn-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-display);
  font-weight: 600; font-size: 0.9rem;
  color: var(--fg);
  text-decoration: none;
  transition: gap var(--t-fast), color var(--t-fast);
}
.btn-arrow .arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  transition: all var(--t-fast);
}
.btn-arrow:hover { color: var(--cyan); gap: 0.75rem; }
.btn-arrow:hover .arrow { background: var(--cyan); color: #fff; }

/* =====================================================
   SECTION LABELS
   ===================================================== */
.label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.label::before {
  content: '';
  width: 16px; height: 1.5px;
  background: var(--cyan);
  border-radius: 2px;
  flex-shrink: 0;
}
.label-cyan { color: var(--cyan); }
.label-cyan::before { background: var(--cyan); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 5rem;
  background: var(--bg);
}
/* Noise texture overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}
/* Cyan orb */
.hero-orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41,171,226,0.12) 0%, transparent 65%);
  right: -200px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none; z-index: 0;
  animation: orbFloat 8s ease-in-out infinite;
}
[data-theme="dark"] .hero-orb { background: radial-gradient(circle, rgba(41,171,226,0.18) 0%, transparent 65%); }

.hero-content { position: relative; z-index: 1; max-width: 900px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.8s var(--ease) both;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulseDot 2s ease-in-out infinite;
}
.hero-eyebrow-text {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s var(--ease) both;
}
.hero-title .accent { color: var(--cyan); }

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeUp 0.8s 0.2s var(--ease) both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 4rem;
  animation: fadeUp 0.8s 0.3s var(--ease) both;
}
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 3rem;
  animation: fadeUp 0.8s 0.4s var(--ease) both;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.hstat-num {
  font-family: var(--ff-display);
  font-size: 2.4rem; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1;
  color: var(--fg);
}
.hstat-num span { color: var(--cyan); }
.hstat-lbl { font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; font-weight: 500; }

/* Scroll hint */
.scroll-cue {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0.35; z-index: 1;
  animation: fadeUp 1s 1.2s both;
}
.scroll-cue-text { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.scroll-cue-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

/* =====================================================
   MARQUEE
   ===================================================== */
.marquee-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  overflow: hidden;
  background: var(--bg);
}
[data-theme="dark"] .marquee-strip { background: var(--bg-2); }
.marquee-track {
  display: flex; gap: 3.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--ff-display);
  font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  white-space: nowrap; color: var(--muted);
  display: flex; align-items: center; gap: 1.25rem;
}
.marquee-track span::after { content: '·'; color: var(--cyan); font-size: 1.2rem; line-height: 1; }

/* =====================================================
   SERVICE CARDS
   ===================================================== */
.svc-card {
  padding: 2.25rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  transition: all var(--t);
  position: relative; overflow: hidden;
}
.svc-card:hover {
  border-color: var(--cyan);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--cyan-glow);
}
.svc-card-num {
  font-family: var(--ff-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.svc-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; line-height: 1.3; }
.svc-card p  { font-size: 0.88rem; line-height: 1.72; }
.svc-card-arrow {
  position: absolute; bottom: 2rem; right: 2rem;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--muted);
  transition: all var(--t-fast);
}
.svc-card:hover .svc-card-arrow { background: var(--cyan); border-color: var(--cyan); color: #fff; }

/* =====================================================
   STATS ROW
   ===================================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
}
.stat-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background var(--t-fast);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-2); }
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800; line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.stat-num .sup { color: var(--cyan); font-size: 0.6em; vertical-align: super; }
.stat-lbl { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; font-weight: 500; }

/* =====================================================
   FEATURE / PROCESS
   ===================================================== */
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--t-fast);
  cursor: default;
}
.process-item:first-child { border-top: 1px solid var(--border); }
.process-item:hover { padding-left: 0.75rem; }
.process-num {
  font-family: var(--ff-display);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--cyan);
  padding-top: 0.3rem;
  text-transform: uppercase;
}
.process-body h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.process-body p  { font-size: 0.875rem; color: var(--muted); }

/* =====================================================
   PRODUCT CARDS — Whatapsi & PosPilot
   ===================================================== */
.product-card {
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 4vw, 4rem);
  position: relative; overflow: hidden;
  transition: all var(--t);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-wa {
  background: var(--bg-2);
  border: 1px solid var(--border);
}
[data-theme="dark"] .product-card-wa { background: var(--bg-2); }
.product-card-pos {
  background: var(--fg);
  color: var(--bg);
}
[data-theme="dark"] .product-card-pos { background: var(--bg-3); color: var(--fg); }
.product-card-pos h2,
.product-card-pos h3,
.product-card-pos p { color: inherit; }
.product-card-pos p { opacity: 0.7; }

.prod-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.prod-label-green  { background: rgba(37,211,102,0.12); color: #0d8c3e; border: 1px solid rgba(37,211,102,0.25); }
.prod-label-purple { background: rgba(139,92,246,0.12);  color: #6d28d9; border: 1px solid rgba(139,92,246,0.25); }
[data-theme="dark"] .prod-label-green  { background: rgba(37,211,102,0.15); color: #25D366; }
[data-theme="dark"] .prod-label-purple { background: rgba(139,92,246,0.15); color: #a78bfa; }

.prod-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 2rem; }
.prod-tag {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border-2);
  border-radius: var(--r-pill);
  font-size: 0.74rem; font-weight: 500;
  color: var(--muted);
}
.product-card-pos .prod-tag { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.65); }
[data-theme="dark"] .product-card-pos .prod-tag { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.55); }

.prod-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border-radius: var(--r-md); overflow: hidden; margin-top: 2.5rem; }
.prod-stat { background: var(--bg); padding: 1.25rem; text-align: center; }
.product-card-pos .prod-stat { background: rgba(255,255,255,0.06); }
[data-theme="dark"] .product-card-pos .prod-stat { background: var(--bg-2); }
.prod-stat-n { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 800; line-height: 1; color: var(--cyan); }
.prod-stat-l { font-size: 0.74rem; color: var(--muted); margin-top: 0.2rem; }
.product-card-pos .prod-stat-l { color: rgba(255,255,255,0.5); }
[data-theme="dark"] .product-card-pos .prod-stat-l { color: var(--muted); }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testi-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  transition: all var(--t);
}
.testi-card:hover { border-color: var(--cyan); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { color: var(--cyan); letter-spacing: 2px; font-size: 0.82rem; margin-bottom: 1rem; }
.testi-text { font-size: 0.92rem; line-height: 1.8; color: var(--muted); margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.9rem; }
.testi-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--fg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: var(--bg);
  flex-shrink: 0;
}
[data-theme="dark"] .testi-av { background: var(--bg-3); color: var(--fg); }
.testi-name { font-weight: 600; font-size: 0.875rem; color: var(--fg); }
.testi-role { font-size: 0.78rem; color: var(--muted); }

/* =====================================================
   PRICING
   ===================================================== */
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  background: var(--bg);
  position: relative;
  transition: all var(--t);
}
.price-card.featured {
  border-color: var(--cyan);
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--cyan-glow);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured:hover { box-shadow: 0 0 0 4px var(--cyan-glow), var(--shadow-md); }
.price-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--cyan); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.28rem 1rem; border-radius: 0 0 6px 6px;
}
.price-tier  { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.price-amt   { font-family: var(--ff-display); font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--fg); }
.price-per   { font-size: 0.85rem; color: var(--muted); }
.price-divider { border: none; border-top: 1px solid var(--border); margin: 1.75rem 0; }
.price-feat {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.price-feat:last-child { border-bottom: none; }
.price-feat::before {
  content: '';
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--cyan-glow);
  border: 1.5px solid var(--cyan);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%2329ABE2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* =====================================================
   FAQ
   ===================================================== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 0; background: none; border: none;
  text-align: left; color: var(--fg);
  font-family: var(--ff-display); font-weight: 600; font-size: 1rem;
  cursor: pointer; gap: 1.5rem;
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--cyan); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--muted);
  transition: all 0.3s;
}
.faq-item.open .faq-icon { background: var(--cyan); border-color: var(--cyan); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 0 1.5rem; font-size: 0.9rem; color: var(--muted); line-height: 1.8; }
.faq-item.open .faq-a { max-height: 500px; }

/* =====================================================
   CTA BAND
   ===================================================== */
.cta-band {
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--r-xl);
  padding: clamp(3.5rem, 7vw, 7rem) clamp(2rem, 5vw, 6rem);
  text-align: center;
  position: relative; overflow: hidden;
}
[data-theme="dark"] .cta-band { background: var(--bg-2); border: 1px solid var(--border-2); }
.cta-band::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(41,171,226,0.15) 0%, transparent 65%);
  top: -200px; right: -100px; pointer-events: none;
}
.cta-band h2 { color: var(--bg); font-size: clamp(2rem, 4vw, 3.5rem); position: relative; }
[data-theme="dark"] .cta-band h2 { color: var(--fg); }
.cta-band p  { color: rgba(255,255,255,0.65); max-width: 520px; margin: 1rem auto 0; position: relative; font-size: 1.05rem; }
[data-theme="dark"] .cta-band p { color: var(--muted); }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; position: relative; }
.btn-cta-light {
  background: #fff; color: var(--fg); border-color: #fff;
  font-family: var(--ff-display); font-weight: 700;
}
.btn-cta-light:hover { background: rgba(255,255,255,0.88); color: var(--fg); }
[data-theme="dark"] .btn-cta-light { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-cta-outline {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
  font-family: var(--ff-display); font-weight: 600;
}
.btn-cta-outline:hover { border-color: rgba(255,255,255,0.65); color: #fff; }

/* =====================================================
   FORMS
   ===================================================== */
.form-group  { margin-bottom: 1.2rem; }
.form-label  { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--fg); }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.88rem 1.1rem;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  color: var(--fg); font-family: var(--ff-body); font-size: 0.93rem;
  transition: border-color 0.3s, box-shadow 0.3s; outline: none; -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(41,171,226,0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted-2); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-select option { background: var(--bg); color: var(--fg); }
.form-msg { display: none; margin-top: 1rem; padding: 1rem 1.25rem; border-radius: var(--r-md); font-size: 0.9rem; font-weight: 600; }

/* =====================================================
   BLOG CARDS
   ===================================================== */
.blog-card {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all var(--t);
}
.blog-card:hover { border-color: var(--cyan); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card:hover .blog-thumb { transform: scale(1.04); }
.blog-img-wrap { overflow: hidden; height: 220px; background: var(--bg-2); }
.blog-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-body { padding: 1.75rem; }
.blog-meta { display: flex; gap: 0.75rem; margin-bottom: 0.65rem; font-size: 0.76rem; color: var(--muted); }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.65rem; line-height: 1.38; letter-spacing: -0.02em; }
.blog-card h3 a { color: var(--fg); text-decoration: none; transition: color var(--t-fast); }
.blog-card h3 a:hover { color: var(--cyan); }
.blog-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.68; }

/* =====================================================
   PAGE HERO
   ===================================================== */
.page-hero {
  padding: 10rem 0 5.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(41,171,226,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .label { justify-content: center; }
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero p { max-width: 520px; margin-inline: auto; }

/* =====================================================
   FOOTER
   ===================================================== */
#site-footer {
  background: var(--fg);
  color: var(--bg);
  border-top: 1px solid var(--border);
}
[data-theme="dark"] #site-footer { background: var(--bg-2); color: var(--fg); border-color: var(--border); }
.footer-top {
  padding: 5rem 0 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand-desc { font-size: 0.875rem; line-height: 1.8; margin: 1.25rem 0 1.75rem; max-width: 280px; opacity: 0.5; }
.footer-social { display: flex; gap: 0.6rem; }
.soc-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
  transition: all 0.3s; text-decoration: none;
}
[data-theme="dark"] .soc-btn { border-color: var(--border); color: var(--muted); }
.soc-btn:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; transform: translateY(-2px); }
.footer-col-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.35; margin-bottom: 1.25rem; color: inherit; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.875rem; opacity: 0.55; transition: opacity 0.2s; text-decoration: none; color: inherit; }
.footer-links a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
[data-theme="dark"] .footer-bottom { border-color: var(--border); }
.footer-bottom p { font-size: 0.8rem; opacity: 0.35; color: inherit; }

/* =====================================================
   FLOATING ELEMENTS
   ===================================================== */
.wa-float {
  position: fixed; bottom: 5.5rem; right: 1.75rem;
  width: 50px; height: 50px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  z-index: 900; box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: all 0.3s; text-decoration: none;
}
.wa-float::before {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  background: rgba(37,211,102,0.2);
  animation: pulseDot 2s ease-out infinite;
}
.wa-float:hover { transform: scale(1.1); }
.btt-btn {
  position: fixed; bottom: 1.75rem; right: 1.75rem;
  width: 44px; height: 44px; background: var(--fg);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all 0.4s var(--ease); border: none;
  color: var(--bg); font-size: 1rem; z-index: 900;
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .btt-btn { background: var(--bg-3); color: var(--fg); }
.btt-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.btt-btn:hover { transform: translateY(-3px); background: var(--cyan); color: #fff; }

/* Cookie bar */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--fg); color: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem var(--gutter);
  z-index: 950;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  transform: translateY(100%); transition: transform 0.5s var(--ease);
}
[data-theme="dark"] .cookie-bar { background: var(--bg-2); color: var(--fg); border-color: var(--border); }
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { font-size: 0.84rem; opacity: 0.65; max-width: 660px; color: inherit; }
.cookie-bar p a { color: var(--cyan); opacity: 1; }
.cookie-btns { display: flex; gap: 0.75rem; }
.btn-cookie-ok {
  padding: 0.55rem 1.4rem; border-radius: var(--r-pill);
  background: var(--cyan); color: #fff; border: none;
  font-size: 0.82rem; font-weight: 700; cursor: pointer;
  font-family: var(--ff-display);
}
.btn-cookie-ess {
  padding: 0.55rem 1.4rem; border-radius: var(--r-pill);
  background: transparent; color: inherit;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
  font-family: var(--ff-display); opacity: 0.7;
}
[data-theme="dark"] .btn-cookie-ess { border-color: var(--border); }

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px);  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }

/* =====================================================
   KEYFRAMES
   ===================================================== */
@keyframes fadeUp   { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes marquee  { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@keyframes pulseDot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.6; transform:scale(1.3); } }
@keyframes orbFloat { 0%,100% { transform:translateY(-50%) scale(1); } 50% { transform:translateY(-52%) scale(1.04); } }
@keyframes scrollLine { 0% { opacity:0; transform:scaleY(0); transform-origin:top; } 50% { opacity:1; transform:scaleY(1); } 100% { opacity:0; transform:scaleY(1); transform-origin:bottom; } }
@keyframes spin { to { transform:rotate(360deg); } }

/* =====================================================
   UTILITIES
   ===================================================== */
.divider { border: none; border-top: 1px solid var(--border); }
.highlight { background: var(--cyan-light); color: var(--cyan-dark); padding: 0.15em 0.4em; border-radius: 4px; }
[data-theme="dark"] .highlight { background: rgba(41,171,226,0.15); color: var(--cyan); }
.tag-chip { display: inline-block; padding: 0.25rem 0.75rem; border: 1px solid var(--border-2); border-radius: var(--r-pill); font-size: 0.74rem; font-weight: 500; color: var(--muted); }
.tag-cyan { border-color: rgba(41,171,226,0.3); color: var(--cyan); background: rgba(41,171,226,0.06); }
.spinner { width: 20px; height: 20px; border: 2px solid var(--border-2); border-top-color: var(--cyan); border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 4px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-cta .hide-mobile { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(even) { border-right: none; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { gap: 2rem; }
  .cta-btns { flex-direction: column; align-items: center; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
}
