/* ============================================
   INJA Website - Design System & Styles
   ============================================ */

/* ============================================
   CSS Variables - Design Tokens
   ============================================ */
:root {
  /* Colors - from app theme */
  --color-background: #0f2323;
  --color-background-alt: #0a1a1a;
  --color-surface: rgba(10, 25, 25, 0.92);
  --color-surface-alt: rgba(10, 25, 25, 0.86);
  --color-card: #141c1c;
  --color-card-border: #1f2a2a;

  /* Text Colors */
  --color-text: #EAEAEA;
  --color-text-secondary: #8ecccc;
  --color-text-muted: #9ac4c4;

  /* Accent Colors */
  --color-accent: #00e5ff;
  --color-accent-glow: rgba(0, 229, 255, 0.4);
  --color-accent-subtle: rgba(0, 229, 255, 0.12);
  --color-accent-border: rgba(0, 229, 255, 0.25);

  /* Gradient */
  --gradient-accent: linear-gradient(135deg, #00e5ff, #0095ff);
  --gradient-hero: linear-gradient(180deg, #0f2323 0%, #0a1a1a 100%);
  --gradient-mesh: radial-gradient(ellipse at 20% 80%, rgba(0, 229, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 149, 255, 0.1) 0%, transparent 50%);

  /* History Mode (warm accents) */
  --color-history: #E8A838;
  --color-history-glow: rgba(232, 168, 56, 0.4);

  /* Status Colors */
  --color-success: #4adeb9;
  --color-warn: #ffda6b;
  --color-error: #f87171;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-display: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  /* Elite Design Tokens */
  --shadow-elite: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.05);
  --glass-bg: rgba(20, 35, 35, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --container-max: 1200px;
  --header-height: 72px;
}

/* Elite Scroll Progress */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-accent);
  width: 0%;
  z-index: 10000;
  transition: width 0.1s ease;
  box-shadow: 0 0 15px var(--color-accent);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

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

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-text);
  text-shadow: 0 0 8px var(--color-accent-subtle);
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section--hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--space-2xl));
}

/* ============================================
   Splash Screen (Intro)
   ============================================ */
.splash-screen {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 50;
  /* Above header initially */
}

.splash-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.splash-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(10, 26, 26, 0.6) 100%),
    linear-gradient(to bottom, transparent 0%, var(--color-background) 95%);
  z-index: -1;
}

.splash-content {
  text-align: center;
  z-index: 10;
}

.splash-title {
  font-size: clamp(5rem, 25vw, 22rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: #ffffff;
  text-transform: uppercase;
  /* Pure white with subtle gradient for depth */
  background: linear-gradient(180deg, #ffffff 0%, #e0f7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Multi-layer glow for intense effect */
  filter:
    drop-shadow(0 0 20px rgba(0, 229, 255, 0.4)) drop-shadow(0 0 40px rgba(0, 229, 255, 0.2));
  margin: 0;
  opacity: 0;
  animation: splashTitleReveal 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.5s;
  /* Add text stroke for solidity */
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

.splash-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  color: #00e5ff;
  font-family: var(--font-family-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  margin-top: 30px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.2s;
  /* Subtle glow */
  text-shadow:
    0 0 15px rgba(0, 229, 255, 0.5),
    0 0 30px rgba(0, 229, 255, 0.2);
}

@keyframes splashTitleReveal {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.splash-scroll-indicator {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-accent);
  font-family: var(--font-family-display);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s ease forwards 2s;
}

.splash-scroll-indicator svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(10px);
  }

  60% {
    transform: translateY(5px);
  }
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(15, 35, 35, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition-normal);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav-link {
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-normal);
}

.header__nav-link:hover {
  color: var(--color-text);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: var(--space-sm);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

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

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

/* Shine Effect */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(255, 255, 255, 0.2) 50%,
      transparent 100%);
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
}

.btn:hover::after {
  animation: btnShine 0.75s ease-in-out;
}

@keyframes btnShine {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.btn--primary {
  background: var(--gradient-accent);
  color: #000;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.5);
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-accent-border);
}

.btn--secondary:hover {
  background: var(--color-accent-subtle);
  border-color: var(--color-accent);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn--large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.1rem;
}

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

.mobile-sticky-cta {
  display: none;
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-elite);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease-out;
}

.card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 25px 60px rgba(0, 229, 255, 0.2);
}

.ai-feature,
.privacy-point {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-elite);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease-out;
}

.card--glass {
  background: var(--glass-bg);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.card__description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: -2;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  z-index: -1;
  animation: meshFloat 20s ease-in-out infinite;
}

@keyframes meshFloat {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate(-2%, 2%) scale(1.1) rotate(2deg);
  }

  66% {
    transform: translate(2%, -1%) scale(1.05) rotate(-1deg);
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

/* Perspective Container for 3D elements */
.perspective-container {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__text {
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-accent-subtle);
  border: 1px solid var(--color-accent-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(0, 229, 255, 0);
  }
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero__title {
  margin-bottom: var(--space-lg);
}

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

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.hero__trust-icon {
  color: var(--color-success);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__phone {
  position: relative;
  width: 280px;
  height: 580px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-elevated), 0 0 80px rgba(0, 229, 255, 0.2);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  /* Animation is handled by JS on hover, or default animation */
  animation: phoneFloat 6s ease-in-out infinite;
  transition: transform 0.1s ease-out;
  /* Smooth follow */
}

.hero__phone:hover {
  animation: none;
  /* Pause float on interaction */
}

@keyframes phoneFloat {

  0%,
  100% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0);
  }

  50% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
  }
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
  /* Inner depth */
}

.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Spotlight Effect */
.global-spotlight {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1001;
  /* Above almost everything but header might need check */
  opacity: 0;
  transition: opacity 0.5s ease;
  mix-blend-mode: screen;
  /* Nice blending effect */
}

body:hover .global-spotlight {
  opacity: 1;
}

.hero__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.3) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* ============================================
   Features Section
   ============================================ */
.features {
  background: var(--color-background-alt);
}

.features__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.features__label {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(2) {
  transition-delay: 0.1s;
}

.feature-card:nth-child(3) {
  transition-delay: 0.2s;
}

.feature-card:nth-child(4) {
  transition-delay: 0.3s;
}

.feature-card:nth-child(5) {
  transition-delay: 0.4s;
}

.feature-card:nth-child(6) {
  transition-delay: 0.5s;
}

/* ============================================
   AI Section - Special Highlight
   ============================================ */
.ai-section {
  position: relative;
  overflow: hidden;
}

.ai-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
}

.ai-section__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.ai-section__visual {
  position: relative;
  padding: var(--space-2xl);
}



/* --- AI City Discovery Scanner --- */
.ai-orb-container {
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: var(--radius-xl);
  background: rgba(0, 0, 0, 0.4);
}

.ai-neural-net {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.4;
  pointer-events: none;
}

.neural-node {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent);
  animation: neuralPulse 4s ease-in-out infinite;
}

.neural-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0.15;
  transform-origin: left center;
}

@keyframes neuralPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(2);
    opacity: 1;
  }
}

.ai-digital-map {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.6;
  background-image: url('../assets/images/ai_city_map.png');
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
}

.map-poi {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent), 0 0 20px var(--color-accent);
  transition: all 0.2s ease-out;
  z-index: 5;
}

.ai-scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
  box-shadow: 0 0 30px var(--color-accent);
  opacity: 0.8;
  z-index: 10;
  animation: scanCity 5s ease-in-out infinite;
}

@keyframes scanCity {

  0%,
  100% {
    top: -10%;
    opacity: 0;
  }

  20%,
  80% {
    opacity: 1;
  }

  50% {
    top: 90%;
  }
}

/* Interactive Scan Highlight */
.map-poi.scanning {
  transform: scale(3);
  background: #fff;
  filter: drop-shadow(0 0 15px var(--color-accent));
}

.ai-marker-pop {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--color-accent);
  animation: markerAppear 5s infinite;
  opacity: 0;
}

@keyframes markerAppear {

  0%,
  40% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
  }

  60% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(0);
    opacity: 0;
  }
}

/* Feature Icon Container Polish */
.ai-feature__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-subtle);
  border: 1px solid var(--color-accent-border);
  border-radius: 12px;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.ai-feature:hover .ai-feature__icon {
  background: var(--color-accent-border);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px var(--color-accent-glow);
}

.ai-feature__content h4 {
  margin-bottom: var(--space-xs);
  color: var(--color-text);
  font-size: 1.1rem;
}



.ai-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ai-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: particleFloat 3s ease-in-out infinite;
}

@keyframes particleFloat {

  0%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-100px);
  }
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.ai-feature {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  transition: all var(--transition-normal);
}

.ai-feature:hover {
  border-color: var(--color-accent-border);
  transform: translateX(8px);
}

.ai-feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-subtle);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.ai-feature__content h4 {
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.ai-feature__content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ============================================
   Privacy Section
   ============================================ */
.privacy-section {
  background: linear-gradient(135deg, rgba(74, 222, 185, 0.05) 0%, rgba(0, 229, 255, 0.05) 100%);
  border-top: 1px solid rgba(74, 222, 185, 0.2);
  border-bottom: 1px solid rgba(74, 222, 185, 0.2);
}

.privacy-section__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

/* --- Privacy 3D Data Vault --- */
.privacy-section__visual {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-2xl);
  position: relative;
  /* Added relative */
}

/* --- Privacy 3D Quantum Vault --- */
.privacy-vault {
  width: 250px;
  height: 250px;
  position: relative;
  transform-style: preserve-3d;
  animation: vaultRotate 20s linear infinite;
}

.vault-particle {
  position: absolute;
  background: var(--color-success);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

@keyframes quantumFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.2;
  }

  50% {
    transform: translate3d(var(--tx), var(--ty), var(--tz)) scale(1.5);
    opacity: 0.8;
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.2;
  }
}

.vault-face {
  position: absolute;
  inset: 0;
  background: rgba(74, 222, 185, 0.05);
  border: 1px solid rgba(74, 222, 185, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

/* Creating a 3D Cube/Vault effect */
.vault-face--front {
  transform: translateZ(125px);
}

.vault-face--back {
  transform: rotateY(180deg) translateZ(125px);
}

.vault-face--right {
  transform: rotateY(90deg) translateZ(125px);
}

.vault-face--left {
  transform: rotateY(-90deg) translateZ(125px);
}

.vault-face--top {
  transform: rotateX(90deg) translateZ(125px);
}

.vault-face--bottom {
  transform: rotateX(-90deg) translateZ(125px);
}

.vault-lock {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  filter: drop-shadow(0 0 30px var(--color-success));
  z-index: 10;
  pointer-events: none;
  animation: lockFloat 4s ease-in-out infinite;
}

@keyframes lockFloat {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -65%) scale(1.1);
  }
}

@keyframes vaultRotate {
  from {
    transform: rotateX(0deg) rotateY(0deg);
  }

  to {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

/* Quantum Particles */
.vault-particle {
  position: absolute;
  background: var(--color-success);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
  box-shadow: 0 0 8px var(--color-success);
}

.privacy-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.privacy-point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(74, 222, 185, 0.2);
}

.privacy-point__check {
  color: var(--color-success);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.privacy-point__text {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.privacy-point__text strong {
  color: var(--color-text);
}

/* ============================================
   About Section / Our Story
   ============================================ */
.about-section {
  background: radial-gradient(circle at 10% 20%, rgba(0, 229, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(232, 168, 56, 0.05) 0%, transparent 40%);
  position: relative;
  overflow: hidden;
}

.about-section__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-section__text {
  position: relative;
  z-index: 2;
}

.about-section__title {
  margin-bottom: var(--space-xl);
}

.about-section__story {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.about-section__story p {
  margin-bottom: var(--space-lg);
}

.about-section__story strong {
  color: var(--color-text);
  font-weight: 600;
}

.about-section__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-elite);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform var(--transition-slow);
}

.about-card:hover {
  transform: perspective(1000px) rotateY(0);
  border-color: var(--color-accent-border);
}

.about-card__quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
  position: relative;
}

.about-card__quote::before {
  content: '“';
  position: absolute;
  top: -40px;
  left: -20px;
  font-size: 5rem;
  color: var(--color-accent-subtle);
  font-family: serif;
}

.about-card__founders {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.founder-avatars {
  display: flex;
  margin-right: var(--space-sm);
}

.founder-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-background);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-left: -12px;
}

.founder-avatar:first-child {
  margin-left: 0;
  z-index: 2;
}

.founder-avatar:last-child {
  z-index: 1;
}

.founder-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text);
}

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

@media (max-width: 1024px) {
  .about-section__content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-section__visual {
    order: 1;
  }

  .about-card {
    transform: none;
    max-width: 100%;
  }
}

/* ============================================
   Waitlist / Early Access Section
   ============================================ */
.waitlist-section {
  background: var(--color-background-alt);
  text-align: center;
}

.waitlist-section__inner {
  max-width: 600px;
  margin: 0 auto;
}

.waitlist-section__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, rgba(232, 168, 56, 0.2), rgba(232, 168, 56, 0.1));
  border: 1px solid rgba(232, 168, 56, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-history);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--space-xl);
}

.waitlist-section__title {
  margin-bottom: var(--space-lg);
}

.waitlist-section__subtitle {
  font-size: 1.1rem;
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form {
  display: flex;
  gap: var(--space-md);
  max-width: 450px;
  margin: 0 auto var(--space-lg);
}

.waitlist-form__input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.waitlist-form__input::placeholder {
  color: var(--color-text-muted);
}

.waitlist-form__input:focus {
  border-color: var(--color-accent);
}

.waitlist-note {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ============================================
   How It Works
   ============================================ */
.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  position: relative;
}

.how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-border), transparent);
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-card);
  border: 2px solid var(--color-accent-border);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 1;
}

.step__title {
  margin-bottom: var(--space-sm);
}

.step__description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-background-alt);
  border-top: 1px solid var(--color-card-border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer__logo img {
  height: 32px;
}

.footer__logo-text {
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer__tagline {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-accent-subtle);
  color: var(--color-accent);
}

.footer__column h4 {
  color: var(--color-text);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

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

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

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

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children */
.stagger-children>* {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.visible>*:nth-child(1) {
  transition-delay: 0s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(2) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(3) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(4) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(5) {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(6) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    /* order: -1; Removed to keep text first on mobile */
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-2xl);
  }

  .hero__phone {
    transform: perspective(1000px) rotateY(0) rotateX(2deg);
  }

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

  .ai-section__content,
  .privacy-section__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ai-section__visual {
    order: 2;
    /* Visual AFTER text on mobile */
    display: flex;
    justify-content: center;
    margin-top: var(--space-2xl);
  }

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

@media (max-width: 768px) {
  :root {
    --space-4xl: 4rem;
    --space-3xl: 3rem;
    --space-2xl: 2rem;
    --space-xl: 1.5rem;
    --space-lg: 1.25rem;

    /* Mobile text scale adjustments */
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
  }

  /* Structural adjustments */
  .section {
    padding: var(--space-3xl) 0;
  }

  .section--hero {
    padding-top: calc(var(--header-height) + var(--space-xl));
    min-height: auto;
    /* Allow natural height on mobile */
  }

  .header__nav {
    display: none;
  }

  .header__mobile-toggle {
    display: block;
  }

  /* Horizontal Scroll Containers (Carousels) */
  .carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-md);
    padding: var(--space-xs) var(--space-lg) var(--space-xl) var(--space-lg);
    /* Bottom padding for shadow cutoff */
    margin: 0 calc(var(--space-lg) * -1);
    /* Negative margin to span full width */
    scrollbar-width: none;
    /* Firefox */
  }

  .carousel-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .carousel-container>* {
    flex: 0 0 85%;
    /* SHow partial next card */
    scroll-snap-align: center;
    min-width: 280px;
  }

  /* Reset grids for desktop that persist */
  .two-modes__grid,
  .coming-soon__grid {
    /* If we use grid on mobile, it stacks. If we use carousel, we override this. */
    /* We will keep the default stacking for items NOT in carousel if any */
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }

  /* Bento Grid for AI Section - Strict 2x2 */
  .ai-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-md);
  }

  .ai-feature:first-child {
    /* No longer full width */
    background: var(--glass-bg);
  }

  .ai-feature {
    padding: var(--space-md);
    min-height: 160px;
  }

  .ai-feature__icon {
    margin-bottom: var(--space-md);
  }

  .ai-feature h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
  }

  .ai-feature p {
    font-size: 0.82rem;
    /* Slightly smaller for density */
    line-height: 1.4;
    margin-bottom: 0;
    /* Explicitly remove truncation to show all text per user feedback */
    display: block;
    -webkit-line-clamp: initial;
    line-clamp: initial;
    overflow: visible;
  }

  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: var(--space-lg);
    left: var(--space-lg);
    right: var(--space-lg);
    background: var(--gradient-accent);
    color: #000;
    padding: var(--space-md);
    justify-content: center;
    border-radius: var(--radius-full);
    font-weight: 700;
    box-shadow: var(--shadow-elite);
    z-index: 1000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: slideUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 1s backwards;
    text-decoration: none;
  }

  /* Compact About Section */
  .about-section {
    padding: var(--space-2xl) 0;
  }

  .about-section__story p {
    font-size: 0.85rem;
    /* Compact but legible */
    line-height: 1.4;
    margin-bottom: var(--space-xs);
  }

  /* Restore all text but keep it compact */
  .about-section__story p:not(:first-child):not(:last-child) {
    display: block;
  }

  .about-card {
    padding: var(--space-lg);
    margin-top: var(--space-xl);
  }

  .about-card__quote {
    font-size: 1rem;
    margin-bottom: var(--space-md);
  }

  @keyframes slideUp {
    from {
      transform: translateY(100px);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .how-it-works__steps::before {
    display: none;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    text-align: left;
  }

  .footer__brand {
    grid-column: 1 / -1;
    margin-bottom: var(--space-lg);
    text-align: left;
    /* Align with columns for better flow */
    align-items: flex-start;
  }

  .footer__tagline {
    font-size: 0.9rem;
    max-width: 100%;
    margin-bottom: var(--space-md);
  }

  .footer__social {
    justify-content: flex-start;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --space-4xl: 3rem;
  }

  .hero__phone {
    width: 260px;
    height: 520px;
    margin: 0 auto;
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    /* Single column for very small screens */
    text-align: center;
  }

  .footer__column {
    align-items: center;
  }

  .footer__links {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
}

/* ============================================
   Utilities
   ============================================ */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-accent {
  color: var(--color-accent);
}

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

.mb-0 {
  margin-bottom: 0;
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mt-auto {
  margin-top: auto;
}

/* ============================================
   Legal Pages Specific Styles
   ============================================ */
.legal-page {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
  min-height: 100vh;
}

.legal-page__header {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-card-border);
}

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

.legal-page__content {
  max-width: 800px;
}

.legal-page__content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.legal-page__content h3 {
  font-size: 1.2rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-page__content p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.legal-page__content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-page__content li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
}

.legal-page__content a {
  color: var(--color-accent);
}

.legal-page__content a:hover {
  text-decoration: underline;
}

/* Subtle pulsing glow animation for subtitle */
@keyframes subtitleGlow {

  0%,
  100% {
    text-shadow:
      0 0 20px rgba(0, 229, 255, 0.8),
      0 0 40px rgba(0, 229, 255, 0.4),
      0 0 60px rgba(0, 229, 255, 0.2);
  }

  50% {
    text-shadow:
      0 0 30px rgba(0, 229, 255, 1),
      0 0 60px rgba(0, 229, 255, 0.6),
      0 0 90px rgba(0, 229, 255, 0.3);
  }
}

/* ============================================
   Two Modes Section
   ============================================ */
.two-modes {
  background: var(--color-background);
  position: relative;
  overflow: hidden;
}

.two-modes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.mode-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.mode-card:hover {
  transform: translateY(-4px);
}

.mode-card--live:hover {
  border-color: var(--color-accent);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.2);
}

.mode-card--history:hover {
  border-color: var(--color-history);
  box-shadow: 0 20px 50px rgba(232, 168, 56, 0.2);
}

.mode-card__glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.mode-card__glow--history {
  background: radial-gradient(circle at center, rgba(232, 168, 56, 0.1) 0%, transparent 50%);
}

.mode-card__icon {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
}

.mode-card__title {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.mode-card--live .mode-card__title {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mode-card--history .mode-card__title {
  background: linear-gradient(135deg, #E8A838, #FFD93D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mode-card__description {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
}

.mode-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mode-card__features li {
  padding: var(--space-sm) 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mode-card__features li:last-child {
  border-bottom: none;
}

/* ============================================
   Coming Soon Section
   ============================================ */
.coming-soon {
  background: linear-gradient(180deg, var(--color-background) 0%, var(--color-background-alt) 100%);
  position: relative;
}

.coming-soon__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.coming-soon__card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.coming-soon__card--agent {
  border-color: rgba(139, 92, 246, 0.3);
}

.coming-soon__card--agent:hover {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.coming-soon__card--stream {
  border-color: rgba(0, 229, 255, 0.3);
}

.coming-soon__card--stream:hover {
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 20px 60px rgba(0, 229, 255, 0.2);
}

/* INJA Agent Orb - Image with Glow Effects */
.coming-soon__orb {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient bloom glow - purple */
.coming-soon__orb::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180%;
  height: 180%;
  background: radial-gradient(circle,
      rgba(139, 92, 246, 0.5) 0%,
      rgba(109, 40, 217, 0.3) 30%,
      rgba(76, 29, 149, 0.15) 50%,
      transparent 70%);
  filter: blur(25px);
  animation: orbGlow 4s ease-in-out infinite;
  z-index: 0;
}

/* Cyan accent bloom */
.coming-soon__orb::after {
  content: '';
  position: absolute;
  top: 55%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(circle,
      rgba(34, 211, 238, 0.35) 0%,
      rgba(6, 182, 212, 0.2) 30%,
      transparent 60%);
  filter: blur(20px);
  animation: orbGlow 5s ease-in-out infinite 1.5s;
  z-index: 0;
}

/* The actual orb image */
.orb-image {
  position: relative;
  z-index: 1;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  animation: orbFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.3));
}

@keyframes orbGlow {

  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.3));
  }

  50% {
    transform: translateY(-5px) scale(1.02);
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.6)) drop-shadow(0 0 60px rgba(139, 92, 246, 0.4));
  }
}


/* Live Stream Preview */
.coming-soon__stream-preview {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stream-wave {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(0, 229, 255, 0.4);
  border-radius: 50%;
  animation: streamWave 2s ease-out infinite;
}

.stream-wave--2 {
  animation-delay: 1s;
}

@keyframes streamWave {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.stream-icon {
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
}

.coming-soon__content {
  width: 100%;
}

.coming-soon__badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #A78BFA;
  margin-bottom: var(--space-md);
}

.coming-soon__card--stream .coming-soon__badge {
  background: rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--color-accent);
}

.coming-soon__title {
  font-size: 1.75rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.coming-soon__subtitle {
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.coming-soon__card--agent .coming-soon__subtitle {
  color: #A78BFA;
}

.coming-soon__description {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.coming-soon__features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.coming-soon__features li {
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 900px) {
  .two-modes__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .coming-soon__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 600px) {
  .mode-card {
    padding: var(--space-xl);
  }

  .mode-card__icon {
    font-size: 2.5rem;
  }

  .coming-soon__card {
    padding: var(--space-xl);
  }

  .coming-soon__orb,
  .coming-soon__stream-preview {
    width: 100px;
    height: 100px;
  }

  .orb-core {
    width: 50px;
    height: 50px;
  }
}