/* ============================================
   Studio — Design System (matches app identity)
   Dark navy aesthetic with violet/coral accents.
   ============================================ */

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

:root {
  /* Colors */
  --color-bg: #1A1A2E;
  --color-surface: #252542;
  --color-text: #F5F5F7;
  --color-text-secondary: #6B6B80;
  --color-text-tertiary: #8E8E93;
  --color-text-muted: #A0A0B8;
  --color-accent: #7C5CFC;
  --color-accent-hover: #6B4AEB;
  --color-coral: #FF6B6B;
  --color-amber: #FBBF24;
  --color-border: #3E3E5A;
  --color-success-bg: rgba(34, 197, 94, 0.1);
  --color-success-text: #4ade80;
  --color-error: #ef4444;

  /* Typography */
  --font: 'Poppins', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08);

  /* Layout */
  --max-width: 1280px;
  --content-width: 768px;
  --section-spacing: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* -- Layout -- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-spacing) 0;
  position: relative;
}

/* ============================================
   Header
   ============================================ */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.3s;
}

.wordmark img {
  height: 28px;
  width: auto;
  filter: invert(1);
}

.wordmark:hover {
  opacity: 0.7;
}

.header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header-nav a {
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
}

.header-nav a:hover {
  color: var(--color-text);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text);
}

.menu-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-coral));
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: opacity 0.3s, transform 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover {
  opacity: 0.9;
  transform: none;
  box-shadow: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.btn-sm {
  padding: 10px 24px;
  font-size: 13px;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
  opacity: 1;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 180px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Ambient violet glow */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 30%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(124, 92, 252, 0.1);
  filter: blur(120px);
  pointer-events: none;
}

/* Ambient coral glow */
.hero::after {
  content: '';
  position: absolute;
  top: 30%;
  right: 20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.08);
  filter: blur(120px);
  pointer-events: none;
}

.hero h1 {
  font-family: var(--font);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero .subtitle {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
  font-weight: 400;
}

/* ============================================
   Eyebrow label
   ============================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

/* ============================================
   Gradient text utility
   ============================================ */
.gradient-text {
  background: linear-gradient(135deg, var(--color-accent), var(--color-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Waitlist Form
   ============================================ */
.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto 16px;
}

.waitlist-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-family: var(--font);
  background: var(--color-surface);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.3s;
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(124, 92, 252, 0.2);
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--color-text-muted);
}

.form-note {
  font-size: 13px;
  color: var(--color-text-tertiary);
  text-align: center;
}

.form-error {
  color: var(--color-error);
  font-size: 13px;
  text-align: center;
  margin-top: 8px;
  display: none;
}

/* ============================================
   Success state
   ============================================ */
.success-message {
  display: none;
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
}

.success-message.visible {
  display: block;
}

.success-badge {
  display: inline-block;
  background: var(--color-success-bg);
  color: var(--color-success-text);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.success-message h2 {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.success-message p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-align: center;
  line-height: 1.15;
}

.section-subheader {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 64px;
  line-height: 1.7;
  font-weight: 400;
}

/* ============================================
   Value Props
   ============================================ */
.value-props {
  background: var(--color-bg);
}

.prop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.prop {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: border-color 0.3s;
}

.prop:hover {
  border-color: rgba(124, 92, 252, 0.3);
}

.prop-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: var(--radius-md);
}

.prop-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.prop h3 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.prop p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================
   Steps / How It Works
   ============================================ */
.steps {
  background: var(--color-bg);
}

.steps-list {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* Connecting line */
.steps-list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--color-border), transparent);
}

.step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  align-items: flex-start;
  position: relative;
}

.step:last-child { margin-bottom: 0; }

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  position: relative;
  z-index: 1;
}

.step-content {
  padding-top: 4px;
}

.step-content h3 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-content p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================
   Comparison Table
   ============================================ */
.comparison {
  background: var(--color-bg);
}

.comparison-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table thead {
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  padding: 16px 24px;
  text-align: left;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-tertiary);
}

.comparison-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-weight: 400;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 500;
  width: 28%;
  color: var(--color-text);
  font-size: 13px;
}

.comparison-table .before {
  color: var(--color-text-tertiary);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.15);
}

.comparison-table td:last-child:not(.before) {
  color: var(--color-accent);
  font-weight: 500;
}

/* ============================================
   Founding Card
   ============================================ */
.founding {
  position: relative;
}

.founding-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}

.founding-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-coral), var(--color-amber));
}

.founding-card .badge {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.founding-card h2 {
  font-family: var(--font);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.founding-card ul {
  list-style: none;
  margin-bottom: 36px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.founding-card li {
  color: var(--color-text-muted);
  font-size: 14px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.founding-card li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-coral));
  border-radius: 50%;
}

/* ============================================
   Final CTA
   ============================================ */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Ambient glow */
.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(124, 92, 252, 0.06);
  filter: blur(120px);
  pointer-events: none;
}

.final-cta h2 {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
  line-height: 1.15;
}

.final-cta > .container > p {
  color: var(--color-text-muted);
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 0;
  text-align: center;
}

footer p {
  font-size: 14px;
  color: var(--color-text-tertiary);
}

footer .wordmark {
  color: var(--color-text-muted);
}

footer .wordmark img {
  height: 20px;
}

.footer-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 32px;
}

.footer-links a {
  font-size: 13px;
  color: var(--color-text-tertiary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-social {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-social a {
  color: var(--color-text-tertiary);
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

.footer-social a:hover {
  color: var(--color-text);
  border-color: var(--color-text-tertiary);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ============================================
   Pain Point List
   ============================================ */
.pain-points {
  list-style: none;
  max-width: 560px;
  margin: 0 auto 48px;
}

.pain-points li {
  padding: 14px 0;
  font-size: 14px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.6;
}

.pain-points li:last-child {
  border-bottom: none;
}

.pain-points .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-coral);
}

/* ============================================
   Stat Row
   ============================================ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 64px 0;
  text-align: center;
}

.stat h3 {
  font-family: var(--font);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-accent), var(--color-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat p {
  font-size: 12px;
  color: var(--color-text-tertiary);
  margin-top: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================
   Urgency Bar
   ============================================ */
.urgency-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-align: center;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.urgency-bar strong {
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================
   Benefit List (founding-artist page)
   ============================================ */
.benefit-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.benefit-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.benefit-list li:last-child {
  border-bottom: none;
}

.benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}

.benefit-text h3 {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   Feature Grid
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(124, 92, 252, 0.3);
}

.feature-card h3 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--color-bg);
}

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

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   Decorative Elements
   ============================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  max-width: 400px;
  margin: 0 auto;
}

.dot-grid { display: none; }
.hero-decoration { display: none; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-spacing: 80px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 72px;
  }

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

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

  .stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero {
    padding: 160px 0 96px;
    min-height: auto;
  }

  .steps-list::before {
    left: 15px;
  }
}

@media (max-width: 640px) {
  .header-nav a:not(.btn-sm) {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 140px 0 72px;
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 44px);
  }

  .waitlist-form {
    flex-direction: column;
    gap: 12px;
  }

  .waitlist-form .btn {
    width: 100%;
  }

  .founding-card {
    padding: 40px 24px;
  }

  .comparison-table {
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 14px 16px;
  }

  .section-header {
    font-size: clamp(24px, 6vw, 36px);
  }

  .feature-card {
    padding: 28px 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .step {
    gap: 16px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .steps-list::before {
    left: 13px;
  }

  .benefit-icon {
    width: 36px;
    height: 36px;
  }
}
