/* =============================================
   OutboundSeq Landing Page — Brutalist Dark Theme
   ============================================= */

:root {
  --bg: #08080C;
  --bg-2: #0F0F14;
  --bg-card: #111118;
  --fg: #E8E8E0;
  --fg-muted: #8A8A8A;
  --accent: #FF5722;
  --accent-dim: rgba(255, 87, 34, 0.12);
  --border: rgba(232, 232, 224, 0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAVBAR ---- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--fg);
}

.badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 87, 34, 0.3);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ---- HERO ---- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 80px 48px 100px;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
}

.meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---- HERO VISUAL ---- */
.hero-visual {
  position: relative;
  height: 520px;
}

/* Animated orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #FF5722 0%, transparent 70%);
  top: 20px;
  right: 20px;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #7B61FF 0%, transparent 70%);
  top: 160px;
  right: 140px;
  animation-delay: -3s;
}

.orb-3 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, #00C9A7 0%, transparent 70%);
  bottom: 60px;
  left: 20px;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  33% { transform: translateY(-20px) scale(1.05); }
  66% { transform: translateY(10px) scale(0.97); }
}

/* Card stack */
.card-stack {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.email-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  position: absolute;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.card-1 {
  bottom: 80px;
  left: 0;
  z-index: 1;
}

.card-2 {
  bottom: 44px;
  left: 20px;
  z-index: 2;
  opacity: 0.85;
}

.card-3 {
  bottom: 0;
  left: 40px;
  z-index: 3;
  border-color: rgba(255, 87, 34, 0.25);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.avatar-2 { background: #7B61FF; }
.avatar-3 { background: #00C9A7; }

.card-meta {
  display: flex;
  flex-direction: column;
}

.card-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
}

.card-time {
  font-size: 10px;
  color: var(--fg-muted);
}

.card-subject {
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 500;
}

.card-body {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reply-text {
  color: var(--fg);
}

.card-footer {
  font-size: 9px;
  color: var(--fg-muted);
  margin-top: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.6;
}

.reply-indicator {
  color: var(--accent);
  opacity: 1;
}

/* ---- PROBLEM / FIX ---- */
.problem-fix {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px;
}

.problem-fix-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.problem-side, .fix-side {
  padding: 0 48px;
}

.problem-fix-inner > .divider-line {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  min-height: 200px;
}

.side-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.problem-label { color: #666; }
.fix-label { color: var(--accent); }

.side h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 28px;
}

.problem-list, .fix-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-list li, .fix-list li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 1px;
  background: #666;
}

.fix-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 1px;
  background: var(--accent);
}

.fix-list li {
  color: var(--fg);
}

/* ---- FEATURES ---- */
.features {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 64px;
  max-width: 640px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}

.feature-item {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.feature-icon {
  margin-bottom: 16px;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---- PROCESS ---- */
.process {
  background: var(--bg-2);
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process .section-heading {
  max-width: 520px;
}

.process-steps {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  flex: 1;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: rgba(255, 87, 34, 0.15);
  line-height: 1;
  margin-bottom: 20px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

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

.step-connector {
  width: 80px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 24px;
  margin-top: -40px;
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 100px 48px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.manifesto-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 24px;
}

.manifesto-body strong {
  color: var(--fg);
  font-weight: 600;
}

/* ---- CLOSING ---- */
.closing {
  padding: 100px 48px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing > p {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ---- DEMO FORM ---- */
.demo-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.demo-form input,
.demo-form select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.demo-form input::placeholder {
  color: var(--fg-muted);
}

.demo-form input:focus,
.demo-form select:focus {
  border-color: var(--accent);
}

.demo-form select {
  appearance: none;
  cursor: pointer;
}

.demo-form select option {
  background: var(--bg-card);
  color: var(--fg);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
  width: 100%;
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-primary:active {
  opacity: 0.75;
}

.form-note {
  font-size: 12px;
  color: var(--fg-muted);
  text-align: center;
  margin-top: -8px;
}

.form-success {
  padding: 14px 20px;
  background: rgba(0, 200, 100, 0.1);
  border: 1px solid rgba(0, 200, 100, 0.3);
  border-radius: 4px;
  color: #00c864;
  font-size: 14px;
  text-align: center;
  margin-top: 4px;
}

.form-error {
  padding: 14px 20px;
  background: rgba(255, 87, 34, 0.1);
  border: 1px solid rgba(255, 87, 34, 0.3);
  border-radius: 4px;
  color: var(--accent);
  font-size: 14px;
  text-align: center;
  margin-top: 4px;
}

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--fg);
}

.footer-tagline {
  font-size: 12px;
  color: var(--fg-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 32px 80px;
    min-height: auto;
    gap: 48px;
  }

  .hero-visual {
    height: 360px;
    order: -1;
  }

  .hero-content {
    max-width: 100%;
  }

  .problem-fix {
    padding: 60px 32px;
  }

  .problem-fix-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .problem-fix-inner > .divider-line {
    display: none;
  }

  .problem-side, .fix-side {
    padding: 0;
  }

  .features {
    padding: 60px 32px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
  }

  .process {
    padding: 60px 32px;
  }

  .process-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .step {
    width: 100%;
  }

  .step-connector {
    width: 40px;
    height: 40px;
    margin: 12px 0 12px 16px;
    border-left: 1px solid var(--border);
    border-bottom: none;
    background: none;
  }

  .manifesto {
    padding: 60px 32px;
  }

  .closing {
    padding: 60px 32px;
  }

  .navbar {
    padding: 20px 32px;
  }

  footer {
    padding: 24px 32px;
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-headline {
    font-size: 48px;
  }

  .email-card {
    max-width: 100%;
    right: 0;
  }

  .card-2 { left: 8px; }
  .card-3 { left: 16px; }

  .form-row {
    grid-template-columns: 1fr;
  }
}