/* ==========================================
   Nag Landing Page — Dark Theme
   ========================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  background: #0A0A0A;
  color: #E5E5E5;
  font-size: 1.125rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
}

.animate-on-scroll.visible {
  animation: fadeInUp 0.6s ease-out both;
}

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #222222;
  height: 64px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #E5E5E5;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #888888;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #E5E5E5;
}

.nav-cta-mobile {
  display: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.875rem 2rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: #3B82F6;
  color: #fff;
}

.btn-primary:hover {
  background: #2563EB;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #3B82F6;
  color: #3B82F6;
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.1);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-wide {
  width: 100%;
  max-width: 320px;
}

/* --- Hero --- */
.hero {
  padding: 8rem 0 6rem;
  text-align: center;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: #fff;
}

.hero-sub {
  font-size: 1.25rem;
  color: #888888;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

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

.screenshot-placeholder {
  aspect-ratio: 16 / 10;
  background: #141414;
  border: 1px solid #222222;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.screenshot-placeholder span {
  color: #555;
  font-size: 0.9375rem;
}

/* --- Problem --- */
.problem {
  padding: 6rem 0;
}

.section-heading {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 3rem;
  color: #fff;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.problem-card {
  background: #141414;
  border: 1px solid #222222;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.problem-text {
  color: #E5E5E5;
  font-size: 1.0625rem;
  font-style: italic;
}

.problem-transition {
  text-align: center;
  font-size: 1.375rem;
  font-weight: 600;
  color: #3B82F6;
}

/* --- Features --- */
.features {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #E5E5E5;
}

.feature-desc {
  color: #888888;
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Pricing --- */
.pricing {
  padding: 6rem 0;
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: #141414;
  border: 1px solid #222222;
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
}

.pricing-amount {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-label {
  color: #888888;
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}

.pricing-trial {
  color: #3B82F6;
  font-weight: 600;
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.pricing-features {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: #E5E5E5;
  font-size: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #3B82F6;
  font-weight: 700;
}

/* --- FAQ --- */
.faq {
  padding: 6rem 0;
}

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

.faq-item {
  border-bottom: 1px solid #222222;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: #E5E5E5;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-question:hover {
  color: #fff;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
  padding-bottom: 1.5rem;
  color: #888888;
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Footer --- */
.footer {
  padding: 4rem 0;
  border-top: 1px solid #222222;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: #E5E5E5;
}

.footer-tagline {
  color: #555;
  font-size: 0.875rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-link {
  color: #888888;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #E5E5E5;
}

.footer-copy {
  color: #555;
  font-size: 0.875rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-sub {
    font-size: 1.0625rem;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-heading {
    font-size: 1.75rem;
  }

  .nav-links {
    display: none;
  }

  .nav-cta-mobile {
    display: inline-flex;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .pricing-card {
    padding: 2rem;
  }

  .pricing-amount {
    font-size: 3rem;
  }
}
