/* Landing Page Styles */
/* FightForCustody - Dark Navy, Gold Accents, Cream Text */

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --slate: #334155;
  --stone: #94a3b8;
  --cream: #f8fafc;
  --gold: #d97706;
  --gold-light: #f59e0b;
  --green: #059669;
  --green-light: #10b981;
  --red: #dc2626;
  --red-light: #ef4444;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--slate);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

/* Ensure large CTA stacks above guarantee box and centers */
.btn-large {
  display: block;
  margin: 0 auto 24px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate);
  padding: 12px 0;
}

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

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-signin {
  padding: 10px 20px;
  background: var(--navy-light);
  border-radius: 6px;
  border: 1px solid var(--slate);
}

.nav-signin:hover {
  border-color: var(--gold) !important;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s ease;
}

.nav-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--navy-light);
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  border-bottom: 1px solid var(--slate);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--cream);
  text-decoration: none;
  font-size: 16px;
  padding: 12px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.mobile-menu a:hover {
  background: var(--slate);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid var(--gold);
  border-radius: 50px;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 32px;
}

.badge-icon {
  font-size: 16px;
}

.hero-headline {
  font-size: clamp(36px, 6vw, 64px);
  max-width: 900px;
  margin: 0 auto 24px;
  color: var(--cream);
}

.hero-subheadline {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--stone);
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 14px;
  color: var(--stone);
}

/* Section Styles */
section {
  padding: 100px 0;
}

.section-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 16px;
  text-align: center;
}

.section-headline {
  font-size: clamp(32px, 4vw, 48px);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 16px;
}

.section-subheadline {
  font-size: 18px;
  color: var(--stone);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* Problem Section */
.problem {
  background: var(--navy-light);
}

.cost-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.cost-card {
  background: var(--navy);
  border: 1px solid var(--slate);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.cost-card-highlight {
  border-color: var(--red);
  background: rgba(220, 38, 38, 0.1);
}

.cost-label {
  display: block;
  font-size: 14px;
  color: var(--stone);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cost-amount {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.cost-amount-red {
  color: var(--red-light);
}

.cost-note {
  font-size: 14px;
  color: var(--stone);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-text {
  font-size: 15px;
  color: var(--stone);
}

/* Solution Section */
.comparison-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.comparison-card {
  border-radius: 20px;
  padding: 40px;
  position: relative;
}

.comparison-card-bad {
  background: var(--navy-light);
  border: 1px solid var(--slate);
  opacity: 0.7;
}

.comparison-card-good {
  background: linear-gradient(135deg, var(--navy-light) 0%, rgba(217, 119, 6, 0.1) 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 0 60px rgba(217, 119, 6, 0.15);
}

.comparison-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.comparison-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.comparison-subtitle {
  font-size: 16px;
  color: var(--stone);
  margin-bottom: 16px;
}

.comparison-price {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.comparison-price-red {
  color: var(--red-light);
}

.comparison-price-green {
  color: var(--green-light);
}

.comparison-list {
  list-style: none;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.icon-x {
  color: var(--red-light);
  font-weight: 700;
  flex-shrink: 0;
}

.icon-check {
  color: var(--green-light);
  font-weight: 700;
  flex-shrink: 0;
}

.comparison-note {
  text-align: center;
  font-size: 16px;
  color: var(--stone);
  font-style: italic;
}

/* How It Works Section */
.how-it-works {
  background: var(--navy-light);
}

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

.step {
  text-align: center;
  padding: 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 24px;
}

.step-title {
  font-size: 24px;
  margin-bottom: 16px;
}

.step-text {
  color: var(--stone);
  font-size: 16px;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--navy-light);
  border: 1px solid var(--slate);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.feature-text {
  color: var(--stone);
  font-size: 15px;
}

/* Testimonials Section */
.testimonials {
  background: var(--navy-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--navy);
  border: 1px solid var(--slate);
  border-radius: 16px;
  padding: 32px;
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--cream);
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: var(--gold);
  display: block;
  line-height: 0.5;
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  color: var(--cream);
}

.testimonial-role {
  font-size: 14px;
  color: var(--stone);
}

.testimonial-badge {
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.testimonial-badge-green {
  background: rgba(5, 150, 105, 0.2);
  color: var(--green-light);
}

.testimonial-badge-gold {
  background: rgba(217, 119, 6, 0.2);
  color: var(--gold-light);
}

/* Pricing Section */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--navy-light);
  border: 1px solid var(--slate);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border: 2px solid var(--gold);
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(217, 119, 6, 0.2);
  z-index: 1;
}

.pricing-card-lifetime {
  border: 1px solid var(--red);
  background: linear-gradient(135deg, var(--navy-light) 0%, rgba(220, 38, 38, 0.1) 100%);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

.pricing-badge-urgent {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  color: white;
}

.pricing-badge-soldout {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  text-transform: uppercase;
  font-weight: 700;
  color: white;
}

.pricing-card-sold-out {
  opacity: 0.7;
  position: relative;
}

.pricing-card-sold-out::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
  pointer-events: none;
  border-radius: 16px;
}

.pricing-card-sold-out .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #6b7280;
  border-color: #6b7280;
}

.pricing-card-sold-out .btn:disabled:hover {
  background: #6b7280;
  border-color: #6b7280;
  transform: none;
}

.pricing-name {
  font-size: 24px;
  margin-bottom: 16px;
  margin-top: 8px;
}

.pricing-price {
  margin-bottom: 8px;
}

.pricing-amount {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--gold);
}

.pricing-period {
  font-size: 16px;
  color: var(--stone);
}

.pricing-subtitle {
  font-size: 14px;
  color: var(--stone);
  margin-bottom: 32px;
}

/* Founding price styles */
.pricing-price-original {
  color: var(--stone);
  margin-bottom: 6px;
}

.pricing-founding-inline {
  margin-bottom: 6px;
  font-size: 18px;
  color: var(--stone);
}

.pricing-amount-founding {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 800;
  margin-left: 8px;
}

.pricing-period-note {
  font-size: 13px;
  color: var(--stone);
  margin-bottom: 16px;
}

.pricing-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.founding-cta {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(217,119,6,0.15);
}

.founding-cta:hover {
  transform: translateY(-2px);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 28px;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-weight: 700;
}

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

.pricing-cta {
  width: 100%;
  margin-bottom: 12px;
}

.pricing-note {
  font-size: 14px;
  color: var(--stone);
}

.pricing-note-urgent {
  color: var(--red-light);
  font-weight: 600;
}

.pricing-guarantee {
  text-align: center;
  font-size: 16px;
  color: var(--stone);
}

/* FAQ Section */
.faq {
  background: var(--navy-light);
}

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

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  font-size: 24px;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--stone);
  font-size: 16px;
  line-height: 1.7;
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  padding: 120px 0;
}

.final-cta-headline {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 24px;
}

.final-cta-subheadline {
  font-size: 20px;
  color: var(--stone);
  max-width: 700px;
  margin: 0 auto 40px;
}

.guarantee-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--navy);
  border: 1px solid var(--slate);
  border-radius: 16px;
  padding: 24px 32px;
  margin: 24px auto 0;
  text-align: left;
  max-width: 900px;
  justify-content: center;
}

.guarantee-icon {
  font-size: 48px;
}

.guarantee-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}

.guarantee-text {
  font-size: 15px;
  color: var(--stone);
}

/* Footer */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--slate);
  padding: 60px 0 40px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.footer-tagline {
  font-size: 14px;
  color: var(--stone);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--stone);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.footer-copyright {
  font-size: 14px;
  color: var(--stone);
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--slate);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .pricing-card-featured {
    transform: scale(1);
  }
  
  .comparison-cards,
  .features-grid,
  .testimonials-grid,
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .pricing-cards {
    max-width: 400px;
  }
  
  .cost-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .steps {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .nav-mobile-toggle {
    display: flex;
  }
  
  .hero {
    padding: 120px 0 80px;
  }
  
  section {
    padding: 80px 0;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .stats-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .guarantee-box {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .testimonial-author {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-badge {
    font-size: 12px;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .comparison-card,
  .feature-card,
  .testimonial-card,
  .pricing-card {
    padding: 24px;
  }
  
  .pricing-amount {
    font-size: 42px;
  }
  
  .faq-question {
    font-size: 16px;
  }
}

/* Animation for elements on scroll (optional - requires JS) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
