/* ==============================
   POSTSTACK — Theme Stylesheet
   ============================== */

:root {
  --bg: #0F0E17;
  --bg-light: #1A1A2E;
  --surface: #232136;
  --accent: #E8623A;
  --accent-2: #2A8B7A;
  --accent-3: #8B5CF6;
  --yellow: #F4C842;
  --pink: #FF6B9D;
  --text: #F5F0EB;
  --text-muted: #A09CB8;
  --border: #2D2B45;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(15, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(232, 98, 58, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(139, 92, 246, 0.10) 0%, transparent 70%);
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(232, 98, 58, 0.35);
  border-radius: 100px;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.visual-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.card-1::before { background: var(--accent); }
.card-2::before { background: var(--accent-2); }
.card-3::before { background: var(--yellow); }
.card-4::before { background: var(--pink); }

.card-1 { grid-column: 1 / -1; }

.card-text {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  margin-top: 0.5rem;
}

.card-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* WHAT */
.what {
  padding: 6rem 2rem;
  background: var(--bg-light);
}

.what-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.what-mark {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.what-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.what-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* FEATURES */
.features {
  padding: 6rem 2rem;
  background: var(--bg);
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}

.feat-icon {
  margin-bottom: 1.25rem;
}

.feat-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.feat-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* PRICING */
.pricing {
  padding: 6rem 2rem;
  background: var(--bg-light);
}

.pricing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.pricing-mark {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.pricing-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem;
  position: relative;
}

.plan--featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, #1E1B2E 0%, #241F35 100%);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.plan-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.5rem;
  position: relative;
}

.plan-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* CLOSING */
.closing {
  padding: 6rem 2rem;
  background: var(--bg);
  background-image: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(232, 98, 58, 0.07) 0%, transparent 70%);
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.closing-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.closing-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 120px;
}

.closing-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

.closing-statement {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.65;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto;
  font-style: italic;
}

/* FOOTER */
.footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.footer-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .closing-stat-row {
    gap: 1.5rem;
  }

  .closing-divider {
    display: none;
  }

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

@media (max-width: 480px) {
  .hero-visual {
    grid-template-columns: 1fr;
  }

  .card-1 {
    grid-column: auto;
  }
}