/* ═══════════════════════════════════════════════════════
   FUTUREOFSE0.CSS  |  RSM — Future of SEO
   ═══════════════════════════════════════════════════════ */

.nav-active { color: #d4a54a !important; }
.nav-active::after { width: 100% !important; }

#scrollProgress {
  position: fixed; top: 64px; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, #d4a54a, rgba(212,165,74,0.5));
  z-index: 998; pointer-events: none;
  box-shadow: 0 0 10px rgba(212,165,74,0.4);
}

/* ═══════════════════
   SHARED
═══════════════════ */
.ft-sec {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}
.ft-sec-dark {
  background: rgba(255,255,255,0.012);
  border-top: 1px solid rgba(212,165,74,0.06);
  border-bottom: 1px solid rgba(212,165,74,0.06);
}
.ft-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 80px);
}
.ft-header {
  text-align: center; max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}
.ft-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 3.5px;
  text-transform: uppercase; color: #d4a54a;
  display: block; margin-bottom: 16px; opacity: 0.85;
}
.ft-sec-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700; line-height: 1.18; color: #eef0ff; margin-bottom: 16px;
}
.ft-sec-title em { font-style: italic; color: #d4a54a; }
.ft-sec-sub { font-size: 15px; line-height: 1.8; color: rgba(238,240,255,0.55); }

/* Orbs */
.ft-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.ft-orb1 {
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(68,24,130,0.22) 0%, transparent 70%);
  top: -20%; left: -10%; animation: ftOrb1 22s ease-in-out infinite;
}
.ft-orb2 {
  width: 50vw; height: 50vw; max-width: 660px; max-height: 660px;
  background: radial-gradient(circle, rgba(14,50,110,0.18) 0%, transparent 70%);
  bottom: -15%; right: -12%; animation: ftOrb2 26s ease-in-out infinite;
}
.ft-orb3 {
  width: 40vw; height: 40vw; max-width: 520px; max-height: 520px;
  background: radial-gradient(circle, rgba(212,165,74,0.07) 0%, transparent 70%);
  top: 35%; right: 5%; animation: ftOrb1 19s ease-in-out infinite reverse;
}
.ft-orb4 {
  width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(68,24,130,0.22) 0%, transparent 70%);
  top: -15%; left: -15%; animation: ftOrb1 24s ease-in-out infinite;
}
.ft-orb5 {
  width: 45vw; height: 45vw; max-width: 580px; max-height: 580px;
  background: radial-gradient(circle, rgba(212,165,74,0.08) 0%, transparent 70%);
  bottom: -8%; right: -8%; animation: ftOrb2 30s ease-in-out infinite;
}
@keyframes ftOrb1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(5%,7%) scale(1.07); } }
@keyframes ftOrb2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-4%,-5%) scale(1.06); } }
.ft-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,165,74,0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,165,74,0.024) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none; z-index: 1;
}

/* Buttons */
.ft-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; background: #d4a54a; color: #020108;
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border-radius: 3px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.ft-btn-primary:hover { background: #e8be6a; box-shadow: 0 0 36px rgba(212,165,74,0.3); transform: translateY(-2px); }
.ft-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; background: transparent;
  border: 1px solid rgba(212,165,74,0.28);
  color: rgba(238,240,255,0.65);
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none; border-radius: 3px;
  transition: border-color 0.3s, color 0.3s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.ft-btn-ghost:hover { border-color: rgba(212,165,74,0.6); color: #d4a54a; transform: translateY(-2px); }

/* ═══════════════════
   HERO
═══════════════════ */
.ft-hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #020108;
}
.ft-hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.ft-hero-content {
  position: relative; z-index: 5;
  text-align: center; max-width: 900px;
  padding: 0 clamp(24px, 5vw, 60px);
}

/* ── New Hero Title Layout ── */
.ft-hero-question-wrap { margin-bottom: 24px; }
.ft-hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 900; color: #eef0ff;
  line-height: 1.12; letter-spacing: -1px;
  margin-bottom: 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.ft-hero-prefix {
  font-size: clamp(28px, 4vw, 52px);
  color: rgba(238,240,255,0.72);
  font-weight: 700; display: block;
}
.ft-hero-swap-wrap {
  display: block; overflow: hidden;
  min-height: clamp(52px, 7.5vw, 100px);
}
.ft-hero-swap {
  font-size: clamp(44px, 7.5vw, 100px);
  font-style: italic; color: #d4a54a; display: block;
  /* GSAP controls position */
}

.ft-hero-sub {
  font-size: clamp(14px, 1.55vw, 16px); line-height: 1.8;
  color: rgba(238,240,255,0.58); max-width: 640px; margin: 0 auto 36px;
}
.ft-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.ft-scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0;
}
.ft-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(212,165,74,0.6), transparent);
  animation: ftScrollPulse 2s ease-in-out infinite;
}
@keyframes ftScrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }
.ft-scroll-hint span {
  font-family: "JetBrains Mono", monospace; font-size: 9px;
  letter-spacing: 3px; color: rgba(212,165,74,0.45); text-transform: uppercase;
}

/* ═══════════════════
   VELOCITY — 2 × 2 GRID
═══════════════════ */
.ft-velocity-sec {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
  border-top: 1px solid rgba(212,165,74,0.06);
  border-bottom: 1px solid rgba(212,165,74,0.06);
  background: rgba(255,255,255,0.012);
}
.vel-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 32px);
  max-width: 1000px; margin: 0 auto;
}
.vel-stat {
  display: flex; flex-direction: column;
  padding: clamp(24px, 4vw, 40px);
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  transition: border-color 0.35s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative; overflow: hidden;
}
.vel-stat::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 20% 80%, var(--vc, #d4a54a) 0%, transparent 70%);
  opacity: 0.04; pointer-events: none;
}
.vel-stat:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.vs-num {
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900; line-height: 1; letter-spacing: -2px;
  margin-bottom: 12px;
}
.vs-label {
  font-size: clamp(13px, 1.3vw, 15px); line-height: 1.7;
  color: rgba(238,240,255,0.55);
}

/* ═══════════════════
   HORIZONTAL SCROLL — PREDICTIONS
═══════════════════ */
.ft-pred-sec {
  position: relative; height: 100vh; overflow: hidden; background: #020108;
}
.ft-pred-track {
  display: flex; height: 100%; width: 500vw; will-change: transform;
}
.ft-pred-slide {
  width: 100vw; height: 100%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 80px clamp(24px, 6vw, 100px);
  gap: clamp(28px, 5vw, 80px);
  position: relative; overflow: hidden;
  border-right: 1px solid rgba(212,165,74,0.05);
}
.ft-pred-slide::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,165,74,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,165,74,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 55% 55% at 18% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 18% 50%, black 20%, transparent 100%);
  pointer-events: none;
}
.fps-inner { flex: 1; max-width: 580px; position: relative; z-index: 2; }
.fps-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.fps-num {
  font-family: "Playfair Display", serif;
  font-size: 11px; font-weight: 900; color: rgba(212,165,74,0.4); letter-spacing: 3px;
}
.fps-year {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(212,165,74,0.65);
  padding: 4px 12px; border: 1px solid rgba(212,165,74,0.18); border-radius: 20px;
}
.fps-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 700; color: #eef0ff; line-height: 1.2; margin-bottom: 18px;
}
.fps-title em { font-style: italic; color: #d4a54a; display: block; }
.fps-body {
  font-size: clamp(13px, 1.3vw, 15px); line-height: 1.85;
  color: rgba(238,240,255,0.58); margin-bottom: 24px;
}
.fps-signal {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 20px;
  background: rgba(212,165,74,0.04);
  border: 1px solid rgba(212,165,74,0.12); border-radius: 6px;
}
.fps-sig-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(212,165,74,0.55);
}
.fps-sig-text { font-size: 13px; color: rgba(238,240,255,0.75); line-height: 1.6; }

.fps-visual {
  flex-shrink: 0;
  width: clamp(180px, 25vw, 360px); height: clamp(180px, 25vw, 360px);
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.fps-ring { position: absolute; border-radius: 50%; border-style: solid; }
.fps-ring1 { inset: 0;   border-width: 1.5px; animation: ringRot 18s linear infinite; }
.fps-ring2 { inset: 14%; border-width: 1px;   animation: ringRot 12s linear infinite reverse; }
.fps-ring3 { inset: 28%; border-width: 1px;   animation: ringRot 8s linear infinite; }
@keyframes ringRot { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.fps-glyph {
  font-family: "Playfair Display", serif;
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 900; letter-spacing: -3px; position: relative; z-index: 2;
}

.fps-v1 .fps-ring1 { border-color: rgba(212,165,74,0.2); }   .fps-v1 .fps-ring2 { border-color: rgba(212,165,74,0.1); }  .fps-v1 .fps-ring3 { border-color: rgba(212,165,74,0.06); } .fps-v1 .fps-glyph { color: rgba(212,165,74,0.14); }
.fps-v2 .fps-ring1 { border-color: rgba(79,143,255,0.2); }   .fps-v2 .fps-ring2 { border-color: rgba(79,143,255,0.1); }  .fps-v2 .fps-ring3 { border-color: rgba(79,143,255,0.06); } .fps-v2 .fps-glyph { color: rgba(79,143,255,0.14); }
.fps-v3 .fps-ring1 { border-color: rgba(6,214,160,0.2); }    .fps-v3 .fps-ring2 { border-color: rgba(6,214,160,0.1); }   .fps-v3 .fps-ring3 { border-color: rgba(6,214,160,0.06); }  .fps-v3 .fps-glyph { color: rgba(6,214,160,0.14); }
.fps-v4 .fps-ring1 { border-color: rgba(168,85,247,0.2); }   .fps-v4 .fps-ring2 { border-color: rgba(168,85,247,0.1); }  .fps-v4 .fps-ring3 { border-color: rgba(168,85,247,0.06); } .fps-v4 .fps-glyph { color: rgba(168,85,247,0.14); }
.fps-v5 .fps-ring1 { border-color: rgba(249,115,22,0.2); }   .fps-v5 .fps-ring2 { border-color: rgba(249,115,22,0.1); }  .fps-v5 .fps-ring3 { border-color: rgba(249,115,22,0.06); } .fps-v5 .fps-glyph { color: rgba(249,115,22,0.14); }

.pred-progress {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  width: min(300px, 65vw); height: 2px;
  background: rgba(255,255,255,0.06); border-radius: 2px; z-index: 10;
}
.pred-progress-fill {
  height: 100%; width: 20%; border-radius: 2px;
  background: linear-gradient(90deg, #d4a54a, #e8be6a);
}
.pred-counter {
  position: absolute; bottom: 48px; right: clamp(24px, 5vw, 60px);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 2px; color: rgba(212,165,74,0.5); z-index: 10;
}
#predCurrent {
  font-size: 18px; font-weight: 700; color: rgba(212,165,74,0.85);
  transition: all 0.3s ease;
}

/* ═══════════════════
   CTA
═══════════════════ */
.ft-cta-sec {
  position: relative;
  padding: clamp(100px, 14vw, 180px) 0;
  overflow: hidden; background: #020108; text-align: center;
  border-top: 1px solid rgba(212,165,74,0.06);
}
.ft-cta-orbs { position: absolute; inset: 0; pointer-events: none; }
.ft-cta-inner {
  position: relative; z-index: 3; max-width: 740px; margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 60px);
}
.ft-cta-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 6vw, 72px); font-weight: 900;
  line-height: 1.1; color: #eef0ff; margin-bottom: 22px; letter-spacing: -1px;
}
.ft-cta-title em { display: block; font-style: italic; color: #d4a54a; }
.ft-cta-sub {
  font-size: clamp(14px, 1.5vw, 16px); line-height: 1.8;
  color: rgba(238,240,255,0.5); max-width: 560px; margin: 0 auto 38px;
}
.ft-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.ft-btn-large { padding: 17px 38px !important; font-size: 12px !important; }
.ft-cta-note {
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  letter-spacing: 2px; color: rgba(238,240,255,0.2); text-transform: uppercase;
}

/* ═══════════════════
   LARGE SCREENS
═══════════════════ */
@media (min-width: 1440px) {
  .ft-sec-sub { font-size: 17px; }
  .vs-label { font-size: 16px; }
  .fps-body { font-size: 16px; }
  .fps-sig-text { font-size: 14px; }
}
@media (min-width: 1920px) {
  .ft-inner { max-width: 1400px; }
  .vel-stats { max-width: 1200px; }
  .fps-inner { max-width: 680px; }
  .fps-body { font-size: 17px; }
}

/* ═══════════════════
   RESPONSIVE
═══════════════════ */
/* Tablet: 900px */
@media (max-width: 900px) {
  .ft-cta-btns { flex-direction: column; align-items: center; }
  .ft-btn-primary, .ft-btn-ghost { width: 100%; max-width: 320px; justify-content: center; }
}
/* Phones: 768px */
@media (max-width: 768px) {
  .ft-hero-prefix { font-size: clamp(20px, 5vw, 32px); }
  .ft-hero-swap { font-size: clamp(32px, 8vw, 56px); }
  .ft-hero-sub { font-size: 14px; }
  .ft-hero-btns { flex-direction: column; align-items: center; }
  .ft-hero-btns .ft-btn-primary,
  .ft-hero-btns .ft-btn-ghost { width: 100%; max-width: 300px; justify-content: center; }

  /* Velocity: 1-col on phones */
  .vel-stats { grid-template-columns: 1fr; }

  /* Predictions: vertical stack */
  .ft-pred-sec { height: auto; overflow: visible; }
  .ft-pred-track { width: 100%; flex-direction: column; height: auto; }
  .ft-pred-slide {
    width: 100%; height: auto; min-height: 100svh;
    flex-direction: column; gap: 28px;
    border-right: none; border-bottom: 1px solid rgba(212,165,74,0.06);
    padding: 88px clamp(24px,5vw,48px) 48px;
    align-items: flex-start;
  }
  .fps-inner { max-width: 100%; }
  .fps-visual { width: 140px; height: 140px; align-self: center; }
  .fps-glyph { font-size: 42px; }
  .pred-progress, .pred-counter { display: none; }
  .ft-sec-title { font-size: clamp(24px, 6vw, 36px); }
}
/* Small phones: 560px */
@media (max-width: 560px) {
  .vel-stat { padding: 22px 18px; }
  .vs-num { font-size: clamp(40px, 9vw, 64px); }
  .fps-title { font-size: clamp(20px, 6vw, 28px); }
  .fps-body { font-size: 13px; }
  .ft-cta-title { font-size: clamp(28px, 7vw, 44px); }
}
/* Very small: 375px */
@media (max-width: 375px) {
  .ft-hero-prefix { font-size: 18px; }
  .ft-hero-swap { font-size: 30px; }
  .vel-stats { gap: 12px; }
  .vel-stat { padding: 18px 14px; }
  .vs-num { font-size: 38px; }
  .fps-slide { padding: 80px 16px 40px; }
  .ft-cta-title { font-size: 26px; }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}