/* ================================================================
   RAX VOICE STUDIO — pages/home.css
   Home page specific styles
   ================================================================ */

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-content h1 { margin-bottom: 20px; }
.hero-content .hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--text-secondary); max-width: 500px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; }
.hero-wave { margin-top: 48px; display: flex; justify-content: center; }
.hero-wave .waveform-bars { height: 48px; }
.hero-wave .waveform-bar { width: 4px; background: var(--accent); opacity: 0.6; }

/* ── DEMO CARD ───────────────────────────────────────────────── */
.demo-card {
  max-width: 680px;
  margin: 0 auto;
}

/* ── FEATURES GRID ───────────────────────────────────────────── */
.section { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 48px 0; } }

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card { text-align: center; }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ── SHOWCASE STRIP ──────────────────────────────────────────── */
.showcase-strip { 
  overflow-x: auto; 
  padding: 20px 0 32px; 
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.showcase-strip::-webkit-scrollbar { display: none; }

.showcase-voices {
  display: flex;
  gap: 20px;
  padding: 10px 40px;
  min-width: max-content;
}

.showcase-voice-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px 20px;
  width: 160px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.showcase-voice-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.3s;
}

.showcase-voice-item:hover {
  border-color: var(--accent);
  transform: translateY(-8px) scale(1.02);
  background: var(--surface2);
  box-shadow: 0 20px 40px -15px rgba(var(--accent-rgb), 0.3);
}

.showcase-voice-item:hover::before {
  opacity: 1;
}

.showcase-voice-item .voice-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  transition: transform 0.4s;
  background: var(--bg);
}

.showcase-voice-item:hover .voice-avatar {
  transform: scale(1.1) rotate(5deg);
}

.showcase-voice-item .voice-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 4px;
}

.showcase-voice-item .voice-lang {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(var(--accent-rgb), 0.1);
  padding: 2px 8px;
  border-radius: 20px;
}

.showcase-voice-item.playing {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(var(--accent-rgb), 0.4);
  background: var(--surface2);
}

.showcase-voice-item.playing .voice-avatar {
  animation: avatarRotate 2s linear infinite;
  box-shadow: 0 0 20px var(--accent);
}

@keyframes avatarRotate {
  0% { transform: rotate(0deg) scale(1.1); }
  50% { transform: rotate(10deg) scale(1.2); }
  100% { transform: rotate(0deg) scale(1.1); }
}

.showcase-voice-item .voice-play {
  margin-top: 8px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer;
  border: none;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

.showcase-voice-item .voice-play:hover {
  transform: scale(1.15);
  background: #fff;
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.5);
}

.showcase-voice-item .voice-play:active {
  transform: scale(0.95);
}

/* ── SOCIAL PROOF ────────────────────────────────────────────── */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  flex-wrap: wrap;
}
.proof-stat { text-align: center; }
.stat-number { font-size: 32px; font-weight: 700; display: block; }
.stat-label  { font-size: 13px; color: var(--text-secondary); }
.proof-divider { width: 1px; height: 48px; background: var(--card-border); }
@media (max-width: 640px) { .proof-divider { display: none; } }

/* ── PRICING PREVIEW ─────────────────────────────────────────── */
.pricing-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 640px) { .pricing-preview { grid-template-columns: 1fr; } }

.price-card { text-align: center; padding: 32px 24px; }
.price-card.featured {
  border-color: var(--accent);
  transform: scale(1.04);
  position: relative;
  z-index: 1;
}
.price-name   { font-size: 13px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.06em; }
.price-amount { font-size: 36px; font-weight: 700; margin: 8px 0; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.price-tokens { font-size: 14px; color: var(--text-secondary); }

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-banner {
  text-align: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 480px) { .cta-banner { padding: 40px 24px; } }
