/* ============================================
   U Card Landing Page - Main Styles
   Dark Web3 Aesthetic with Neon Accents
   ============================================ */

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

:root {
  --bg-primary: #08080f;
  --bg-secondary: #0d0d1a;
  --bg-card: #111125;
  --bg-card-hover: #16163a;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  --accent-green: #00ff88;
  --accent-green-dim: rgba(0, 255, 136, 0.15);
  --accent-blue: #00d4ff;
  --accent-blue-dim: rgba(0, 212, 255, 0.15);
  --accent-purple: #8b5cf6;
  --accent-purple-dim: rgba(139, 92, 246, 0.15);

  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #8a8a9a;
  --text-dim: #5a5a6a;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-green: rgba(0, 255, 136, 0.3);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  /* background-image: url('/assets/bg-full.webp'); */
  background-color: var(--bg-primary);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Background overlay for readability */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 15, 0.55) 0%,
    rgba(8, 8, 15, 0.7) 20%,
    rgba(8, 8, 15, 0.8) 50%,
    rgba(8, 8, 15, 0.88) 80%,
    rgba(8, 8, 15, 0.92) 100%
  );
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-out);
}

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

/* === Gradient Text === */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* === Section Shared === */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-green);
  background: var(--accent-green-dim);
  border: 1px solid var(--border-green);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   1. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 80px;
  background-image: url('/assets/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(8, 8, 15, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background: rgba(8, 8, 15, 0.92);
  border-bottom-color: var(--border-subtle);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  border-radius: 10px;
  font-weight: 800;
  font-size: 16px;
  color: var(--bg-primary);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--border-subtle);
}

.lang-switch {
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.3s;
}

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

.btn-nav-cta {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--bg-primary) !important;
  background: var(--accent-green);
  padding: 8px 20px;
  border-radius: 100px;
  transition: all 0.3s var(--ease-out);
}

.btn-nav-cta:hover {
  box-shadow: 0 0 24px var(--accent-green-dim);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Content */
.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: auto;
  padding-top: 120px;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-green);
  background: var(--accent-green-dim);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--accent-green);
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

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

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.4), 0 0 60px rgba(0, 255, 136, 0.15);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 14px 24px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s var(--ease-out);
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-glass);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 17px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 18px 40px;
  border-radius: 100px;
  border: 1px solid var(--border-hover);
  transition: all 0.3s var(--ease-out);
}

.btn-outline:hover {
  border-color: var(--accent-green);
  background: var(--accent-green-dim);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  font-feature-settings: 'tnum';
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* Hero Visual */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card-wrapper {
  position: relative;
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

.hero-card-img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0, 255, 136, 0.08));
}

.hero-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, rgba(0, 212, 255, 0.08) 40%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  animation: glow-pulse 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-12px) rotate(0.5deg);
  }
  50% {
    transform: translateY(-20px) rotate(0deg);
  }
  75% {
    transform: translateY(-12px) rotate(-0.5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* Tablet float - slightly reduced amplitude */
@keyframes float-tablet {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(0.3deg);
  }
  50% {
    transform: translateY(-16px) rotate(0deg);
  }
  75% {
    transform: translateY(-10px) rotate(-0.3deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Mobile float - compact amplitude */
@keyframes float-mobile {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-7px) rotate(0.2deg);
  }
  50% {
    transform: translateY(-12px) rotate(0deg);
  }
  75% {
    transform: translateY(-7px) rotate(-0.2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Small mobile float - minimal amplitude */
@keyframes float-small {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ============================================
   VIDEO BANNER (Full Width, Top of Page)
   ============================================ */
.video-banner {
  position: relative;
  width: 100%;
  height: 560px;
  margin-top: 20px;
  overflow: hidden;
  background: var(--bg-primary);
}

.video-banner-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.video-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 15, 0.4) 0%, transparent 30%, transparent 70%, rgba(8, 8, 15, 0.6) 100%);
  pointer-events: none;
}

/* ============================================
   2. PAIN POINTS SECTION
   ============================================ */
.pain-section {
  padding: 120px 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 15, 0.85) 0%, rgba(8, 8, 15, 0.75) 100%),
    url('/assets/bg-pain.webp') center/cover no-repeat fixed;
  position: relative;
}

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

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

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

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

.pain-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pain-icon-red {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.pain-icon-orange {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.pain-icon-purple {
  background: var(--accent-purple-dim);
  color: var(--accent-purple);
}

.pain-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.pain-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.pain-arrow {
  color: var(--accent-green);
  margin-bottom: 20px;
  opacity: 0.6;
}

.pain-solution {
  background: var(--accent-green-dim);
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
}

.solution-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-green);
  margin-bottom: 8px;
}

.pain-solution p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   3. FEATURES SECTION
   ============================================ */
.features-section {
  padding: 120px 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 15, 0.8) 0%, rgba(8, 8, 15, 0.7) 100%),
    url('/assets/bg-features.webp') center/cover no-repeat fixed;
  position: relative;
}

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

.feature-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  background: var(--bg-glass-hover);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--accent-green-dim);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.4s var(--ease-out);
}

.feature-card:hover .feature-icon {
  background: rgba(0, 255, 136, 0.2);
  transform: scale(1.05);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   4. USE CASES SECTION
   ============================================ */
.usecases-section {
  padding: 120px 0;
  background: rgba(13, 13, 26, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  position: relative;
}

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

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

.usecase-group {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease-out);
}

.usecase-group:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.usecase-group-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.usecase-group-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-blue-dim);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usecase-group-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.usecase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.usecase-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 100px;
  transition: all 0.3s var(--ease-out);
}

.usecase-tag:hover {
  color: var(--accent-green);
  border-color: var(--border-green);
  background: var(--accent-green-dim);
}

/* ============================================
   5. PRICING SECTION
   ============================================ */
.pricing-section {
  padding: 120px 0;
  position: relative;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

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

.pricing-card-highlight {
  border-color: var(--border-green);
  background: linear-gradient(180deg, rgba(0, 255, 136, 0.04) 0%, var(--bg-card) 40%);
}

.pricing-card-highlight:hover {
  border-color: var(--accent-green);
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.08);
}

.pricing-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pricing-type {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: 100px;
}

.pricing-badge-hot {
  color: var(--accent-green);
  background: var(--accent-green-dim);
  border-color: var(--border-green);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 32px;
}

.pricing-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-muted);
}

.pricing-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  font-feature-settings: 'tnum';
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 8px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.pricing-features li.disabled {
  color: var(--text-dim);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-green-dim);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cross-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-pricing {
  display: block;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 100px;
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  transition: all 0.3s var(--ease-out);
}

.btn-pricing:hover {
  border-color: var(--accent-green);
  background: var(--accent-green-dim);
}

.btn-pricing-primary {
  background: var(--accent-green);
  color: var(--bg-primary);
  border-color: var(--accent-green);
}

.btn-pricing-primary:hover {
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
  transform: translateY(-2px);
}

/* ============================================
   6. STEPS SECTION
   ============================================ */
.steps-section {
  padding: 120px 0;
  background: rgba(13, 13, 26, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  position: relative;
}

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

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  flex: 1;
  max-width: 300px;
  position: relative;
  transition: all 0.4s var(--ease-out);
}

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

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-green);
  background: var(--bg-secondary);
  border: 1px solid var(--border-green);
  padding: 4px 14px;
  border-radius: 100px;
}

.step-icon {
  color: var(--accent-green);
  margin-bottom: 20px;
  margin-top: 8px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-connector {
  color: var(--text-dim);
  flex-shrink: 0;
}

/* ============================================
   7. FAQ SECTION
   ============================================ */
.faq-section {
  padding: 120px 0;
  position: relative;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.open {
  border-color: var(--border-green);
  background: var(--bg-glass);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  font-family: var(--font-sans);
  transition: color 0.3s;
}

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

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-answer strong {
  color: var(--text-secondary);
}

/* ============================================
   8. CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0 120px;
  background:
    linear-gradient(180deg, rgba(8, 8, 15, 0.85) 0%, rgba(8, 8, 15, 0.75) 100%),
    url('/assets/bg-cta.webp') center/cover no-repeat fixed;
  position: relative;
}

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

.cta-banner {
  position: relative;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, rgba(0, 212, 255, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  position: relative;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  position: relative;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 240px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
}

.footer-links {
  display: flex;
  gap: 64px;
}

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

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent-green);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.footer-disclaimer {
  font-size: 12px !important;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE - LARGE DESKTOP (>1440px)
   ============================================ */
@media (min-width: 1441px) {
  .container {
    max-width: 1320px;
  }

  .hero-title {
    font-size: 60px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-card-img {
    max-width: 560px;
  }

  .features-grid {
    gap: 28px;
  }

  .feature-card {
    padding: 44px 32px;
  }

  .section-title {
    font-size: 46px;
  }

  .pricing-cards {
    max-width: 940px;
  }

  .pricing-card {
    padding: 48px 40px;
  }

  .cta-banner {
    padding: 100px 60px;
  }
}

/* ============================================
   RESPONSIVE - TABLET (769px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-card-img {
    max-width: 400px;
  }

  .hero-card-wrapper {
    animation: float-tablet 6s ease-in-out infinite;
  }

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

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

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

  .steps-grid {
    flex-direction: column;
    gap: 32px;
  }

  .step-connector {
    transform: rotate(90deg);
  }

  .step-card {
    max-width: 100%;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }

  .pricing-cards {
    max-width: 600px;
  }
}

/* ============================================
   RESPONSIVE - MOBILE (<768px)
   ============================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Video banner mobile */
  .video-banner {
    height: 280px;
    margin-top: 12px;
  }

  /* Mobile: disable fixed background for performance */
  body {
    background-attachment: scroll;
  }

  body::before {
    position: absolute;
  }

  /* Safe area for notched phones */
  .nav {
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
  }

  .footer {
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  }

  /* Nav Mobile */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 8, 15, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 32px 40px;
    gap: 24px;
    border: none;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
    pointer-events: none;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 18px;
    padding: 12px 0;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .nav-divider {
    display: none;
  }

  .lang-switch {
    font-size: 15px;
    padding: 8px 0;
  }

  .btn-nav-cta {
    font-size: 16px !important;
    padding: 12px 28px;
    min-height: 48px;
  }

  /* Hero Mobile */
  .hero {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 60px;
  }

  .hero-content {
    padding-top: 100px;
    gap: 32px;
  }

  .hero-badge {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 36px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: 16px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    align-items: center;
    min-width: 90px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 16px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 12px;
  }

  .hero-card-img {
    max-width: 300px;
  }

  .hero-card-wrapper {
    animation: float-mobile 6s ease-in-out infinite;
  }

  /* Sections Mobile */
  .pain-section,
  .features-section,
  .usecases-section,
  .pricing-section,
  .steps-section,
  .faq-section {
    padding: 72px 0;
  }

  .pain-section {
    background:
      linear-gradient(180deg, rgba(8, 8, 15, 0.9) 0%, rgba(8, 8, 15, 0.85) 100%),
      url('/assets/bg-pain.webp') center/cover no-repeat scroll;
  }

  .features-section {
    background:
      linear-gradient(180deg, rgba(8, 8, 15, 0.85) 0%, rgba(8, 8, 15, 0.8) 100%),
      url('/assets/bg-features.webp') center/cover no-repeat scroll;
  }

  .cta-section {
    padding: 0 0 72px;
    background:
      linear-gradient(180deg, rgba(8, 8, 15, 0.9) 0%, rgba(8, 8, 15, 0.85) 100%),
      url('/assets/bg-cta.webp') center/cover no-repeat scroll;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-tag {
    font-size: 12px;
    padding: 5px 12px;
    margin-bottom: 16px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .section-desc {
    font-size: 14px;
  }

  /* Pain Cards Mobile */
  .pain-card {
    padding: 24px 20px;
  }

  .pain-title {
    font-size: 16px;
  }

  .pain-desc {
    font-size: 13px;
  }

  /* Feature Cards Mobile */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .feature-card {
    padding: 24px 16px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
  }

  .feature-title {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .feature-desc {
    font-size: 13px;
    line-height: 1.6;
  }

  /* Use Cases Mobile */
  .usecase-group {
    padding: 24px 20px;
  }

  .usecase-group-header h3 {
    font-size: 16px;
  }

  .usecase-tag {
    font-size: 12px;
    padding: 5px 12px;
  }

  /* Pricing Mobile */
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 20px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .pricing-value {
    font-size: 40px;
  }

  .pricing-currency {
    font-size: 20px;
  }

  .pricing-features li {
    font-size: 13px;
    padding: 8px 0;
  }

  .btn-pricing {
    min-height: 48px;
    font-size: 15px;
  }

  /* Steps Mobile */
  .steps-grid {
    flex-direction: column;
    gap: 24px;
  }

  .step-connector {
    transform: rotate(90deg);
  }

  .step-card {
    max-width: 100%;
    width: 100%;
    padding: 32px 24px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-desc {
    font-size: 13px;
  }

  /* FAQ Mobile */
  .faq-question {
    font-size: 15px;
    padding: 16px 20px;
    min-height: 52px;
  }

  .faq-answer p {
    padding: 0 20px 16px;
    font-size: 14px;
    line-height: 1.7;
  }

  /* CTA Mobile */
  .cta-banner {
    padding: 48px 20px;
    border-radius: var(--radius-lg);
  }

  .cta-title {
    font-size: 22px;
  }

  .cta-desc {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .cta-actions {
    flex-direction: column;
    gap: 12px;
  }

  .cta-actions .btn-primary,
  .cta-actions .btn-outline {
    width: 100%;
    justify-content: center;
    min-height: 52px;
  }

  /* Footer Mobile */
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-brand {
    max-width: 100%;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }

  .footer-col {
    align-items: center;
    text-align: center;
  }

  .footer-bottom {
    padding-top: 20px;
  }

  .footer-disclaimer {
    font-size: 11px !important;
  }
}

/* ============================================
   MODAL - MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 16px;
    align-items: flex-end;
  }

  .modal {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 28px 20px 24px;
    transform: translateY(100%);
  }

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

  .modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-icon {
    width: 48px;
    height: 48px;
  }

  .card-selector {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .card-option-inner {
    padding: 12px 10px;
  }

  .contact-channel {
    padding: 12px 14px;
  }

  .contact-channel-icon {
    width: 40px;
    height: 40px;
  }

  .btn-submit {
    min-height: 48px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .modal {
    padding: 24px 16px 20px;
  }

  .form-input {
    padding: 11px 14px;
    font-size: 14px;
  }

  .card-option-name {
    font-size: 13px;
  }

  .contact-channel-name {
    font-size: 14px;
  }

  .contact-channel-desc {
    font-size: 11px;
  }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (<480px)
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content {
    padding-top: 90px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-card-img {
    max-width: 260px;
  }

  .hero-card-wrapper {
    animation: float-small 6s ease-in-out infinite;
  }

  .hero-stats {
    gap: 8px;
  }

  .stat-item {
    min-width: 80px;
    padding: 10px 12px;
  }

  .stat-number {
    font-size: 18px;
  }

  .section-title {
    font-size: 22px;
  }

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

  .feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 20px;
  }

  .feature-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .feature-title {
    margin-bottom: 4px;
  }

  .pain-section,
  .features-section,
  .usecases-section,
  .pricing-section,
  .steps-section,
  .faq-section {
    padding: 56px 0;
  }

  .cta-section {
    padding: 0 0 56px;
  }

  .pricing-card {
    padding: 24px 16px;
  }

  .pricing-value {
    font-size: 36px;
  }

  .step-card {
    padding: 28px 20px;
  }

  .cta-banner {
    padding: 40px 16px;
  }

  .cta-title {
    font-size: 20px;
  }
}

/* ============================================
   MODAL SYSTEM
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease-out);
  padding: 36px 32px 32px;
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  z-index: 1;
}

.modal-close:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-green-dim);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-icon-blue {
  background: var(--accent-blue-dim);
  color: var(--accent-blue);
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

/* Form Styles */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-sans);
  transition: all 0.3s var(--ease-out);
  outline: none;
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-input:focus {
  border-color: var(--accent-green);
  background: rgba(0, 255, 136, 0.03);
  box-shadow: 0 0 0 3px var(--accent-green-dim);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

/* Card Selector */
.card-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card-option {
  cursor: pointer;
}

.card-option input[type="radio"] {
  display: none;
}

.card-option-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
  text-align: center;
}

.card-option input:checked + .card-option-inner {
  border-color: var(--accent-green);
  background: var(--accent-green-dim);
}

.card-option-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.card-option-price {
  font-size: 13px;
  color: var(--accent-green);
  font-weight: 600;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--accent-green);
  color: var(--bg-primary);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-sans);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  min-height: 52px;
}

.btn-submit:hover {
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: scale(0.98);
}

.btn-submit-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-submit-outline:hover {
  border-color: var(--accent-green);
  background: var(--accent-green-dim);
  box-shadow: none;
}

.form-hint {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin-top: -4px;
}

/* Contact Channels */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
}

.contact-channel:hover {
  border-color: var(--border-hover);
  background: var(--bg-glass-hover);
  transform: translateX(4px);
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-channel-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-channel-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.contact-channel-arrow {
  color: var(--text-dim);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.contact-channel:hover .contact-channel-arrow {
  transform: translateX(3px);
  color: var(--text-muted);
}

.contact-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-divider::before,
.contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.contact-divider span {
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* === Selection === */
::selection {
  background: rgba(0, 255, 136, 0.2);
  color: var(--text-primary);
}

/* === Touch & Pointer Improvements === */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .feature-card:hover,
  .pain-card:hover,
  .usecase-group:hover,
  .step-card:hover,
  .pricing-card:hover {
    transform: none;
  }

  /* Increase touch targets */
  .faq-question {
    min-height: 52px;
  }

  .usecase-tag {
    padding: 8px 16px;
    font-size: 14px;
  }

  /* Active states for touch feedback */
  .btn-primary:active,
  .btn-secondary:active,
  .btn-outline:active,
  .btn-nav-cta:active,
  .btn-pricing:active {
    transform: scale(0.97);
    opacity: 0.9;
  }

  .faq-question:active {
    background: var(--bg-glass);
  }

  .nav-links a:active {
    color: var(--accent-green);
  }
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* === Print === */
@media print {
  .nav, .nav-toggle, .hero-card-glow, .cta-glow, .hero-grid-bg {
    display: none;
  }

  body {
    background: white;
    color: #333;
  }

  .gradient-text {
    -webkit-text-fill-color: #333;
    color: #333;
  }

  .section-title, .hero-title, .feature-title, .pain-title, .step-title, .cta-title {
    color: #111;
  }

  .hero-card-img {
    max-width: 300px;
    margin: 0 auto;
  }
}
