/* ================================
   LANDING PAGE STYLES
   ================================ */

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
[data-theme="dark"] .navbar.scrolled {
  background: rgba(10,22,40,0.95);
}
.nav-container {
  max-width: var(--content-max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
}
.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--sky);
}
.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--muted);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-menu-btn {
  display: none;
  padding: 8px;
  color: var(--text-primary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 2000;
  display: none;
  flex-direction: column;
  padding: 20px var(--section-pad-x);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.mobile-menu-close {
  padding: 8px;
  color: var(--text-primary);
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-link {
  padding: 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--light-blue) 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,58,138,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 24px;
  padding: 8px 16px;
  background: var(--light-blue);
  border-radius: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-primary);
}
.hero-title-line {
  display: block;
  overflow: hidden;
}
.hero-subtitle {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--muted);
  max-width: 480px;
  margin-top: 28px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}
.avatar-stack {
  display: flex;
}
.avatar-stack img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -10px;
  object-fit: cover;
}
.avatar-stack img:first-child {
  margin-left: 0;
}
.hero-social-text {
  font-size: 14px;
  color: var(--muted);
}
.hero-stars {
  display: inline-flex;
  gap: 2px;
  vertical-align: middle;
  margin-right: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-model-img {
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(10,22,40,0.15);
  max-height: 70vh;
  object-fit: cover;
  width: 100%;
}
.floating-card {
  position: absolute;
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(10,22,40,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  animation: float 3s ease-in-out infinite;
}
.floating-card.card-1 {
  top: 10%;
  left: -20px;
}
.floating-card.card-2 {
  bottom: 15%;
  right: -10px;
  animation-delay: 1.5s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Features Section */
.features {
  background: var(--bg-primary);
}
.features-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.features-desc {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--muted);
  margin-top: 16px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 40px 32px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--sky);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* Pricing Section */
/* Stats Section */
.stats {
  background: var(--sky);
}
.stats-header {
  text-align: center;
  margin-bottom: 80px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
}

/* How It Works */
.hiw-header {
  text-align: center;
  margin-bottom: 64px;
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 80px;
}
.hiw-step {
  text-align: center;
  position: relative;
}
.hiw-number {
  width: 80px;
  height: 80px;
  border: 2px solid var(--sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--sky);
  margin: 0 auto;
  background: var(--bg-primary);
}
.hiw-connector {
  position: absolute;
  top: 40px;
  right: -50%;
  width: 100%;
  height: 0;
  border-top: 2px dashed var(--border-color);
}
.hiw-step:last-child .hiw-connector {
  display: none;
}
.hiw-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 28px;
}
.hiw-desc {
  font-size: 15px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
.hiw-dashboard {
  display: flex;
  justify-content: center;
}
.hiw-dashboard-img {
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(10,22,40,0.12);
  max-width: 100%;
}

/* Testimonials */
.testimonials {
  background: var(--bg-primary);
}
.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 36px 32px;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
}
.testimonial-quote {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
  margin-top: 20px;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.testimonial-role {
  font-size: 13px;
  color: var(--muted);
}

/* FAQ Section */
.faq {
  background: var(--bg-secondary);
}
.faq-header {
  text-align: center;
  margin-bottom: 64px;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-primary);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: left;
}
.faq-question:hover {
  background: var(--bg-tertiary);
}
.faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--muted);
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}
.faq-answer p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: var(--sky);
  text-align: center;
}
.cta-content {
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-size: var(--section-title);
  font-weight: 700;
  color: #fff;
}
.cta-subtitle {
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255,255,255,0.7);
  margin-top: 20px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.footer-social a {
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-social a:hover {
  color: var(--text-primary);
}
.footer-column-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 4px;
}
.footer-links a {
  font-size: 14px;
  line-height: 2.2;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--text-primary);
}
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-legal a:hover {
  color: var(--text-primary);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }
  .nav-actions .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-social-proof {
    justify-content: center;
  }
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .hiw-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 60px;
  }
  .hiw-connector {
    display: none !important;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .floating-card {
    display: none;
  }
  .hero-title {
    font-size: 36px;
  }
  .cta-title {
    font-size: 28px;
  }
}
