/* ============================================
   Last Line — Landing Page Styles
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: #fff;
  text-decoration: none;
}

/* ============================================
   Fade-in Animation
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.hero__logo {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hero__tagline {
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  max-width: 400px;
  margin-bottom: 3rem;
  line-height: 1.5;
}

.hero__badge {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.hero__badge:hover {
  opacity: 0.8;
}

.hero__badge img {
  height: 54px;
  width: auto;
}

/* ============================================
   Famous Last Words Section
   ============================================ */
.last-words {
  padding: 6rem 1.5rem;
  text-align: center;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.last-words__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 3rem;
}

.last-words__container {
  position: relative;
  max-width: 640px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.last-words__quote {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease;
  width: 100%;
}

.last-words__quote.active {
  opacity: 1;
}

.last-words__text {
  font-size: 1.75rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.last-words__author {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: 6rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.feature-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.feature-card__desc {
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
  padding: 6rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pricing__title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 3rem;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pricing-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
}

.pricing-card--pro {
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.5rem;
}

.pricing-card__features {
  list-style: none;
}

.pricing-card__features li {
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.35rem 0;
}

.pricing-card__features li::before {
  content: '—';
  margin-right: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 4rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__links {
  margin-bottom: 1.5rem;
}

.footer__links a {
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer__sep {
  margin: 0 1rem;
  color: rgba(255, 255, 255, 0.15);
}

.footer__copy {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Responsive — Tablet+
   ============================================ */
@media (min-width: 640px) {
  .hero__logo {
    font-size: 6rem;
  }

  .hero__tagline {
    font-size: 1.25rem;
  }

  .last-words__text {
    font-size: 2.25rem;
  }

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero__logo {
    font-size: 8rem;
  }

  .hero__tagline {
    font-size: 1.375rem;
    max-width: 480px;
  }
}

/* ============================================
   Shared page styles (Privacy, Terms)
   ============================================ */
.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.page__back {
  display: inline-block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 3rem;
  transition: color 0.3s ease;
}

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

.page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.page__date {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 3rem;
}

.page h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.page p, .page li {
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.page ul {
  list-style: none;
  padding-left: 0;
}

.page ul li::before {
  content: '—';
  margin-right: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

.page a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page a:hover {
  color: #fff;
}
