/* =========================================================
   Oliva OASIS v5 -- Premium Design System
   Glassmorphism | Liquid Glass | Skeuomorphism | Minimalism
   ========================================================= */

/* ---------------------------------------------------------
   1. Design Tokens
   --------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Surface */
  --bg: #f0f1f3;
  --bg-warm: #eef0f4;
  --bg-surface: rgba(255,255,255,0.32);
  --bg-card: rgba(255,255,255,0.3);
  --bg-card-hover: rgba(255,255,255,0.48);

  /* Glass */
  --glass-blur: 40px;
  --glass-bg: rgba(255,255,255,0.3);
  --glass-bg-strong: rgba(255,255,255,0.52);
  --glass-border: rgba(255,255,255,0.55);
  --glass-border-strong: rgba(255,255,255,0.75);
  --glass-shadow:
    0 8px 32px rgba(0,0,0,0.07),
    0 2px 8px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(0,0,0,0.03);

  /* Liquid Glass */
  --liquid-blur: 56px;
  --liquid-bg: rgba(255,255,255,0.18);
  --liquid-shadow:
    0 12px 48px rgba(0,0,0,0.08),
    0 4px 12px rgba(0,0,0,0.04),
    inset 0 1px 1px rgba(255,255,255,0.95),
    inset 0 -1px 1px rgba(0,0,0,0.03);

  /* Borders */
  --border: rgba(0,0,0,0.06);
  --border-hover: rgba(13,148,136,0.35);

  /* Accent -- teal */
  --accent: #0d9488;
  --accent-light: #14b8a6;
  --accent-bright: #2dd4bf;
  --accent-pale: #ccfbf1;
  --accent-dim: rgba(13,148,136,0.06);
  --accent-glow: rgba(13,148,136,0.12);

  /* Text */
  --text: #475569;
  --text-bright: #0f172a;
  --text-muted: #94a3b8;

  /* Status */
  --success: #059669;
  --info: #0284c7;
  --danger: #dc2626;

  /* Depth -- skeuomorphic multi-layer */
  --shadow-sm:
    0 1px 1px rgba(0,0,0,0.04),
    0 2px 4px rgba(0,0,0,0.04),
    0 4px 8px rgba(0,0,0,0.03);
  --shadow-md:
    0 2px 4px rgba(0,0,0,0.03),
    0 8px 16px rgba(0,0,0,0.05),
    0 16px 32px rgba(0,0,0,0.04);
  --shadow-lg:
    0 4px 8px rgba(0,0,0,0.04),
    0 16px 32px rgba(0,0,0,0.06),
    0 32px 64px rgba(0,0,0,0.06);
  --shadow-inset:
    inset 0 2px 4px rgba(0,0,0,0.07),
    inset 0 1px 2px rgba(0,0,0,0.04);

  /* Radius */
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  /* Typography */
  --font-heading: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  accent-color: var(--accent);
  position: relative;
  min-height: 100vh;
}

/* ---------------------------------------------------------
   Ambient Gradient Orbs -- makes glass visible
   Floating colored blurs behind all content
   --------------------------------------------------------- */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
body::before {
  width: 50vw;
  height: 50vw;
  max-width: 700px;
  max-height: 700px;
  top: -8%;
  right: -12%;
  background: radial-gradient(circle, rgba(13,148,136,0.12) 0%, rgba(13,148,136,0.04) 40%, transparent 70%);
  filter: blur(80px);
  animation: orb-drift-1 25s ease-in-out infinite alternate;
}
body::after {
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  bottom: 5%;
  left: -10%;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, rgba(2,132,199,0.05) 40%, transparent 70%);
  filter: blur(80px);
  animation: orb-drift-2 30s ease-in-out infinite alternate;
}

@keyframes orb-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-6vw, 8vh) scale(1.1); }
  100% { transform: translate(4vw, -5vh) scale(0.95); }
}
@keyframes orb-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(8vw, -6vh) scale(1.08); }
  100% { transform: translate(-5vw, 4vh) scale(0.92); }
}

/* Everything on top of the orbs */
nav, main, footer, .cookie-banner, .back-to-top, .skip-nav { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; }

/* ---------------------------------------------------------
   3. Layout
   --------------------------------------------------------- */
.container { width: min(1200px, 92vw); margin: 0 auto; }
.text-center { text-align: center; }

/* ---------------------------------------------------------
   4. Typography -- dramatic hierarchy
   --------------------------------------------------------- */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(46px, 6vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--text-bright);
}
h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--text-bright);
}
h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-bright);
  line-height: 1.35;
}
h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
}
p { line-height: 1.7; }

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text);
  max-width: 620px;
  line-height: 1.8;
  font-weight: 400;
}
.lead-center { margin: 0 auto; }

.gradient-text {
  background: linear-gradient(135deg, #0d9488, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Eyebrow -- minimalist uppercase */
.section-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(13,148,136,0.06);
  border: 1px solid rgba(13,148,136,0.12);
  color: var(--accent);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-eyebrow::before { display: none; }

/* Legacy compat */
.badge {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(13,148,136,0.15);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: rgba(13,148,136,0.04);
}
.section-tag {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.muted { color: var(--text-muted); font-size: 14px; }

/* ---------------------------------------------------------
   5. Navigation -- liquid glass on scroll
   --------------------------------------------------------- */
nav {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
nav.scrolled {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  box-shadow:
    0 4px 32px rgba(0,0,0,0.06),
    0 1px 0 rgba(255,255,255,0.7) inset;
}
nav::after { display: none; }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  height: 68px;
  max-width: 100%;
}

.brand {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-bright);
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand:hover { color: var(--text-bright); }
.brand img {
  height: 32px;
  width: auto;
  object-fit: contain;
  margin-right: 10px;
}
.footer .brand img { height: 38px; }

.nav-links { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }

/* Glass pill container for nav links */
.nav-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.32);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
  padding: 4px 6px;
  box-shadow:
    0 2px 12px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(0,0,0,0.02);
  transition: all 0.35s;
}
nav.scrolled .nav-pill {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.03),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

.nav-links a,
.nav-pill a {
  color: var(--text);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.25s;
}
.nav-links a:hover,
.nav-links a.active,
.nav-pill a:hover,
.nav-pill a.active {
  color: var(--text-bright);
  background: rgba(0,0,0,0.05);
}

/* Nav CTA -- skeuomorphic mini button */
.nav-cta {
  background: linear-gradient(180deg, #2dd4bf 0%, #14b8a6 30%, #0d9488 100%) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.35),
    inset 0 -1px 1px rgba(0,0,0,0.1),
    0 2px 8px rgba(13,148,136,0.3),
    0 4px 16px rgba(13,148,136,0.15) !important;
  border-radius: var(--radius-sm) !important;
  padding: 9px 20px !important;
  transition: all 0.25s !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.nav-cta:hover {
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.35),
    inset 0 -1px 1px rgba(0,0,0,0.1),
    0 4px 12px rgba(13,148,136,0.4),
    0 8px 28px rgba(13,148,136,0.2) !important;
  transform: translateY(-2px);
  background: linear-gradient(180deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%) !important;
}
.nav-cta:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.2),
    0 1px 2px rgba(13,148,136,0.2) !important;
}

/* ---------------------------------------------------------
   6. Hero -- dramatic, minimalist
   --------------------------------------------------------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Gradient mesh behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(13,148,136,0.13) 0%,
    rgba(13,148,136,0.06) 30%,
    rgba(2,132,199,0.03) 60%,
    transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: hero-orb-1 20s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(139,92,246,0.06) 0%,
    rgba(99,102,241,0.04) 40%,
    transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  animation: hero-orb-2 25s ease-in-out infinite alternate;
}

@keyframes hero-orb-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-4vw, 6vh) scale(1.08); }
}
@keyframes hero-orb-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5vw, -4vh) scale(1.05); }
}

.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 740px; }
.hero h1 { margin-bottom: 28px; }

.hero h1 em {
  font-style: italic;
  color: var(--accent);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.hero .lead {
  margin-bottom: 44px;
  font-size: 19px;
  color: var(--text);
  line-height: 1.8;
}

/* Hero Stats -- liquid glass cards */
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 56px;
}
.hero-stats > div {
  padding: 20px 28px;
  background: rgba(255,255,255,0.28);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(0,0,0,0.02);
  transition: all 0.3s;
}
.hero-stats > div:hover {
  background: rgba(255,255,255,0.4);
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(0,0,0,0.02);
}
.hero-stat-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------------------------------------------------------
   7. Sections -- generous minimalist spacing
   --------------------------------------------------------- */
.section { padding: 120px 0; }

.section-alt {
  position: relative;
  overflow: hidden;
}
/* Glass surface for alt sections */
.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}
.section-alt > * { position: relative; z-index: 1; }

/* Ambient color orb per alt section */
.section-alt::after {
  content: '';
  position: absolute;
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.06) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  top: 20%;
  left: -10%;
}

.section-header { margin-bottom: 64px; }

/* ---------------------------------------------------------
   8. Cards -- GLASSMORPHISM + LIQUID GLASS
   --------------------------------------------------------- */
.card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(200%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(200%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--glass-shadow);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}

/* Specular highlight -- top edge light refraction */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.95) 20%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,0.95) 80%,
    transparent);
  z-index: 2;
  opacity: 0.8;
}

/* Prismatic border shimmer on hover -- liquid glass effect */
.card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(13,148,136,0.15),
    rgba(99,102,241,0.1),
    rgba(244,114,182,0.08),
    rgba(251,191,36,0.08),
    rgba(13,148,136,0.15)
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.09),
    0 4px 12px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -1px 0 rgba(0,0,0,0.02);
  border-color: rgba(255,255,255,0.7);
}
.card:hover::after { opacity: 1; }

/* Vanilla Tilt compat */
.card .js-tilt-glare { border-radius: var(--radius-lg) !important; }

.card-glow {
  background: linear-gradient(135deg, rgba(13,148,136,0.04) 0%, var(--glass-bg) 100%);
  border-color: rgba(13,148,136,0.15);
}

/* Liquid glass -- highlight variant */
.card-highlight {
  background: var(--liquid-bg);
  backdrop-filter: blur(var(--liquid-blur)) saturate(220%);
  -webkit-backdrop-filter: blur(var(--liquid-blur)) saturate(220%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--liquid-shadow);
}
.card-highlight::after {
  opacity: 0.4;
}

.card-accent {
  background: linear-gradient(135deg, rgba(13,148,136,0.03) 0%, var(--glass-bg) 100%);
  border-color: rgba(13,148,136,0.12);
}

/* Card icon */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 22px;
  line-height: 1;
  border-radius: 16px;
  background: rgba(13,148,136,0.06);
  border: 1px solid rgba(13,148,136,0.1);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

/* Feature icon containers */
.feat-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: rgba(13,148,136,0.06);
  border: 1px solid rgba(13,148,136,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

/* Feature card */
.feature-card { padding: 36px; }
.feature-card .feat-icon { margin-bottom: 22px; }
.feature-card h3 { margin-bottom: 10px; font-size: 17px; }
.feature-card p { color: var(--text); font-size: 15px; line-height: 1.65; }

/* ---------------------------------------------------------
   9. Buttons -- SKEUOMORPHIC 3D
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  font-family: var(--font);
  letter-spacing: -0.01em;
  white-space: nowrap;
  position: relative;
}

/* Primary -- deep skeuomorphic with 3D bevel */
.btn-primary {
  background: linear-gradient(180deg, #2dd4bf 0%, #14b8a6 25%, #0d9488 70%, #0f766e 100%);
  color: #fff;
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.4),
    inset 0 -2px 3px rgba(0,0,0,0.1),
    0 2px 4px rgba(13,148,136,0.2),
    0 6px 16px rgba(13,148,136,0.2),
    0 12px 32px rgba(13,148,136,0.1);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  overflow: hidden;
}
.btn-primary::after { display: none; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.4),
    inset 0 -2px 3px rgba(0,0,0,0.1),
    0 4px 8px rgba(13,148,136,0.25),
    0 10px 24px rgba(13,148,136,0.25),
    0 20px 48px rgba(13,148,136,0.12);
  background: linear-gradient(180deg, #14b8a6 0%, #0d9488 40%, #0f766e 100%);
  color: #fff;
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 3px 8px rgba(0,0,0,0.25),
    inset 0 1px 2px rgba(0,0,0,0.15),
    0 1px 2px rgba(13,148,136,0.15);
  background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%);
}

/* Secondary -- glass button */
.btn-secondary {
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-bright);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -1px 0 rgba(0,0,0,0.04),
    0 2px 4px rgba(0,0,0,0.04),
    0 4px 12px rgba(0,0,0,0.04);
}
.btn-secondary:hover {
  border-color: rgba(13,148,136,0.3);
  color: var(--accent);
  background: rgba(255,255,255,0.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(0,0,0,0.04),
    0 4px 8px rgba(0,0,0,0.06),
    0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.btn-secondary:active {
  transform: translateY(0);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.08),
    0 1px 2px rgba(0,0,0,0.04);
}

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 17px 36px; font-size: 16px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------
   10. Pricing -- premium layout with liquid glass popular
   --------------------------------------------------------- */

/* Force equal-height cards: grid stretch + flex column */
.grid-4:has(.pricing-card) { align-items: stretch; padding: 12px 0; }
/* Fallback for browsers without :has() */
.grid-4 { align-items: stretch; }

.pricing-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
}
.pricing-card h3 {
  font-size: 18px;
  margin-top: 14px;
  margin-bottom: 0;
}
.pricing-card .price {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.03em;
  margin: 16px 0 4px;
  line-height: 1;
}
.pricing-card .price span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 2px;
}
.pricing-card .price-note {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  font-weight: 600;
}
.pricing-card .check {
  flex: 1;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.pricing-card .btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  justify-content: center;
}

/* ---- MOST POPULAR -- dramatic differentiation ---- */
.pricing-popular {
  background: linear-gradient(
    168deg,
    rgba(13,148,136,0.08) 0%,
    rgba(255,255,255,0.22) 40%,
    rgba(13,148,136,0.04) 100%
  ) !important;
  backdrop-filter: blur(var(--liquid-blur)) saturate(220%) !important;
  -webkit-backdrop-filter: blur(var(--liquid-blur)) saturate(220%) !important;
  border: 1.5px solid rgba(13,148,136,0.3) !important;
  box-shadow:
    0 0 0 1px rgba(13,148,136,0.08),
    0 16px 48px rgba(13,148,136,0.12),
    0 8px 24px rgba(0,0,0,0.06),
    inset 0 1px 1px rgba(255,255,255,0.95),
    inset 0 -1px 1px rgba(0,0,0,0.02) !important;
  transform: scale(1.04);
  z-index: 2;
}
.pricing-popular:hover {
  transform: scale(1.04) translateY(-4px);
}

/* Active prismatic border on popular card */
.pricing-popular::after {
  opacity: 0.6 !important;
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(13,148,136,0.25),
    rgba(99,102,241,0.15),
    rgba(244,114,182,0.1),
    rgba(251,191,36,0.1),
    rgba(13,148,136,0.25)
  ) !important;
}
.pricing-popular:hover::after {
  opacity: 1 !important;
}

/* Accent line at top of popular card */
.pricing-popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent), var(--accent-bright));
  z-index: 3;
  opacity: 1;
}

.pricing-popular-badge {
  display: inline-block;
  background: linear-gradient(180deg, #2dd4bf 0%, #0d9488 100%);
  color: #fff;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  box-shadow:
    0 2px 8px rgba(13,148,136,0.35),
    0 4px 16px rgba(13,148,136,0.15),
    inset 0 1px 0 rgba(255,255,255,0.25);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Popular card -- ROI highlight text */
.pricing-popular .pricing-roi {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
  padding: 6px 12px;
  background: rgba(13,148,136,0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13,148,136,0.1);
}

/* ---------------------------------------------------------
   11. Steps / Process -- skeuomorphic badges
   --------------------------------------------------------- */
.step { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 36px; }
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(13,148,136,0.1) 0%, rgba(13,148,136,0.04) 100%);
  border: 1px solid rgba(13,148,136,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(0,0,0,0.03);
}

/* ---------------------------------------------------------
   12. Tags
   --------------------------------------------------------- */
.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.tag-amber  { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.15); color: #b45309; }
.tag-green  { background: rgba(5,150,105,0.08); border-color: rgba(5,150,105,0.15); color: #047857; }
.tag-blue   { background: rgba(13,148,136,0.08); border-color: rgba(13,148,136,0.15); color: var(--accent); }
.tag-purple { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.15); color: #6366f1; }

/* ---------------------------------------------------------
   13. KPI / Stats
   --------------------------------------------------------- */
.kpi {
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.kpi-label { color: var(--text-muted); font-size: 14px; font-weight: 500; }

/* ---------------------------------------------------------
   14. Lists
   --------------------------------------------------------- */
ul.check { list-style: none; padding: 0; }
ul.check li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
ul.check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(5,150,105,0.1), rgba(5,150,105,0.04));
  border: 1px solid rgba(5,150,105,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
ul.check li::after {
  content: '\2713';
  position: absolute;
  left: 3px;
  top: 8px;
  color: var(--success);
  font-size: 10px;
  font-weight: 700;
}
ul.clean { padding-left: 20px; color: var(--text); }
ul.clean li { margin-bottom: 8px; font-size: 14px; }

/* ---------------------------------------------------------
   15. Forms -- SKEUOMORPHIC embossed inputs
   --------------------------------------------------------- */
.form-group { margin-bottom: 22px; }
label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-bright);
  font-size: 14px;
  font-weight: 500;
}

input, textarea, select {
  width: 100%;
  background: rgba(255,255,255,0.6);
  color: var(--text-bright);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  font-family: var(--font);
  transition: all 0.25s;
  /* Skeuomorphic inset -- embossed into surface */
  box-shadow:
    inset 0 2px 6px rgba(0,0,0,0.06),
    inset 0 1px 2px rgba(0,0,0,0.04),
    0 1px 0 rgba(255,255,255,0.7);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.85);
  box-shadow:
    0 0 0 4px rgba(13,148,136,0.1),
    inset 0 2px 4px rgba(0,0,0,0.03),
    0 1px 0 rgba(255,255,255,0.8);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
select option { background: #fff; color: var(--text-bright); }
textarea { min-height: 110px; resize: vertical; }
.grid-2.form-grid { gap: 16px; }

/* Multi-step form wizard */
.wizard-progress {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  margin-bottom: 36px;
}
.wizard-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.wizard-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.6);
  color: var(--text-muted);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 2px 6px rgba(0,0,0,0.06);
}
.wizard-dot.active {
  border-color: var(--accent);
  background: rgba(13,148,136,0.08);
  color: var(--accent);
  box-shadow: 0 0 0 5px rgba(13,148,136,0.1), 0 2px 8px rgba(13,148,136,0.15);
}
.wizard-dot.completed {
  border-color: var(--success);
  background: rgba(5,150,105,0.08);
  color: var(--success);
}
.wizard-line {
  width: 56px;
  height: 2px;
  background: rgba(0,0,0,0.08);
  margin-top: 21px;
  flex-shrink: 0;
  transition: background 0.35s;
}
.wizard-line.completed {
  background: linear-gradient(90deg, var(--success), rgba(5,150,105,0.3));
}
.wizard-label {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.04em;
  font-weight: 500;
  transition: color 0.3s;
}
.wizard-step-indicator.active .wizard-label { color: var(--accent); }
.wizard-step-indicator.completed .wizard-label { color: var(--success); }
.wizard-panel { display: none !important; }
.wizard-panel.active {
  display: block !important;
  animation: wizardIn 0.35s ease both;
}
@keyframes wizardIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wizard-nav { display: flex; gap: 12px; margin-top: 28px; }
.wizard-nav .btn { flex: 1; justify-content: center; }
.wizard-nav .btn-back {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text);
  flex: 0 0 auto;
  padding: 12px 24px;
}
.wizard-nav .btn-back:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(13,148,136,0.03);
}
.wizard-step-count {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  letter-spacing: 0.02em;
}
@media (max-width: 1060px) {
  .wizard-line { width: 32px; }
  .wizard-dot { width: 38px; height: 38px; font-size: 14px; }
  .wizard-line { margin-top: 18px; }
}

/* ---------------------------------------------------------
   16. Table
   --------------------------------------------------------- */
table { width: 100%; border-collapse: collapse; }
th {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  text-align: left;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
td { padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 14px; }
tr:hover td { background: rgba(13,148,136,0.02); }

/* ---------------------------------------------------------
   17. Divider
   --------------------------------------------------------- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
  margin: 0;
}

/* ---------------------------------------------------------
   18. Trust bar
   --------------------------------------------------------- */
.trust-bar {
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding: 22px 0;
  background: transparent;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-item span { color: var(--accent); font-size: 14px; }

/* ---------------------------------------------------------
   19. Scroll Reveal
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible, .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ---------------------------------------------------------
   20. Grid layouts
   --------------------------------------------------------- */
.grid-2, .grid-3, .grid-4, .grid-5 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

/* ---------------------------------------------------------
   21. Footer -- dark contrast with glass border
   --------------------------------------------------------- */
.footer {
  --text-bright: #f1f5f9;
  --text: #94a3b8;
  --text-muted: #64748b;
  --bg-card: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(13,148,136,0.4);
  --accent-dim: rgba(13,148,136,0.15);

  padding: 72px 0 36px;
  background: #0f172a;
  color: var(--text);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(13,148,136,0.4) 25%,
    rgba(99,102,241,0.25) 50%,
    rgba(2,132,199,0.3) 75%,
    transparent 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer h4 {
  color: var(--text-bright);
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer a { display: block; color: var(--text-muted); padding: 5px 0; font-size: 14px; transition: color 0.2s; }
.footer a:hover { color: var(--accent-light); }
.footer-brand { font-size: 14px; line-height: 1.8; color: var(--text-muted); margin-top: 10px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------------------------------------------------------
   22. Responsive
   --------------------------------------------------------- */
@media (max-width: 1060px) {
  .grid-2, .grid-3, .grid-5, .split, .footer-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pricing-popular { transform: scale(1.02); }
  .pricing-popular:hover { transform: scale(1.02) translateY(-4px); }
  .nav-links { display: none; }
  .nav-wrap { padding: 0 20px; }
  .hero { padding: 80px 0 60px; min-height: auto; }
  .section { padding: 80px 0; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .split { gap: 40px; }
  .section-header { margin-bottom: 48px; }

  /* Reduce orb size on mobile */
  body::before { width: 80vw; height: 80vw; top: -5%; right: -20%; }
  body::after { width: 70vw; height: 70vw; bottom: 10%; left: -20%; }
}

@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; gap: 24px; }
  .pricing-popular { transform: none; }
  .pricing-popular:hover { transform: translateY(-4px); }
}

/* ---------------------------------------------------------
   23. Mobile Navigation -- glass dropdown
   --------------------------------------------------------- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-bright);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 1060px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none !important;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding: 16px 24px;
    flex-direction: column;
    gap: 4px;
    box-shadow:
      0 12px 40px rgba(0,0,0,0.08),
      inset 0 -1px 0 rgba(255,255,255,0.6);
  }
  .nav-links.open { display: flex !important; }
  .nav-pill {
    display: contents; /* flatten pill on mobile, links stack normally */
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links a, .nav-pill a { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; }
  .nav-cta { text-align: center; margin-top: 8px; }
}

/* ---------------------------------------------------------
   24. Client Logos
   --------------------------------------------------------- */
.client-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 48px 0;
}
.client-logo {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.35;
  letter-spacing: -0.01em;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.client-logo:hover { opacity: 0.6; }

/* ---------------------------------------------------------
   25. Testimonials -- glass cards
   --------------------------------------------------------- */
.testimonial { position: relative; padding: 36px; }
.testimonial-quote {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 28px;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13,148,136,0.08), rgba(2,132,199,0.06));
  border: 1px solid rgba(13,148,136,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.5);
}
.testimonial-name { font-weight: 600; color: var(--text-bright); font-size: 14px; }
.testimonial-role { color: var(--text-muted); font-size: 13px; }

/* ---------------------------------------------------------
   26. Case Study Cards
   --------------------------------------------------------- */
.case-card { padding: 40px; }
.case-card-header { margin-bottom: 24px; }
.case-card-company { font-size: 22px; font-weight: 700; color: var(--text-bright); margin-bottom: 6px; }
.case-card-industry { font-size: 13px; color: var(--text-muted); }
.case-card-stats {
  display: flex;
  gap: 32px;
  padding: 22px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  margin: 22px 0;
  flex-wrap: wrap;
}
.case-stat-value { font-size: 30px; font-weight: 700; color: var(--accent); letter-spacing: -0.03em; }
.case-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  margin-top: 16px;
  transition: gap 0.25s;
}
.case-card-link:hover { gap: 12px; }

/* ---------------------------------------------------------
   27. Job Cards
   --------------------------------------------------------- */
.job-card { padding: 36px; }
.job-card h3 { margin-bottom: 8px; }
.job-meta { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.job-meta span { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.job-card p { font-size: 14px; color: var(--text); margin-bottom: 16px; line-height: 1.65; }

/* ---------------------------------------------------------
   28. FAQ Accordion -- glass panels
   --------------------------------------------------------- */
.faq-item {
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.7);
}
.faq-item:hover {
  border-color: rgba(13,148,136,0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.8);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text-bright);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  transition: background 0.2s;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background: rgba(255,255,255,0.15); }
.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item[open] .faq-question::after,
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 28px 22px; background: transparent; }
.faq-answer p { font-size: 14px; color: var(--text); line-height: 1.7; }

/* ---------------------------------------------------------
   29. Blog Cards
   --------------------------------------------------------- */
.blog-card { padding: 0; overflow: hidden; }
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, rgba(13,148,136,0.08), rgba(99,102,241,0.06), rgba(2,132,199,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.blog-card-body { padding: 32px; }
.blog-card-date {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.blog-card h3 { margin-bottom: 10px; font-size: 18px; }
.blog-card p { font-size: 14px; color: var(--text); line-height: 1.65; margin-bottom: 16px; }
.blog-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s;
}
.blog-card-link:hover { gap: 12px; }

/* ---------------------------------------------------------
   30. Partners Grid
   --------------------------------------------------------- */
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.partner-item:hover { opacity: 0.85; }
.partner-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.partner-name { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ---------------------------------------------------------
   31. Legal Pages
   --------------------------------------------------------- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 22px; margin-top: 48px; margin-bottom: 16px; }
.legal-content h3 { font-size: 17px; margin-top: 32px; margin-bottom: 12px; }
.legal-content p { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 8px; }
.legal-content strong { color: var(--text-bright); }
.legal-updated { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }

/* ---------------------------------------------------------
   32. Contact Page
   --------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 52px; align-items: start; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(13,148,136,0.06);
  border: 1px solid rgba(13,148,136,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--text-muted); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   33. Stat Highlight Boxes -- glass
   --------------------------------------------------------- */
.stat-highlight { display: flex; gap: 20px; flex-wrap: wrap; }
.stat-box {
  flex: 1;
  min-width: 140px;
  padding: 28px;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all 0.3s;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--glass-shadow);
}
.stat-box:hover {
  border-color: rgba(13,148,136,0.2);
  transform: translateY(-3px);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.stat-box-value {
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.stat-box-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ---------------------------------------------------------
   34. Footer Extras
   --------------------------------------------------------- */
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted) !important;
  font-size: 14px;
  font-weight: 700;
  padding: 0 !important;
  transition: all 0.25s;
}
.footer-social a:hover {
  border-color: rgba(13,148,136,0.4);
  color: var(--accent-light) !important;
  background: rgba(13,148,136,0.1);
  transform: translateY(-2px);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; }

/* ---------------------------------------------------------
   35. Newsletter
   --------------------------------------------------------- */
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 24px auto 0; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f1f5f9;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.05);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.15), inset 0 1px 2px rgba(0,0,0,0.15);
}
.newsletter-form .btn { flex-shrink: 0; }

/* ---------------------------------------------------------
   36. Cookie Consent Banner -- liquid glass
   --------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border-top: 1px solid rgba(255,255,255,0.6);
  padding: 22px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 -8px 32px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.8);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 280px; }
.cookie-banner-text p { font-size: 13px; color: var(--text); line-height: 1.6; }
.cookie-banner-text a { color: var(--accent); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner-actions .btn { padding: 10px 20px; font-size: 13px; }

/* ---------------------------------------------------------
   37. Back to Top -- skeuomorphic floating button
   --------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2dd4bf, #0d9488);
  color: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.3),
    inset 0 -1px 1px rgba(0,0,0,0.1),
    0 4px 12px rgba(13,148,136,0.3),
    0 8px 24px rgba(13,148,136,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 1px 1px rgba(0,0,0,0.15);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.3),
    inset 0 -1px 1px rgba(0,0,0,0.1),
    0 8px 20px rgba(13,148,136,0.35),
    0 16px 40px rgba(13,148,136,0.2);
}
.back-to-top:active {
  transform: translateY(0);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.2),
    0 2px 6px rgba(13,148,136,0.2);
}

/* ---------------------------------------------------------
   38. Testimonial Carousel
   --------------------------------------------------------- */
.testimonial-carousel { position: relative; overflow: hidden; }
.testimonial-carousel .grid-3 { transition: opacity 0.5s ease; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ---------------------------------------------------------
   39. ROI Calculator
   --------------------------------------------------------- */
.roi-input-group { position: relative; }
.roi-input-group input { padding-right: 48px; }
.roi-suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--text-muted);
  pointer-events: none;
}

/* ---------------------------------------------------------
   40. Accessibility
   --------------------------------------------------------- */
.skip-nav {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s;
}
.skip-nav:focus { top: 12px; outline: 2px solid var(--accent-light); outline-offset: 2px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* ---------------------------------------------------------
   41. Breadcrumb
   --------------------------------------------------------- */
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--accent); transition: color 0.2s; }
.breadcrumb a:hover { color: #0f766e; }
.breadcrumb span[aria-current] { color: var(--text); }
.breadcrumb span[aria-hidden] { color: var(--text-muted); opacity: 0.5; }

/* ---------------------------------------------------------
   42. Social Share
   --------------------------------------------------------- */
.share-buttons { display: flex; gap: 10px; margin-top: 16px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.6);
}
.share-btn:hover {
  border-color: rgba(13,148,136,0.2);
  color: var(--accent);
  background: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.7);
}

/* ---------------------------------------------------------
   43. Reading Time
   --------------------------------------------------------- */
.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------------------------------------------------------
   44. Table of Contents -- glass panel
   --------------------------------------------------------- */
.toc {
  background: var(--glass-bg);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 40px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--glass-shadow);
}
.toc h4 { margin-bottom: 14px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--accent); font-size: 14px; transition: color 0.2s; }
.toc a:hover { color: #0f766e; }

/* ---------------------------------------------------------
   45. Form Loading State
   --------------------------------------------------------- */
.btn-spinner { display: none; }
button[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------------------------------------------------------
   46. Page entrance
   --------------------------------------------------------- */
@keyframes page-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
nav { animation: page-in 0.5s ease both; }

/* ---------------------------------------------------------
   47. Noise texture overlay -- subtle depth
   --------------------------------------------------------- */
main::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}
main > * { position: relative; z-index: 1; }

/* ---------------------------------------------------------
   48. Print
   --------------------------------------------------------- */
@media print {
  nav, footer, .cookie-banner, .back-to-top, .cta-row,
  .nav-toggle, .section-eyebrow, .hero::before, .hero::after,
  .btn { display: none !important; }

  body { background: #fff; color: #000; font-size: 12pt; }
  body::before, body::after { display: none; }
  main::before { display: none; }
  .container { max-width: 100%; width: 100%; }
  .card { border: 1px solid #ccc; box-shadow: none; background: #fff; backdrop-filter: none; }
  .card::before, .card::after { display: none; }
  h1, h2, h3, h4 { color: #000; }
  a { color: #000; text-decoration: underline; }
  .legal-content { max-width: 100%; }
  .legal-content p, .legal-content li { color: #333; }
  .section { padding: 24px 0; }
  .section-alt { background: #f9f9f9; }
  .section-alt::before, .section-alt::after { display: none; }
  .legal-content a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; color: #666; }
}

/* ---------------------------------------------------------
   49. Reduced motion
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
