/* ============================================
   RevGenn — Complete Design System v2.0
   Outcomes-first Revenue Growth Agency
   ============================================ */

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

/* --- CSS Custom Properties --- */
:root {
  /* Background */
  --bg-primary: #05050f;
  --bg-secondary: #090916;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.055);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-border-hover: rgba(108, 92, 231, 0.3);

  /* Text */
  --text-primary: #f0f0f8;
  --text-secondary: rgba(240, 240, 248, 0.58);
  --text-muted: rgba(240, 240, 248, 0.3);

  /* Brand Colors */
  --purple: #7c5cbf;
  --purple-light: #a78bfa;
  --purple-glow: rgba(124, 92, 191, 0.35);
  --cyan: #22d3ee;
  --cyan-glow: rgba(34, 211, 238, 0.25);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.25);
  --coral: #f97316;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #7c5cbf 0%, #a78bfa 50%, #22d3ee 100%);
  --grad-marketing: linear-gradient(135deg, #10b981 0%, #22d3ee 100%);
  --grad-sales: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --grad-ads: linear-gradient(135deg, #7c5cbf 0%, #f97316 100%);
  --grad-ai: linear-gradient(135deg, #22d3ee 0%, #7c5cbf 100%);
  --grad-hero: linear-gradient(135deg, #7c5cbf 0%, #a78bfa 40%, #22d3ee 100%);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 130px) clamp(20px, 5vw, 80px);
  --container: 1240px;

  /* Motion */
  --ease-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shape */
  --radius: 18px;
  --radius-sm: 10px;
  --radius-pill: 100px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================
   AMBIENT BACKGROUND
   ============================================ */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.12;
  animation: orbFloat 22s ease-in-out infinite;
}

.ambient-orb:nth-child(1) {
  width: 700px; height: 700px;
  background: var(--purple);
  top: -12%; left: -12%;
  animation-delay: 0s;
}
.ambient-orb:nth-child(2) {
  width: 550px; height: 550px;
  background: var(--cyan);
  top: 35%; right: -18%;
  animation-delay: -8s;
}
.ambient-orb:nth-child(3) {
  width: 450px; height: 450px;
  background: var(--coral);
  bottom: -8%; left: 28%;
  animation-delay: -16s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(35px, -45px) scale(1.06); }
  66% { transform: translate(-25px, 35px) scale(0.94); }
}

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

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px clamp(20px, 5vw, 60px);
  transition: var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(5, 5, 15, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px clamp(20px, 5vw, 60px);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-logo-dot {
  width: 8px; height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--ease-fast);
  white-space: nowrap;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

/* Service pills in nav */
.nav-links .nav-pill {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
}
.nav-links .nav-pill:hover {
  border-color: var(--glass-border-hover);
  background: rgba(124, 92, 191, 0.08);
}

/* CTA button */
.nav-cta {
  padding: 10px 26px !important;
  background: var(--grad-brand) !important;
  border-radius: var(--radius-pill) !important;
  color: white !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 4px 20px var(--purple-glow);
  transition: var(--ease-smooth) !important;
  border: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px var(--purple-glow) !important;
  background: rgba(255,255,255,0.1) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--ease-fast);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px clamp(20px, 5vw, 80px) 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(124, 92, 191, 0.18) 0%, transparent 70%);
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 36px;
  letter-spacing: 0.03em;
  animation: fadeInUp 0.7s ease-out both;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Hero heading */
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  animation: fadeInUp 0.7s ease-out 0.1s both;
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-text-marketing { background: var(--grad-marketing); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-text-sales { background: var(--grad-sales); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-text-ads { background: var(--grad-ads); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.grad-text-ai { background: var(--grad-ai); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Hero sub */
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 44px;
  line-height: 1.65;
  animation: fadeInUp 0.7s ease-out 0.2s both;
}

/* Hero actions */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease-out 0.3s both;
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease-out 0.45s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-brand);
  color: white;
  box-shadow: 0 4px 24px var(--purple-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--purple-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--glass-border-hover);
  background: rgba(124, 92, 191, 0.07);
  transform: translateY(-3px);
}

.btn-marketing { background: var(--grad-marketing); color: white; box-shadow: 0 4px 24px var(--emerald-glow); }
.btn-marketing:hover { transform: translateY(-3px); box-shadow: 0 12px 40px var(--emerald-glow); }

.btn-sales { background: var(--grad-sales); color: white; box-shadow: 0 4px 24px var(--gold-glow); }
.btn-sales:hover { transform: translateY(-3px); box-shadow: 0 12px 40px var(--gold-glow); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-outline:hover {
  border-color: var(--purple-light);
  background: rgba(124, 92, 191, 0.08);
  transform: translateY(-2px);
}

/* ============================================
   MARQUEE / TRUST STRIP
   ============================================ */
.trust-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.015);
}

.trust-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 20px 0 10px;
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track.reverse {
  animation: marqueeScrollReverse 30s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
}

.marquee-logo {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(240, 240, 248, 0.2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 32px;
  white-space: nowrap;
  transition: var(--ease-fast);
  cursor: default;
}

.marquee-logo:hover { color: rgba(240, 240, 248, 0.6); }

.marquee-divider {
  color: rgba(255,255,255,0.08);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.marquee-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

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

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

/* ============================================
   METRICS BAR
   ============================================ */
.metrics-section {
  padding: clamp(50px, 7vw, 70px) clamp(20px, 5vw, 80px);
  position: relative;
  z-index: 2;
}

.metrics-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.metric-item {
  background: var(--bg-secondary);
  padding: 36px 28px;
  text-align: center;
  transition: var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.metric-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: var(--ease-smooth);
}

.metric-item.m-marketing::before { background: var(--grad-marketing); }
.metric-item.m-sales::before { background: var(--grad-sales); }
.metric-item.m-ads::before { background: var(--grad-ads); }
.metric-item.m-brand::before { background: var(--grad-brand); }

.metric-item:hover { background: var(--bg-card-hover); }
.metric-item:hover::before { opacity: 1; }

.metric-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-item.m-marketing .metric-value { background: var(--grad-marketing); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.metric-item.m-sales .metric-value { background: var(--grad-sales); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.metric-item.m-ads .metric-value { background: var(--grad-ads); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.metric-item.m-brand .metric-value { background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.metric-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ============================================
   SECTION COMMONS
   ============================================ */
section {
  padding: var(--section-pad);
  position: relative;
  z-index: 2;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.75;
}

.section-center { text-align: center; }
.section-center .section-eyebrow { justify-content: center; }
.section-center .section-desc { margin: 0 auto; }

/* ============================================
   SERVICE PILLARS (HOME)
   ============================================ */
.pillars-section {
  background: var(--bg-secondary);
}

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

.pillar-card {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 44px 40px;
  overflow: hidden;
  transition: var(--ease-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: var(--ease-smooth);
}

.pillar-card.p-marketing::before { background: var(--grad-marketing); }
.pillar-card.p-sales::before { background: var(--grad-sales); }
.pillar-card.p-ads::before { background: var(--grad-ads); }
.pillar-card.p-ai::before { background: var(--grad-ai); }

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

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

.pillar-icon-wrap {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  position: relative;
}

.pillar-card.p-marketing .pillar-icon-wrap { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.2); }
.pillar-card.p-sales .pillar-icon-wrap { background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.2); }
.pillar-card.p-ads .pillar-icon-wrap { background: rgba(124, 92, 191, 0.12); border: 1px solid rgba(124, 92, 191, 0.2); }
.pillar-card.p-ai .pillar-icon-wrap { background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.2); }

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.pillar-tag {
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.77rem;
  font-weight: 500;
}

.p-marketing .pillar-tag { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); color: var(--emerald); }
.p-sales .pillar-tag { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2); color: var(--gold); }
.p-ads .pillar-tag { background: rgba(124, 92, 191, 0.1); border: 1px solid rgba(124, 92, 191, 0.2); color: var(--purple-light); }
.p-ai .pillar-tag { background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.2); color: var(--cyan); }

.pillar-arrow {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--ease-fast);
}

.p-marketing .pillar-arrow { color: var(--emerald); }
.p-sales .pillar-arrow { color: var(--gold); }
.p-ads .pillar-arrow { color: var(--purple-light); }
.p-ai .pillar-arrow { color: var(--cyan); }

.pillar-card:hover .pillar-arrow { gap: 10px; }

/* ============================================
   WHY REVGENN
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.why-card {
  padding: 38px 32px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(124, 92, 191, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: var(--ease-smooth);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
}
.why-card:hover::after { opacity: 1; }

.why-number {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 24px;
  transition: var(--ease-smooth);
}

.why-card:hover .why-number { opacity: 0.35; }

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.hiw-section {
  background: var(--bg-secondary);
}

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 60px;
}

.hiw-card {
  padding: 40px 34px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.hiw-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: var(--ease-smooth);
}

.hiw-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 191, 0.2);
  background: var(--bg-card-hover);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

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

.hiw-step {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 22px;
  transition: var(--ease-smooth);
}

.hiw-card:hover .hiw-step { opacity: 0.45; }

.hiw-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hiw-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.72;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
  background: var(--bg-secondary);
}

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

.team-card {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  transition: var(--ease-smooth);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 92, 191, 0.22);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.team-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.team-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--ease-smooth);
  filter: grayscale(25%) brightness(0.9);
}

.team-card:hover .team-photo-wrap img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.04);
}

.team-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none;
}

.team-info {
  padding: 22px 26px 30px;
}

.team-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  color: var(--purple-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.team-org {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  background: rgba(124, 92, 191, 0.1);
  border: 1px solid rgba(124, 92, 191, 0.16);
  font-size: 0.77rem;
  color: var(--purple-light);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
}

.team-social {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.team-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--ease-fast);
}

.team-social a:hover {
  border-color: var(--purple-light);
  color: var(--purple-light);
  background: rgba(124, 92, 191, 0.1);
}

/* ============================================
   SERVICE PAGE — HERO (sub-pages)
   ============================================ */
.page-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 140px clamp(20px, 5vw, 80px) 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 38px;
}

/* ============================================
   FEATURE LIST
   ============================================ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  transition: var(--ease-smooth);
}

.feature-item:hover {
  border-color: var(--glass-border-hover);
  background: var(--bg-card-hover);
}

.feature-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 2px;
}

.feature-check.c-marketing { background: rgba(16, 185, 129, 0.15); color: var(--emerald); border: 1px solid rgba(16, 185, 129, 0.25); }
.feature-check.c-sales { background: rgba(245, 158, 11, 0.15); color: var(--gold); border: 1px solid rgba(245, 158, 11, 0.25); }
.feature-check.c-ads { background: rgba(124, 92, 191, 0.15); color: var(--purple-light); border: 1px solid rgba(124, 92, 191, 0.25); }
.feature-check.c-ai { background: rgba(34, 211, 238, 0.15); color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.25); }

.feature-item h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ============================================
   SERVICE CARDS (Sub-pages)
   ============================================ */
.services-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.service-card {
  padding: 38px 32px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: var(--ease-smooth);
}

.service-card.sc-marketing::before { background: var(--grad-marketing); }
.service-card.sc-sales::before { background: var(--grad-sales); }
.service-card.sc-ads::before { background: var(--grad-ads); }
.service-card.sc-ai::before { background: var(--grad-ai); }

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  background: var(--bg-card-hover);
}
.service-card:hover::before { opacity: 1; }

.service-icon-big {
  font-size: 2.6rem;
  margin-bottom: 18px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.91rem;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.service-tag {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.77rem;
  font-weight: 500;
}

.sc-marketing .service-tag { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.18); color: var(--emerald); }
.sc-sales .service-tag { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.18); color: var(--gold); }
.sc-ads .service-tag { background: rgba(124, 92, 191, 0.1); border: 1px solid rgba(124, 92, 191, 0.18); color: var(--purple-light); }
.sc-ai .service-tag { background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.18); color: var(--cyan); }

/* ============================================
   ACCOMPLISHMENTS / STATS (Sub-pages)
   ============================================ */
.stats-banner {
  background: var(--bg-secondary);
  padding: clamp(60px, 8vw, 90px) clamp(20px, 5vw, 80px);
  position: relative;
  z-index: 2;
}

.stats-grid-4 {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 34px 20px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(124, 92, 191, 0.07) 0%, transparent 70%);
  opacity: 0;
  transition: var(--ease-smooth);
}

.stat-card:hover { transform: translateY(-4px); }
.stat-card:hover::before { opacity: 1; }

.stat-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-card.s-marketing .stat-value { background: var(--grad-marketing); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-card.s-sales .stat-value { background: var(--grad-sales); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-card.s-ads .stat-value { background: var(--grad-ads); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-card.s-brand .stat-value { background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.stat-label {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 80px);
  position: relative;
  z-index: 2;
}

.cta-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 70px 60px;
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(124, 92, 191, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 38px;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 2;
  background: var(--bg-primary);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  margin-top: 3px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--ease-fast);
}

.footer-links a:hover { color: var(--text-primary); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.75; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   AI PAGE SPECIAL
   ============================================ */
.ai-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px clamp(20px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}

.ai-orb-field {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ai-orb-field::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, rgba(124, 92, 191, 0.08) 50%, transparent 70%);
  border-radius: 50%;
  animation: aiPulse 4s ease-in-out infinite;
}

@keyframes aiPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.ai-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 238, 0.06);
  backdrop-filter: blur(12px);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 40px;
  letter-spacing: 0.04em;
  animation: fadeInUp 0.7s ease-out both;
}

.ai-icon {
  font-size: 1.2rem;
  animation: aiSpin 8s linear infinite;
}

@keyframes aiSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ai-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease-out 0.1s both;
}

.ai-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 44px;
  animation: fadeInUp 0.7s ease-out 0.2s both;
}

.ai-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease-out 0.3s both;
}

.btn-ai {
  background: var(--grad-ai);
  color: white;
  box-shadow: 0 4px 24px var(--cyan-glow);
  font-size: 1.05rem;
  padding: 16px 40px;
}
.btn-ai:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px var(--cyan-glow);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 5, 15, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; padding: 12px 24px; }
  .nav-toggle { display: flex; }

  .hero h1 { font-size: clamp(2.4rem, 9vw, 4rem); }
  .hero-stats { gap: 24px; }
  .hero-stat-divider { display: none; }

  .pillars-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hiw-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .services-grid-3 { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }

  .cta-box { padding: 48px 28px; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-links { justify-content: center; }

  .page-hero { min-height: 60vh; padding-top: 120px; }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .stats-grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; }
}
