/* ============================================
   NEXUS — Design System
   Volcanic Glass × Retro-Futuristic SaaS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;1,6..72,300;1,6..72,400&display=swap');

/* --- Clash Display via CDN --- */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --bg-base:       #0D0D0D;
  --bg-surface:    #141414;
  --bg-elevated:   #1E1E1E;
  --bg-card:       #181818;
  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(255,107,43,0.4);

  --orange:        #FF6B2B;
  --orange-light:  #FFB088;
  --orange-glow:   rgba(255,107,43,0.15);
  --orange-glow-strong: rgba(255,107,43,0.3);

  --text-primary:  #F0EDE8;
  --text-secondary:#A09890;
  --text-muted:    #5A5550;

  --font-display:  'Clash Display', 'Newsreader', sans-serif;
  --font-body:     'Newsreader', Georgia, serif;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;

  --shadow-card:   0 1px 3px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.3);
  --shadow-glow:   0 0 40px rgba(255,107,43,0.2);
  --shadow-glow-lg:0 0 80px rgba(255,107,43,0.15);

  --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;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

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

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
  mix-blend-mode: normal;
}

.cursor-trail {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255,107,43,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 20px;
  height: 20px;
  background: var(--orange-light);
}

body:has(a:hover) .cursor-trail,
body:has(button:hover) .cursor-trail {
  width: 52px;
  height: 52px;
  border-color: rgba(255,107,43,0.3);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

em { font-style: italic; color: var(--orange-light); font-family: var(--font-body); font-weight: 300; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  background: #e85a1e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,43,0.4);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange-light);
  background: var(--orange-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.btn-large { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-arrow { transition: transform 0.2s; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.google-icon { flex-shrink: 0; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.logo-mark { display: flex; align-items: center; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

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

.nav-links a {
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

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

.nav-docs {
  color: var(--orange-light) !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 0 24px;
  border-top: 1px solid var(--border);
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(20px);
}

.nav-mobile a {
  padding: 14px 24px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-mobile a:hover { color: var(--orange-light); background: var(--orange-glow); }
.nav-mobile.open { display: flex; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Animated grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,107,43,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,43,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Ambient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,43,0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,176,136,0.08) 0%, transparent 70%);
  bottom: 0;
  left: -50px;
  animation: orbFloat2 15s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.05); }
  66% { transform: translate(20px, -30px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -20px); }
}

/* Orbit rings */
.hero-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,107,43,0.12);
  pointer-events: none;
  top: 50%;
  right: 5%;
  transform: translate(0, -50%);
}

.hero-orbit-1 { width: 500px; height: 500px; margin: -250px 0 0 0; animation: orbitSpin 30s linear infinite; }
.hero-orbit-2 { width: 700px; height: 700px; margin: -350px 0 0 0; animation: orbitSpin 45s linear infinite reverse; border-color: rgba(255,107,43,0.07); }
.hero-orbit-3 { width: 900px; height: 900px; margin: -450px 0 0 0; animation: orbitSpin 60s linear infinite; border-color: rgba(255,107,43,0.04); }

@keyframes orbitSpin {
  from { transform: translate(0, -50%) rotate(0deg); }
  to { transform: translate(0, -50%) rotate(360deg); }
}

/* Orbit dots */
.hero-orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--orange);
  pointer-events: none;
}

.dot-1 { top: 20%; right: 28%; animation: dotOrbit1 8s linear infinite; }
.dot-2 { top: 60%; right: 15%; animation: dotOrbit2 12s linear infinite; }
.dot-3 { top: 40%; right: 45%; animation: dotOrbit3 6s linear infinite; width: 5px; height: 5px; background: var(--orange-light); }

@keyframes dotOrbit1 {
  0%, 100% { transform: translate(0,0); opacity: 1; }
  50% { transform: translate(20px, -15px); opacity: 0.6; }
}
@keyframes dotOrbit2 {
  0%, 100% { transform: translate(0,0); opacity: 0.8; }
  50% { transform: translate(-15px, 20px); opacity: 0.4; }
}
@keyframes dotOrbit3 {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 1; }
  50% { transform: translate(10px, 10px) scale(1.5); opacity: 0.5; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,107,43,0.1);
  border: 1px solid rgba(255,107,43,0.25);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--orange-light);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,43,0.6); }
  50% { box-shadow: 0 0 0 4px rgba(255,107,43,0); }
}

.hero-title {
  margin-bottom: 24px;
  color: var(--text-primary);
}

.title-highlight {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.proof-avatars {
  display: flex;
}

.proof-avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  margin-left: -8px;
  object-fit: cover;
}

.proof-avatars img:first-child { margin-left: 0; }

.proof-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.proof-stars {
  color: #FFB800;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.proof-text strong { color: var(--text-primary); }

/* Dashboard Preview */
.hero-visual {
  position: relative;
  z-index: 2;
}

.dashboard-preview {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow-lg);
  transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
  transition: transform 0.5s ease;
}

.dashboard-preview:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #28CA41; }

.preview-url {
  margin-left: 8px;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 3px 10px;
  border-radius: 4px;
}

.preview-body {
  display: flex;
  height: 280px;
}

.preview-sidebar {
  width: 48px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ps-logo { margin-bottom: 8px; }

.ps-nav-item {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  transition: background 0.2s;
}

.ps-nav-item.active {
  background: var(--orange-glow);
  border: 1px solid rgba(255,107,43,0.3);
}

.preview-main {
  flex: 1;
  padding: 16px;
  overflow: hidden;
}

.pm-header { margin-bottom: 14px; }

.pm-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-title-text {
  height: 10px;
  width: 120px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
}

.pm-badge {
  height: 18px;
  width: 60px;
  background: var(--orange-glow);
  border: 1px solid rgba(255,107,43,0.3);
  border-radius: 100px;
}

.pm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.pm-stat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
}

.psc-label {
  height: 6px;
  width: 50px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  margin-bottom: 6px;
}

.psc-value {
  height: 10px;
  width: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  margin-bottom: 8px;
}

.psc-value.orange { background: rgba(255,107,43,0.5); }

.psc-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}

.chart-bar {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  transition: height 0.5s ease;
}

.chart-bar.active { background: var(--orange); }

.pm-table { }

.pt-row {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: center;
}

.pt-row.header .pt-cell {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}

.pt-cell {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  flex: 1;
}

.pt-cell.w60 { flex: 0 0 60%; }
.pt-cell.w50 { flex: 0 0 50%; }
.pt-cell.w70 { flex: 0 0 70%; }
.pt-cell.w45 { flex: 0 0 45%; }
.pt-cell.w30 { flex: 0 0 30%; }
.pt-cell.w40 { flex: 0 0 40%; }
.pt-cell.w25 { flex: 0 0 25%; }
.pt-cell.w35 { flex: 0 0 35%; }
.pt-cell.badge-cell { flex: 0 0 auto; }

.pt-badge {
  display: inline-block;
  width: 40px;
  height: 16px;
  border-radius: 100px;
}

.pt-badge.green { background: rgba(40,202,65,0.2); border: 1px solid rgba(40,202,65,0.3); }
.pt-badge.orange { background: rgba(255,107,43,0.2); border: 1px solid rgba(255,107,43,0.3); }
.pt-badge.gray { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }

.preview-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80px;
  background: radial-gradient(ellipse, rgba(255,107,43,0.2) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* ============================================
   LOGOS SECTION
   ============================================ */
.logos-section {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.logos-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.logos-inner {
  display: flex;
  gap: 60px;
  animation: logoScroll 20s linear infinite;
  width: max-content;
}

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

.logo-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.3s;
}

.logo-item:hover { color: var(--text-secondary); }

/* ============================================
   SECTION COMMONS
   ============================================ */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: var(--orange-glow);
  border: 1px solid rgba(255,107,43,0.2);
  border-radius: 100px;
}

.section-title {
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.7;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 100px 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,43,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(255,107,43,0.08);
}

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

.feature-card-large {
  grid-column: span 2;
}

.fc-icon {
  width: 56px;
  height: 56px;
  background: var(--orange-glow);
  border: 1px solid rgba(255,107,43,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
}

.fc-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.fc-visual {
  margin-top: 24px;
}

/* Task flow visual */
.task-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tf-node {
  padding: 8px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.tf-node.active {
  background: var(--orange-glow);
  border-color: rgba(255,107,43,0.4);
  color: var(--orange-light);
}

.tf-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Intel bars */
.intel-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ib-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.ib-row > span:first-child { width: 120px; flex-shrink: 0; }
.ib-row > span:last-child { width: 36px; text-align: right; color: var(--text-primary); font-weight: 600; }

.ib-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}

.ib-fill {
  height: 100%;
  background: var(--orange-light);
  border-radius: 100px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ib-fill.orange { background: var(--orange); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 100px 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.tc-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.tc-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.4;
  margin-bottom: -16px;
}

.tc-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
  font-weight: 300;
  font-style: italic;
}

.tc-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tc-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  object-fit: cover;
}

.tc-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.tc-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tc-rating {
  margin-left: auto;
  color: #FFB800;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.tc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.tc-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.tc-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-glow);
}

.tc-dots {
  display: flex;
  gap: 8px;
}

.tc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: var(--transition);
  cursor: none;
}

.tc-dot.active {
  background: var(--orange);
  width: 20px;
  border-radius: 100px;
}

/* ============================================
   STATS
   ============================================ */
.stats-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-item:last-child::after { display: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: 100px 0;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.toggle-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-save {
  padding: 2px 8px;
  background: rgba(40,202,65,0.15);
  border: 1px solid rgba(40,202,65,0.3);
  border-radius: 100px;
  font-size: 0.7rem;
  color: #28CA41;
}

.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  position: relative;
  transition: var(--transition);
}

.toggle-switch.active {
  background: var(--orange);
  border-color: var(--orange);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--text-primary);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-switch.active .toggle-thumb {
  transform: translateX(22px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.pricing-card-featured {
  background: linear-gradient(135deg, rgba(255,107,43,0.08) 0%, var(--bg-card) 100%);
  border-color: rgba(255,107,43,0.3);
  transform: scale(1.03);
}

.pricing-card-featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pc-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  white-space: nowrap;
}

.pc-tier {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pc-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.pc-currency {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  align-self: flex-start;
  margin-top: 8px;
}

.pc-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  transition: var(--transition);
}

.pc-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pc-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
  font-weight: 300;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pc-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pc-features li.muted { color: var(--text-muted); }

.check {
  color: #28CA41;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.cross {
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.cta-band-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-band-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255,107,43,0.12) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.cta-band h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-band p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1.05rem;
  font-weight: 300;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 24px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-glow);
}

.footer-links {
  display: contents;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--orange-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  width: 100%;
  max-width: 420px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }

.modal-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.modal h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.modal p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
  font-weight: 300;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 24px;
  background: #fff;
  color: #1a1a1a;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-bottom: 16px;
}

.btn-google:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.modal-terms {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0 !important;
}

.modal-terms a { color: var(--orange-light); }
.modal-terms a:hover { text-decoration: underline; }

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-sub { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .hero-badge { margin: 0 auto 28px; }

  .hero-orbit-ring,
  .hero-orbit-dot { display: none; }

  .hero-visual { display: none; }

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

  .feature-card-large { grid-column: span 2; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; grid-column: span 2; }
  .footer-brand { grid-column: span 2; }
}

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

  .hero { padding: 100px 24px 60px; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large { grid-column: span 1; }

  .testimonial-card { flex: 0 0 calc(100% - 0px); }

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

  .stat-item::after { display: none; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card-featured { transform: none; }
  .pricing-card-featured:hover { transform: translateY(-4px); }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: span 1; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; grid-column: span 1; }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .modal { padding: 36px 24px; margin: 16px; }

  .cursor, .cursor-trail { display: none; }
  body { cursor: auto; }
  button { cursor: pointer; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary, .hero-cta .btn-outline { justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
}