/* ============================================================
   RojasGroupMedia — styles.css  (Dark & Premium Redesign)
   Color System: Deep Navy + Glowing Blue + Cyan Accents
   Fonts: Poppins (headings) + Inter (body)
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Dark base */
  --bg-base:        #050B18;
  --bg-surface:     #080E1E;
  --bg-elevated:    #0C1628;
  --bg-glass:       rgba(12, 22, 40, 0.70);
  --bg-glass-light: rgba(255, 255, 255, 0.04);

  /* Brand colors */
  --blue:           #3B82F6;
  --blue-bright:    #60A5FA;
  --blue-dim:       #1D4ED8;
  --cyan:           #06B6D4;
  --cyan-bright:    #22D3EE;

  /* Glow */
  --glow-blue:      rgba(59, 130, 246, 0.35);
  --glow-blue-sm:   rgba(59, 130, 246, 0.18);
  --glow-cyan:      rgba(6, 182, 212, 0.25);

  /* Text */
  --text-primary:   #F0F6FF;
  --text-secondary: #8BA3C7;
  --text-muted:     #4A6080;

  /* Borders */
  --border:         rgba(59, 130, 246, 0.12);
  --border-bright:  rgba(59, 130, 246, 0.30);
  --border-glass:   rgba(255, 255, 255, 0.06);

  /* Feedback */
  --success:        #10B981;
  --error:          #F87171;

  /* Typography */
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radii */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-med:  250ms ease;
  --t-slow: 400ms ease;

  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--text-primary);
}

a {
  color: var(--blue-bright);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--cyan-bright); }
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}
@media (min-width: 768px) { .container { padding: 0 var(--space-8); } }

/* ---------- Utilities ---------- */
.hidden { display: none !important; }

.gradient-text {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.20);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--space-4);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Orbs (ambient glow elements) ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
  top: 100px; right: -150px;
  animation: orbFloat 16s ease-in-out infinite reverse;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.10) 0%, transparent 70%);
  bottom: 0; left: 30%;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-pricing {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orb-contact {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6,182,212,0.10) 0%, transparent 70%);
  top: 0; right: -200px;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-40px) scale(1.05); }
}

/* ---------- Noise Texture ---------- */
.noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-med), box-shadow var(--t-med), transform var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  line-height: 1;
  position: relative;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Glow (primary) */
.btn-glow {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  color: #fff;
  box-shadow: 0 0 24px var(--glow-blue), 0 4px 16px rgba(0,0,0,0.3);
}
.btn-glow:hover {
  box-shadow: 0 0 36px var(--glow-blue), 0 8px 24px rgba(0,0,0,0.4);
  color: #fff;
  filter: brightness(1.1);
}

/* Ghost (secondary) */
.btn-ghost {
  background: var(--bg-glass-light);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border);
  color: var(--text-primary);
}

/* Outline blue */
.btn-outline-blue {
  background: transparent;
  color: var(--blue-bright);
  border: 1px solid var(--border-bright);
}
.btn-outline-blue:hover {
  background: rgba(59,130,246,0.10);
  color: var(--blue-bright);
  border-color: var(--blue);
}

.btn-full { width: 100%; justify-content: center; }

/* ---------- Navigation ---------- */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(5, 11, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-med);
}

.nav-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.40);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
@media (min-width: 768px) { .nav-container { padding: 0 var(--space-8); } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark { flex-shrink: 0; }
.logo-text {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.logo-accent {
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-glass-light);
}
.nav-link.active { color: var(--blue-bright); }

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  color: #fff;
  border-radius: var(--r-md);
  transition: box-shadow var(--t-med), filter var(--t-med);
  box-shadow: 0 0 16px var(--glow-blue-sm);
  white-space: nowrap;
}
.nav-cta-btn:hover {
  color: #fff;
  box-shadow: 0 0 28px var(--glow-blue);
  filter: brightness(1.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--r-sm);
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-fast);
}
.nav-toggle.is-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: 2px solid var(--blue); }

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(5,11,24,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: var(--space-4) var(--space-5) var(--space-6);
    gap: var(--space-1);
    z-index: 99;
  }
  .nav-menu.is-open { display: flex; }
  .nav-link { width: 100%; padding: var(--space-3) var(--space-4); font-size: 15px; }
  .nav-cta-btn {
    width: 100%; text-align: center; justify-content: center;
    padding: 14px; font-size: 15px; margin-top: var(--space-2);
  }
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + var(--space-16)) 0 var(--space-20);
  overflow: hidden;
  text-align: center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  z-index: 0;
}

.hero-container { position: relative; z-index: 2; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-full);
  padding: 8px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pill-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--cyan); }
  50%       { opacity: 0.6; box-shadow: 0 0 16px var(--cyan); }
}

.hero-headline {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-6);
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-12);
}

.btn-glow { padding: 16px 36px; font-size: 16px; }
.btn-ghost { padding: 16px 28px; font-size: 15px; }

/* Hero stat chips */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.stat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  padding: var(--space-4) var(--space-6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 110px;
  transition: border-color var(--t-med), background var(--t-med);
}
.stat-chip:hover {
  border-color: var(--border);
  background: rgba(255,255,255,0.07);
}

.chip-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.chip-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
  max-width: 90px;
}

/* ---------- Marquee Section ---------- */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  padding: var(--space-4) 0;
  overflow: hidden;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 30s linear infinite;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-8);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}
.marquee-item svg { color: var(--blue); }

/* ---------- Social Proof ---------- */
.proof-section {
  padding: var(--space-20) 0;
  background: var(--bg-base);
}

.proof-eyebrow {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 768px) { .proof-grid { grid-template-columns: repeat(3, 1fr); } }

.proof-card {
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  transition: border-color var(--t-med), background var(--t-med);
}
.proof-card:hover {
  border-color: var(--border);
  background: rgba(255,255,255,0.06);
}
.proof-card--featured {
  border-color: var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 0 30px rgba(59,130,246,0.10);
}

.proof-stars { display: flex; gap: 3px; margin-bottom: var(--space-4); }

.proof-quote {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
  font-style: italic;
}

.proof-author { display: flex; align-items: center; gap: var(--space-3); }
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dim), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.proof-author strong { display: block; font-size: 14px; color: var(--text-primary); }
.proof-author span   { font-size: 12px; color: var(--text-muted); }

/* ---------- Services Section ---------- */
.services-section {
  padding: var(--space-20) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  overflow: hidden;
  transition: border-color var(--t-med), transform var(--t-med), box-shadow var(--t-med);
}
.service-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.30), 0 0 0 1px var(--border);
}
.service-card:hover .service-card-glow {
  opacity: 1;
}

.service-card-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  opacity: 0;
  transition: opacity var(--t-med);
}

.service-icon-wrap {
  width: 50px; height: 50px;
  border-radius: var(--r-md);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.20);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-bright);
  margin-bottom: var(--space-4);
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.service-bullets li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: var(--space-4);
  position: relative;
}
.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ---------- How It Works ---------- */
.how-section {
  padding: var(--space-20) 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
}

.steps-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
@media (min-width: 1024px) {
  .steps-row {
    flex-direction: row;
    align-items: flex-start;
  }
}

.step-card {
  flex: 1;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  text-align: center;
  transition: border-color var(--t-med);
}
.step-card:hover { border-color: var(--border); }

.step-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--blue-bright);
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.20);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-4);
}

.step-icon-wrap {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(59,130,246,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-bright);
  margin: 0 auto var(--space-4);
}

.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: var(--space-3); }
.step-card p  { font-size: 14px; line-height: 1.65; color: var(--text-secondary); }

.step-connector {
  display: none;
  align-items: center;
  justify-content: center;
  padding-top: 22px;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .step-connector { display: flex; } }

/* ---------- Benefits Section ---------- */
.benefits-section {
  padding: var(--space-20) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-xl);
  overflow: hidden;
}
@media (min-width: 640px)  { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--bg-surface);
  transition: background var(--t-med);
}
.benefit-item:hover { background: var(--bg-elevated); }

.benefit-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: rgba(59,130,246,0.10);
  border: 1px solid rgba(59,130,246,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-bright);
}

.benefit-item h3 { font-size: 16px; font-weight: 700; margin-bottom: var(--space-2); }
.benefit-item p  { font-size: 14px; line-height: 1.65; color: var(--text-secondary); }

/* ---------- Pricing Section ---------- */
.pricing-section {
  position: relative;
  padding: var(--space-20) 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.pricing-section .container { position: relative; z-index: 1; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

/* Base card */
.price-card {
  border-radius: var(--r-2xl);
  overflow: hidden;
}
.price-card-inner {
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  height: 100%;
  transition: border-color var(--t-med);
}
.price-card:hover .price-card-inner { border-color: var(--border); }

/* Featured card */
.price-card--featured {
  position: relative;
  padding: 2px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: var(--r-2xl);
  box-shadow: 0 0 50px rgba(59,130,246,0.25), 0 0 100px rgba(6,182,212,0.10);
}
@media (min-width: 768px) {
  .price-card--featured { transform: scale(1.04); z-index: 1; }
}
.price-card--featured .price-card-inner {
  background: var(--bg-elevated);
  border: none;
}
.price-card-border {
  position: absolute;
  inset: 0;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, rgba(59,130,246,0.5), rgba(6,182,212,0.5));
  animation: borderRotate 4s linear infinite;
  z-index: -1;
}
@keyframes borderRotate {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(30deg); }
}

.price-badge {
  display: inline-flex;
  align-self: flex-start;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-full);
}

.price-header h3 { font-size: 20px; font-weight: 700; margin-bottom: var(--space-2); }
.price-header > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-5);
}
.price-card--featured .price-header > p { color: rgba(255,255,255,0.55); }

.price-display { display: flex; align-items: flex-start; gap: 4px; line-height: 1; }
.price-sym {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 10px;
}
.price-num {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--blue-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-card--featured .price-num {
  background: linear-gradient(135deg, #fff 0%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.price-mo {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 32px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.price-features li svg { flex-shrink: 0; margin-top: 2px; }
.price-card--featured .price-features li { color: rgba(255,255,255,0.75); }
.price-card--featured .price-features li strong { color: #fff; }

.pricing-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--space-8);
}
.pricing-footnote svg { color: var(--blue); flex-shrink: 0; }
.pricing-footnote a { color: var(--blue-bright); }

/* ---------- FAQ Section ---------- */
.faq-section {
  padding: var(--space-20) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-med);
}
.faq-item:has(.faq-btn[aria-expanded="true"]) { border-color: var(--border); }

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: background var(--t-fast);
}
.faq-btn:hover { background: rgba(255,255,255,0.03); }
.faq-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: var(--r-lg); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--blue-bright);
  transition: transform 250ms ease;
}
.faq-btn[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}
.faq-panel.is-open { max-height: 400px; }
.faq-panel p {
  padding: 0 var(--space-6) var(--space-5);
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ---------- Contact Section ---------- */
.contact-section {
  position: relative;
  padding: var(--space-20) 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.contact-section .container { position: relative; z-index: 1; }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}
@media (min-width: 1024px) {
  .contact-wrap {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-16);
    align-items: start;
  }
}

.contact-left .eyebrow { display: inline-flex; margin-bottom: var(--space-4); }
.contact-left h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}
.contact-left > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.contact-perk {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 14px;
  color: var(--text-secondary);
}
.perk-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.20);
  display: flex; align-items: center; justify-content: center;
  color: var(--success);
  flex-shrink: 0;
}

.contact-reach {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.contact-reach-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.contact-reach-link:hover { color: var(--text-primary); }
.contact-reach-link svg { color: var(--blue); }

/* Contact Form */
.contact-right {
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-2xl);
  padding: var(--space-8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 60px rgba(0,0,0,0.20);
}

.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) { .form-row-2 { grid-template-columns: repeat(2, 1fr); } }

.form-group { display: flex; flex-direction: column; gap: var(--space-2); }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.req { color: var(--error); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  min-height: 48px;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(59,130,246,0.05);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.form-group input.is-error,
.form-group textarea.is-error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(248,113,113,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.ferror {
  font-size: 12px;
  color: var(--error);
  font-weight: 500;
  min-height: 16px;
}

.form-fine {
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-fine a { color: var(--blue-bright); }

.form-ok {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--r-md);
  padding: var(--space-4) var(--space-5);
  font-size: 14px;
  font-weight: 500;
  color: var(--success);
}
.form-ok svg { flex-shrink: 0; }
.form-ok strong { display: block; color: var(--text-primary); margin-bottom: 2px; }
.form-ok div { font-size: 13px; color: var(--text-secondary); }

/* Spinner */
.spin { animation: spinAnim 0.8s linear infinite; }
@keyframes spinAnim { to { transform: rotate(360deg); } }

#submitBtn:disabled { opacity: 0.65; cursor: not-allowed; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--space-16) 0 0;
}

.footer-top-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  opacity: 0.4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--border-glass);
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: var(--space-4) 0;
  max-width: 260px;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-contact-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-contact-links a:hover { color: var(--text-primary); }

.footer-nav-col h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-nav-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-nav-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6) 0;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-legal-links { display: flex; gap: var(--space-5); }
.footer-legal-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-legal-links a:hover { color: var(--text-secondary); }

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 550ms ease, transform 550ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Legal Pages ---------- */
.legal-page { padding: var(--space-20) 0; }
.legal-page h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: var(--space-3); }
.legal-meta { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-10); }
.legal-content h2 { font-size: 22px; margin: var(--space-10) 0 var(--space-4); color: var(--text-primary); }
.legal-content h3 { font-size: 17px; margin: var(--space-6) 0 var(--space-3); color: var(--text-primary); }
.legal-content p { font-size: 15px; line-height: 1.8; color: var(--text-secondary); margin-bottom: var(--space-4); }
.legal-content ul { list-style: disc; padding-left: var(--space-6); margin-bottom: var(--space-4); }
.legal-content ul li { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: var(--space-2); }
.legal-content a { color: var(--blue-bright); }
.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-bright);
}
