@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --background: 240 10% 3.9%;
  --foreground: 0 0% 98%;
  --card: 240 10% 6%;
  --card-foreground: 0 0% 98%;
  --primary: 217 91% 60%;
  --primary-foreground: 0 0% 100%;
  --secondary: 240 10% 10%;
  --muted: 240 10% 12%;
  --muted-foreground: 240 5% 55%;
  --accent: 142 71% 45%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84.2% 60.2%;
  --border: 240 5% 15%;
  --radius: 1rem;
}

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

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.upsell-wrapper {
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', system-ui, sans-serif;
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}
.max-w-xl { max-width: 36rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-sm { max-width: 24rem; }
.max-w-lg { max-width: 32rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Header */
.continuity-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: hsla(var(--background), 0.8);
  border-bottom: 1px solid hsl(var(--border));
}
.progress-bar-track {
  height: 4px;
  background: hsl(var(--muted));
}
.progress-bar-fill {
  height: 100%;
  width: 0;
  background: hsl(var(--primary));
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-content {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem;
}
.step-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
}
.warning-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: hsla(var(--muted), 0.5);
  border: 1px solid hsl(var(--border));
}
.warning-icon {
  width: 20px;
  height: 20px;
  color: #fbbf24;
  flex-shrink: 0;
  margin-top: 2px;
}
.warning-text { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.5; }
.warning-text strong { color: hsl(var(--foreground)); font-weight: 600; }

/* Hero */
.hero-section {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
  text-align: center;
}
.hero-subtitle {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}
.hero-subtitle span { color: hsl(var(--foreground)); font-weight: 500; }
.hero-congrats {
  color: hsl(var(--primary));
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hero-title {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.hero-title .highlight { color: hsl(var(--primary)); }
.hero-before {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.hero-before-sub {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

/* VSL */
.vsl-section {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.vsl-text-top {
  text-align: center;
  margin-bottom: 2rem;
}
.vsl-text-top p:first-child {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}
.vsl-text-top p:first-child .highlight { color: hsl(var(--primary)); }
.vsl-text-top p:last-child {
  color: hsl(var(--muted-foreground));
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}
.vsl-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 1rem;
  overflow: hidden;
  background: hsl(var(--card));
  box-shadow: 0 0 50px -12px hsla(217, 91%, 60%, 0.3),
              0 0 0 1px rgba(255,255,255,0.08),
              0 4px 24px -1px rgba(0,0,0,0.4);
}
.vsl-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}
.vsl-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vsl-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  transition: background 0.3s;
}
.vsl-cover:hover .vsl-cover-overlay { background: rgba(0,0,0,0.1); }
.vsl-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.vsl-note {
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-style: italic;
  font-size: 0.875rem;
  margin-top: 2rem;
}

/* Copy */
.copy-section {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  text-align: center;
}
.copy-section .italic-intro {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.copy-section .quote {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}
.copy-body {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}
.copy-body .white { color: hsl(var(--foreground)); font-weight: 500; }
.copy-body .primary { color: hsl(var(--primary)); font-weight: 600; }
.copy-body .accent-text { color: hsl(var(--accent)); font-weight: 600; }
.copy-detail {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  max-width: 36rem;
  margin: 0 auto;
}
.copy-detail .bold-white { font-weight: 600; color: hsl(var(--foreground)); }

/* Skills */
.skills-section {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.section-title .highlight { color: hsl(var(--primary)); }
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .skills-grid { grid-template-columns: 1fr 1fr; }
}
.skill-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 4px 24px -1px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}
.skill-card:hover { transform: translateY(-4px); }
.skill-icon {
  width: 20px;
  height: 20px;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 2px;
}
.skill-text {
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  line-height: 1.5;
}

/* Benefits */
.benefits-section {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
.benefit-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 4px 24px -1px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}
.benefit-card:hover { transform: translateY(-4px); }
.benefit-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsla(var(--primary), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.benefit-icon-wrap svg { width: 20px; height: 20px; color: hsl(var(--primary)); }
.benefit-card h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.benefit-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

/* Offer */
.offer-section {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
}
.offer-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.offer-title .highlight { color: hsl(var(--primary)); }
.offer-desc {
  color: hsl(var(--muted-foreground));
  max-width: 32rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.price-box {
  background: linear-gradient(135deg, hsla(217, 91%, 60%, 0.15), hsla(142, 71%, 45%, 0.1));
  box-shadow: 0 0 0 1px hsla(217, 91%, 60%, 0.3), 0 0 40px -8px hsla(217, 91%, 60%, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 24rem;
  margin: 0 auto;
}
.price-old {
  color: hsl(var(--muted-foreground));
  text-decoration: line-through;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.price-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}
.price-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
  color: hsl(var(--accent));
  margin-bottom: 0.25rem;
}
.price-cash {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  font-weight: 600;
}
.price-cash .accent { color: hsl(var(--accent)); font-weight: 700; }
.price-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
}
.price-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: hsl(var(--muted-foreground));
}

/* CTA */
.cta-section {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  text-align: center;
}
.cta-button {
  display: block;
  width: 100%;
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 1rem;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
  transition: transform 0.2s, filter 0.2s;
  animation: breath 3s ease-in-out infinite;
}
.cta-button:hover { transform: scale(1.02); filter: brightness(1.1); }
.cta-button:active { transform: scale(0.98); }
.cta-button span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 0.25rem;
}
.reject-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}
.reject-link:hover { color: hsl(var(--foreground)); }

@keyframes breath {
  0%, 100% { box-shadow: 0 0 0 0 hsla(142, 71%, 45%, 0.4); }
  50% { box-shadow: 0 0 20px 4px hsla(142, 71%, 45%, 0.2); }
}

/* Countdown */
.countdown-section {
  max-width: 36rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}
.countdown-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}
.countdown-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--card));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 4px 24px -1px rgba(0,0,0,0.4);
  transition: background 0.3s;
}
.countdown-box.urgent { background: hsla(var(--destructive), 0.1); }
.countdown-timer {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: hsl(var(--foreground));
  transition: color 0.3s;
}
.countdown-timer.urgent { color: hsl(var(--destructive)); }

/* Testimonials */
.testimonials-section {
  max-width: 64rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}
.testimonials-grid {
  columns: 1;
  gap: 0.75rem;
}
@media (min-width: 640px) { .testimonials-grid { columns: 2; } }
@media (min-width: 1024px) { .testimonials-grid { columns: 3; } }
.testimonial-card {
  break-inside: avoid;
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 4px 24px -1px rgba(0,0,0,0.4);
  border-top: 1px solid hsla(var(--foreground), 0.05);
}
.testimonial-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.avatar-blue { background: hsla(217, 91%, 60%, 0.2); color: hsl(var(--primary)); }
.avatar-green { background: hsla(142, 71%, 45%, 0.2); color: hsl(var(--accent)); }
.avatar-amber { background: hsla(38, 92%, 50%, 0.2); color: #fbbf24; }
.avatar-pink { background: hsla(330, 80%, 60%, 0.2); color: #f472b6; }
.testimonial-name { font-size: 0.875rem; font-weight: 600; }
.testimonial-role { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* Footer */
.footer-section {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  text-align: center;
  border-top: 1px solid hsl(var(--border));
}
.footer-section p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}
.footer-section .small { font-size: 0.75rem; }

/* Animations */
.animate-in {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-scale {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}
