@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@400;500;700&display=swap');

/* ==========================================================================
   UMPLY SUITE — Premium Design System
   ========================================================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Premium Dark Theme */
  --navy: #000000;
  --navy-deep: #000000;
  --navy-light: #0A0A0A;
  --navy-surface: #111111;
  --navy-card: #151515;
  --navy-elevated: #1E1E1E;

  /* Accent Colors (Neon / Linear Aesthetic) */
  --blue: #3B82F6;
  --blue-light: #60A5FA;
  --blue-dark: #2563EB;
  --blue-glow: rgba(59, 130, 246, 0.4);
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --purple-glow: rgba(139, 92, 246, 0.4);
  --gold: #F59E0B;
  --gold-glow: rgba(245, 158, 11, 0.4);
  --neon-pink: #EC4899;

  /* Status */
  --green: #10B981;
  --green-light: #34D399;
  --red: #EF4444;
  --red-light: #F87171;
  --amber: #F59E0B;

  /* Text (High Contrast OLED) */
  --text-primary: #FAFAFA;
  --text-secondary: #A1A1AA;
  --text-tertiary: #71717A;
  --text-muted: #52525B;

  /* Borders & Surfaces */
  --surface: #0A0A0A;
  --surface-light: #151515;
  --surface-highlight: #27272A;
  --border: rgba(255, 255, 255, 0.08);
  --divider: rgba(255, 255, 255, 0.05);

  /* Fluid & Mesh Gradients */
  --gradient-primary: linear-gradient(135deg, #FAFAFA, #A1A1AA);
  --gradient-dynamic: linear-gradient(270deg, #FFFFFF, #000000, #FFFFFF, #000000);
  --gradient-gold: linear-gradient(135deg, #FDE68A, #F59E0B);
  --gradient-success: linear-gradient(135deg, #6EE7B7, #10B981);
  --gradient-radial: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));

  /* Ultra-Premium Glass/Stroke */
  --glass-bg: rgba(15, 15, 15, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 24px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.8);
  --shadow-glow-blue: 0 0 40px var(--blue-glow);
  --shadow-glow-purple: 0 0 40px var(--purple-glow);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Bebas Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-pad: clamp(5rem, 10vw, 10rem);
  --container-width: 1280px;
  --container-narrow: 960px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.6s;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* CSS Spotlight vars */
  --mouse-x: 50%;
  --mouse-y: 50%;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

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

body {
  font-family: var(--font);
  background: var(--navy-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Premium Noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-light);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

a:hover {
  color: var(--blue);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.text-gradient {
  background: var(--gradient-dynamic);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
}

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

.text-blue { color: var(--blue-light); }
.text-purple { color: var(--purple-light); }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
}

.grid {
  display: grid;
  gap: 2rem;
}

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Section Header --- */
.section-header {
  text-align: left;
  max-width: 900px;
  margin: 0 0 clamp(3rem, 5vw, 4rem);
  padding-left: 1rem;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.75rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.nav__logo img {
  height: 40px;
  width: 40px;
  border-radius: var(--radius-sm);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--duration-fast) ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--duration-normal) var(--ease-out);
}

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

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  margin-left: 1rem;
}

/* Dropdown Menu */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--duration-fast) ease;
  border: none;
}

.nav__dropdown-menu a::after {
  display: none;
}

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

/* Mobile Nav Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem;
    transition: right var(--duration-normal) var(--ease-out);
    border-left: 1px solid var(--border);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links a {
    font-size: 1.25rem;
  }

  .nav__cta {
    margin-left: 0;
  }

  .nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-normal) ease;
    z-index: 999;
  }

  .nav__overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  /* Mobile Dropdown */
  .nav__dropdown {
    width: 100%;
  }

  .nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__dropdown-menu.active {
    display: block;
  }

  .nav__dropdown-menu a {
    padding-left: 2rem;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--navy);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(255, 255, 255, 0.3);
  color: var(--navy);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}

.btn--primary:hover::before {
  opacity: 1;
}

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

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--gradient-gold);
  color: var(--navy-deep);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.45);
  color: var(--navy-deep);
}

.btn--large {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn--small {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn--icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* --- Cards --- */
.card {
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: transform var(--duration-normal) var(--ease-spring), border-color var(--duration-fast);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

/* Base Gradient Background */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-normal);
}

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

.card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

.card > * {
  position: relative;
  z-index: 1;
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover .card__icon {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.card__icon--purple { box-shadow: inset 0 0 20px var(--purple-glow); border-color: rgba(139, 92, 246, 0.3); }
.card__icon--gold { box-shadow: inset 0 0 20px var(--gold-glow); border-color: rgba(245, 158, 11, 0.3); }
.card__icon--green { box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.2); border-color: rgba(16, 185, 129, 0.3); }

.card h3, .card h4 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

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

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 var(--section-pad);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: #05050a; /* fallback — canvas replaces this on desktop */
  z-index: 0;
}

/* Three.js canvas injected by baseball-field.js */
#hero-field-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  display: block;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%), linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%), linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-composite: source-in;
}

/* Gradient overlay — darkens text area, blends bottom into page */
.hero__field-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(100deg, var(--navy-deep) 0%, rgba(0,0,0,0.45) 42%, transparent 100%),
    linear-gradient(to bottom, var(--navy-deep) 0%, transparent 18%),
    linear-gradient(to top, var(--navy-deep) 0%, transparent 28%);
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 5% 8% auto auto;
  width: min(860px, 78vw);
  height: min(860px, 78vw);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(18deg);
  opacity: 0.55;
}

.hero__bg::after {
  content: '';
  position: absolute;
  left: -20%;
  bottom: -34%;
  width: min(720px, 72vw);
  height: min(720px, 72vw);
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 72px rgba(255, 255, 255, 0.03), 0 0 0 144px rgba(255, 255, 255, 0.02);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

/* Grid pattern overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 56px),
    linear-gradient(130deg, rgba(255, 255, 255, 0.08), transparent 38%);
  mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 100%);
  z-index: 2;
  opacity: 0.18;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 1040px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s var(--ease-out) 0.2s both;
  transition: all var(--duration-normal) var(--ease-out);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.hero__badge svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.hero__title {
  font-size: clamp(3rem, 10vw, 8.2rem);
  letter-spacing: 0.06em;
  line-height: 0.92;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 0 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
  margin-bottom: 0.5rem;
}

.hero__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__actions .btn svg {
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out);
}

.hero__actions .btn:hover svg {
  transform: translateX(2px);
}

.hero__quote {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s var(--ease-out) 0.9s both;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.hero__quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.hero__quote:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero__quote:hover::before {
  opacity: 1;
}

.hero__quote p:first-child {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.6;
}

.hero__quote p:last-child {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin: 0;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--divider);
  animation: fadeInUp 0.8s var(--ease-out) 1s both;
}

@media (max-width: 900px) {
  .hero__content {
    text-align: center;
  }

  .hero__subtitle {
    margin: 0 auto 2.5rem;
  }

  .hero__actions,
  .hero__stats,
  .app-store-chips {
    justify-content: center;
  }
  
  .hero__quote {
    margin-top: 2rem;
    padding: 1.5rem;
  }
}

.hero__stat {
  text-align: center;
  transition: transform var(--duration-normal) var(--ease-out);
}

.hero__stat:hover {
  transform: translateY(-2px);
}

.hero__stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  transition: all var(--duration-normal) var(--ease-out);
}

.hero__stat:hover .hero__stat-value {
  transform: scale(1.05);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
  font-weight: 500;
  transition: color var(--duration-normal) var(--ease-out);
}

.hero__stat:hover .hero__stat-label {
  color: var(--text-secondary);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 0 40px rgba(255, 255, 255, 0.4); }
}

/* Scroll-triggered animation classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: all var(--duration-slow) var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  filter: blur(8px);
  transition: all var(--duration-slow) var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  filter: blur(8px);
  transition: all var(--duration-slow) var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  filter: blur(8px);
  transition: all var(--duration-slow) var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

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

/* --- Product Showcase --- */
.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

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

.product-card {
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card--umply {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(9, 9, 9, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.product-card--umply:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-glow-blue);
}

.product-card--live {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(11, 17, 32, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.product-card--live:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.28);
}

.product-card__logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.product-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.product-card--umply .product-card__tag {
  background: rgba(255, 255, 255, 0.15);
  color: var(--blue-light);
}

.product-card--live .product-card__tag {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.product-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.product-card p {
  margin-bottom: 1.5rem;
}

.product-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.product-card__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.product-card__feature svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.product-card--umply .product-card__feature svg {
  color: var(--blue-light);
}

.product-card--live .product-card__feature svg {
  color: #FFFFFF;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
}

@media (max-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
}

.stat-item__value {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__label {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --- Feature Row (Alternating Image+Text) --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.feature-row:nth-child(even) {
  direction: rtl;
}

.feature-row:nth-child(even) > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .feature-row,
  .feature-row:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
  }
}

.feature-row__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.feature-row__visual-icon {
  font-size: 6rem;
  opacity: 0.3;
}

.feature-row__content h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.feature-row__content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.feature-row__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-row__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-row__list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.pricing-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
}

.pricing-card--featured {
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), var(--glass-bg));
  box-shadow: var(--shadow-glow-blue);
}

.pricing-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: white;
  margin-bottom: 1rem;
}

.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
}

.pricing-card__price {
  margin-bottom: 0.5rem;
}

.pricing-card__price .amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-card__price .period {
  font-size: 0.95rem;
  color: var(--text-tertiary);
}

.pricing-card__price .currency {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: super;
}

.pricing-card__volume {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--divider);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-card__features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--green);
}

.pricing-card .btn {
  width: 100%;
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* --- Form --- */
.form-section {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05));
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--glass-border);
  max-width: 640px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--duration-fast) ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--navy);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 580px;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--divider);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

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

.footer__brand {
  max-width: 320px;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.footer__brand-logo img {
  height: 36px;
  width: 36px;
  border-radius: var(--radius-sm);
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.7;
}

.footer__col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__col a {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  transition: color var(--duration-fast) ease;
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--divider);
}

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

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

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

.footer__legal a:hover {
  color: var(--text-secondary);
}

/* --- Page Header (Inner Pages) --- */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-radial);
  pointer-events: none;
}

.page-header > * {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto;
}

/* --- Legal Pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--section-pad) clamp(1.25rem, 4vw, 2.5rem);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}

.legal-content p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-content ul, .legal-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-content a {
  color: var(--blue-light);
}

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

/* --- About Page --- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .about-values {
    grid-template-columns: 1fr;
  }
}

/* --- Tabs --- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-tertiary);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--duration-fast) ease;
}

.tab-btn:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeInUp 0.4s var(--ease-out);
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--divider);
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.comparison-table td {
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.01);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* --- Marquee/Infinite Scroll --- */
.marquee {
  overflow: hidden;
  padding: 1.5rem 0;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy-deep), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--navy-deep), transparent);
}

.marquee__track {
  display: flex;
  gap: 3rem;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}

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

.marquee__item {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* --- Dividers --- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--divider);
}

.divider--gradient {
  background: linear-gradient(90deg, transparent, var(--blue), var(--purple), transparent);
  height: 1px;
  opacity: 0.3;
}

/* --- Success State (Form) --- */
.success-message {
  text-align: center;
  padding: 3rem 2rem;
}

.success-message svg {
  width: 64px;
  height: 64px;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.success-message h3 {
  margin-bottom: 0.75rem;
}

/* --- Floating Elements --- */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.floating-orb--blue {
  background: rgba(255, 255, 255, 0.09);
}

.floating-orb--purple {
  background: rgba(255, 255, 255, 0.09);
}

/* --- Utility Classes --- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.pt-4 { padding-top: 2rem; }
.pb-4 { padding-bottom: 2rem; }

/* --- Responsive Breakpoints --- */
@media (max-width: 480px) {
  .hero__stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--navy-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-highlight);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* --- Loading Skeleton --- */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-light) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

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

/* -- Feature detail page specific -- */
.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .feature-detail-grid {
    grid-template-columns: 1fr;
  }
}

.feature-detail-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-detail-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.feature-detail-card h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature-detail-card ul {
  list-style: none;
  padding: 0;
}

.feature-detail-card li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-detail-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* --- Integration/Ecosystem Section --- */
.ecosystem {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.ecosystem__arrow {
  font-size: 2rem;
  color: var(--text-muted);
}

.ecosystem__app {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  min-width: 200px;
  transition: all var(--duration-normal) var(--ease-out);
}

.ecosystem__app:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ecosystem__app img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  margin: 0 auto 1rem;
}

.ecosystem__app h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.ecosystem__app p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* --- App Store Chips --- */
.app-store-chips {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.85s both;
}

.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
}

.app-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
}

.app-chip img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.app-chip__apple-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.app-chip__label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-chip__label small {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.app-chip__label span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* --- Feature Playbook Pages --- */
.page-header--field {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.08) 0, transparent 32%),
    radial-gradient(circle at 86% 78%, rgba(255, 255, 255, 0.06) 0, transparent 34%),
    linear-gradient(155deg, #000000 0%, #0d0d0d 45%, #171717 100%);
}

.page-header--field::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, transparent 49.7%, rgba(248, 250, 252, 0.2) 49.8%, rgba(248, 250, 252, 0.2) 50.2%, transparent 50.3%),
    linear-gradient(-45deg, transparent 49.7%, rgba(248, 250, 252, 0.2) 49.8%, rgba(248, 250, 252, 0.2) 50.2%, transparent 50.3%);
  opacity: 0.55;
  pointer-events: none;
}

.feature-playbook-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

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

.feature-playbook-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.feature-playbook-card ul {
  display: grid;
  gap: 0.65rem;
}

.feature-playbook-card li {
  color: var(--text-secondary);
  font-size: 0.93rem;
  position: relative;
  padding-left: 1rem;
}

.feature-playbook-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--gold);
}

.feature-playbook-link {
  margin-top: auto;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.feature-playbook-link:hover {
  color: #FFFFFF;
}

.update-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.update-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}

.update-item strong {
  color: var(--chalk-white);
  display: block;
  margin-bottom: 0.35rem;
}

.update-item p {
  margin: 0;
  font-size: 0.92rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.process-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.process-step__num {
  display: inline-flex;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

/* ==========================================================================
   Schedule Grid Hero Animation
   ========================================================================== */

.hero__schedule-demo {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: min(560px, 45vw);
  z-index: 2;
  opacity: 0;
  animation: fadeInRight 1s var(--ease-out) 0.6s forwards;
  pointer-events: none;
  mask-image: linear-gradient(to left, black 60%, transparent 100%),
              linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: source-in;
}

@media (max-width: 1100px) {
  .hero__schedule-demo {
    display: none;
  }
}

.sched-grid {
  font-family: var(--font);
  font-size: 0.65rem;
}

.sched-grid__header {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

.sched-grid__corner {
  background: transparent;
}

.sched-grid__day {
  text-align: center;
  padding: 6px 2px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.sched-grid__row {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

.sched-grid__time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.sched-grid__cell {
  min-height: 42px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  padding: 2px;
  overflow: hidden;
}

/* Schedule Item */
.sched-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 2px solid var(--sport-color, var(--blue));
  height: 100%;
  opacity: 0;
  transform: scale(0.8);
  animation: schedItemIn 0.35s var(--ease-spring) forwards;
}

.sched-item.no-motion {
  opacity: 1;
  transform: scale(1);
  animation: none;
}

@keyframes schedItemIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.sched-item__icon {
  font-size: 0.7rem;
  line-height: 1;
}

.sched-item__teams {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sched-item__meta {
  font-size: 0.5rem;
  color: var(--text-muted);
}

.sched-item__assigned {
  display: inline-block;
  font-size: 0.45rem;
  font-weight: 700;
  color: var(--green-light);
  background: rgba(16, 185, 129, 0.15);
  padding: 1px 3px;
  border-radius: 2px;
  margin-top: 1px;
  opacity: 0;
  animation: fadeInUp 0.3s var(--ease-out) forwards;
}

/* ==========================================================================
   Sport Cards Grid
   ========================================================================== */

.sports-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .sports-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .sports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sport-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-spring);
  text-decoration: none;
}

.sport-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sport-card__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.sport-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}
