/* --------------------------------------------------------
   Landing Page Styles
   -------------------------------------------------------- */

/* Scoped to .landing-page to avoid conflicts with app styles */
.landing-page {
  background: #f0f2f5;
}

/* --------------------------------------------------------
   Hero Section
   -------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, #0B1F33 0%, #1F3A56 100%);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.event-badge {
  display: inline-block;
  background: #F2B705;
  color: #0B1F33;
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #a0aec0;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 500px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

/* --------------------------------------------------------
   Buttons
   -------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
  min-width: 180px;
}

.btn-primary {
  background: #2ED1B2;
  color: #fff;
}

.btn-primary:hover {
  background: #24B899;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #2ED1B2;
}

.btn-secondary:hover {
  background: rgba(46, 209, 178, 0.1);
}

.btn-outline {
  background: transparent;
  color: #2ED1B2;
  border: 2px solid #2ED1B2;
}

.btn-outline:hover {
  background: #2ED1B2;
  color: #fff;
}

/* --------------------------------------------------------
   How It Works
   -------------------------------------------------------- */
.how-it-works {
  padding: 3rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.how-it-works h2 {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  color: #0B1F33;
  margin-bottom: 2rem;
}

.steps {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.step-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #2ED1B2 0%, #24B899 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0B1F33;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.5;
}

/* --------------------------------------------------------
   Pricing - Mobile First
   -------------------------------------------------------- */
.pricing {
  padding: 3rem 1rem;
  background: #0B1F33;
}

.pricing h2 {
  text-align: center;
  font-size: 2rem;
  color: #F4F7FA;
  margin-bottom: 0.5rem;
}

.pricing-subtitle {
  text-align: center;
  color: #9FB0C1;
  font-size: 1rem;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
  line-height: 1.5;
}

/* Cards: Mobile-first (vertical stack) */
.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 400px;
  margin: 0 auto 2rem;
}

.pricing-card {
  background: #1F3A56;
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
}

/* Hero card (Individual tier) */
.pricing-card-hero {
  border-color: #2ED1B2;
  background: linear-gradient(135deg, #1F3A56 0%, #1a2d42 100%);
  position: relative;
}

.premium-badge {
  position: absolute;
  top: -12px;
  right: 1rem;
  background: #2ED1B2;
  color: #0B1F33;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #F4F7FA;
  font-weight: 600;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2ED1B2;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.pricing-card .price span {
  font-size: 1rem;
  color: #9FB0C1;
  font-weight: 400;
}

/* Price context (subtle reinforcement) */
.price-context {
  color: #9FB0C1;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.pricing-card .features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.pricing-card .features li {
  padding: 0.625rem 0;
  color: #F4F7FA;
  font-size: 1rem; /* 16px minimum for iOS */
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card .features li:last-child {
  border-bottom: none;
}

.pricing-card .features li strong {
  color: #2ED1B2;
  font-weight: 600;
}

/* Coming soon badge */
.coming-soon {
  display: inline-block;
  font-size: 0.75rem;
  color: #F2B705;
  font-style: italic;
  margin-left: 0.25rem;
}

/* Strikethrough pricing */
.price-strikethrough {
  font-size: 1.5rem;
  color: #9FB0C1;
  text-decoration: line-through;
  margin-right: 0.5rem;
  opacity: 0.7;
}

/* Bundle upsell section */
.bundle-upsell {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(46, 209, 178, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(46, 209, 178, 0.3);
}

.bundle-upsell-header {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2ED1B2;
  margin-bottom: 0.5rem;
}

.bundle-upsell-text {
  font-size: 0.875rem;
  color: #9FB0C1;
  margin-bottom: 0.75rem;
}

.bundle-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2ED1B2;
  margin-bottom: 0.25rem;
}

.bundle-price-small {
  font-size: 1rem;
  color: #9FB0C1;
  text-decoration: line-through;
  margin-left: 0.5rem;
  opacity: 0.7;
}

.bundle-savings {
  font-size: 0.8125rem;
  color: #2ED1B2;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Modal highlight box */
.modal-highlight {
  background: #FFF9E6;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #F2B705;
  margin: 1.25rem 0;
  color: #0B1F33;
}

.modal-highlight strong {
  color: #0B1F33;
}

/* Buttons - Mobile optimized */
.pricing-card .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 1rem;
  min-height: 44px; /* Touch target minimum */
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: all 0.2s;
}

.btn-large {
  padding: 1.25rem;
  font-size: 1.125rem;
}

/* Pass pricing note (integrated into Free tier) */
.pricing-card-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9FB0C1;
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.5;
}

/* Pricing footer note */
.pricing-note {
  text-align: center;
  color: #9FB0C1;
  font-size: 0.875rem;
  margin-top: 2rem;
  padding: 0 1rem;
  line-height: 1.6;
}

/* Desktop Enhancements (768px+) */
@media (min-width: 768px) {
  .pricing {
    padding: 4rem 2rem;
  }

  .pricing h2 {
    font-size: 2.5rem;
  }

  .pricing-subtitle {
    font-size: 1.125rem;
  }

  .pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    flex-direction: row; /* Override mobile stack */
  }

  .pricing-card {
    padding: 2rem;
  }

  /* Hero card: slightly larger/emphasized */
  .pricing-card-hero {
    transform: scale(1.05);
  }

  .pricing-card-hero:hover {
    transform: scale(1.08);
  }

  .pricing-card:hover {
    transform: translateY(-4px);
  }
}

/* Large desktop (1200px+) */
@media (min-width: 1200px) {
  .pricing-cards {
    gap: 2.5rem;
  }

  .pricing-card {
    padding: 2.5rem;
  }
}

/* --------------------------------------------------------
   Premium Modal
   -------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 31, 51, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: #1F3A56;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 2px solid #2ED1B2;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #9FB0C1;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #F4F7FA;
}

.modal-content h2 {
  font-size: 1.5rem;
  color: #F4F7FA;
  margin-bottom: 1rem;
  padding-right: 2rem;
  line-height: 1.3;
}

.modal-content p {
  font-size: 1rem;
  color: #9FB0C1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-actions .btn {
  width: 100%;
  min-height: 44px;
}

.btn-text {
  background: transparent;
  border: none;
  color: #9FB0C1;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}

.btn-text:hover {
  color: #F4F7FA;
}

@media (min-width: 600px) {
  .modal-content {
    padding: 2.5rem 2rem;
  }

  .modal-content h2 {
    font-size: 1.75rem;
  }
}

/* --------------------------------------------------------
   Landing Footer
   -------------------------------------------------------- */
.landing-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.landing-footer .disclaimer {
  font-size: 0.75rem;
  color: #a0aec0;
  line-height: 1.5;
}

/* --------------------------------------------------------
   Landing Nav
   -------------------------------------------------------- */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0B1F33;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.landing-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-nav-brand {
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.landing-nav-cta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.landing-nav-cta .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-width: auto;
}

@media (max-width: 480px) {
  .landing-nav-inner {
    padding: 0.6rem 1rem;
  }

  .landing-nav-brand {
    font-size: 1.1rem;
  }

  .landing-nav-cta .btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
  }
}

/* --------------------------------------------------------
   Screenshots Section
   -------------------------------------------------------- */
.screenshots {
  padding: 0.5rem 1.5rem 3rem;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .screenshots {
    padding: 1rem 1.5rem 3rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

.screenshot-item {
  text-align: center;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 0.5rem;
}

.screenshot-caption {
  font-size: 1rem;
  font-weight: 600;
  color: #1F3A56;
  line-height: 1.4;
}

/* --------------------------------------------------------
   Policy Pages (Privacy, Terms)
   -------------------------------------------------------- */
.policy-page {
  padding: 3rem 1.5rem;
}

.policy-inner {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.policy-inner h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #0B1F33;
  margin-bottom: 0.25rem;
}

.policy-date {
  font-size: 0.8rem;
  color: #a0aec0;
  margin-bottom: 1.75rem;
}

.policy-inner h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0B1F33;
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
}

.policy-inner p,
.policy-inner li {
  font-size: 0.9rem;
  color: #1F3A56;
  line-height: 1.6;
}

.policy-inner ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.policy-inner li {
  margin-bottom: 0.4rem;
}

.policy-inner a {
  color: #2ED1B2;
  text-decoration: none;
}

.policy-inner a:hover {
  text-decoration: underline;
}
