/* ============================================================
   UPDRIFT MARKETING — Main Stylesheet
   Dark premium agency site | CLS: 0 target | Mobile-first
   ============================================================ */

/* ─── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  --navy:        #0A1628;
  --navy-mid:    #0d1f3c;
  --navy-light:  #112240;
  --navy-card:   #0f1d35;
  --blue:        #2563EB;
  --blue-hover:  #1d4ed8;
  --blue-glow:   rgba(37, 99, 235, 0.25);
  --blue-pale:   rgba(37, 99, 235, 0.12);
  --blue-light:  #6ea8fe;
  --white:       #FFFFFF;
  --text:        rgba(255, 255, 255, 0.92);
  --text-dim:    rgba(255, 255, 255, 0.62);
  --text-muted:  rgba(255, 255, 255, 0.38);
  --border:      rgba(255, 255, 255, 0.08);
  --border-blue: rgba(37, 99, 235, 0.35);
  --gold:        #f59e0b;
  --success:     #059669;
  --danger:      #DC2626;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-full: 9999px;

  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms;
  --t-base: 220ms;
  --t-slow: 360ms;

  --container: 1100px;
  --nav-h: 72px;
}

/* ─── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ─── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); }
h4 { font-size: 1.05rem; }
p  { color: var(--text-dim); }
em { font-style: italic; color: var(--blue-light); }
strong { color: var(--white); font-weight: 600; }

/* ─── LAYOUT ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section { padding: var(--space-xl) 0; }
@media (min-width: 768px) { .section { padding: var(--space-2xl) 0; } }

/* ─── EYEBROW ──────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: background var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  box-shadow: 0 0 0 5px var(--blue-glow);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}
.btn-text {
  background: transparent;
  color: var(--text-dim);
  padding-left: 0;
  padding-right: 0;
  min-height: unset;
  border: none;
}
.btn-text:hover { color: var(--white); }
.btn-sm  { padding: 0.625rem 1.25rem; font-size: 0.875rem; min-height: 40px; }
.btn-lg  { padding: 1rem 2.25rem; font-size: 1rem; min-height: 54px; }

/* ─── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base) var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img { width: clamp(110px, 11vw, 160px); height: auto; display: block; }
.footer-brand .nav-logo img { width: 140px; }
.nav-links { display: none; align-items: center; gap: 0; margin: 0 auto; }
@media (min-width: 820px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 0.5rem 0.625rem;
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-cta { display: none; }
@media (min-width: 820px) { .nav-cta { display: inline-flex; } }
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--r-sm);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--t-fast) var(--ease);
}
@media (min-width: 820px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  z-index: 98;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a:not(.btn) {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color var(--t-fast) var(--ease);
}
.nav-drawer a:not(.btn):hover { color: var(--white); }
.nav-drawer .btn { margin-top: 2rem; width: 100%; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center !important; }

.nav-spacer { height: var(--nav-h); }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-xl) 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 700px;
  height: 700px;
  top: -250px;
  right: -150px;
  background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 65%);
  animation: orb1 14s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 450px;
  height: 450px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 65%);
  animation: orb2 18s ease-in-out infinite alternate;
}
@keyframes orb1 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-50px, 40px) scale(1.12); }
}
@keyframes orb2 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(50px, -50px) scale(0.92); }
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1fr 360px; gap: 5rem; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  border: 1px solid var(--border-blue);
  border-radius: var(--r-full);
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.5rem;
  background: var(--blue-pale);
  width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(37,99,235,0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 4px rgba(37,99,235,0); }
}

.hero-title { margin-bottom: 1.5rem; }
.hero-title em { display: block; }

.hero-desc {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Hero aside */
.hero-aside { display: none; }
@media (min-width: 960px) {
  .hero-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

.metric-card {
  background: rgba(15, 29, 53, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem 1.75rem;
  animation: float 5s ease-in-out infinite;
}
.metric-card:nth-child(2) { animation-delay: -2.5s; animation-duration: 6s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.metric-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.375rem;
}
.metric-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 0.375rem;
}
.metric-label { font-size: 0.875rem; color: var(--text-dim); }
.metric-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--blue-pale);
  color: var(--blue-light);
  border-radius: var(--r-full);
  padding: 0.25rem 0.625rem;
  margin-bottom: 0.625rem;
  border: 1px solid var(--border-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── SECTION HEADER ──────────────────────────────────────── */
.section-header { margin-bottom: var(--space-lg); }
.section-header.centered { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.0625rem; line-height: 1.75; }

/* ─── SERVICES HOME GRID ──────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .services-grid { grid-template-columns: 1fr 1fr 1fr; } }

.service-card {
  background: var(--navy-card);
  padding: 2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.service-card:hover { background: var(--navy-light); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 46px; height: 46px;
  background: var(--blue-pale);
  border: 1px solid var(--border-blue);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg { width: 22px; height: 22px; color: var(--blue-light); }

.service-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: var(--blue-pale);
  border: 1px solid var(--border-blue);
  border-radius: var(--r-full);
  padding: 0.2rem 0.55rem;
  width: fit-content;
}

/* ChatGPT Ads featured card */
.service-card-featured {
  background: linear-gradient(135deg, rgba(37,99,235,0.12) 0%, var(--navy-card) 60%);
  border: 1px solid rgba(37,99,235,0.45);
  box-shadow: 0 0 32px rgba(37,99,235,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
}
.service-card-featured::before {
  background: linear-gradient(90deg, var(--blue), rgba(37,99,235,0.4)) !important;
  opacity: 1 !important;
}
.service-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.badge-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
@media (prefers-reduced-motion: reduce) { .badge-pulse-dot { animation: none; } }

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.service-card p { font-size: 0.875rem; line-height: 1.7; }

/* ─── WHY US ─────────────────────────────────────────────── */
.why-us { background: var(--navy-mid); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (min-width: 960px) { .why-inner { grid-template-columns: 1fr 1fr; } }

.why-text h2 { margin-bottom: 1.25rem; }
.why-text > p { margin-bottom: var(--space-md); }

.why-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: var(--space-lg); }
.why-list li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}
.why-check {
  width: 22px; height: 22px;
  background: var(--blue-pale);
  border: 1px solid var(--border-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-check svg { width: 11px; height: 11px; color: var(--blue-light); }
.why-list li strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.why-list li span { font-size: 0.875rem; color: var(--text-dim); line-height: 1.6; }

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-card .stat-label { font-size: 0.875rem; color: var(--text-dim); line-height: 1.5; }

/* ─── SOCIAL PROOF ───────────────────────────────────────── */
.rating-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: var(--space-lg);
}
.rating-stars { color: var(--gold); font-size: 1.25rem; letter-spacing: 3px; line-height: 1; }
.rating-score {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.rating-meta { font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .testimonials-grid { grid-template-columns: 1fr 1fr 1fr; } }

.testimonial-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial-stars { color: var(--gold); font-size: 0.875rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.9375rem; line-height: 1.75; color: var(--text-dim); flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-pale);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-light);
  flex-shrink: 0;
  overflow: hidden;
}
.author-name { font-size: 0.875rem; font-weight: 600; color: var(--white); line-height: 1.2; }
.author-role { font-size: 0.8rem; color: var(--text-muted); }

/* ─── PRICING PREVIEW ────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: var(--space-lg);
}
@media (min-width: 600px) { .pricing-grid { grid-template-columns: 1fr 1fr 1fr; } }

.pricing-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  position: relative;
}
.pricing-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--blue);
  background: linear-gradient(150deg, rgba(37,99,235,0.14) 0%, var(--navy-card) 55%);
}
.pricing-card.featured:hover { transform: translateY(-6px); }

.plan-ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.875rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  white-space: nowrap;
}

.plan-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.plan-price { display: flex; align-items: flex-end; gap: 0.25rem; flex-wrap: wrap; }
.price-from { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.25rem; align-self: flex-end; }
.price-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.price-per { font-size: 0.875rem; color: var(--text-muted); align-self: flex-end; margin-bottom: 0.2rem; }
.plan-desc { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; }
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}
.plan-features .feat-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--blue-light);
}
.pricing-footer { text-align: center; }

/* ─── CTA SECTION ────────────────────────────────────────── */
.cta-section {
  position: relative;
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 1.25rem; }
.cta-inner > p {
  font-size: 1.0625rem;
  margin-bottom: var(--space-lg);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--navy); border-top: 1px solid var(--border); padding-top: var(--space-xl); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: var(--space-xl);
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom span,
.footer-bottom a { font-size: 0.8125rem; color: var(--text-muted); }
.footer-bottom a:hover { color: var(--text-dim); }

/* ─── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}
.page-hero .eyebrow { margin-bottom: 0.75rem; }
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero > .container > p { font-size: 1.125rem; max-width: 560px; line-height: 1.75; }

/* ─── SPLIT HERO (services page) ────────────────────────── */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr 1fr; }
}
.page-hero-text p { font-size: 1.125rem; max-width: 500px; line-height: 1.75; }
.page-hero-visual {
  position: relative;
  height: 320px;
  display: none;
}
@media (min-width: 900px) { .page-hero-visual { display: block; } }

/* Background image */
.hero-vis-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
  opacity: 0.75;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
}

/* Floating orb background */
.hero-vis-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(37,99,235,0.18) 0%, transparent 70%);
  filter: blur(40px);
  animation: vis-pulse 4s ease-in-out infinite;
}
@keyframes vis-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Floating metric cards */
.hero-vis-card {
  position: absolute;
  background: rgba(17,34,64,0.92);
  border: 1px solid rgba(37,99,235,0.35);
  border-radius: var(--r-md);
  padding: 0.875rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  will-change: transform;
}
.hero-vis-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-vis-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
}
.hero-vis-card-1 {
  top: 20px; left: 10%;
  animation: float-1 6s ease-in-out infinite;
}
.hero-vis-card-2 {
  top: 50%; left: 40%;
  transform: translateY(-50%);
  animation: float-2 7s ease-in-out infinite;
}
.hero-vis-card-3 {
  bottom: 20px; right: 5%;
  animation: float-3 5.5s ease-in-out infinite;
}
@keyframes float-1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(-50%) translateX(0px); }
  50% { transform: translateY(calc(-50% - 10px)) translateX(4px); }
}
@keyframes float-3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-vis-card, .hero-vis-orb { animation: none; }
}

/* ─── SERVICES DETAIL PAGE ───────────────────────────────── */
.services-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) { .services-detail { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .services-detail { grid-template-columns: 1fr 1fr 1fr; } }

.service-detail-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.service-detail-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
}
.service-detail-card h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.service-detail-card > p { font-size: 0.9375rem; line-height: 1.75; }
.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}
.service-features .fi {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--blue-light);
}

/* ─── FULL PRICING PAGE ──────────────────────────────────── */
.pricing-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .pricing-full-grid { grid-template-columns: 1fr 1fr 1fr; } }

.pricing-full-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.pricing-full-card:hover { transform: translateY(-6px); }
.pricing-full-card.featured {
  border-color: var(--blue);
  background: linear-gradient(150deg, rgba(37,99,235,0.15) 0%, var(--navy-card) 55%);
}

.plan-features-full {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.plan-features-full li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.plan-features-full .fi {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--blue-light);
}

/* FAQ */
.faq-grid { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.375rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}
.faq-question:hover { color: var(--blue-light); }
.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--blue-light); }
.faq-answer {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-dim);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease), padding-bottom var(--t-slow) var(--ease);
}
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 1.375rem; }

/* ─── ABOUT PAGE ─────────────────────────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 960px) { .about-intro { grid-template-columns: 1fr 1fr; } }

.about-visual {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(37,99,235,0.2) 0%, transparent 60%);
}
.about-visual-icon { position: relative; z-index: 1; }
.about-visual-icon svg { width: 80px; height: 80px; opacity: 0.3; color: var(--blue); }

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p + p { margin-top: 1rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .values-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.value-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.value-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
  opacity: 0.5;
}
.value-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
}
.value-card p { font-size: 0.875rem; line-height: 1.65; }

/* ─── CONTACT PAGE ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.5fr; } }

.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info > p { margin-bottom: var(--space-lg); }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-top: var(--space-lg); }
.contact-detail-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-detail-icon {
  width: 42px; height: 42px;
  background: var(--blue-pale);
  border: 1px solid var(--border-blue);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; color: var(--blue-light); }
.contact-detail-text strong { display: block; font-size: 0.875rem; color: var(--white); margin-bottom: 0.25rem; }
.contact-detail-text span { font-size: 0.875rem; color: var(--text-dim); }

.ghl-embed-box {
  background: transparent;
  border-radius: var(--r-xl);
  padding: 2.5rem;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}
.ghl-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem 0;
}
.ghl-placeholder svg { width: 48px; height: 48px; color: var(--text-muted); }
.ghl-placeholder h3 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; }
.ghl-placeholder p { font-size: 0.9rem; max-width: 280px; }
.ghl-placeholder code {
  font-family: 'Courier New', monospace;
  font-size: 0.8125rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  color: var(--blue-light);
  display: block;
  text-align: left;
  line-height: 1.6;
}

/* ─── SCROLL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }

/* ─── SCROLL-TO-TOP ──────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), background var(--t-fast) var(--ease);
  z-index: 50;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--navy-mid); border-color: rgba(255,255,255,0.15); }
.scroll-top svg { width: 18px; height: 18px; color: var(--text-dim); }

/* ─── ACCESSIBILITY ──────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

@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; }
}

/* ─── UTILITIES ──────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

/* ─── SERVICE LEARN MORE BUTTON ─────────────────────────── */
.service-learn-more {
  display: inline-block;
  margin-top: var(--space-sm);
  background: none;
  border: none;
  padding: 0;
  color: var(--blue-light);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: color var(--t-fast) var(--ease);
}
.service-learn-more:hover { color: var(--white); }

/* ─── MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-lg);
  max-width: 520px;
  width: 100%;
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s var(--t-base);
}
.modal.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.modal-close:hover { color: var(--white); background: var(--border); }
.modal-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--blue-pale);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.modal-icon-featured {
  background: rgba(37, 99, 235, 0.2);
  color: var(--blue);
}
.modal-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: var(--blue-pale);
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  width: fit-content;
}
.modal h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin: 0;
}
.modal p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}
.modal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.modal-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.modal-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.modal .btn {
  margin-top: var(--space-xs);
  align-self: flex-start;
}
.divider { height: 1px; background: var(--border); }
