/* ============================================================
   RevX Network — Global Stylesheet
   Mercury.com-inspired light theme, Inter font, Orange accent
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Colors — Light/Cream Mercury palette */
  --bg-cream:     #FAFAF8;
  --bg-white:     #FFFFFF;
  --bg-light:     #F5F5F3;
  --bg-section:   #F7F7F5;
  --bg-card:      #FFFFFF;
  --bg-dark:      #1a1a1a;
  --bg-footer:    #111111;

  --border:       #E8E8E4;
  --border-light: #EDEDEB;

  --orange-600:   #ea580c;
  --orange-500:   #f97316;
  --orange-400:   #fb923c;
  --orange-100:   #fff3e6;
  --orange-50:    #fffaf5;
  --orange-glow:  rgba(249,115,22,0.08);

  --text-primary:   #1a1a1a;
  --text-secondary: #555555;
  --text-muted:     #888888;
  --text-white:     #1a1a1a;
  --text-on-dark:   #f1f5f9;

  /* Gradients */
  --grad-orange:  linear-gradient(135deg, #ea580c, #f97316);
  --grad-hero:    linear-gradient(180deg, #FAFAF8 0%, #F5F5F3 100%);
  --grad-subtle:  linear-gradient(180deg, rgba(249,115,22,0.03) 0%, rgba(249,115,22,0) 100%);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-py: 120px;
  --container:  1200px;
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  20px;
  --radius-xl:  24px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; outline: none; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.text-gradient-orange {
  background: var(--grad-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-blue {
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent { color: var(--orange-500); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-py) 0; }
.section-sm { padding: 60px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grad-orange);
  border-radius: 2px;
}

.section-heading {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}
.section-sub.centered { margin: 0 auto; text-align: center; }
.centered { text-align: center; }

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

/* ---------- Scroll animation classes ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.fade-in.visible { opacity: 1; }

/* ---------- Stagger delays ---------- */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: var(--text-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  background: #333;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(0,0,0,0.04);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(0,0,0,0.07);
  border-color: #ccc;
}

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* ============================================================
   NAV / HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,250,248,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(250,250,248,0.95);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: white;
  flex-shrink: 0;
}
.logo-x { color: var(--orange-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 100px;
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover { color: var(--text-primary); background: rgba(0,0,0,0.04); }
.nav-link.active {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-cta { margin-left: 16px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px;
  background: none;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(250,250,248,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { width: 100%; display: block; }
.nav-mobile .btn { width: 100%; justify-content: center; margin-top: 12px; }

/* ============================================================
   HERO — Mercury-style with big image
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-cream);
  padding-top: 70px;
}

/* Subtle grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Decorative gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 400px; height: 400px;
  bottom: 100px; left: -100px;
  background: radial-gradient(circle, rgba(59,130,246,0.04) 0%, transparent 70%);
}
.hero-orb-3 {
  width: 300px; height: 300px;
  top: 20%; left: 60%;
  background: radial-gradient(circle, rgba(249,115,22,0.04) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  padding: 80px 24px 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--orange-50);
  border: 1px solid rgba(249,115,22,0.15);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--orange-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero image — large, prominent, Mercury-style */
.hero-image-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 0;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(0,0,0,0.15),
    0 0 0 1px rgba(0,0,0,0.05);
  will-change: transform;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.hero-trust {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-trust-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.hero-trust-items {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-trust-item {
  padding: 6px 14px;
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.stats-bar-inner {
  display: flex;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-section); }

.stat-number {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============================================================
   SOLUTIONS
   ============================================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 60px;
}

.solution-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: rgba(249,115,22,0.2);
}
.solution-card:hover::before { transform: scaleX(1); }

.solution-icon {
  width: 56px; height: 56px;
  background: var(--orange-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--orange-500);
  transition: all var(--transition);
}
.solution-card:hover .solution-icon {
  background: var(--orange-500);
  color: white;
}

.solution-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.solution-card p  { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.solution-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.feature-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  flex-shrink: 0;
}

/* ============================================================
   TECHNOLOGY SECTION
   ============================================================ */
.tech-section {
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}
.tech-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
  background-size: 32px 32px;
}

.tech-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  position: relative;
}

.tech-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: rgba(59,130,246,0.2);
}

.tech-icon {
  width: 56px; height: 56px;
  background: #EEF2FF;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #3b82f6;
}

.tech-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #EEF2FF;
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: #3b82f6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tech-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.tech-card p  { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.tech-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.tech-feature svg { flex-shrink: 0; margin-top: 1px; color: #3b82f6; }

/* ============================================================
   VERTICALS
   ============================================================ */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 32px;
  margin-top: 60px;
}

.vertical-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.vertical-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.vertical-icon-wrap {
  flex-shrink: 0;
  width: 72px; height: 72px;
  background: var(--orange-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-500);
}

.vertical-content h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.vertical-content p  { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }

.vertical-metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.v-metric {
  display: flex;
  flex-direction: column;
}
.v-metric-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--orange-500);
  letter-spacing: -0.02em;
}
.v-metric-label { font-size: 11px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

/* ============================================================
   HOW WE'RE DIFFERENT (Pillars)
   ============================================================ */
.pillars-section { background: var(--bg-section); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin-top: 60px;
}

.pillar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.pillar-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 20px;
}

.pillar-icon {
  width: 44px; height: 44px;
  background: var(--orange-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-500);
  margin-bottom: 16px;
}

.pillar-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.pillar-card p  { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   PARTNER LOGOS (Placeholder)
   ============================================================ */
.partners-section { background: var(--bg-cream); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 20px;
  margin-top: 48px;
}

.partner-placeholder {
  height: 72px;
  background: var(--bg-white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
}
.cta-inner h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.cta-inner p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 36px;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER — Dark (Mercury-style)
   ============================================================ */
.site-footer {
  background: var(--bg-footer);
  color: var(--text-on-dark);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.site-footer .nav-logo { color: #fff; }
.site-footer .logo-x { color: var(--orange-400); }

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--orange-400); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--orange-400); }

/* ============================================================
   PAGE HERO (sub-pages) — Light theme
   ============================================================ */
.page-hero {
  padding: 140px 0 80px;
  background: var(--bg-cream);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
}
.page-hero-content { position: relative; }
.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================
   ABOUT PAGE — Light theme
   ============================================================ */

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-visual {
  position: relative;
}
.story-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #F0F0EC, #E8E8E4, #F5F5F3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.story-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.04) 1px, transparent 0);
  background-size: 28px 28px;
}
.story-image-placeholder svg {
  color: rgba(249,115,22,0.2);
  position: relative;
}
.story-float {
  position: absolute;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.story-float-1 { bottom: -20px; left: -20px; }
.story-float-2 { top: -20px; right: -20px; }
.story-float .num { font-size: 20px; font-weight: 800; color: var(--orange-500); }
.story-float .lbl { font-size: 12px; color: var(--text-secondary); }

.story-text .section-label { margin-bottom: 12px; }
.story-text h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 20px; }
.story-text p  { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }

/* Mission */
.mission-block {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange-500);
  border-radius: var(--radius);
  padding: 32px 40px;
  margin-top: 32px;
}
.mission-block h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange-500); margin-bottom: 8px; }
.mission-block p  { font-size: 20px; font-weight: 600; color: var(--text-primary); line-height: 1.5; }

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 60px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange-500), var(--border));
}
.timeline-item {
  position: relative;
  padding-bottom: 48px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px; top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange-500);
  border: 2px solid var(--bg-cream);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.timeline-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.timeline-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.timeline-item p  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  margin-top: 60px;
}

.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #F0F0EC, #E0E0DC);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 900;
  color: rgba(249,115,22,0.3);
  letter-spacing: -0.04em;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.team-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
  background-size: 24px 24px;
}
.team-avatar-initials { position: relative; }
.team-info { padding: 28px; }
.team-info h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.team-info .team-role {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-500);
  margin-bottom: 12px;
}
.team-info p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* Values */
.values-section { background: var(--bg-section); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
  margin-top: 60px;
}
.value-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all var(--transition);
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.value-icon {
  width: 48px; height: 48px;
  background: var(--orange-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-500);
  flex-shrink: 0;
}
.value-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.value-content p  { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   CONTACT PAGE — Light theme
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.contact-form-wrap h2 { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.contact-form-wrap .sub { font-size: 15px; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.6; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.08);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--bg-white); }
.form-textarea { resize: vertical; min-height: 120px; }

.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; }

/* Contact sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 24px; }

.contact-info-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-info-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-icon {
  width: 36px; height: 36px;
  background: var(--orange-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-500);
  flex-shrink: 0;
}
.contact-item-text .label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 2px; }
.contact-item-text .value { font-size: 14px; color: var(--text-primary); }
.contact-item-text a { color: var(--orange-500); }
.contact-item-text a:hover { color: var(--orange-600); }

.calendly-placeholder {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.calendly-placeholder h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.calendly-placeholder p  { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; }
.calendly-embed-area {
  width: 100%;
  height: 200px;
  background: var(--bg-section);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   BLOG — LISTING
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  margin-top: 60px;
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.blog-thumb {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}
.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3));
  transition: opacity var(--transition);
  opacity: 0;
}

/* Gradient placeholders — softened for light theme */
.grad-1  { background: linear-gradient(135deg, #dbeafe 0%, #93c5fd 50%, #bfdbfe 100%); }
.grad-2  { background: linear-gradient(135deg, #fce4ec 0%, #f48fb1 50%, #f8bbd0 100%); }
.grad-3  { background: linear-gradient(135deg, #e8f5e9 0%, #81c784 50%, #a5d6a7 100%); }
.grad-4  { background: linear-gradient(135deg, #f3e5f5 0%, #ba68c8 50%, #ce93d8 100%); }
.grad-5  { background: linear-gradient(135deg, #f1f8e9 0%, #aed581 50%, #c5e1a5 100%); }
.grad-6  { background: linear-gradient(135deg, #e0f7fa 0%, #4dd0e1 50%, #80deea 100%); }
.grad-7  { background: linear-gradient(135deg, #fff3e0 0%, #ffb74d 50%, #ffcc80 100%); }
.grad-8  { background: linear-gradient(135deg, #e8eaf6 0%, #7986cb 50%, #9fa8da 100%); }
.grad-9  { background: linear-gradient(135deg, #ede7f6 0%, #9575cd 50%, #b39ddb 100%); }
.grad-10 { background: linear-gradient(135deg, #e0f2f1 0%, #4db6ac 50%, #80cbc4 100%); }

.blog-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.blog-thumb-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.15) 1px, transparent 0);
  background-size: 20px 20px;
}
.blog-thumb-icon { color: rgba(255,255,255,0.3); position: relative; }

.blog-category {
  position: absolute;
  top: 16px; left: 16px;
  padding: 4px 10px;
  background: var(--orange-500);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 1;
}

.blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.blog-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }
.blog-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-primary);
  transition: color var(--transition);
}
.blog-card:hover h3 { color: var(--orange-500); }
.blog-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; flex: 1; margin-bottom: 16px; }

.blog-read-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-500);
  margin-top: auto;
  transition: gap var(--transition);
}
.blog-card:hover .blog-read-link { gap: 10px; }

/* ============================================================
   BLOG POST TEMPLATE
   ============================================================ */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: start;
}

.post-article { min-width: 0; }

/* Post header */
.post-header { margin-bottom: 40px; }
.post-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.post-cat {
  display: inline-block;
  padding: 4px 12px;
  background: var(--orange-100);
  border: 1px solid rgba(249,115,22,0.15);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.post-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.post-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8E8E4, #F0F0EC);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: rgba(249,115,22,0.5);
  flex-shrink: 0;
}
.author-info { flex: 1; }
.author-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.author-role { font-size: 12px; color: var(--text-muted); }
.post-meta-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}
.post-meta-info .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }

/* Post hero image */
.post-hero-image {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.post-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
  background-size: 24px 24px;
}
.post-hero-image svg { color: rgba(249,115,22,0.15); position: relative; }

/* Post content */
.post-content {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.post-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 48px 0 16px;
  scroll-margin-top: 100px;
}
.post-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 12px;
}
.post-content p { margin-bottom: 20px; }
.post-content strong { color: var(--text-primary); font-weight: 600; }
.post-content ul, .post-content ol {
  margin: 0 0 20px 24px;
}
.post-content ul li { list-style: disc; margin-bottom: 8px; }
.post-content ol li { list-style: decimal; margin-bottom: 8px; }
.post-content blockquote {
  border-left: 3px solid var(--orange-500);
  padding: 16px 24px;
  background: var(--bg-section);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-primary);
}
.post-content code {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  color: var(--orange-500);
}

/* Share buttons */
.post-share {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.post-share h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px; }
.share-buttons { display: flex; gap: 12px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition);
}
.share-btn:hover { border-color: var(--orange-500); color: var(--orange-500); }

/* Author box */
.author-box {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.author-box-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8E8E4, #F0F0EC);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: rgba(249,115,22,0.5);
  flex-shrink: 0;
}
.author-box-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.author-box-info .role { font-size: 12px; color: var(--orange-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.author-box-info p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* Related posts */
.related-posts { margin-top: 64px; }
.related-posts h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.related-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.related-card-thumb {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.related-card-body { padding: 16px; }
.related-card-body h4 { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; transition: color var(--transition); }
.related-card:hover h4 { color: var(--orange-500); }
.related-card-body p { font-size: 12px; color: var(--text-muted); }

/* TOC Sidebar */
.post-sidebar { position: sticky; top: 90px; }
.toc-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.toc-card h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.toc-list { display: flex; flex-direction: column; gap: 4px; }
.toc-item {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all var(--transition);
}
.toc-item:hover { color: var(--orange-500); border-left-color: var(--orange-500); background: var(--orange-100); }
.toc-item.active { color: var(--orange-500); border-left-color: var(--orange-500); background: var(--orange-100); }

.sidebar-cta {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.sidebar-cta h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.sidebar-cta p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.sidebar-cta .btn { width: 100%; justify-content: center; }

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 32px;
  transition: color var(--transition);
}
.back-link:hover { color: var(--orange-500); }
.back-link:hover svg { transform: translateX(-3px); }
.back-link svg { transition: transform var(--transition); }

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ============================================================
   BADGE / TAG
   ============================================================ */
.tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .partners-grid { grid-template-columns: repeat(3,1fr); }
  .tech-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 60px auto 0; }
}

@media (max-width: 900px) {
  :root { --section-py: 80px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .verticals-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-visual { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(36px, 8vw, 56px); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .stats-bar-inner {
    flex-direction: column;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 24px;
  }
  .stat-item:last-child { border-bottom: none; }

  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .partners-grid { grid-template-columns: repeat(2,1fr); }
  .contact-form-wrap { padding: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .post-sidebar { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .vertical-card { flex-direction: column; gap: 20px; padding: 32px 24px; }
  .share-buttons { flex-wrap: wrap; }
  .author-box { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-content { padding: 48px 16px 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .pillar-card, .solution-card, .tech-card { padding: 24px 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; align-items: center; }
}
