/* ============================================================
   AMRIX — style.css v5  |  Clean Light Mode (Invoice Style)
   Dark header + white body + grey accents
   ============================================================ */

/* ── 1. DESIGN TOKENS ── */
:root {
  --bg:            #f5f5f5;
  --bg-2:          #ffffff;
  --bg-3:          #fafafa;
  --bg-card:       #ffffff;
  --silver:        #555555;
  --silver-2:      #1a1a1a;
  --silver-dim:    #999999;
  --white:         #1a1a1a;
  --border:        rgba(0,0,0,0.08);
  --border-bright: rgba(0,0,0,0.15);
  --t-fast:        0.2s ease;
  --t-med:         0.45s cubic-bezier(.22,.68,0,1.2);
  --radius:        12px;
  --radius-sm:     8px;
  --nav-h:         72px;

  /* Light-mode specific */
  --text-primary:  #1a1a1a;
  --text-secondary: #666666;
  --text-muted:    #999999;
  --card-shadow:   0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.12), 0 8px 32px rgba(0,0,0,0.06);

  /* Colour accents */
  --accent:        #2563eb;
  --accent-light:  #3b82f6;
  --accent-bg:     rgba(37,99,235,0.06);
  --accent-border: rgba(37,99,235,0.15);
  --success:       #16a34a;
  --success-bg:    rgba(22,163,74,0.06);
}

/* ── 2. RESET + BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

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

/* ── 3. TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }

p { color: var(--silver); line-height: 1.7; }

.gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 45%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  background: var(--accent-bg);
}

/* ── 4. LAYOUT HELPERS ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--sm {
  max-width: 760px;
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section--alt  { background: var(--bg-2); }
.section--alt2 { background: var(--bg-3); }

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

.section-header--center {
  text-align: center;
}

.section-label {
  margin-bottom: 20px;
  display: inline-flex;
}

.section-heading {
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  max-width: 540px;
  color: var(--silver-dim);
}

.section-header--center .section-sub {
  margin: 0 auto;
}

.mb-24 { margin-bottom: 24px; }
.mt-24 { margin-top: 24px; }
.mt { margin-top: 32px; }

/* ── 5. SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 9999;
  transition: transform 0.08s linear;
}

/* ── 6. NAVIGATION ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9500;
  background: #0a0a0a;
  transition: background var(--t-fast), box-shadow var(--t-fast), backdrop-filter var(--t-fast);
}

.nav.scrolled {
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  box-shadow: 0 1px 0 var(--border);
}

.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 32px;
  max-width: 1320px;
  position: relative;
  margin: 0 auto;
}

/* Logo */
.nav__logo-link {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__wordmark {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  background: linear-gradient(180deg, #ffffff 0%, #d8d8d8 50%, #909090 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

.nav__wordmark span {
  background: linear-gradient(180deg, #f0f0f0 0%, #b0b0b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #999999;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: #ffffff;
  background: rgba(255,255,255,0.05);
}

.nav__link.active {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
}

.nav__pay {
  font-size: 0.875rem;
  font-weight: 600;
  color: #aaaaaa;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}

.nav__pay:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  cursor: pointer;
  padding: 4px;
  border: none;
  z-index: 9501;
  -webkit-tap-highlight-color: transparent;
  z-index: 9501;
  -webkit-tap-highlight-color: transparent;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #cccccc;
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast), background var(--t-fast);
}

.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 7. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), box-shadow var(--t-fast),
              transform var(--t-fast);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Primary: dark bg, white text */
.btn--primary {
  background: #0a0a0a;
  color: #ffffff;
  border: 1px solid #0a0a0a;
}

.btn--primary:hover {
  background: #222222;
  border-color: #222222;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  color: #ffffff;
}

/* Ghost: transparent, accent border */
.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--ghost:hover {
  border-color: var(--accent-light);
  background: var(--accent-bg);
  box-shadow: 0 4px 24px rgba(37,99,235,0.12);
}

.btn--lg {
  padding: 15px 32px;
  font-size: 0.975rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Nav CTA override */
.nav__cta.btn--primary {
  padding: 9px 20px;
  font-size: 0.84rem;
}

/* ── 8. HERO SECTION ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: #0a0a0a;
  color: #ffffff;
}

/* Silver Aurora Borealis hero background */
.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-aurora__wave {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform, opacity;
}
.hero-aurora__wave--1 {
  width: 120%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(200,210,230,0.35) 0%, rgba(180,195,220,0.15) 40%, transparent 70%);
  top: -15%;
  left: -10%;
  animation: auroraShift1 7s ease-in-out infinite alternate;
}
.hero-aurora__wave--2 {
  width: 100%;
  height: 45%;
  background: radial-gradient(ellipse at center, rgba(140,165,210,0.3) 0%, rgba(100,140,200,0.12) 40%, transparent 70%);
  top: 15%;
  right: -20%;
  animation: auroraShift2 9s ease-in-out infinite alternate;
}
.hero-aurora__wave--3 {
  width: 130%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(220,225,240,0.25) 0%, rgba(190,200,220,0.1) 40%, transparent 70%);
  bottom: -20%;
  left: -15%;
  animation: auroraShift3 11s ease-in-out infinite alternate;
}
.hero-aurora__wave--4 {
  width: 80%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(160,180,220,0.2) 0%, rgba(120,150,200,0.08) 40%, transparent 70%);
  top: 30%;
  left: 30%;
  animation: auroraShift4 13s ease-in-out infinite alternate;
}
@keyframes auroraShift1 {
  0% { opacity: 0.6; transform: translateX(-5%) translateY(0) scale(1); }
  50% { opacity: 1; }
  100% { opacity: 0.8; transform: translateX(10%) translateY(8%) scale(1.15); }
}
@keyframes auroraShift2 {
  0% { opacity: 0.5; transform: translateX(5%) translateY(0) scale(1); }
  50% { opacity: 0.9; }
  100% { opacity: 0.7; transform: translateX(-12%) translateY(-10%) scale(1.2); }
}
@keyframes auroraShift3 {
  0% { opacity: 0.4; transform: translateX(0) scale(1) rotate(0deg); }
  50% { opacity: 0.8; }
  100% { opacity: 0.6; transform: translateX(15%) scale(1.1) rotate(3deg); }
}
@keyframes auroraShift4 {
  0% { opacity: 0.3; transform: translateX(0) translateY(0) scale(1); }
  50% { opacity: 0.7; }
  100% { opacity: 0.5; transform: translateX(-10%) translateY(12%) scale(1.15); }
}
@media (max-width: 768px) {
  .hero-aurora__wave { filter: blur(70px); }
  .hero-aurora__wave--1 { width: 150%; }
}

@media (max-width: 768px) {
  .hero__video { display: none; }
}

/* Gradient overlay: subtle at top, heavy at bottom */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.1) 50%,
    rgba(0,0,0,0.4) 100%
  );
  z-index: 2;
  pointer-events: none;
}

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

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 0 48px;
}

/* Eyebrow */
.hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #999999;
  padding: 6px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  background: rgba(255,255,255,0.03);
  margin-bottom: 36px;
  opacity: 0;
  animation: heroReveal 0.9s cubic-bezier(.22,.68,0,1.2) 0.1s both;
}

/* Hero title */
.hero__title {
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 28px;
  display: block;
}

.hero__title .line {
  display: block;
}

/* Each animated word */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  filter: blur(4px);
  animation: heroReveal 0.9s cubic-bezier(.22,.68,0,1.2) both;
  animation-delay: var(--d, 0.3s);
}

/* Hero subtitle */
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #999999;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  opacity: 0;
  animation: heroReveal 0.9s cubic-bezier(.22,.68,0,1.2) 0.95s both;
}

/* Hero CTA row */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  opacity: 0;
  animation: heroReveal 0.9s cubic-bezier(.22,.68,0,1.2) 1.15s both;
}

/* Stats bar inside hero, at bottom */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 72px;
  padding-top: 36px;
  width: 100%;
  opacity: 0;
  animation: heroReveal 0.9s cubic-bezier(.22,.68,0,1.2) 1.4s both;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hero__stat:last-child { border-right: none; }

.hero__stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #c8c8c8 50%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.hero__stat-lbl {
  font-size: 0.7rem;
  color: var(--silver-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-top: 4px;
}

/* Cinematic word reveal keyframe */
@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ── 9. TRUST TICKER ── */
.trust-ticker {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.trust-ticker__track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.trust-ticker:hover .trust-ticker__track {
  animation-play-state: paused;
}

.trust-ticker__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
  white-space: nowrap;
  border-right: 1px solid var(--border);
}

.trust-ticker__item svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent-light);
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 10. TRUST BAR (static) ── */
.trust-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dim);
  padding: 8px 28px;
}

.trust-bar__item svg {
  width: 15px;
  height: 15px;
  stroke: var(--silver-dim);
  flex-shrink: 0;
}

.trust-bar__sep {
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* ── 11. SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background var(--t-med);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
  opacity: 0;
  transition: opacity var(--t-med);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--accent-border);
  background: #ffffff;
}

.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(15, 52, 96, 0.3);
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, #0f3460 0%, #2563eb 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
}

/* Per-service icon colours */
.service-card:nth-child(1) .service-card__icon { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.service-card:nth-child(2) .service-card__icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.service-card:nth-child(3) .service-card__icon { background: linear-gradient(135deg, #10b981, #059669); }
.service-card:nth-child(4) .service-card__icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.service-card:nth-child(5) .service-card__icon { background: linear-gradient(135deg, #ef4444, #dc2626); }
.service-card:nth-child(1):hover .service-card__icon { box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5); }
.service-card:nth-child(2):hover .service-card__icon { box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5); }
.service-card:nth-child(3):hover .service-card__icon { box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5); }
.service-card:nth-child(4):hover .service-card__icon { box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5); }
.service-card:nth-child(5):hover .service-card__icon { box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5); }

/* Enhanced service card hover */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* Staggered reveal animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal.revealed {
  animation: fadeInUp 0.6s ease forwards;
}
.reveal-d1.revealed { animation-delay: 0.1s; }
.reveal-d2.revealed { animation-delay: 0.2s; }
.reveal-d3.revealed { animation-delay: 0.3s; }
.reveal-d4.revealed { animation-delay: 0.4s; }
.reveal-d5.revealed { animation-delay: 0.5s; }

/* How We Work step hover */
.how-step {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.how-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.how-step__num {
  transition: background 0.3s ease, color 0.3s ease;
}
.how-step:hover .how-step__num {
  background: #2563eb;
  color: #fff;
}

.service-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--silver-dim);
  line-height: 1.65;
  flex: 1;
}

.service-card__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-top: auto;
  transition: color var(--t-fast), letter-spacing var(--t-fast);
}

.service-card:hover .service-card__link {
  color: var(--accent-light);
  letter-spacing: 0.08em;
}

/* ── SERVICE CARD IMAGES ── */
.service-card__img {
  width: calc(100% + 56px);
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -32px -28px 16px -28px;
}

/* ── SECTION BANNER IMAGE ── */
.section__banner {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

/* ── CTA BANNER WITH BACKGROUND IMAGE ── */
.cta-banner--photo {
  background-size: cover;
  background-position: center;
  position: relative;
}
.cta-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 20px;
}
.cta-banner--photo h2,
.cta-banner--photo p,
.cta-banner--photo .btn {
  position: relative;
  z-index: 1;
}

/* ── SERVICE DETAIL HERO IMAGE ── */
.svc-hero-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

/* ── ABOUT WORKSPACE IMAGE ── */
.about-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

/* ── CONTACT LOCATION BANNER ── */
.contact-location-banner {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

/* ── 12. STATS SECTION ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-card);
  gap: 8px;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat__val {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}

.stat__lbl {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

/* ── 13. DIFFERENTIATORS ── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 800px) {
  .diff-grid { grid-template-columns: 1fr; }
}

.diff-item {
  padding: 40px 32px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  position: relative;
}

.diff-item:last-child { border-right: none; }

.diff-item__num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,0,0,0.06);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.diff-item h4 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 0.98rem;
}

.diff-item p {
  font-size: 0.88rem;
  color: var(--silver-dim);
  line-height: 1.65;
}

/* ── 14. PROBLEM SECTION ── */
.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 860px) {
  .problem { grid-template-columns: 1fr; gap: 40px; }
}

.problem__copy h2 { margin-bottom: 16px; }
.problem__copy p  { font-size: 1rem; }

.problem__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.problem__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.problem__item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.02);
}

.problem__item-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--silver);
}

.problem__item h4 {
  color: var(--white);
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.problem__item p {
  font-size: 0.88rem;
  color: var(--silver-dim);
}

/* ── 15. CTA BANNER ── */
.cta-banner {
  text-align: center;
  padding: 72px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.02) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 32px;
  color: var(--silver-dim);
}

/* ── 16. REVIEWS SECTION ── */
.reviews {
  padding: 96px 0;
  background: var(--bg);
}

.reviews__header {
  margin-bottom: 48px;
  text-align: center;
}

.reviews__header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  margin-bottom: 12px;
}

.reviews__header p {
  font-size: 1rem;
  color: var(--silver-dim);
}

.reviews__header a {
  color: var(--silver);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}

.reviews__header a:hover { color: var(--white); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

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

@media (max-width: 560px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t-med), transform var(--t-med), box-shadow var(--t-med);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 16px;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
}

.review-card:hover {
  border-color: #d0d0d0;
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.review-stars {
  display: flex;
  gap: 3px;
  color: #c8c8c8;
  font-size: 1rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.review-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.review-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-dim);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(0,0,0,0.02);
  width: fit-content;
}

.reviews__cta {
  text-align: center;
  margin-top: 8px;
}

/* ── 17. VIDEO SECTION ── */
.video-section {
  padding: 96px 0;
  background: var(--bg-2);
}

.video-section .section-header {
  text-align: center;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 700px) {
  .video-grid { grid-template-columns: 1fr; }
}

.video-placeholder {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--t-med), box-shadow var(--t-med);
}

.video-placeholder:hover {
  border-color: #d0d0d0;
  box-shadow: var(--card-shadow-hover);
}

.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.video-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.012) 0px,
    rgba(255,255,255,0.012) 1px,
    transparent 1px,
    transparent 14px
  );
  z-index: 0;
  pointer-events: none;
}

.video-placeholder__play {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-placeholder:hover .video-placeholder__play {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.65);
  transform: scale(1.08);
}

.video-placeholder__play svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
  margin-left: 4px;
}

.video-placeholder__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  z-index: 2;
}

.video-placeholder__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.video-placeholder__sub {
  font-size: 0.75rem;
  color: var(--silver-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* ── 18. PRICING SECTION ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: border-color var(--t-med), box-shadow var(--t-med);
  overflow: visible;
}
.pricing-card ul {
  flex: 1;
}

.pricing-card:hover {
  border-color: #d0d0d0;
  box-shadow: var(--card-shadow-hover);
}

/* Featured card: dark bg, white text (stands out on light page) */
.pricing-card--featured {
  background: #0a0a0a !important;
  color: #ffffff;
  border-color: #0a0a0a;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.pricing-card--featured:hover {
  box-shadow: 0 24px 72px rgba(0,0,0,0.25);
  border-color: #0a0a0a;
}

.pricing-card--featured .pricing-name,
.pricing-card--featured .pricing-desc,
.pricing-card--featured .pricing-note,
.pricing-card--featured .pricing-price__val,
.pricing-card--featured .pricing-feature {
  color: #e0e0e0;
}
.pricing-card--featured .pricing-price__val {
  background: linear-gradient(135deg, #ffffff 0%, #c8c8c8 50%, #888888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-card--featured .pricing-feature::before { color: #e0e0e0; }
.pricing-card--featured .pricing-features { border-top-color: rgba(255,255,255,0.1); }
.pricing-card--featured .btn--primary {
  background: #ffffff;
  color: #0a0a0a;
}
.pricing-card--featured .btn--primary:hover {
  background: #e0e0e0;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--silver-dim);
  line-height: 1.6;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-price__val {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #0a0a0a 0%, #333333 50%, #666666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--silver-dim);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--silver);
}

.pricing-feature::before {
  content: '\2713';
  font-size: 0.75rem;
  color: var(--success);
  flex-shrink: 0;
  font-weight: 700;
}

/* ── 19. CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }

.form-label {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--silver);
  letter-spacing: 0.02em;
}

.form-label .opt {
  font-weight: 400;
  color: var(--silver-dim);
  font-size: 0.78rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23707070' stroke-width='2' viewBox='0 0 12 8'%3E%3Cpolyline points='1,1 6,7 11,1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option { background: var(--bg-3); color: var(--white); }

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(0,0,0,0.25);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-hint { font-size: 0.82rem; color: var(--silver-dim); }

.captcha-wrap { margin-bottom: 20px; }

/* Contact info */
.contact-info h3 { margin-bottom: 12px; }
.contact-info > p { margin-bottom: 28px; font-size: 0.95rem; }

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-detail__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.02);
}

.contact-detail__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--silver);
}

.contact-detail h4 { font-size: 0.82rem; font-weight: 700; color: var(--silver-dim); margin-bottom: 4px; }
.contact-detail p, .contact-detail a { font-size: 0.92rem; color: var(--silver); }
.contact-detail a:hover { color: var(--white); }

.response-box {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.response-box h4 { font-size: 0.875rem; color: var(--white); margin-bottom: 8px; }
.response-box p  { font-size: 0.85rem; color: var(--silver-dim); line-height: 1.65; }

/* ── 20. STEPS ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step__num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--silver);
  background: var(--bg-card);
}

.step h3 { margin-bottom: 6px; font-size: 1rem; }
.step p  { font-size: 0.9rem; color: var(--silver-dim); }

/* ── 21. ABOUT GRID ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-grid__copy h2 { margin-bottom: 8px; }

.about-grid__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.about-grid__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.02) 0%, transparent 70%);
}

.about-grid__visual-mark {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.03) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

/* ── 22. SERVICE PAGE LAYOUT ── */
.svc-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

@media (max-width: 860px) {
  .svc-layout { grid-template-columns: 1fr; }
}

.svc-content h2 { font-size: 1.5rem; margin-bottom: 14px; margin-top: 40px; }
.svc-content h2:first-child { margin-top: 0; }
.svc-content p   { font-size: 0.95rem; color: var(--silver-dim); margin-bottom: 14px; }

.svc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.svc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--silver);
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.svc-list li::before {
  content: '\2192';
  color: var(--silver-dim);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.svc-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.svc-sidebar-card h3 { font-size: 1rem; margin-bottom: 4px; }
.svc-sidebar-card p  { font-size: 0.88rem; color: var(--silver-dim); }

/* ── 23. FOOTER ── */
.footer {
  background: #0a0a0a;
  color: #e0e0e0;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 72px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__brand { max-width: 280px; }

.footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
}

.footer__wordmark {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #d0d0d0 50%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__wordmark span {
  background: linear-gradient(180deg, #e8e8e8 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__tagline {
  font-size: 0.85rem;
  color: #999999;
  line-height: 1.65;
}

.footer__col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer__link {
  display: block;
  font-size: 0.875rem;
  color: #999999;
  padding: 5px 0;
  transition: color var(--t-fast);
  text-decoration: none;
}

.footer__link:hover { color: var(--accent-light); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.8rem;
  color: #999999;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 0.8rem;
  color: #999999;
  transition: color var(--t-fast);
  text-decoration: none;
}

.footer__legal a:hover { color: #ffffff; }

/* ── 24. PAGE HERO (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 72px;
  background: #0a0a0a;
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero .label { margin-bottom: 20px; color: #999999; border-color: rgba(255,255,255,0.12); }
.page-hero h1  { margin-bottom: 14px; color: #ffffff; }
.page-hero p   { font-size: 1.05rem; color: #999999; max-width: 560px; }

.page-hero--about {
  background-color: #080808;
  background-image:
    radial-gradient(ellipse at 20% 40%, rgba(99,102,241,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 25%, rgba(168,85,247,0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 90%, rgba(255,255,255,0.02) 0%, transparent 40%),
    url("../assets/svg/poly-bg.svg");
  background-size: cover;
}
.page-hero--services {
  background-color: #080808;
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(56,189,248,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 70%, rgba(99,102,241,0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(255,255,255,0.02) 0%, transparent 35%),
    url("../assets/svg/hero-grid.svg");
  background-size: cover;
}
.page-hero--contact {
  background-color: #080808;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(74,222,128,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(99,102,241,0.04) 0%, transparent 45%),
    url("../assets/svg/poly-bg.svg");
  background-size: cover;
}
.page-hero--portfolio {
  background-color: #080808;
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(245,158,11,0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 20%, rgba(168,85,247,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 85%, rgba(255,255,255,0.02) 0%, transparent 40%),
    url("../assets/svg/hero-grid.svg");
  background-size: cover;
}
.page-hero--service {
  background-color: #080808;
  background-image:
    radial-gradient(ellipse at 60% 35%, rgba(56,189,248,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 75%, rgba(99,102,241,0.04) 0%, transparent 45%),
    url("../assets/svg/poly-bg.svg");
  background-size: cover;
}

/* Hero decorative elements */
.page-hero--about::after,
.page-hero--services::after,
.page-hero--portfolio::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.01) 60%, transparent 80%);
  pointer-events: none;
}

/* ── PORTFOLIO CARD IMAGES ── */
.portfolio-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px 12px 0 0;
  display: block;
}

/* ── 25. SCROLL REVEAL SYSTEM ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.22,.68,0,1.05),
              transform 0.7s cubic-bezier(.22,.68,0,1.05);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Direction variants */
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { transform: scale(0.92); }

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

/* ── 26. PANEL / STATUS WIDGET ── */
.hero__panel-wrap {
  perspective: 1100px;
}

.hero__panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  min-width: 280px;
  transition: transform 0.3s ease;
}

.panel-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.panel-status__dot {
  width: 8px;
  height: 8px;
  background: #a8a8a8;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(168,168,168,0.2);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(168,168,168,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(168,168,168,0.06); }
}

.panel-status p { font-size: 0.82rem; color: var(--silver); font-weight: 600; }

.panel-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-metric {
  padding: 10px;
  background: rgba(0,0,0,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
}

.panel-metric__val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.panel-metric__lbl {
  font-size: 0.68rem;
  color: var(--silver-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.panel-services {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.panel-service__name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--silver);
  font-weight: 500;
}

.panel-service__name svg {
  width: 14px;
  height: 14px;
  stroke: var(--silver-dim);
}

.panel-service__badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(0,0,0,0.04);
  color: var(--silver);
  border: 1px solid rgba(0,0,0,0.08);
}

.panel-service__badge.warn {
  background: rgba(0,0,0,0.02);
  color: var(--silver-dim);
}

/* ── 27. PAY PANEL ── */
.pay-panel {
  text-align: center;
  padding: 64px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-top: 64px;
}

.pay-panel h2 { margin-bottom: 12px; }
.pay-panel p  {
  font-size: 1rem;
  color: var(--silver-dim);
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.pay-panel .pay-note {
  font-size: 0.82rem;
  margin-top: 16px;
  margin-bottom: 0;
  opacity: 0.5;
}

/* ── 28. MOBILE ── */
@media (max-width: 900px) {
  .nav__bar { padding: 0 32px; }

  .nav__menu {
    display: none;
    position: absolute;
    top: 72px;
    right: 16px;
    left: auto;
    bottom: auto;
    width: 280px;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    flex-direction: column;
    justify-content: flex-start;
    padding: 12px;
    overflow-y: auto;
    z-index: 10000;
    animation: dropdownIn 0.2s ease;
  }

  @keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav__menu.open {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .nav__link {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.9rem;
    border-radius: 8px;
    border-bottom: none;
    color: #ccc;
    transition: background 0.15s;
  }

  .nav__link:hover {
    background: rgba(255,255,255,0.06);
  }

  .nav__link.active {
    background: rgba(37,99,235,0.12);
    color: #fff;
    border-left: 3px solid #2563eb;
    padding-left: 12px;
  }

  /* CTA button should never get active styling */
  .nav__link.active.nav__cta {
    background: #ffffff;
    color: #0a0a0a !important;
    border-left: none;
    padding-left: 16px;
  }

  .nav__pay {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav__cta.btn--primary {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.85rem;
    border: 1px solid #fff;
    border-radius: var(--radius-sm);
  }

  .nav__toggle {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    padding: 4px !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    z-index: 9501 !important;
    -webkit-tap-highlight-color: transparent !important;
    position: absolute !important;
    right: 32px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .nav__toggle span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background: #cccccc !important;
    border-radius: 2px !important;
  }

  .hero__inner { padding: 40px 0 32px; }

  .hero__stat { padding: 0 20px; }
  .hero__stat-val { font-size: 1.2rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .diff-grid { grid-template-columns: 1fr; }
  .diff-item { border-right: none; border-bottom: 1px solid var(--border); }
  .diff-item:last-child { border-bottom: none; }

  .section { padding: 64px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero__stats {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .hero__stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 4px;
  }

  .hero__stat:last-child { border-bottom: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }

  .cta-banner { padding: 48px 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
}

/* ── HOW WE WORK ── */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.how-step { position: relative; }
.how-step__num { font-size: 0.85rem; font-weight: 700; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; margin-bottom: 12px; }
.how-step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.how-step p { font-size: 0.9rem; opacity: 0.7; line-height: 1.6; }
.how-step { transition: transform 0.3s ease; }
.how-step:hover { transform: translateY(-4px); }
.how-step__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}
@media (max-width: 900px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .how-grid { grid-template-columns: 1fr; } }

/* ── PAGE LOAD FADE ── */
body { animation: pageIn 0.5s ease; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes chatIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── BACK TO TOP ── */
.back-top { position: fixed; bottom: 24px; right: 88px; width: 40px; height: 40px; border-radius: 50%; background: #0a0a0a; border: 1px solid rgba(0,0,0,0.15); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.3s ease; z-index: 9998; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: #222222; }
.back-top svg { width: 20px; height: 20px; }
@media (max-width: 768px) { .back-top { bottom: 76px; right: 80px; } }















@media (max-width: 560px) {   }


/* ── FAQ Accordion ── */
.faq-list { max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); overflow: hidden; transition: border-color 0.3s; }
.faq-item[open] { border-color: rgba(0,0,0,0.15); }
.faq-item summary { padding: 18px 20px; font-weight: 600; font-size: 0.95rem; color: var(--white); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: background 0.2s; }
.faq-item summary:hover { background: rgba(0,0,0,0.02); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--silver-dim); transition: transform 0.3s; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 20px 18px; color: var(--silver-dim); font-size: 0.9rem; line-height: 1.7; }

/* 3D Card Tilt on Hover */
.service-card { perspective: 800px; transform-style: preserve-3d; }
.service-card:hover { transform: translateY(-6px) rotateX(2deg) rotateY(-1deg); box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.06); }

/* Glassmorphism effect on pricing cards */
.pricing-card { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: var(--bg-card); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); }

/* Glow effect on primary buttons */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255,255,255,0.1); border-radius: 50%; transform: translate(-50%,-50%); transition: width 0.5s ease, height 0.5s ease; }
.btn--primary:hover::after { width: 300px; height: 300px; }

/* Portfolio card hover lift */
.portfolio-card { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.portfolio-card--featured:hover { transform: translateY(-4px); border-color: rgba(245,158,11,0.4) !important; box-shadow: 0 20px 60px rgba(245,158,11,0.08); }

/* Review card subtle depth */
.review-card { transition: transform 0.3s ease; }
.review-card:hover { transform: translateY(-4px) scale(1.01); }

/* Diff item hover */
.diff-item { transition: transform 0.3s ease, background 0.3s ease; }
.diff-item:hover { transform: translateY(-4px); background: rgba(0,0,0,0.01); border-radius: 12px; }

/* Problem item hover */
.problem__item { transition: transform 0.3s ease; }
.problem__item:hover { transform: translateX(4px); }

/* Smooth image zoom on portfolio cards */
.portfolio-card__img { transition: transform 0.4s ease; }
.portfolio-card:hover .portfolio-card__img { transform: scale(1.03); }

/* Legal page spacing */
.legal-content h3 { margin-top: 36px; margin-bottom: 16px; }
.legal-content p { margin-bottom: 14px; line-height: 1.8; }
.legal-content ul { margin-bottom: 16px; }
.legal-content li { margin-bottom: 8px; line-height: 1.7; }

/* Improved readability */
.section p, .page-hero p { line-height: 1.75; }
.container--sm p { line-height: 1.8; margin-bottom: 14px; }

/* ── MOBILE CHAT — compact bottom sheet ── */
@media (max-width: 768px) {
  .chat-window[style*="display:flex"],
  .chat-window[style*="display: flex"] {
    position: fixed !important;
    bottom: auto !important;
    top: 8px !important;
    right: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: calc(100vw - 16px) !important;
    height: 44vh !important;
    max-height: 340px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    z-index: 10001 !important;
    flex-direction: column !important;
    box-shadow: 0 -4px 32px rgba(0,0,0,0.5) !important;
  }
  .chat-window {
    position: fixed !important;
    bottom: auto !important;
    top: 8px !important;
    right: 8px !important;
    left: 8px !important;
    width: auto !important;
    height: 44vh !important;
    max-height: 340px !important;
    border-radius: 14px !important;
    z-index: 10001 !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.6) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }
  #chatWidget {
    bottom: 76px !important;
    right: 12px !important;
  }
  #chatTrigger,
  #callTrigger {
    width: 44px !important;
    height: 44px !important;
  }
  #chatTrigger svg,
  #callTrigger svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* ── MOBILE PAGE TRIMMING — hide noisy sections ── */
@media (max-width: 900px) {
  .mobile-hide { display: none !important; }
  .section { padding: 48px 0; }
  .hero__inner { padding-bottom: 24px; }
}

/* ── MOBILE TOUCH & SPACING POLISH ── */
@media (max-width: 768px) {
  /* Ensure all interactive elements meet 44px min touch target */
  .btn, .nav__link { min-height: 44px; }

  /* Tighter container padding on small screens */
  .container { padding-left: 16px; padding-right: 16px; }

  /* Prevent horizontal overflow */
  html, body { overflow-x: hidden; }

  /* Service cards single column */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Stack footer fully */
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Principle icon sizing */
.principle__icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}
.principle__icon svg {
  width: 28px;
  height: 28px;
  stroke: #c0c0c0;
}
.principle__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── SUBTLE AURORA (light mode) ── */
.aurora {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.3;
}
.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: auroraFloat 20s ease-in-out infinite;
}
.aurora__blob--1 {
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(200,210,230,0.2), rgba(180,190,210,0.08), transparent 70%);
  top: -10%;
  left: 0;
  animation-duration: 22s;
}
.aurora__blob--2 {
  width: 500px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(210,215,225,0.15), rgba(190,195,210,0.06), transparent 70%);
  top: 20%;
  right: 0;
  animation-duration: 26s;
  animation-delay: -8s;
}
.aurora__blob--3 {
  width: 700px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(195,205,220,0.12), rgba(175,185,200,0.05), transparent 70%);
  bottom: 10%;
  left: 20%;
  animation-duration: 30s;
  animation-delay: -14s;
}
@keyframes auroraFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(60px, -40px) rotate(5deg) scale(1.1);
  }
  50% {
    transform: translate(-30px, 30px) rotate(-3deg) scale(0.95);
  }
  75% {
    transform: translate(40px, 20px) rotate(4deg) scale(1.05);
  }
}

/* Reduce aurora on mobile for performance */
@media (max-width: 700px) {
  .aurora { opacity: 0.25; }
  .aurora__blob { filter: blur(60px); }
  .aurora__blob--1 { width: 300px; height: 200px; }
  .aurora__blob--2 { width: 250px; height: 180px; }
  .aurora__blob--3 { width: 350px; height: 150px; }
}

/* Ensure content above aurora (nav excluded — it uses position:fixed) */
.hero, .section, .section--alt, .section--alt2, .page-hero, .footer, .trust-ticker, .video-section, .reviews {
  position: relative;
  z-index: 1;
}

/* ── SHADCN-INSPIRED REFINEMENTS ── */

/* Refined card borders */
.service-card,
.pricing-card,
.review-card,
.diff-item,
.portfolio-card {
  border: 1px solid #e0e0e0;
  box-shadow: var(--card-shadow);
}
.service-card:hover,
.portfolio-card:hover,
.review-card:hover {
  border-color: #d0d0d0;
}

/* Refined button styling */
.btn {
  letter-spacing: 0.01em;
  font-weight: 500;
}
.btn--primary {
  backdrop-filter: blur(4px);
}
.btn--ghost {
  border: 1px solid var(--accent);
  transition: all 0.25s ease;
}
.btn--ghost:hover {
  border-color: var(--accent-light);
  background: var(--accent-bg);
}

/* Refined section labels */
.label {
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

/* Subtle dividers between sections */
.section + .section::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.06), transparent);
  margin-bottom: 0;
}
#reviews::before { display: none !important; }

/* Refined footer — stays dark */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0a0a0a;
}

/* ── MOBILE BOTTOM NAVIGATION BAR ── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 9998;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bottom-nav__items {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 64px;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 8px;
}
.mobile-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #666;
  flex: 1;
  padding: 6px 0;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-bottom-nav__item.active,
.mobile-bottom-nav__item:active {
  color: #fff;
}
.mobile-bottom-nav__item svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px;
  max-height: 20px;
  stroke-width: 1.8;
  flex-shrink: 0;
}
.mobile-bottom-nav__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

@media (max-width: 768px) {
  .mobile-bottom-nav { display: block; }

  /* Body padding to prevent content hidden behind bottom nav */
  body { padding-bottom: 80px; }
  .footer { margin-bottom: 0; padding-bottom: 96px; }

  /* Move chat widget (call + chat buttons) above bottom nav */
  #chatWidget {
    bottom: 76px !important;
  }
  .chat-window {
    position: fixed !important;
    bottom: auto !important;
    top: 8px !important;
    right: 8px !important;
    left: 8px !important;
    width: auto !important;
    height: 44vh !important;
    max-height: 340px !important;
    border-radius: 14px !important;
    z-index: 10001 !important;
  }

  /* Move back-to-top above bottom nav */
  .back-top { bottom: 76px; }
  .back-top.show { bottom: 76px; }
}

/* ── FLOATING BOOK NOW CTA (MOBILE) ── */
.floating-book-cta {
  display: none;
  position: fixed;
  bottom: 76px;
  right: 12px;
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}
.floating-book-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.floating-book-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #fff;
  color: #000;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 12px rgba(255,255,255,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.floating-book-cta__btn:active {
  transform: scale(0.96);
}
.floating-book-cta__btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke-width: 2;
}

@media (max-width: 768px) {
  .floating-book-cta { display: block; }
}

/* ── DARK SECTION OVERRIDES ──
   Hero, page-hero, footer, and nav stay dark.
   Buttons/ghost/labels inside them need white-on-dark styling. */

/* Nav CTA stays white bg on dark nav */
.nav__cta.btn--primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.nav__cta.btn--primary:hover {
  background: #e8e8e8;
  border-color: #e8e8e8;
  color: #000000;
}

/* Hero buttons: primary = white bg, ghost = white border */
.hero .btn--primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.hero .btn--primary:hover {
  background: #e8e8e8;
  border-color: #e8e8e8;
  color: #000000;
  box-shadow: 0 8px 40px rgba(255,255,255,0.15);
}
.hero .btn--ghost,
.page-hero .btn--ghost {
  color: #ffffff;
  border-color: rgba(255,255,255,0.25);
}
.hero .btn--ghost:hover,
.page-hero .btn--ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  color: #ffffff;
}

/* Page-hero buttons */
.page-hero .btn--primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.page-hero .btn--primary:hover {
  background: #e8e8e8;
  border-color: #e8e8e8;
  color: #000000;
}

/* Footer buttons */
.footer .btn--primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.footer .btn--primary:hover {
  background: #e8e8e8;
  border-color: #e8e8e8;
  color: #000000;
}
.footer .btn--ghost {
  color: #e0e0e0;
  border-color: rgba(255,255,255,0.2);
}
.footer .btn--ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  color: #ffffff;
}

/* CTA banner — keep as dark accent */
.cta-banner {
  background: #0a0a0a;
  border-color: rgba(255,255,255,0.06);
  color: #ffffff;
}
.cta-banner h2 { color: #ffffff; }
.cta-banner p { color: #999999; }
.cta-banner .btn--primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.cta-banner .btn--primary:hover {
  background: #e8e8e8;
  border-color: #e8e8e8;
  color: #000000;
}

/* Pay panel — keep as dark accent */
.pay-panel {
  background: #0a0a0a;
  border-color: rgba(255,255,255,0.06);
  color: #ffffff;
}
.pay-panel h2 { color: #ffffff; }
.pay-panel p { color: #999999; }
.pay-panel .btn--primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
.pay-panel .btn--primary:hover {
  background: #e8e8e8;
  border-color: #e8e8e8;
  color: #000000;
}

/* Hero gradient text stays white-based */
.hero .gradient-text,
.page-hero .gradient-text {
  background: linear-gradient(135deg, #fff 0%, #d0d0d0 45%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 3D Hero Animations */
@keyframes rotate3d {
  from { transform: translate(-50%,-50%) rotateX(20deg) rotateY(0deg); }
  to { transform: translate(-50%,-50%) rotateX(20deg) rotateY(360deg); }
}
@keyframes float3d {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-55%) translateX(10px); }
}
@keyframes pulse3d {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.5); }
}

/* Show 3D element only on desktop */
@media (min-width: 1024px) {
  .hero__3d { display: block !important; }
}

/* ── BLOG ── */

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { opacity: 0.4; }

/* Blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.blog-card__image { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #e8e8e8; }
.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  width: fit-content;
}
.blog-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
}
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--accent); }
.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.blog-card__meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; flex-shrink: 0; }
.blog-card__meta-item { display: flex; align-items: center; gap: 4px; }

/* Article page */
.article-hero { padding: 140px 0 60px; background: #0a0a0a; color: #fff; }
.article-hero .label { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.15); }
.article-hero h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.2; margin: 16px 0 20px; max-width: 720px; }
@media (max-width: 600px) { .article-hero h1 { font-size: 1.6rem; } }
.article-hero__meta { display: flex; align-items: center; gap: 20px; font-size: 0.88rem; color: rgba(255,255,255,0.55); flex-wrap: wrap; }
.article-hero__meta svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
.article-hero__meta-item { display: flex; align-items: center; gap: 6px; }

/* Article content */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; padding: 60px 0 80px; }
@media (max-width: 860px) { .article-layout { grid-template-columns: 1fr; } }

.article-content { max-width: 720px; }
.article-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin: 48px 0 16px; padding-top: 24px; border-top: 1px solid var(--border); }
.article-content h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.article-content h3 { font-size: 1.15rem; font-weight: 600; color: var(--text-primary); margin: 32px 0 12px; }
.article-content p { font-size: 1rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { font-size: 1rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 8px; }
.article-content a { color: var(--accent); text-decoration: underline; }
.article-content a:hover { color: var(--accent-light); }
.article-content strong { color: var(--text-primary); }
.article-content blockquote {
  border-left: 3px solid var(--accent);
  background: var(--accent-bg);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* Article table */
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.92rem; }
.article-content th { background: #f0f0f0; text-align: left; padding: 12px 16px; font-weight: 600; color: var(--text-primary); border: 1px solid var(--border); }
.article-content td { padding: 12px 16px; border: 1px solid var(--border); color: var(--text-secondary); }
.article-content tr:nth-child(even) td { background: var(--bg-3); }

/* TOC sidebar */
.article-toc {
  position: sticky;
  top: 100px;
  align-self: start;
}
.article-toc__title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 16px; }
.article-toc__list { list-style: none; padding: 0; margin: 0; }
.article-toc__list li { margin-bottom: 10px; }
.article-toc__list a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--t-fast);
  display: block;
  padding-left: 12px;
  border-left: 2px solid transparent;
}
.article-toc__list a:hover { color: var(--accent); border-left-color: var(--accent); }
@media (max-width: 860px) { .article-toc { display: none; } }

/* Article CTA */
.article-cta {
  background: #0a0a0a;
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  margin-top: 48px;
}
.article-cta h3 { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.article-cta p { color: rgba(255,255,255,0.6); margin-bottom: 24px; font-size: 0.95rem; }
.article-cta .btn { display: inline-flex; }
