/* ========================================================================
   home.css — Videos From Santa Homepage
   Imports variables.css for design tokens
   ======================================================================== */

/* ============================================================
   BASE STYLES
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-6);
}

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

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--text-heading);
}

.section-title {
  font-size: var(--font-size-3xl);
  text-align: center;
  margin-bottom: var(--spacing-4);
}

.section-subtitle {
  font-size: var(--font-size-md);
  text-align: center;
  color: var(--text-muted);
  margin-bottom: var(--spacing-12);
}

.text-gradient {
  background: linear-gradient(135deg, var(--cta) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-3);
  background: linear-gradient(135deg, var(--cta) 0%, var(--cta-dark) 100%);
  color: var(--white);
  font-family: var(--font-family-heading);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  padding: var(--spacing-4) var(--spacing-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-cta);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

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

.btn-cta--large {
  font-size: var(--font-size-lg);
  padding: var(--spacing-5) var(--spacing-10);
}

.btn-cta--full {
  width: 100%;
  justify-content: center;
}

.btn-cta i {
  width: 20px;
  height: 20px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  background: linear-gradient(135deg, #1B2838 0%, #0F1922 50%, #1a2332 100%);
  padding: var(--spacing-16) 0 var(--spacing-20);
  position: relative;
  overflow: hidden;
}

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

.snowflake {
  position: absolute;
  opacity: 0.4;
  animation: snowfall 15s linear infinite;
}

.snowflake.s1 { left: 5%; width: 24px; animation-delay: 0s; animation-duration: 18s; }
.snowflake.s2 { left: 15%; width: 16px; animation-delay: 2s; animation-duration: 14s; }
.snowflake.s3 { left: 30%; width: 20px; animation-delay: 4s; animation-duration: 16s; }
.snowflake.s4 { left: 60%; width: 18px; animation-delay: 1s; animation-duration: 20s; }
.snowflake.s5 { left: 80%; width: 22px; animation-delay: 3s; animation-duration: 15s; }
.snowflake.s6 { left: 92%; width: 14px; animation-delay: 5s; animation-duration: 17s; }

@keyframes snowfall {
  0% { transform: translateY(-100px) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-16);
  align-items: center;
}

.hero__logo {
  width: 200px;
  margin-bottom: var(--spacing-6);
}

.hero__title {
  font-size: var(--font-size-4xl);
  color: var(--white);
  margin-bottom: var(--spacing-6);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-8);
  line-height: var(--line-height-relaxed);
}

.hero__trust {
  display: flex;
  gap: var(--spacing-6);
  margin-top: var(--spacing-6);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
}

.trust-item i {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

/* Video */
.hero__video {
  position: relative;
}

.video-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.video-wrapper video {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}

.play-outer {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.play-outer:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.play-inner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cta);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon {
  width: 0;
  height: 0;
  border-left: 20px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.video-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  opacity: 0.6;
  pointer-events: none;
}

.video-corner.tl { top: -8px; left: -8px; }
.video-corner.tr { top: -8px; right: -8px; }
.video-corner.bl { bottom: -8px; left: -8px; }
.video-corner.br { bottom: -8px; right: -8px; }

/* Media Badges */
.media-badges {
  text-align: center;
  margin-top: var(--spacing-6);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-xs);
}

.media-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-6);
  margin-top: var(--spacing-3);
}

.media-logos img {
  height: 20px;
  opacity: 0.5;
  filter: brightness(0) invert(1);
}

/* ============================================================
   STORY SECTION
   ============================================================ */

.story {
  padding: var(--spacing-20) 0;
  background: var(--white);
}

.story__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--spacing-10);
  align-items: center;
  margin-bottom: var(--spacing-12);
}

.story__grid--reverse {
  grid-template-columns: 0.8fr 1.2fr;
  direction: rtl;
}

.story__grid--reverse > * {
  direction: ltr;
}

.story__headline {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-6);
}

.story__body {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-loose);
  margin-bottom: var(--spacing-6);
}

.story__body strong {
  color: var(--success);
}

.story__emphasis {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--cta);
}

.story__image img {
  max-width: 320px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   HOW IT WORKS - Card style with icons like buy site
   ============================================================ */

.how-it-works {
  padding: var(--spacing-20) 0;
  background: var(--bg-subtle);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-6);
}

.step-card {
  position: relative;
  text-align: center;
  padding: var(--spacing-10) var(--spacing-6) var(--spacing-8);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.step-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-6);
  background: linear-gradient(135deg, rgba(54, 158, 106, 0.1) 0%, rgba(42, 98, 70, 0.1) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card__icon i {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.step-card__number {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: var(--cta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
}

.step-card__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-3);
}

.step-card__text {
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  font-size: var(--font-size-sm);
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */

.social-proof {
  padding: var(--spacing-20) 0;
  background: linear-gradient(135deg, #1B2838 0%, #0F1922 100%);
  color: var(--white);
}

.stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-16);
  margin-bottom: var(--spacing-16);
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--gold);
}

.stat__label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--spacing-2);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-8);
}

.testimonial {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--spacing-8);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial__text {
  font-size: var(--font-size-md);
  font-style: italic;
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-4);
}

.testimonial__author {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   NEWS SECTION
   ============================================================ */

.news {
  padding: var(--spacing-20) 0;
  background: var(--white);
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-8);
}

.news-card {
  display: block;
  background: var(--bg-subtle);
  padding: var(--spacing-8);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card__badge {
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-4);
  background: var(--cta);
  color: var(--white);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  padding: var(--spacing-1) var(--spacing-3);
  border-radius: var(--radius-full);
}

.news-card__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-3);
  color: var(--text-heading);
}

.news-card__excerpt {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--spacing-4);
  line-height: var(--line-height-relaxed);
}

.news-card__link {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--cta);
}

/* ============================================================
   PRICING SECTION - Two column layout
   ============================================================ */

.pricing {
  padding: var(--spacing-20) 0;
  background: var(--bg-subtle);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-12);
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing__benefits {
  padding: var(--spacing-8);
}

.pricing__benefits-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-8);
}

.benefit-row {
  display: flex;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-6);
}

.benefit-row i {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-row strong {
  display: block;
  color: var(--text-heading);
  margin-bottom: var(--spacing-1);
}

.benefit-row span {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.pricing__testimonial {
  margin-top: var(--spacing-10);
  padding: var(--spacing-6);
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
}

.pricing__testimonial p {
  font-style: italic;
  color: var(--text-body);
  margin-bottom: var(--spacing-4);
  line-height: var(--line-height-relaxed);
}

.pricing__testimonial-author {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-sm);
}

.pricing__testimonial-author .stars {
  color: var(--gold);
}

/* Price Card - Matches buy site exactly */
.pricing-card-clean {
  background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pricing-card-header {
  padding: 16px;
  text-align: center;
}

.pricing-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.pricing-countdown-badge svg {
  color: white;
  flex-shrink: 0;
}

.pricing-countdown-badge strong {
  font-weight: 800;
}

.pricing-card-body {
  padding: 32px;
  text-align: center;
}

.pricing-price-section {
  margin-bottom: 16px;
}

.pricing-price-old {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pricing-price-new {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-dark);
  font-family: var(--font-family-heading);
  margin: 8px 0;
}

.pricing-urgency-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 400;
}

.pricing-urgency-bar svg {
  color: #f97316;
}

.pricing-urgency-bar strong {
  font-weight: 700;
}

.pricing-bonuses-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.pricing-bonuses-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid #f3f4f6;
}

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

.pricing-bonuses-list li::before {
  content: '✓';
  color: #059669;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-bonuses-list li i,
.pricing-bonuses-list li svg {
  display: none;
}

.pricing-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--cta) 0%, var(--cta-dark) 100%);
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: all var(--transition-base);
  margin-top: 24px;
}

.pricing-cta-button:hover {
  background: linear-gradient(135deg, var(--cta-dark) 0%, var(--cta-darker) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}

.pricing-cta-button i,
.pricing-cta-button svg {
  width: 20px;
  height: 20px;
}

.pricing-ai-tagline {
  margin-top: 16px;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  padding: var(--spacing-20) 0;
  background: var(--white);
}

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

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-6) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family-heading);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--text-heading);
  text-align: left;
}

.faq-item__question i {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-base);
}

.faq-item.open .faq-item__question i {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item.open .faq-item__answer {
  max-height: 200px;
}

.faq-item__answer p {
  padding-bottom: var(--spacing-6);
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
}

/* ============================================================
   FINAL CTA - Floating card style (not red block)
   ============================================================ */

.final-cta {
  padding: var(--spacing-20) 0;
  background: linear-gradient(135deg, #1B2838 0%, #0F1922 100%);
}

.final-cta__card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  padding: var(--spacing-12) var(--spacing-10);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.final-cta__title {
  font-size: var(--font-size-2xl);
  color: var(--text-heading);
  margin-bottom: var(--spacing-3);
}

.final-cta__subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  margin-bottom: var(--spacing-8);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: var(--spacing-12) 0;
  background: var(--gray-900);
  text-align: center;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-6);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__legal {
  display: flex;
  justify-content: center;
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-6);
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-xs);
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer__copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--font-size-xs);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-12);
    text-align: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }

  .story__grid,
  .story__grid--reverse {
    grid-template-columns: 1fr;
    gap: var(--spacing-8);
    direction: ltr;
  }

  .story__text {
    text-align: center;
  }

  .story__image {
    text-align: center;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: var(--spacing-6);
  }

  .stats {
    flex-direction: column;
    gap: var(--spacing-8);
  }

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

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

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

  .pricing__benefits {
    order: 2;
  }

  .pricing__card {
    order: 1;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-4);
  }

  .hero {
    padding: var(--spacing-10) 0 var(--spacing-12);
  }

  .hero__logo {
    width: 150px;
  }

  .hero__title {
    font-size: var(--font-size-2xl);
  }

  .hero__subtitle {
    font-size: var(--font-size-base);
  }

  .hero__trust {
    flex-direction: column;
    gap: var(--spacing-3);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .story,
  .how-it-works,
  .social-proof,
  .news,
  .pricing,
  .faq,
  .final-cta {
    padding: var(--spacing-12) 0;
  }

  .story__image img {
    max-width: 260px;
  }

  .final-cta__card {
    padding: var(--spacing-8) var(--spacing-6);
  }

  .pricing__card-body {
    padding: var(--spacing-6);
  }

  .pricing__price-new {
    font-size: var(--font-size-3xl);
  }

  .footer__links,
  .footer__legal {
    flex-wrap: wrap;
    gap: var(--spacing-4);
  }
}
