/* ===========================
   LAUNCHSTACK — THEME CSS
   =========================== */

/* Custom Properties */
:root {
  --cream: #FAF7F2;
  --cream-mid: #F0EBE3;
  --slate: #0A1628;
  --slate-mid: #111D33;
  --amber: #F59E0B;
  --amber-light: #FBBF24;
  --amber-dark: #D97706;
  --text-dark: #0A1628;
  --text-mid: #374151;
  --text-light: #6B7280;
  --text-on-dark: #F9FAFB;
  --text-on-dark-mid: #D1D5DB;
}

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

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

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

/* Typography Scale */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.1;
  font-weight: 700;
}

/* Section Label */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

/* ===========================
   HERO
   =========================== */
.hero {
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cream-mid), transparent);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.4rem 0.875rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
}

.hero-headline {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  color: var(--slate);
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  line-height: 1.0;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-mid);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--amber);
  color: var(--slate);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
}

.cta-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  color: var(--text-mid);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid rgba(10,22,40,0.15);
  border-radius: 8px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cta-secondary:hover {
  border-color: var(--amber);
  color: var(--slate);
}

/* Visual: CSS Stack */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}

.stack-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stack-block {
  position: absolute;
  border-radius: 8px;
  border: 2px solid var(--amber);
  background: rgba(245, 158, 11, 0.05);
  animation: float 4s ease-in-out infinite;
}

.stack-block-1 {
  width: 200px;
  height: 56px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  animation-delay: 0s;
  border-left: 4px solid var(--amber);
}

.stack-block-2 {
  width: 172px;
  height: 56px;
  top: calc(50% - 70px);
  left: 50%;
  transform: translate(-50%, 0) rotate(3deg);
  animation-delay: 0.5s;
  border-left: 4px solid var(--amber-dark);
}

.stack-block-3 {
  width: 148px;
  height: 56px;
  top: calc(50% + 70px);
  left: 50%;
  transform: translate(-50%, 0) rotate(-2deg);
  animation-delay: 1s;
  border-left: 4px solid var(--amber-light);
}

.stack-block-4 {
  width: 124px;
  height: 56px;
  top: calc(50% - 140px);
  left: 50%;
  transform: translate(-50%, 0) rotate(1.5deg);
  animation-delay: 1.5s;
  border-left: 4px solid rgba(245,158,11,0.4);
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--rot, 0deg)); }
}

/* ===========================
   PROBLEM
   =========================== */
.problem {
  background: var(--slate);
  padding: 8rem 2rem;
}

.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.problem .section-label {
  color: var(--amber-light);
}

.problem-headline {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--text-on-dark);
  margin-bottom: 4rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

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

.problem-card {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s ease;
}

.problem-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.problem-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.problem-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  color: var(--text-on-dark);
  margin-bottom: 0.875rem;
  font-weight: 600;
}

.problem-card p {
  font-size: 0.9375rem;
  color: var(--text-on-dark-mid);
  line-height: 1.7;
}

.problem-statement {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 3rem;
  text-align: center;
}

.problem-statement p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--text-on-dark-mid);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===========================
   SOLUTION
   =========================== */
.solution {
  background: var(--cream);
  padding: 8rem 2rem;
}

.solution-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.solution-headline {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--slate);
  margin-bottom: 3rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.solution-pitch {
  max-width: 700px;
  margin-bottom: 4rem;
}

.solution-pitch p {
  font-size: 1.125rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.solution-pitch strong {
  color: var(--slate);
  font-weight: 600;
}

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

.principle {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.principle-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.principle-content h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.125rem;
  color: var(--slate);
  margin-bottom: 0.625rem;
  font-weight: 600;
}

.principle-content p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===========================
   MANIFESTO
   =========================== */
.manifesto {
  background: var(--cream-mid);
  padding: 8rem 2rem;
  border-top: 1px solid rgba(10,22,40,0.06);
}

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.manifesto-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 1rem;
}

.manifesto-headline {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--slate);
  margin-bottom: 2.5rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.manifesto-body {
  max-width: 680px;
  margin-bottom: 5rem;
}

.manifesto-body p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(10,22,40,0.1);
  padding-top: 3rem;
}

.stat {
  text-align: left;
}

.stat-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--slate);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===========================
   PRICING
   =========================== */
.pricing {
  background: var(--cream);
  padding: 8rem 2rem;
  text-align: center;
}

.pricing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.pricing-headline {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--slate);
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.pricing-sub {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 3.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--slate);
  border-radius: 16px;
  padding: 3rem;
  position: relative;
  text-align: left;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--slate);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.375rem 1.25rem;
  border-radius: 2rem;
}

.pricing-plan-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.price-amount {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1;
}

.price-period {
  font-size: 1.125rem;
  color: var(--text-on-dark-mid);
}

.pricing-description {
  font-size: 0.9375rem;
  color: var(--text-on-dark-mid);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-on-dark-mid);
  line-height: 1.6;
}

.feature-check {
  color: var(--amber);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pricing-cta {
  display: block;
  text-align: center;
  font-size: 1rem;
  padding: 1rem 2rem;
  width: 100%;
  border-radius: 10px;
}

.pricing-note {
  font-size: 0.75rem;
  color: rgba(209,213,219,0.5);
  text-align: center;
  margin-top: 1rem;
}

/* ===========================
   CLOSING
   =========================== */
.closing {
  background: var(--slate);
  padding: 8rem 2rem;
}

.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.closing-headline {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  color: var(--text-on-dark);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.closing-body {
  font-size: 1.0625rem;
  color: var(--text-on-dark-mid);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 3.5rem;
}

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

.closing-value {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--text-on-dark-mid);
  line-height: 1.7;
  background: rgba(255,255,255,0.03);
}

.closing-value strong {
  display: block;
  color: var(--amber-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

/* ===========================
   SUBSCRIBE FORM
   =========================== */
.subscribe-section {
  background: var(--slate);
  padding: 7rem 2rem;
  text-align: center;
}

.subscribe-inner {
  max-width: 620px;
  margin: 0 auto;
}

.subscribe-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-light);
  background: rgba(255, 200, 87, 0.1);
  border: 1px solid rgba(255, 200, 87, 0.2);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.subscribe-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.subscribe-sub {
  font-size: 1rem;
  color: var(--text-on-dark-mid);
  line-height: 1.75;
  margin-bottom: 2.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.subscribe-fields {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 520px;
  flex-wrap: wrap;
}

.subscribe-input {
  flex: 1;
  min-width: 160px;
  padding: 0.8rem 1.125rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--text-on-dark);
  font-size: 0.9375rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
}

.subscribe-input::placeholder {
  color: var(--text-on-dark-mid);
}

.subscribe-input:focus {
  outline: none;
  border-color: rgba(255, 200, 87, 0.6);
  background: rgba(255,255,255,0.09);
}

.subscribe-cta {
  padding: 0.8rem 1.75rem;
  background: var(--amber);
  color: var(--slate);
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

.subscribe-cta:hover:not(:disabled) {
  background: #e8b82a;
  transform: translateY(-1px);
}

.subscribe-cta:active:not(:disabled) {
  transform: translateY(0);
}

.subscribe-cta:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.subscribe-error {
  color: #f87171;
  font-size: 0.875rem;
  min-height: 1.2em;
}

.subscribe-success {
  color: #86efac;
  font-size: 0.9375rem;
  font-weight: 500;
  min-height: 1.2em;
}

.subscribe-note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-on-dark-mid);
  opacity: 0.6;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--cream);
  padding: 4rem 2rem;
  border-top: 1px solid rgba(10,22,40,0.08);
}

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

.footer-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual { display: none; }
  .problem-grid,
  .principles,
  .stat-row,
  .closing-values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero { padding: 5rem 1.5rem; }
  .problem, .solution, .manifesto, .closing, .subscribe-section { padding: 5rem 1.5rem; }
  .problem-card, .principle, .closing-value { padding: 1.5rem; }
  .subscribe-fields { flex-direction: column; }
  .subscribe-input, .subscribe-cta { width: 100%; }
  .footer-inner { flex-direction: column; gap: 2rem; align-items: flex-start; }
}