/* ============================================
   RIZZ.AI Landing Page
   Theme: Dark mode with fiery red accents
   ============================================ */

:root {
  /* Core palette */
  --bg-primary: #07070D;
  --bg-secondary: #0D0D14;
  --bg-card: #111119;
  --bg-elevated: #16161F;
  
  /* Accent colors */
  --accent-primary: #E63946;
  --accent-secondary: #FF6B6B;
  --accent-glow: rgba(230, 57, 70, 0.4);
  --accent-subtle: rgba(230, 57, 70, 0.1);
  
  /* Text colors */
  --text-primary: #F8F9FA;
  --text-secondary: #A1A8B8;
  --text-muted: #6B7280;
  
  /* Gradients */
  --gradient-fire: linear-gradient(135deg, #E63946 0%, #FF8C42 50%, #FFD166 100%);
  --gradient-bg: radial-gradient(ellipse at 50% 0%, rgba(230, 57, 70, 0.15) 0%, transparent 60%);
  
  /* Spacing */
  --section-padding: clamp(4rem, 10vw, 8rem);
  
  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-bg);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   Particles Background
   ============================================ */

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 25s; }
.particle:nth-child(2) { left: 80%; top: 10%; animation-delay: -5s; animation-duration: 20s; }
.particle:nth-child(3) { left: 30%; top: 70%; animation-delay: -10s; animation-duration: 30s; }
.particle:nth-child(4) { left: 70%; top: 80%; animation-delay: -15s; animation-duration: 22s; }
.particle:nth-child(5) { left: 50%; top: 40%; animation-delay: -7s; animation-duration: 28s; }
.particle:nth-child(6) { left: 90%; top: 60%; animation-delay: -12s; animation-duration: 24s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  25% { transform: translate(30px, -50px) scale(1.5); opacity: 0.6; }
  50% { transform: translate(-20px, -100px) scale(1); opacity: 0.4; }
  75% { transform: translate(50px, -30px) scale(1.2); opacity: 0.5; }
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(7, 7, 13, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  background: var(--accent-subtle);
  color: var(--accent-primary);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--accent-primary);
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

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

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 8rem 4rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero-content {
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
}

.highlight {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  width: fit-content;
}

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

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-secondary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual - Phone Mockup */

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

.phone-mockup {
  width: 300px;
  background: var(--bg-secondary);
  border-radius: 40px;
  padding: 12px;
  border: 3px solid #2A2A35;
  box-shadow: 
    0 50px 100px -20px rgba(0, 0, 0, 0.5),
    0 30px 60px -30px rgba(230, 57, 70, 0.2);
  position: relative;
  z-index: 1;
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

.phone-notch {
  width: 100px;
  height: 28px;
  background: var(--bg-primary);
  border-radius: 20px;
  margin: 0 auto 12px;
}

.phone-screen {
  background: #0B0B12;
  border-radius: 28px;
  padding: 16px;
  min-height: 450px;
}

.app-header {
  margin-bottom: 16px;
}

.app-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.app-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.app-input {
  margin-bottom: 12px;
}

.input-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-box {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  font-size: 0.8rem;
  color: var(--text-primary);
}

.app-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.chip {
  padding: 4px 10px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: capitalize;
}

.chip.active {
  background: rgba(230, 57, 70, 0.15);
  border-color: var(--accent-primary);
  color: var(--accent-secondary);
}

.app-replies {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reply-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
  transition: all 0.2s ease;
}

.reply-card.featured {
  border-color: var(--accent-primary);
  background: rgba(230, 57, 70, 0.08);
}

.reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.reply-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.reply-risk {
  font-size: 0.55rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
}

.reply-risk.low {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
}

.reply-risk.medium {
  background: rgba(251, 191, 36, 0.15);
  color: #FBBF24;
}

.reply-risk.high {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
}

.reply-text {
  font-size: 0.8rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}

.reply-why {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-style: italic;
}

.glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

/* ============================================
   Section Headers
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--accent-subtle);
  color: var(--accent-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ============================================
   Features Section
   ============================================ */

.features {
  padding: var(--section-padding) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(230, 57, 70, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(230, 57, 70, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: 14px;
  color: var(--accent-secondary);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
  padding: var(--section-padding) 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

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

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

.step-number {
  font-size: 4rem;
  font-weight: 900;
  font-family: var(--font-mono);
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
}

.step-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.step-visual {
  display: flex;
  justify-content: center;
}

.message-bubble {
  padding: 0.75rem 1.25rem;
  border-radius: 20px;
  font-size: 0.95rem;
  max-width: 280px;
  animation: bubblePop 0.5s ease;
}

.message-bubble.incoming {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 6px;
}

.message-bubble.outgoing {
  background: var(--accent-primary);
  color: white;
  border-bottom-right-radius: 6px;
}

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

.vibe-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vibe-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.vibe-track {
  width: 120px;
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  position: relative;
}

.vibe-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 65%;
  background: var(--gradient-fire);
  border-radius: 3px;
}

.vibe-thumb {
  position: absolute;
  top: 50%;
  left: 65%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--accent-primary);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 2px 8px var(--accent-glow);
}

/* ============================================
   Demo Section
   ============================================ */

.demo {
  padding: var(--section-padding) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
}

.demo-input-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.demo-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-textarea {
  width: 100%;
  min-height: 100px;
  padding: 1rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1rem;
  resize: none;
  transition: border-color 0.2s ease;
}

.demo-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

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

.demo-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-option label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.demo-chip {
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-chip:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.demo-chip.active {
  background: rgba(230, 57, 70, 0.15);
  border-color: var(--accent-primary);
  color: var(--accent-secondary);
}

.demo-output-section {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 3rem;
}

.demo-replies {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-reply {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  position: relative;
  transition: all 0.2s ease;
}

.demo-reply:hover {
  border-color: rgba(230, 57, 70, 0.3);
}

.demo-reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.demo-reply-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.demo-reply-risk {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.demo-reply-risk.low {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
}

.demo-reply-risk.medium {
  background: rgba(251, 191, 36, 0.15);
  color: #FBBF24;
}

.demo-reply-risk.high {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
}

.demo-reply-text {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.demo-reply-why {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.copy-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  opacity: 0;
}

.demo-reply:hover .copy-btn {
  opacity: 1;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
  padding: var(--section-padding) 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(230, 57, 70, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta > p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

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

.cta-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.emoji-float {
  position: absolute;
  font-size: 3rem;
  opacity: 0.15;
  animation: emojiFloat 8s ease-in-out infinite;
}

.emoji-float:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.emoji-float:nth-child(2) { right: 15%; top: 30%; animation-delay: -2s; }
.emoji-float:nth-child(3) { left: 20%; bottom: 20%; animation-delay: -4s; }
.emoji-float:nth-child(4) { right: 10%; bottom: 30%; animation-delay: -6s; }

@keyframes emojiFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 3rem 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 7rem 2rem 4rem;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-visual {
    order: 0;
    margin-bottom: 2rem;
  }
  
  .hero-subtitle {
    margin: 0 auto 2rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    margin: 0 auto;
  }
  
  .phone-mockup {
    width: 260px;
  }
  
  .phone-screen {
    min-height: 380px;
  }
  
  .step {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  .step:nth-child(even) {
    direction: ltr;
  }
  
  .step-number {
    font-size: 3rem;
  }
  
  .demo-container {
    grid-template-columns: 1fr;
  }
  
  .demo-output-section {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 0;
    padding-top: 2rem;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 1rem;
  }
  
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat-divider {
    width: 60px;
    height: 1px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .demo-container {
    padding: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
