/* ============================================
   INDECISION KILLER - MAIN STYLESHEET
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Colors */
  --crimson-slash: #FF3B3B;
  --decision-blue: #00D4FF;
  --gold-tsuba: #FFB800;
  --deep-black: #0A0A0A;
  --charcoal: #1A1A1A;
  --charcoal-light: #252525;
  --coral-energy: #FF6B6B;
  --teal-fresh: #20E3B2;
  --sunset-orange: #FF8C42;
  --steel-gray: #E8E8E8;
  --muted-gray: #888888;

  /* Gradients */
  --gradient-slash: linear-gradient(135deg, #FF3B3B 0%, #FF8C42 100%);
  --gradient-glow: linear-gradient(135deg, #00D4FF 0%, #20E3B2 100%);
  --gradient-gold: linear-gradient(135deg, #FFB800 0%, #FF8C42 100%);
  --gradient-hero: linear-gradient(180deg, #0A0A0A 0%, #1A1A1A 100%);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;

  /* Shadows */
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-glow-blue: 0 0 30px rgba(0, 212, 255, 0.4);
  --shadow-glow-red: 0 0 30px rgba(255, 59, 59, 0.4);
  --shadow-glow-gold: 0 0 30px rgba(255, 184, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--deep-black);
  color: var(--steel-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

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

p {
  font-size: 1rem;
  color: var(--muted-gray);
}

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

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Base */
section {
  padding: var(--section-padding) 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title span {
  background: var(--gradient-slash);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-medium);
  background: transparent;
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 40px;
  width: auto;
  transition: var(--transition-fast);
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-logo span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--steel-gray);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-gray);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-slash);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--steel-gray);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .nav-cta {
  background: var(--gradient-slash);
  padding: 10px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  color: white !important;
  transition: var(--transition-fast);
}

.nav-links .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-red);
}

.nav-links .nav-cta::after {
  display: none !important;
}

/* Mobile Menu Button */
.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.nav-mobile-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--steel-gray);
  transition: var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--deep-black);
  z-index: 999;
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--steel-gray);
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--steel-gray);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-logo {
  width: 150px;
  height: auto;
  margin-bottom: 30px;
  animation: floatLogo 3s ease-in-out infinite;
}

.hero-title {
  margin-bottom: 20px;
  opacity: 0;
  animation: slashReveal 0.8s ease forwards 0.3s;
}

.hero-title .highlight {
  background: var(--gradient-slash);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.6s;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.9s;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 28px;
  border-radius: 12px;
  transition: var(--transition-fast);
}

.app-badge:hover {
  background: var(--charcoal-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.app-badge svg {
  width: 28px;
  height: 28px;
  fill: var(--steel-gray);
}

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

.app-badge-text small {
  font-size: 0.7rem;
  color: var(--muted-gray);
  display: block;
}

.app-badge-text strong {
  font-size: 1rem;
  color: var(--steel-gray);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards 1.2s;
}

.hero-scroll span {
  font-size: 0.75rem;
  color: var(--muted-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-scroll-icon {
  width: 24px;
  height: 40px;
  border: 2px solid var(--muted-gray);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-icon::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--coral-energy);
  border-radius: 2px;
  animation: scrollBounce 1.5s ease-in-out infinite;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
  background: var(--charcoal);
  position: relative;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--crimson-slash), var(--gold-tsuba), var(--teal-fresh), transparent);
  opacity: 0.3;
}

.step-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--deep-black);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-medium);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.step-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.step-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-card:nth-child(1) .step-number {
  background: var(--gradient-slash);
  color: white;
}

.step-card:nth-child(2) .step-number {
  background: var(--gradient-gold);
  color: var(--deep-black);
}

.step-card:nth-child(3) .step-number {
  background: var(--gradient-glow);
  color: var(--deep-black);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: 60px;
  height: 60px;
  stroke: var(--steel-gray);
  stroke-width: 1.5;
  fill: none;
}

.step-card h3 {
  margin-bottom: 12px;
  color: var(--steel-gray);
}

.step-card p {
  font-size: 0.95rem;
}

/* ============================================
   INTERACTIVE DEMO SECTION
   ============================================ */
.demo-section {
  background: var(--deep-black);
  position: relative;
  overflow: hidden;
}

.demo-container {
  max-width: 800px;
  margin: 0 auto;
}

.demo-box {
  background: var(--charcoal);
  border-radius: 24px;
  padding: 50px 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Demo Input */
.demo-input {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.demo-input input {
  background: var(--deep-black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--steel-gray);
  width: 100%;
  max-width: 250px;
  min-width: 0;
  transition: var(--transition-fast);
}

.demo-input input:focus {
  outline: none;
  border-color: var(--decision-blue);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.demo-input input::placeholder {
  color: var(--muted-gray);
}

.add-choice-btn {
  background: var(--gradient-glow);
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--deep-black);
  cursor: pointer;
  transition: var(--transition-fast);
  min-height: 44px;
}

.add-choice-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}

.demo-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  min-height: 60px;
  position: relative;
}

.choice-pill {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 28px;
  padding-right: 48px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--steel-gray);
  cursor: default;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  flex-shrink: 1;
  min-width: 0;
}

.choice-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.choice-pill .remove-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--crimson-slash);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: var(--transition-fast);
  line-height: 1;
}

.choice-pill .remove-btn::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 59, 59, 0.2);
  transition: var(--transition-fast);
}

.choice-pill .remove-btn:hover {
  opacity: 1;
}

.choice-pill .remove-btn:hover::before {
  background: rgba(255, 59, 59, 0.4);
}

.choice-pill.no-remove {
  padding-right: 28px;
}

.choice-pill.targeted {
  border-color: var(--crimson-slash);
  box-shadow: var(--shadow-glow-red);
  animation: pulse 0.5s ease infinite;
}

.choice-pill.eliminating {
  animation: sliceApart 0.6s ease forwards;
}

.choice-pill.winner {
  background: var(--gradient-glow);
  color: var(--deep-black);
  font-weight: 700;
  border-color: var(--decision-blue);
  animation: winnerPulse 1.5s ease infinite;
  box-shadow: var(--shadow-glow-blue);
  z-index: 1;
}

.demo-katana {
  position: relative;
  height: 100px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.demo-katana:has(.katana-blade.active) {
  cursor: pointer;
}

.katana-blade {
  width: 200px;
  height: 4px;
  background: linear-gradient(90deg, #888, #fff, #888);
  border-radius: 2px;
  position: relative;
  opacity: 0;
  transform: translateX(-100px) rotate(-5deg);
  transition: var(--transition-medium);
}

.katana-blade.active {
  opacity: 1;
  animation: katanaSwing 0.8s ease infinite;
  cursor: pointer;
}

.katana-blade.active:hover {
  filter: drop-shadow(0 0 10px rgba(255, 184, 0, 0.6));
}

.choice-pill.saved {
  border-color: var(--teal-fresh);
  animation: savedPulse 0.5s ease;
}

.katana-blade::before {
  content: '';
  position: absolute;
  left: -20px;
  top: -8px;
  width: 30px;
  height: 20px;
  background: var(--gold-tsuba);
  border-radius: 4px;
}

.katana-blade::after {
  content: '';
  position: absolute;
  left: -50px;
  top: -4px;
  width: 35px;
  height: 12px;
  background: linear-gradient(90deg, #2a1a0a, #4a2a1a);
  border-radius: 3px;
}

.demo-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.demo-btn {
  background: var(--gradient-slash);
  border: none;
  padding: 16px 48px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 1px;
  min-height: 48px;
}

.demo-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-red);
}

.demo-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.demo-btn.stop-btn {
  background: var(--gradient-gold);
  color: var(--deep-black);
}

.demo-btn.reset-btn {
  background: transparent;
  border: 2px solid var(--muted-gray);
  color: var(--muted-gray);
}

.demo-btn.reset-btn:hover {
  border-color: var(--steel-gray);
  color: var(--steel-gray);
  box-shadow: none;
}

.demo-hint {
  font-size: 0.9rem;
  color: var(--muted-gray);
  text-align: center;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  background: var(--charcoal);
}

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

.feature-card {
  background: var(--deep-black);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-medium);
  opacity: 0;
  transform: translateX(-30px);
}

.feature-card:nth-child(even) {
  transform: translateX(30px);
}

.feature-card.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card:nth-child(1) .feature-icon {
  background: rgba(255, 59, 59, 0.15);
}

.feature-card:nth-child(1) .feature-icon svg {
  stroke: var(--crimson-slash);
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(255, 184, 0, 0.15);
}

.feature-card:nth-child(2) .feature-icon svg {
  stroke: var(--gold-tsuba);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(0, 212, 255, 0.15);
}

.feature-card:nth-child(3) .feature-icon svg {
  stroke: var(--decision-blue);
}

.feature-card:nth-child(4) .feature-icon {
  background: rgba(32, 227, 178, 0.15);
}

.feature-card:nth-child(4) .feature-icon svg {
  stroke: var(--teal-fresh);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
  fill: none;
}

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--steel-gray);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--deep-black);
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-content p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--charcoal);
  padding: 20px 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.contact-email:hover {
  border-color: var(--decision-blue);
}

.contact-email svg {
  width: 24px;
  height: 24px;
  stroke: var(--decision-blue);
  stroke-width: 2;
  fill: none;
}

.contact-email span {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--steel-gray);
}

.copy-btn {
  background: var(--gradient-glow);
  border: none;
  padding: 12px 32px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep-black);
  cursor: pointer;
  transition: var(--transition-fast);
}

.copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}

.copy-btn.copied {
  background: var(--teal-fresh);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-brand span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--muted-gray);
}

.footer-nav h4,
.footer-legal h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted-gray);
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-legal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a,
.footer-legal a {
  color: var(--steel-gray);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--decision-blue);
}

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

.footer-bottom p {
  font-size: 0.85rem;
}

/* ============================================
   LEGAL PAGES (Privacy & Terms)
   ============================================ */
.legal-page {
  padding-top: 120px;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 10px;
}

.legal-date {
  color: var(--muted-gray);
  margin-bottom: 50px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--steel-gray);
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--muted-gray);
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  color: var(--muted-gray);
  margin-bottom: 8px;
  line-height: 1.8;
}

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

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

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slashReveal {
  0% {
    opacity: 0;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  100% {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

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

@keyframes sliceApart {
  0% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
  30% {
    transform: scale(1.1) rotate(3deg);
  }
  100% {
    transform: scale(0) rotate(15deg);
    opacity: 0;
  }
}

@keyframes winnerPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 40px rgba(32, 227, 178, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.8), 0 0 80px rgba(32, 227, 178, 0.5);
  }
}

@keyframes katanaSwing {
  0% { transform: translateX(-50px) rotate(-5deg); }
  50% { transform: translateX(50px) rotate(5deg); }
  100% { transform: translateX(-50px) rotate(-5deg); }
}

@keyframes savedPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(32, 227, 178, 0.5); }
  100% { transform: scale(1); }
}

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

/* Particle animation */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--coral-energy);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: particleBurst 1.5s ease-out forwards;
  --end-x: 0px;
  --end-y: -100px;
  z-index: 0;
}

@keyframes particleBurst {
  0% {
    transform: translate(-50%, -50%) translateX(0) translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) translateX(var(--end-x)) translateY(var(--end-y)) scale(0);
    opacity: 0;
  }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
  .nav-links {
    gap: 24px;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .steps-container::before {
    display: none;
  }

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .nav-links {
    display: none;
  }

  .nav-mobile-btn {
    display: flex;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-logo {
    width: 100px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .app-badge {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .demo-box {
    padding: 30px 20px;
  }

  .choice-pill {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-brand {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 40px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .demo-input {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .demo-input input {
    width: 100%;
    max-width: none;
  }

  .add-choice-btn {
    width: 100%;
    min-height: 44px;
  }

  .demo-choices {
    gap: 10px;
  }

  .choice-pill {
    padding: 8px 16px;
    padding-right: 44px;
    font-size: 0.85rem;
  }

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

  .contact-email {
    flex-direction: column;
    padding: 20px;
  }

  .footer-content {
    gap: 24px;
  }

  .footer {
    padding: 40px 0 20px;
  }
}

/* Extra small screens */
@media (max-width: 375px) {
  .feature-card {
    padding: 24px 16px;
  }

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

  .demo-box {
    padding: 24px 16px;
  }

  .demo-input {
    max-width: 100%;
  }
}

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

  .hero-logo {
    animation: none;
  }

  .hero-title,
  .hero-subtitle,
  .hero-cta,
  .hero-scroll {
    opacity: 1;
    animation: none;
  }

  .katana-blade.active {
    animation: none;
  }

  .choice-pill.winner {
    animation: none;
  }

  .choice-pill.eliminating {
    animation: none;
  }
}
