/* ═══════════════════════════════════════════════════════════
   MailFlow Marketing Site — style.css
   ✏️  Edit the :root variables to retheme the entire site
   ═══════════════════════════════════════════════════════════ */

/* ── Design tokens ────────────────────────────────────────── */
:root {
  --bg-0:          #06060f;   /* page background */
  --bg-1:          #0d0d1c;   /* subtle sections */
  --bg-2:          #12122a;   /* cards */
  --bg-3:          #1a1a38;   /* card hover */

  --accent:        #7c6af7;   /* primary purple */
  --accent-light:  #a89df8;
  --accent-glow:   rgba(124, 106, 247, 0.25);
  --accent-glow-lg:rgba(124, 106, 247, 0.12);

  --text-1:        #f0f0fc;   /* headings */
  --text-2:        #a0a0c8;   /* body */
  --text-3:        #5a5a80;   /* muted */

  --border:        rgba(255, 255, 255, 0.06);
  --border-accent: rgba(124, 106, 247, 0.3);

  --green:         #22c55e;
  --red:           #ef4444;
  --yellow:        #f59e0b;

  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --shadow-glow:   0 0 80px rgba(124, 106, 247, 0.2);
  --shadow-card:   0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-float:  0 32px 80px rgba(0, 0, 0, 0.5), 0 0 120px rgba(124, 106, 247, 0.15);

  --max-width:     1200px;
  --nav-height:    64px;
}

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

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  color: var(--text-1);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }

p { line-height: 1.7; }

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #c4b8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

section { position: relative; }

/* ── Scroll reveal animations ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 28px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-1);
  border-color: rgba(255,255,255,0.12);
}

.btn-outline {
  background: transparent;
  color: var(--accent-light);
  border: 1px solid var(--border-accent);
}
.btn-outline:hover {
  background: rgba(124,106,247,0.08);
  color: #fff;
}

/* ── Section shared ───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 1.05rem;
  color: var(--text-3);
  max-width: 520px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(124,106,247,0.1);
  border: 1px solid var(--border-accent);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}


/* ══════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
#nav.scrolled {
  background: rgba(6, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
  flex-shrink: 0;
}
.nav-logo strong { color: var(--accent); font-weight: 700; }
.nav-logo:hover { opacity: 0.85; }

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-3);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover {
  color: var(--text-1);
  background: rgba(255,255,255,0.05);
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-github {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  transition: all 0.15s;
}
.nav-github:hover {
  color: var(--text-1);
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.25s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: rgba(6, 6, 15, 0.95);
  backdrop-filter: blur(20px);
}
.nav-mobile a {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }


/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

/* Background orbs — edit colours here */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124,106,247,0.6) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(168,157,248,0.4) 0%, transparent 70%);
  bottom: 0; left: -100px;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(99,102,241,0.3) 0%, transparent 70%);
  top: 50%; left: 40%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Hero text */
.hero-text { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(124,106,247,0.1);
  border: 1px solid var(--border-accent);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 { margin-bottom: 20px; }

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

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
}
.hero-meta svg { opacity: 0.7; }

/* Hero mockup */
.hero-mockup {
  position: relative;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

.mockup-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60px;
  background: var(--accent-glow);
  filter: blur(40px);
  border-radius: 50%;
}

.mockup-window {
  background: #0e0e1c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.mockup-titlebar {
  height: 36px;
  background: #0a0a18;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
}
.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.mockup-urlbar {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: 180px;
  margin: 0 auto;
}

/* App layout inside mockup */
.mockup-app {
  display: flex;
  height: 360px;
}

/* Sidebar */
.mockup-sidebar {
  width: 130px;
  background: #0b0b1e;
  border-right: 1px solid rgba(255,255,255,0.04);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}
.mockup-logo-sm {
  padding: 0 4px;
}
.mockup-nav-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 11px;
  color: var(--text-3);
  cursor: default;
}
.mockup-nav-item.active {
  background: rgba(124,106,247,0.15);
  color: var(--accent-light);
}
.mockup-badge {
  margin-left: auto;
  background: var(--accent);
  color: white;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 10px;
  font-weight: 600;
}
.mockup-accounts {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mockup-account-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  padding: 0 4px;
  margin-bottom: 2px;
}
.mockup-account-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: default;
}
.acct-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.acct-name {
  font-size: 10px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Message list */
.mockup-messages {
  width: 190px;
  background: #0d0d20;
  border-right: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
}
.mockup-search {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 7px;
  font-size: 10px;
  color: var(--text-3);
}
.mockup-msg {
  position: relative;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  cursor: default;
}
.mockup-msg.selected {
  background: rgba(124,106,247,0.1);
}
.mockup-msg-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}
.mockup-msg-sender {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-1);
}
.mockup-msg-time {
  font-size: 9px;
  color: var(--text-3);
}
.mockup-msg-subject {
  font-size: 10px;
  color: var(--text-2);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mockup-msg-preview {
  font-size: 9px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mockup-unread-dot {
  position: absolute;
  top: 12px; left: 4px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Preview pane */
.mockup-preview {
  flex: 1;
  background: #0f0f22;
  padding: 16px;
  overflow: hidden;
}
.mockup-preview-subject {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 12px;
  font-family: 'Syne', sans-serif;
}
.mockup-preview-from {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 16px;
}
.mockup-avatar {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-from-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-1);
}
.mockup-from-email {
  font-size: 9px;
  color: var(--text-3);
}
.mockup-body-line {
  height: 7px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  margin-bottom: 8px;
}
.w80 { width: 80%; }
.w60 { width: 60%; }
.w90 { width: 90%; }
.w40 { width: 40%; }
.w70 { width: 70%; }
.w50 { width: 50%; }
.mockup-body-btn {
  display: inline-block;
  margin: 12px 0;
  padding: 6px 14px;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 600;
  border-radius: 6px;
}


/* ══════════════════════════════════════════════════════
   PROVIDERS
══════════════════════════════════════════════════════ */
.providers {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.providers-label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 24px;
}
.providers-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.provider-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-2);
  transition: all 0.15s;
}
.provider-pill:hover {
  border-color: var(--border-accent);
  color: var(--text-1);
}
.provider-icon {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════ */
.features {
  padding: 120px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px var(--border-accent);
}

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(124,106,247,0.1);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text-1);
}
.feature-card p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.65;
}


/* ══════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════ */
.how-it-works {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(124,106,247,0.03) 50%, transparent 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(124,106,247,0.15);
  line-height: 1;
  padding-top: 4px;
  user-select: none;
}

.step-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-1);
}
.step-content > p {
  font-size: 1rem;
  color: var(--text-3);
  max-width: 480px;
  margin-bottom: 24px;
}

/* Code blocks */
.code-block {
  background: #080810;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 520px;
}
.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.code-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.code-filename {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}
pre { overflow-x: auto; }
code, pre {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 12.5px;
  line-height: 1.7;
}
.code-block pre {
  padding: 16px;
  color: #c8d3f5;
}
.code-comment { color: #4a5568; }


/* ══════════════════════════════════════════════════════
   SECURITY
══════════════════════════════════════════════════════ */
.security {
  padding: 120px 0;
}

.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.security-text h2 { margin-bottom: 20px; }
.security-text p {
  color: var(--text-3);
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.security-text .btn { margin-top: 12px; }

.security-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.security-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.security-item:last-child { border-bottom: none; }
.security-item:hover { background: rgba(255,255,255,0.02); }

.security-check {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}

.security-item strong {
  display: block;
  font-size: 13px;
  color: var(--text-1);
  font-weight: 500;
  margin-bottom: 2px;
}
.security-item span {
  font-size: 12px;
  color: var(--text-3);
}


/* ══════════════════════════════════════════════════════
   INSTALL
══════════════════════════════════════════════════════ */
.install {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(124,106,247,0.04) 50%, transparent 100%);
  border-top: 1px solid var(--border);
}

.install-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.install-inner h2 { margin-bottom: 16px; }
.install-sub {
  font-size: 1rem;
  color: var(--text-3);
  margin-bottom: 40px;
}

.install-code {
  background: #060610;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.install-code-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.install-dots {
  display: flex;
  gap: 6px;
}
.install-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.install-filename {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  margin-right: auto;
  margin-left: 4px;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: var(--text-3);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
}
.copy-btn:hover {
  background: rgba(124,106,247,0.1);
  border-color: var(--border-accent);
  color: var(--accent-light);
}
.copy-btn.copied {
  color: var(--green);
  border-color: rgba(34,197,94,0.3);
  background: rgba(34,197,94,0.08);
}

.install-pre {
  padding: 20px;
  color: #c8d3f5;
  font-size: 13px;
  line-height: 1.8;
  overflow-x: auto;
}

.install-note {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 32px;
}

.install-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


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

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 260px;
}
.footer-brand .nav-logo {
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text-1); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-3);
  gap: 16px;
  flex-wrap: wrap;
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-inner {
    gap: 48px;
  }
  .mockup-preview {
    display: none;
  }
  .mockup-messages {
    flex: 1;
  }
  .security-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-github { display: none; }
  .nav-toggle { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-mockup {
    animation: none; /* reduce motion on mobile */
  }
  .hero-text { max-width: 100%; }

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

  .step {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }
  .step-number { font-size: 2.5rem; }

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

  .security-inner {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar { display: none; }
  .mockup-messages { width: 160px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .install-actions { flex-direction: column; }
  .install-actions .btn { text-align: center; justify-content: center; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; }

  .mockup-messages { flex: 1; }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  .hero-mockup { animation: none; }
  .badge-dot { animation: none; }
  html { scroll-behavior: auto; }
}
