/* ==========================================================================
   RALLY — PADEL MATCHMAKING PLATFORM
   Design System & Luxury Dark Aesthetics (Fluently & Apple Inspired)
   ========================================================================== */

:root {
  /* Brand Core Palette */
  --bg-primary: #070709;
  --bg-secondary: #0e0e12;
  --bg-card: rgba(22, 22, 28, 0.7);
  --bg-card-hover: rgba(30, 30, 38, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-heavy: rgba(14, 14, 18, 0.88);

  /* Performance Green Accents */
  --accent-green: #00ff88;
  --accent-green-dim: #059669;
  --accent-green-glow: rgba(0, 255, 136, 0.25);
  --accent-green-subtle: rgba(0, 255, 136, 0.08);

  /* Tactical Electric Blues / Accents */
  --accent-blue: #0071e3;
  --accent-blue-glow: rgba(0, 113, 227, 0.25);
  --accent-yellow: #f59e0b;
  --accent-red: #ef4444;

  /* Typography & Borders */
  --text-white: #ffffff;
  --text-dim: #a1a1aa;
  --text-muted: #71717a;
  --text-dark: #27272a;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(0, 255, 136, 0.4);

  /* Spacing & Geometry */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px var(--accent-green-glow);
  --shadow-blue-glow: 0 0 35px var(--accent-blue-glow);

  /* Animation Easing (Emil Kowalski Philosophy) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.55;
  background: radial-gradient(circle at 50% 0%, #111a16 0%, var(--bg-primary) 70%);
}

/* Typography Standards */
h1, h2, h3, h4, h5, .font-display {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

.mono {
  font-family: 'Roboto Mono', monospace;
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green-dim);
}

/* Universal Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Subtle Grid Background Pattern */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
}

/* Ambient Radial Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.glow-green {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}
.glow-blue {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, transparent 70%);
  top: 600px;
  right: 5%;
}

/* ==========================================================================
   NAVIGATION BAR (Glassmorphic Floating Overlay - Fluently Style)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  width: calc(100% - 48px);
  max-width: 1180px;
  padding: 12px 24px;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-white);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #00ff88, #059669);
  color: #000;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: var(--text-white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Button Component System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 160ms, box-shadow 160ms, border-color 160ms;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
  background: #f4f4f5;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.btn-accent {
  background: var(--accent-green);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 0 20px var(--accent-green-glow);
}
.btn-accent:hover {
  background: #22c55e;
  box-shadow: 0 0 30px var(--accent-green-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border-color: var(--border-subtle);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-medium);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
}

.badge-live {
  background: var(--accent-green-subtle);
  border-color: var(--border-accent);
  color: var(--accent-green);
}

.dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 1.8s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ==========================================================================
   HERO SECTION WITH CINEMATIC MOVING BACKGROUND (Fluently Style)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 100px 0 80px;
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Background Media Container with Ken Burns & Parallax */
.hero-bg-wrapper {
  position: absolute;
  top: -100px;
  left: -100px;
  right: -100px;
  bottom: -100px;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 1200px;
  animation: hero-drift-float 22s infinite alternate ease-in-out;
}

@keyframes hero-drift-float {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.12) translate3d(-25px, -18px, 0);
  }
  100% {
    transform: scale(1.06) translate3d(20px, 15px, 0);
  }
}

.hero-bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
  filter: brightness(0.9) contrast(1.15) saturate(1.1);
  transition: transform 0.08s cubic-bezier(0.1, 0.9, 0.2, 1);
}

/* Dark Cinematic Vignette Overlays matching Fluently */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg, 
    rgba(7, 7, 9, 0.75) 0%, 
    rgba(7, 7, 9, 0.35) 40%, 
    rgba(7, 7, 9, 0.88) 80%, 
    #070709 100%
  );
  pointer-events: none;
}

.hero-radial-spotlight {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 75vw;
  max-width: 900px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.16) 0%, rgba(0, 113, 227, 0.08) 45%, transparent 75%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-tag {
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.7rem, 6.5vw, 5.2rem);
  line-height: 1.04;
  margin-bottom: 24px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-title span.text-highlight {
  background: linear-gradient(135deg, #00ff88 20%, #60a5fa 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: #d4d4d8;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Hero Live Court Visualizer Component */
.court-showcase-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 255, 136, 0.07);
}

.court-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.court-live-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}

.court-state-indicator {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent-green);
  background: rgba(0, 255, 136, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 255, 136, 0.3);
}

/* 2v2 Padel Court Interactive Grid */
.padel-court {
  position: relative;
  width: 100%;
  height: 380px;
  background: #0a1410;
  border: 3px solid rgba(0, 255, 136, 0.4);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 16px;
  gap: 16px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

/* Padel Court Geometry Lines */
.court-line-net {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  z-index: 5;
  transform: translateY(-50%);
}
.court-line-net::after {
  content: 'NET';
  position: absolute;
  right: 12px;
  top: -9px;
  font-size: 9px;
  font-weight: 800;
  color: #000;
  background: #fff;
  padding: 1px 6px;
  border-radius: 3px;
}

.court-line-center {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 4;
}

.court-line-service-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 25%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.court-line-service-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* Court Player Quadrant Slots */
.player-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all 0.3s var(--ease-spring);
  z-index: 10;
}

.player-slot.filled {
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.4);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.player-avatar-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
}

.player-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-green);
  box-shadow: 0 0 15px var(--accent-green-glow);
}

.slot-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  animation: pulse-search 2s infinite ease-in-out;
}

@keyframes pulse-search {
  0%, 100% { border-color: rgba(255, 255, 255, 0.2); }
  50% { border-color: rgba(0, 255, 136, 0.6); color: var(--accent-green); }
}

.slot-info {
  text-align: center;
}
.player-name {
  font-weight: 700;
  font-size: 0.92rem;
}
.player-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.badge-tag {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 4px;
  display: inline-block;
}
.tag-green { background: rgba(0, 255, 136, 0.15); color: #00ff88; }
.tag-blue { background: rgba(0, 113, 227, 0.15); color: #60a5fa; }
.tag-searching { background: rgba(255, 255, 255, 0.08); color: var(--text-dim); }

/* Interactive Demo Controls Under Court */
.court-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.state-selector-pills {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.state-pill-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 160ms var(--ease-out);
}

.state-pill-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.state-pill-btn:hover:not(.active) {
  color: var(--text-white);
}

/* ==========================================================================
   LIVE ACTIVITY TICKER RIBBON (Fluently Style)
   ========================================================================== */
.ticker-ribbon-wrap {
  width: 100%;
  background: rgba(14, 14, 18, 0.75);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
  gap: 32px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
}

.ticker-item strong {
  color: var(--text-white);
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

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

/* ==========================================================================
   SCROLL-DOWN SIGNATURE SCREEN: 3D PHONE SHOWCASE & FLOATING CALLOUTS
   ========================================================================== */
.showcase-section {
  position: relative;
  padding: 120px 0 100px;
  z-index: 2;
  overflow: hidden;
}

.showcase-stage-wrap {
  position: relative;
  max-width: 1100px;
  margin: 50px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 720px;
  perspective: 1200px;
}

/* Central iPhone 16 Pro Floating Mockup */
.showcase-phone {
  width: 350px;
  height: 690px;
  background: #08080c;
  border: 7px solid #22222a;
  border-radius: 46px;
  box-shadow: 
    0 35px 90px -15px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(0, 255, 136, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
  will-change: transform;
}

.showcase-phone-notch {
  width: 120px;
  height: 22px;
  background: #22222a;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  margin: 0 auto;
  z-index: 20;
}

.showcase-phone-screen {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  background: #0c0c12;
}

/* Floating Callout Cards (Left & Right) */
.floating-callout {
  position: absolute;
  background: rgba(18, 18, 24, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  max-width: 320px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 255, 136, 0.06);
  z-index: 15;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.floating-callout:hover {
  transform: scale(1.04) translateY(-4px);
  border-color: var(--accent-green);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 35px var(--accent-green-glow);
}

.callout-top-left {
  top: 40px;
  left: 10px;
  animation: float-slow-1 6s infinite alternate ease-in-out;
}

.callout-bottom-left {
  bottom: 80px;
  left: 15px;
  animation: float-slow-2 7s infinite alternate ease-in-out;
}

.callout-top-right {
  top: 50px;
  right: 10px;
  animation: float-slow-2 6.5s infinite alternate ease-in-out;
}

.callout-bottom-right {
  bottom: 70px;
  right: 15px;
  animation: float-slow-1 7.5s infinite alternate ease-in-out;
}

@keyframes float-slow-1 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(-0.5deg); }
}

@keyframes float-slow-2 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(12px) rotate(0.6deg); }
}

.callout-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.callout-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.callout-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.callout-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Pulsating Pointer Rings */
.callout-pointer-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
}

.pointer-left {
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
}

.pointer-right {
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
}

/* Mode Switcher Nav Bar */
.showcase-nav-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.showcase-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 180ms var(--ease-out);
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-pill-btn:hover {
  color: var(--text-white);
  border-color: var(--border-medium);
}

.showcase-pill-btn.active {
  background: var(--accent-green);
  color: #000;
  border-color: var(--accent-green);
  font-weight: 700;
  box-shadow: 0 0 25px var(--accent-green-glow);
}

/* ==========================================================================
   REAL-TIME COMPATIBILITY & TACTICAL INSPECTOR SCREEN (Fluently Style)
   ========================================================================== */
.inspector-section {
  position: relative;
  padding: 110px 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 30%, rgba(0, 255, 136, 0.04) 0%, transparent 65%);
}

.inspector-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 40px;
}

/* Left Column: Interactive Match Intent & Signal Feed */
.feed-card {
  background: var(--bg-card-heavy, #0e0e14);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.feed-log-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all 0.2s var(--ease-out);
}

.feed-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}

.feed-user-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.feed-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.feed-user-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.feed-text {
  color: #d4d4d8;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Clickable Highlighted Pill Tags (Fluently Style) */
.pill-tag-interactive {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s var(--ease-spring);
  margin: 0 3px;
  vertical-align: middle;
}

.pill-tag-interactive:active {
  transform: scale(0.95);
}

.tag-skill {
  background: rgba(0, 255, 136, 0.14);
  color: #00ff88;
  border-color: rgba(0, 255, 136, 0.4);
}
.tag-skill.active, .tag-skill:hover {
  background: #00ff88;
  color: #000;
  box-shadow: 0 0 15px var(--accent-green-glow);
}

.tag-geo {
  background: rgba(96, 165, 250, 0.14);
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.4);
}
.tag-geo.active, .tag-geo:hover {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 0 15px var(--accent-blue-glow);
}

.tag-reliability {
  background: rgba(245, 158, 11, 0.14);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.4);
}
.tag-reliability.active, .tag-reliability:hover {
  background: #f59e0b;
  color: #000;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.tag-time {
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.4);
}
.tag-time.active, .tag-time:hover {
  background: #a855f7;
  color: #fff;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

/* Right Column: Dynamic Inspector / Diagnostic Card */
.inspector-card {
  background: linear-gradient(160deg, rgba(20, 20, 28, 0.95) 0%, rgba(10, 10, 14, 0.98) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card), 0 0 40px rgba(0, 255, 136, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.inspector-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.inspector-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.inspector-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.inspector-explanation {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Inspector Metrics Radar Bar */
.metrics-row-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 24px;
}

.metric-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
}

.metric-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--accent-green);
  transition: width 0.5s var(--ease-out);
}

/* Audio Voice Briefing Player */
.audio-briefing-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid var(--border-accent);
  padding: 12px 18px;
  border-radius: var(--radius-md);
}

.waveform-canvas {
  width: 110px;
  height: 28px;
}

/* ==========================================================================
   INTERACTIVE MATCH SCENARIOS & FORMAT SWITCHER (Fluently Style)
   ========================================================================== */
.scenario-section {
  position: relative;
  padding: 110px 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.04) 0%, transparent 70%);
}

.scenario-chips-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.scenario-chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 8px;
}

.scenario-chip-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border-color: var(--border-medium);
}

.scenario-chip-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 25px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.scenario-main-card {
  background: var(--bg-card-heavy, #0e0e14);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s;
}

.scenario-main-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.scenario-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scenario-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  width: fit-content;
  background: rgba(0, 255, 136, 0.12);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.scenario-title {
  font-size: 1.7rem;
  line-height: 1.2;
}

.scenario-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.scenario-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.telemetry-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.telemetry-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 4px;
}

.telemetry-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.scenario-right {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.scenario-player-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.player-strip-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-strip-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.scenario-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  margin-top: 6px;
}

/* ==========================================================================
   MEASURABLE PROGRESSION & SKILL RADAR DASHBOARD (Fluently Style)
   ========================================================================== */
.progression-section {
  position: relative;
  padding: 110px 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 30%, rgba(0, 255, 136, 0.04) 0%, transparent 70%);
}

.progression-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
}

.progression-card-main {
  background: var(--bg-card-heavy, #0e0e14);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.progression-radar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  position: relative;
}

.radar-canvas-box {
  width: 280px;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-canvas {
  width: 100%;
  height: 100%;
}

.tier-selector-pills {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  width: fit-content;
}

.tier-pill-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.tier-pill-btn.active {
  background: var(--accent-green);
  color: #000;
  box-shadow: 0 0 15px var(--accent-green-glow);
}

.progression-side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.progression-subcard {
  background: var(--bg-card-heavy, #0e0e14);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.progression-subcard:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

/* Activity Heatmap Grid (30-day streak) */
.streak-heatmap-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.streak-day {
  height: 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
  cursor: pointer;
}

.streak-day.lvl-1 { background: rgba(0, 255, 136, 0.25); }
.streak-day.lvl-2 { background: rgba(0, 255, 136, 0.55); }
.streak-day.lvl-3 { background: #00ff88; box-shadow: 0 0 8px rgba(0, 255, 136, 0.4); }

.streak-day:hover {
  transform: scale(1.15);
  border: 1px solid #fff;
}

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

/* ==========================================================================
   LIVE MATCHMAKING PULSE & BEACON STAGE (Fluently Style)
   ========================================================================== */
.beacon-section {
  position: relative;
  padding: 120px 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.05) 0%, transparent 70%);
  text-align: center;
}

.beacon-stage-card {
  background: var(--bg-card-heavy, #0e0e14);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.beacon-orb-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beacon-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--accent-green);
  opacity: 0;
  animation: beacon-ripple 3s infinite cubic-bezier(0.1, 0.8, 0.3, 1);
}

.beacon-pulse-ring:nth-child(2) {
  animation-delay: 1s;
}
.beacon-pulse-ring:nth-child(3) {
  animation-delay: 2s;
}

@keyframes beacon-ripple {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.beacon-core-orb {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #00ff88 0%, #059669 60%, #022c22 100%);
  box-shadow: 0 0 35px var(--accent-green-glow), inset 0 0 15px rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #000;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring);
  position: relative;
  z-index: 2;
}

.beacon-core-orb:hover {
  transform: scale(1.08);
}
.beacon-core-orb:active {
  transform: scale(0.94);
}

.beacon-voice-transcript {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 0.95rem;
  color: var(--text-white);
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  transition: all 0.3s;
}

.voice-persona-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.voice-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.voice-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.voice-pill-btn.active {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
}

/* Incoming Acceptances Feed */
.beacon-incoming-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
  text-align: left;
}

.incoming-player-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, border-color 0.2s;
}

.incoming-player-card:hover {
  border-color: var(--accent-green);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .beacon-incoming-feed {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BENTO GRID FEATURE SECTION (Fluently Style)
   ========================================================================== */
.section {
  position: relative;
  padding: 100px 0;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-dim);
}

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

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 250ms var(--ease-out), border-color 250ms, box-shadow 250ms;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card), 0 0 30px rgba(255, 255, 255, 0.03);
}

.bento-card.col-8 { grid-column: span 8; }
.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-6 { grid-column: span 6; }
.bento-card.col-12 { grid-column: span 12; }

.bento-card-highlight {
  border-color: rgba(0, 255, 136, 0.3);
  background: linear-gradient(145deg, rgba(0, 255, 136, 0.04) 0%, rgba(14, 14, 18, 0.9) 100%);
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.bento-icon.green {
  background: var(--accent-green-subtle);
  border-color: var(--border-accent);
  color: var(--accent-green);
}
.bento-icon.blue {
  background: rgba(0, 113, 227, 0.1);
  border-color: rgba(0, 113, 227, 0.3);
  color: #60a5fa;
}

.bento-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.bento-text {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ==========================================================================
   WHATSAPP VS RALLY (Comparison Matrix)
   ========================================================================== */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.comparison-box {
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-subtle);
}

.box-whatsapp {
  background: rgba(239, 68, 68, 0.03);
  border-color: rgba(239, 68, 68, 0.2);
}

.box-rally {
  background: rgba(0, 255, 136, 0.04);
  border-color: rgba(0, 255, 136, 0.3);
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.05);
}

.comp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.comp-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.comp-icon.cross {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.comp-icon.check {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
}

/* ==========================================================================
   INTERACTIVE MATCHMAKING SANDBOX / WIZARD
   ========================================================================== */
.sandbox-wrapper {
  background: var(--bg-card-heavy, #0e0e14);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  max-width: 1000px;
  margin: 0 auto;
}

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

.wizard-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: all 160ms var(--ease-out);
}

.wizard-card.active, .wizard-card:hover {
  background: rgba(0, 255, 136, 0.06);
  border-color: var(--accent-green);
  transform: translateY(-2px);
}

.wizard-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-white);
}

.wizard-card-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
}

.form-select, .form-input {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
}

.form-select:focus, .form-input:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

/* ==========================================================================
   MATCH ROOM LIVE SIMULATOR
   ========================================================================== */
.matchroom-demo {
  background: #08080c;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}

.match-tactical-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.team-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
}

.team-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.vs-badge {
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--accent-green);
  background: rgba(0, 255, 136, 0.1);
  padding: 6px 10px;
  border-radius: 50%;
}

.match-chat-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 280px;
  justify-content: space-between;
}

.chat-messages {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 6px;
}

.chat-bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.bubble-other {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
}

.bubble-me {
  align-self: flex-end;
  background: var(--accent-green-dim);
  color: #ffffff;
}

.chat-input-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.85rem;
}

/* ==========================================================================
   FOOTER & MODALS
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
  background: #050507;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover {
  color: var(--accent-green);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card-heavy, #18181b);
  border: 1px solid var(--border-accent);
  color: var(--text-white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slide-toast 0.3s var(--ease-spring);
}

@keyframes slide-toast {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive Rules */
@media (max-width: 900px) {
  .bento-card.col-8, .bento-card.col-4, .bento-card.col-6 {
    grid-column: span 12;
  }
  .comparison-container, .wizard-steps, .form-grid, .matchroom-demo, .footer-grid {
    grid-template-columns: 1fr;
  }
  .padel-court {
    height: 480px;
  }
  .nav-links {
    display: none;
  }
}

/* ==========================================================================
   SCROLL-DRIVEN REVEAL ANIMATIONS (Fluently Style)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   INTERACTIVE BEFORE / AFTER MATCH SLIDER (Fluently Style)
   ========================================================================== */
.split-compare-section {
  position: relative;
  padding: 110px 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 70%);
}

.split-quick-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.split-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-dim);
  padding: 8px 18px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.split-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.split-pill-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.split-compare-box {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  min-height: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card);
  user-select: none;
  background: #08080c;
  cursor: ew-resize;
}

.split-side {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.split-side.side-left {
  background: #0d090b;
  z-index: 1;
}

.split-side.side-right {
  background: #080d0b;
  clip-path: inset(0 0 0 50%);
  z-index: 2;
  transition: clip-path 0.05s ease-out;
}

.split-inner-content {
  width: 100%;
  max-width: 1040px;
  height: 100%;
  padding: 36px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.split-panel-half {
  max-width: 440px;
  width: 100%;
}

.split-panel-half.panel-left {
  margin-right: auto;
}

.split-panel-half.panel-right {
  margin-left: auto;
}

.split-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.split-metric-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.split-metric-box strong {
  font-size: 1.15rem;
  display: block;
  margin-bottom: 2px;
}

.split-slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #ffffff;
  z-index: 10;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(0, 255, 136, 0.5);
  pointer-events: none;
  transition: left 0.05s ease-out;
}

.split-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.9), 0 0 50px rgba(0, 255, 136, 0.6);
  z-index: 11;
  pointer-events: auto;
  cursor: grab;
  transition: transform 0.15s;
}

.split-slider-handle:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.15);
}

@media (max-width: 768px) {
  .split-inner-content {
    padding: 24px;
  }
  .split-metrics-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================================================
   KARACHI MEMBERSHIP & MATCH TIERS (Fluently Pricing Style)
   ========================================================================== */
.pricing-section {
  position: relative;
  padding: 120px 0;
  z-index: 2;
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.pricing-switch-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px;
  display: flex;
  gap: 6px;
}

.switch-pill {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.switch-pill.active {
  background: #fff;
  color: #000;
  box-shadow: 0 2px 15px rgba(255, 255, 255, 0.25);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card-heavy, #0e0e14);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}

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

.pricing-card.featured {
  border-color: var(--accent-green);
  box-shadow: 0 0 35px var(--accent-green-glow);
  background: linear-gradient(180deg, rgba(0, 255, 136, 0.06) 0%, #0e0e14 100%);
  transform: scale(1.03);
}

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

.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin: 16px 0 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-price span {
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 500;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features-list li strong {
  color: #fff;
}

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

/* ==========================================================================
   INTERACTIVE ACCORDION FAQ (Fluently Style)
   ========================================================================== */
.faq-section {
  position: relative;
  padding: 110px 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.04) 0%, transparent 70%);
}

.faq-accordion-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card-heavy, #0e0e14);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.active {
  border-color: var(--accent-green);
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.08);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 28px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: color 0.15s;
}

.faq-item.active .faq-question {
  color: var(--accent-green);
}

.faq-chevron {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.25s var(--ease-spring);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  background: var(--accent-green);
  color: #000;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s;
  padding: 0 28px;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding: 0 28px 24px 28px;
}

