/* ============================================================
   MaLuce — shared landing/site styles
   Extracted from index.html (embedded <style>) so pages can
   share a single source of truth. index.html still uses its
   own inline copy for now; migrate it to this file separately.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --midnight: #0F1F3D;
  --midnight-light: #1E3A5F;
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark: #8B6914;
  --gold-pale: rgba(201,168,76,0.12);
  --off-white: #F7F8FA;
  --muted: #E8EDF4;
  --text-primary: #0F1F3D;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px rgba(15,31,61,0.15);
  --shadow-lg: 0 40px 100px rgba(15,31,61,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--midnight);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15,31,61,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--gold); }

.nav-badge {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 5px 12px;
  border-radius: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.nav-links a:hover { color: var(--white); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 140px 80px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30,58,95,0.6) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
}

.email-form {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.email-form:focus-within {
  border-color: rgba(201,168,76,0.5);
}

.email-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--white);
}
.email-form input::placeholder { color: rgba(255,255,255,0.3); }

.email-form button {
  background: var(--gold);
  border: none;
  cursor: pointer;
  padding: 16px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--midnight);
  white-space: nowrap;
  transition: background 0.2s;
}
.email-form button:hover { background: var(--gold-light); }

.hero-note {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3px;
}

/* ── PHONE MOCK ── */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 280px;
  background: #0A1628;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.1);
  padding: 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201,168,76,0.1);
  position: relative;
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: #0A1628;
  border-radius: 12px;
  margin: 0 auto 12px;
  border: 2px solid rgba(255,255,255,0.08);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 14px;
}

.phone-avatar {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--gold), #8B6914);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--midnight);
  flex-shrink: 0;
}

.phone-contact-info { flex: 1; }
.phone-contact-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.phone-contact-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
}

.phone-status {
  width: 8px; height: 8px;
  background: #48BB78;
  border-radius: 50%;
}

.phone-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 300px;
}

.msg {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  animation: fadeSlideIn 0.4s ease forwards;
}

.msg-in {
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border-bottom-left-radius: 4px;
}

.msg-out {
  align-self: flex-end;
  background: var(--gold);
  color: var(--midnight);
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

.msg-time {
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  text-align: center;
  margin: 4px 0;
}

.msg-agent {
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  margin-top: 3px;
  padding: 0 2px;
}

.msg:nth-child(1) { animation-delay: 0.8s; }
.msg:nth-child(2) { animation-delay: 1.8s; }
.msg:nth-child(3) { animation-delay: 2.6s; }
.msg:nth-child(4) { animation-delay: 3.4s; }
.msg:nth-child(5) { animation-delay: 4.2s; }
.msg:nth-child(6) { animation-delay: 5.0s; }
.msg:nth-child(7) { animation-delay: 5.8s; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.phone-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 12px;
}
.phone-input-field {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-family: 'Inter', sans-serif;
}
.phone-send-btn {
  width: 28px; height: 28px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phone-send-btn svg { width: 12px; height: 12px; fill: var(--midnight); }

/* Floating inbox card */
.inbox-card {
  position: absolute;
  left: -90px;
  top: 60px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 16px;
  width: 200px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.inbox-card-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.inbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--muted);
}
.inbox-row:last-child { border-bottom: none; }

.inbox-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.inbox-text {
  font-size: 11px;
  color: var(--text-primary);
  font-weight: 500;
  flex: 1;
}

.inbox-count {
  font-size: 10px;
  font-weight: 700;
  background: #EBF4FF;
  color: #2B6CB0;
  padding: 1px 6px;
  border-radius: 10px;
}

/* Stats card */
.stats-card {
  position: absolute;
  right: -70px;
  bottom: 80px;
  background: var(--midnight-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 16px;
  width: 160px;
  animation: floatCard 6s ease-in-out infinite 3s;
}

.stats-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.stats-number {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 2px;
}

.stats-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

/* ── SOCIAL PROOF STRIP ── */
.proof-strip {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px 80px;
  display: flex;
  align-items: center;
  gap: 48px;
  overflow: hidden;
}

.proof-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.proof-items {
  display: flex;
  gap: 48px;
  flex: 1;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.proof-icon {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.proof-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}

/* ── FEATURES ── */
.features {
  background: var(--off-white);
  padding: 100px 80px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--muted);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,31,61,0.1);
  border-color: rgba(201,168,76,0.3);
}

.feature-icon {
  width: 48px; height: 48px;
  background: var(--midnight);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 22px; height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── SCREENSHOT MOCKS ── */
.screenshots {
  background: var(--midnight);
  padding: 100px 80px;
  overflow: hidden;
}

.screenshots .section-title { color: var(--white); }
.screenshots .section-sub { color: rgba(255,255,255,0.72); }

.screenshot-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 8px 20px;
  border-radius: 7px;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active {
  background: var(--midnight-light);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Browser chrome mock */
.browser-mock {
  background: #1A2F50;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #142440;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #FF5F56; }
.browser-dot:nth-child(2) { background: #FFBD2E; }
.browser-dot:nth-child(3) { background: #27C93F; }

.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

/* App UI mock — Inbox View */
.app-ui {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  height: 480px;
}

/* Sidebar */
.app-sidebar {
  background: #0F1F3D;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}

.app-logo-mark {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  padding: 0 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}
.app-logo-mark span { color: var(--gold); }

.app-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  cursor: default;
}
.app-nav-item.active {
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  border-right: 2px solid var(--gold);
}
.app-nav-icon {
  width: 14px; height: 14px;
  opacity: 0.7;
}

.app-inbox-header {
  padding: 10px 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-top: 8px;
}

.app-inbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  cursor: default;
}
.app-inbox-item.active-inbox {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.8);
}
.inbox-indicator {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.app-inbox-badge {
  margin-left: auto;
  background: var(--gold);
  color: var(--midnight);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 8px;
}

/* Thread list */
.thread-list {
  background: #142440;
  border-right: 1px solid rgba(255,255,255,0.06);
  overflow-y: auto;
}

.thread-list-header {
  padding: 16px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.thread-list-title {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.thread-count {
  font-size: 10px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  padding: 2px 7px;
  border-radius: 10px;
}

.thread-item {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: default;
  transition: background 0.1s;
}
.thread-item.active { background: rgba(201,168,76,0.08); }
.thread-item:hover { background: rgba(255,255,255,0.03); }

.thread-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.thread-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
}
.thread-time {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
}
.thread-preview {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thread-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
}
.thread-agent-tag {
  font-size: 9px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.3);
  padding: 1px 6px;
  border-radius: 4px;
}
.thread-unread {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: auto;
}

/* Conversation pane */
.convo-pane {
  display: flex;
  flex-direction: column;
  background: #1A2F50;
}

.convo-header {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 12px;
}
.convo-avatar {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #4A7FA5, #2B6CB0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
}
.convo-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.convo-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}
.convo-status-badge {
  margin-left: auto;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(72,187,120,0.15);
  color: #68D391;
  border: 1px solid rgba(72,187,120,0.2);
}

.convo-messages {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.convo-msg {
  max-width: 72%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
}
.convo-msg-in {
  align-self: flex-start;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.85);
  border-bottom-left-radius: 3px;
}
.convo-msg-out {
  align-self: flex-end;
  background: var(--gold);
  color: var(--midnight);
  font-weight: 500;
  border-bottom-right-radius: 3px;
}
.convo-msg-agent {
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  align-self: flex-end;
  margin-top: -6px;
}

.convo-input {
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}
.convo-input-field {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
}
.convo-send {
  background: var(--gold);
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: default;
  font-size: 12px;
  font-weight: 600;
  color: var(--midnight);
}

/* Detail panel */
.detail-panel {
  background: #0F1F3D;
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 10px;
}

.detail-contact-card {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}
.detail-contact-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}
.detail-contact-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}
.detail-tag {
  display: inline-block;
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  margin-right: 4px;
}

.detail-assign {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}
.detail-assign-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.detail-assign-row:last-child { margin-bottom: 0; }
.detail-assign-val {
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

/* ── HOW IT WORKS ── */
.how-it-works {
  background: var(--off-white);
  padding: 100px 80px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: linear-gradient(to right, var(--gold), var(--gold));
  opacity: 0.3;
}

.step {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.step-number {
  width: 56px; height: 56px;
  background: var(--midnight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  border: 3px solid var(--off-white);
}

.step-title {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── PRICING TEASER ── */
.pricing-teaser {
  background: var(--midnight);
  padding: 100px 80px;
}

.pricing-teaser .section-title { color: var(--white); }
.pricing-teaser .section-sub { color: rgba(255,255,255,0.72); }

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.pricing-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.3);
}
.pricing-card.featured {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.4);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--midnight);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}
.pricing-card.featured .pricing-tier { color: var(--gold); }

.pricing-price {
  font-family: 'Manrope', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sup {
  font-size: 18px;
  vertical-align: super;
  font-weight: 600;
}
.pricing-period {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.45;
}
.pricing-feature::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── FINAL CTA ── */
.final-cta {
  background: var(--gold);
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.final-cta h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--midnight);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.final-cta p {
  font-size: 16px;
  color: rgba(15,31,61,0.65);
  font-weight: 400;
  max-width: 440px;
}

.final-email-form {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15,31,61,0.2);
  flex-shrink: 0;
  width: 400px;
}
.final-email-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 18px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  background: transparent;
}
.final-email-form input::placeholder { color: var(--text-muted); }
.final-email-form button {
  background: var(--midnight);
  border: none;
  cursor: pointer;
  padding: 18px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  transition: background 0.2s;
}
.final-email-form button:hover { background: var(--midnight-light); }

/* ── FOOTER ── */
footer {
  background: #080F1E;
  padding: 40px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-logo {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
}
.footer-logo span { color: var(--gold); }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ── SUCCESS STATE ── */
.success-msg {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(72,187,120,0.1);
  border: 1px solid rgba(72,187,120,0.2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: #68D391;
}

/* ── RESPONSIVE ── */
/* Constrain content to a centered band on ultra-wide screens
   while keeping section backgrounds full-bleed. */
@media (min-width: 1600px) {
  nav,
  .hero,
  .proof-strip,
  .features,
  .screenshots,
  .how-it-works,
  .pricing-teaser,
  .final-cta,
  footer {
    padding-left: calc((100% - 1440px) / 2);
    padding-right: calc((100% - 1440px) / 2);
  }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 120px 40px 60px; }
  .hero-content { min-width: 0; }
  .hero-visual { margin: 48px auto 0; max-width: 460px; width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps-grid::before { display: none; }
  .final-cta { flex-direction: column; }
  .final-email-form { width: 100%; max-width: 400px; }
}

@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  /* Keep the phone example, drop the floating side cards so nothing
     clips off-screen on narrow devices. */
  .hero-visual { margin-top: 36px; max-width: 300px; }
  .inbox-card, .stats-card { display: none; }
  .proof-strip { padding: 20px 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .proof-items { flex-direction: column; gap: 12px; }
  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .screenshots { padding: 60px 24px; }
  .how-it-works { padding: 60px 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-teaser { padding: 60px 24px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .final-cta { padding: 60px 24px; }
  footer { padding: 30px 24px; flex-direction: column; gap: 20px; text-align: center; }
  .app-ui { grid-template-columns: 1fr; }
  .thread-list, .detail-panel, .app-sidebar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .msg { animation: none; opacity: 1; }
  .inbox-card, .stats-card { animation: none; }
}
