/* ============================================================
   Serge Business Development — v2 Site CSS
   Shared across all pages
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ---- Tokens ---- */
:root {
  --blue:      #1A5CFF;
  --charcoal:  #1A1A2E;
  --white:     #FFFFFF;
  --gray-bg:   #F4F6FA;
  --gray-mid:  #94A3B8;
  --gray-line: #E2E8F0;

  --font-sans:    'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;

  --max-w: 1160px;
  --pad-x: clamp(20px, 5vw, 60px);
  --pad-section: clamp(72px, 10vw, 120px);

  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.22s ease;
}

/* ---- Base ---- */
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  color: var(--charcoal);
}

h1 { font-size: clamp(36px, 5.5vw, 60px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: clamp(16px, 1.8vw, 20px); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--pad-section) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ---- NAV ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-line);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  white-space: nowrap;
}

.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--charcoal); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.nav-cta:hover { opacity: 0.88 !important; color: var(--white) !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

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

.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--blue);
}

.btn-white:hover { opacity: 0.92; }

.btn-lg {
  padding: 18px 36px;
  font-size: 18px;
}

/* ---- Hero ---- */
.hero {
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(80px, 12vw, 140px) var(--pad-x);
  text-align: center;
}

.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--blue); }

.hero-sub {
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Tier Cards ---- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tier-card {
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}

.tier-card:hover {
  box-shadow: 0 8px 32px rgba(26,92,255,0.12);
  transform: translateY(-2px);
}

.tier-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
}

.tier-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.tier-price sub { font-size: 16px; font-weight: 500; }
.tier-price span { font-size: 14px; color: var(--gray-mid); font-weight: 400; }

.tier-hook {
  font-size: 15px;
  color: #475569;
  margin: 1rem 0 1.5rem;
  line-height: 1.5;
}

.tier-feature-list {
  list-style: none;
  margin-bottom: 1.75rem;
}

.tier-feature-list li {
  font-size: 14px;
  color: #475569;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--gray-line);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tier-feature-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- What We Build ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.service-icon {
  font-size: 28px;
  margin-bottom: 0.75rem;
}

.service-card h4 {
  margin-bottom: 0.35rem;
  font-size: 16px;
}

.service-card p {
  font-size: 14px;
  color: #475569;
  margin: 0;
}

/* ---- SERGE Method ---- */
.serge-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.serge-step {
  text-align: center;
  padding: 1.5rem 1rem;
}

.serge-letter {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.serge-label {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 0.35rem;
}

.serge-desc {
  font-size: 13px;
  color: #64748B;
}

/* ---- Callout / Promise ---- */
.callout {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}

.callout h2 { color: var(--white); margin-bottom: 1rem; }
.callout p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 2rem; }

/* ---- Alfred Story ---- */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.stat-card {
  background: var(--gray-bg);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
}

.stat-label { font-size: 13px; color: #64748B; margin: 0; }

/* ---- Three Ways to Start ---- */
.start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.start-card {
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.start-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ---- Section header ---- */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: #64748B; max-width: 540px; margin: 0 auto; }

/* ---- FAQ ---- */
.faq-list { max-width: 720px; margin: 0 auto; }

details {
  border-bottom: 1px solid var(--gray-line);
  padding: 1.25rem 0;
}

summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after { content: "+"; color: var(--blue); font-size: 20px; }
details[open] summary::after { content: "−"; }

details p { margin-top: 0.75rem; color: #475569; }

/* ---- Comparison row ---- */
.compare-row {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.compare-col {
  flex: 1;
  border-radius: var(--radius);
  padding: 2rem;
}

.compare-col.bad {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
}

.compare-col.good {
  background: #EFF6FF;
  border: 1px solid #93C5FD;
}

.compare-col h4 { margin-bottom: 1rem; }
.compare-col ul { list-style: none; }
.compare-col ul li { padding: 0.4rem 0; font-size: 15px; display: flex; gap: 0.5rem; }

/* ---- Footer ---- */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: clamp(40px, 6vw, 72px) var(--pad-x) 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand span { color: var(--blue); }

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-col h5 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 13px;
}

/* ---- Background helpers ---- */
.bg-gray { background: var(--gray-bg); }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-charcoal { background: var(--charcoal); color: var(--white); }

/* ---- Utility ---- */
.text-blue { color: var(--blue); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

/* ---- Capability Story Cards ---- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.cap-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.cap-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(26,92,255,0.08);
}
.cap-icon { font-size: 28px; }
.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
}
.cap-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.cap-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-top: 0.5rem;
}
.cap-link:hover { text-decoration: underline; }

/* ---- Schedule Screen ---- */
.sc-sched-hdr {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.sc-sched-alert { font-size: 13px; font-weight: 700; color: #F59E0B; }
.sc-sched-sub   { font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 3px; letter-spacing: 0.04em; }

.sc-sched-body { flex: 1; padding: 6px 0; overflow: hidden; }
.sched-msg {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  opacity: 0; transform: translateX(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.sched-msg.show { opacity: 1; transform: translateX(0); }
.smsg-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(26,92,255,0.25); border: 1px solid rgba(26,92,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.8);
  flex-shrink: 0;
}
.smsg-info { flex: 1; overflow: hidden; }
.smsg-name { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.75); }
.smsg-text { font-size: 11px; color: rgba(255,255,255,0.38); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.smsg-tag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}
.smsg-tag.sent      { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.35); }
.smsg-tag.confirmed { background: rgba(34,197,94,0.12);   color: #22C55E; border: 1px solid rgba(34,197,94,0.25); }

.sc-sched-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 10px 16px; display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  font-size: 11px; font-weight: 600;
}
.sched-stat       { font-weight: 600; }
.sched-stat.green { color: #22C55E; }
.sched-stat.muted { color: rgba(255,255,255,0.3); }
.sched-dot        { color: rgba(255,255,255,0.2); }
.sched-rebuilt    { margin-left: auto; font-size: 10px; font-weight: 700; color: var(--blue); letter-spacing: 0.04em; }
.sched-rebuilt.hidden { display: none !important; }

/* ---- Estimate Screen ---- */
.sc-est-hdr {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.sc-est-job { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.9); }
.sc-est-sub { font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 3px; letter-spacing: 0.04em; }

.sc-est-prices { flex: 1; padding: 8px 0; }
.price-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.price-row.show { opacity: 1; transform: translateY(0); }
.pr-store { font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.3); width: 66px; flex-shrink: 0; }
.pr-item  { flex: 1; color: rgba(255,255,255,0.7); }
.pr-val   { font-weight: 700; color: #22C55E; font-size: 12px; flex-shrink: 0; }
.pr-loading { color: rgba(255,255,255,0.25); font-weight: 400; animation: prPulse 0.8s ease-in-out infinite alternate; }
@keyframes prPulse { from{opacity:0.2} to{opacity:0.6} }

.sc-est-invoice {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 16px; flex-shrink: 0;
}
.sc-est-invoice.hidden { display: none !important; }
.inv-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.6); padding: 3px 0;
}
.inv-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 6px 0; }
.inv-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 800; color: rgba(255,255,255,0.95);
  padding: 4px 0 10px;
}
.inv-send-btn {
  width: 100%; padding: 8px; background: var(--blue); border: none;
  border-radius: 6px; color: #fff; font-size: 12px; font-weight: 700;
  cursor: pointer; letter-spacing: 0.02em;
}

/* ---- Hero Split Layout ---- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  text-align: left;
}

.hero-split .hero-sub { margin-left: 0; }
.hero-split .hero-actions { justify-content: flex-start; }

/* ---- Alfred App Widget ---- */
.hero-visual { display: flex; justify-content: center; }

.alfred-app {
  background: #0d1117;
  border: 1px solid rgba(26,92,255,0.22);
  border-radius: 14px;
  width: 100%;
  max-width: 430px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(26,92,255,0.07),
    0 32px 80px rgba(0,0,0,0.65),
    0 0 120px rgba(26,92,255,0.09);
  position: relative;
}

/* Title bar */
.alfred-titlebar {
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.titlebar-dots { display: flex; gap: 6px; flex-shrink: 0; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }
.alfred-window-title { flex: 1; text-align: center; font-size: 11px; color: rgba(255,255,255,0.35); font-weight: 500; }
.alfred-online { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #22C55E; font-weight: 600; letter-spacing: 0.04em; }
.pulse-dot-sm {
  width: 7px; height: 7px; border-radius: 50%; background: #22C55E;
  animation: pdsm 2s ease-in-out infinite;
}
@keyframes pdsm { 0%,100%{opacity:1;box-shadow:0 0 6px #22C55E}50%{opacity:.5;box-shadow:0 0 12px #22C55E} }

/* Screen container */
.screen-container-h { height: 340px; position: relative; overflow: hidden; }
.app-screen {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(18px);
  transition: opacity 0.38s ease, transform 0.38s ease;
  pointer-events: none;
  display: flex; flex-direction: column;
}
.app-screen.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.app-screen.exiting { opacity: 0; transform: translateX(-18px); transition: opacity 0.3s ease, transform 0.3s ease; }

/* Avatar */
.sc-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 35% 35%, #3a7fff, #0a2575 70%);
  box-shadow: 0 0 14px rgba(26,92,255,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  animation: avatarPulse 3.5s ease-in-out infinite;
}
.sc-avatar.small { width: 26px; height: 26px; font-size: 11px; }
@keyframes avatarPulse { 0%,100%{box-shadow:0 0 14px rgba(26,92,255,0.5)} 50%{box-shadow:0 0 24px rgba(26,92,255,0.75)} }

/* ── Chat Screen ── */
.sc-chat-header {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.sc-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); }
.sc-sub  { font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 1px; }

.sc-chat-body {
  flex: 1; padding: 14px 16px; display: flex;
  flex-direction: column; gap: 10px; overflow: hidden;
}

.bubble {
  max-width: 82%; padding: 10px 13px; border-radius: 12px;
  font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,0.85);
}
.user-bubble  { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.alfred-bubble { background: #1c2231; align-self: flex-start; border-bottom-left-radius: 3px; border: 1px solid rgba(26,92,255,0.18); }
.alfred-typing {
  background: #1c2231; align-self: flex-start; border-bottom-left-radius: 3px;
  border: 1px solid rgba(26,92,255,0.18); display: flex; gap: 4px; align-items: center;
  padding: 12px 14px;
}
.tdot {
  width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.4);
  animation: tdAnim 1.1s ease-in-out infinite;
}
.tdot:nth-child(2){animation-delay:0.18s}
.tdot:nth-child(3){animation-delay:0.36s}
@keyframes tdAnim{0%,80%,100%{transform:scale(0.6);opacity:0.35}40%{transform:scale(1);opacity:1}}
.hidden { display: none !important; }

.sc-chat-input {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.22); font-size: 12px; flex-shrink: 0;
}
.chat-cursor { color: var(--blue); animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── Map Screen ── */
.sc-map-header {
  padding: 14px 16px 10px; border-bottom: 1px solid rgba(255,255,255,0.06); flex-shrink: 0;
}
.sc-map-label { font-size: 9px; letter-spacing: 0.12em; color: var(--blue); font-weight: 700; text-transform: uppercase; }
.sc-map-appt  { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); margin-top: 3px; }

.sc-map-view { flex: 1; background: #111620; position: relative; overflow: hidden; }
.map-svg { width: 100%; height: 100%; display: block; }

.sc-map-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 14px; flex-shrink: 0;
  flex-wrap: wrap;
}
.map-stat { display: flex; flex-direction: column; gap: 1px; }
.map-stat-lbl { font-size: 9px; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); text-transform: uppercase; }
.map-stat-val { font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.9); line-height: 1; }
.map-stat-val span { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.5); }
.map-stat-val.green { color: #22C55E; }
.map-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.1); }
.map-traffic { font-size: 10px; color: #F59E0B; margin-left: auto; font-weight: 500; }

/* ── Email Screen ── */
.sc-email-hdr {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06); flex-shrink: 0;
}
.sc-email-tag { font-size: 11px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.sc-email-meta { display: flex; flex-direction: column; gap: 5px; }
.er { display: flex; align-items: baseline; gap: 10px; font-size: 12px; }
.el { font-size: 10px; color: rgba(255,255,255,0.3); letter-spacing: 0.06em; text-transform: uppercase; width: 18px; flex-shrink: 0; }
.ev { color: rgba(255,255,255,0.75); }

.sc-email-body {
  flex: 1; padding: 14px 16px; font-size: 12.5px; line-height: 1.65;
  color: rgba(255,255,255,0.7); overflow: hidden;
}
.email-body-text { display: inline; }
.email-cursor { color: var(--blue); animation: blink 0.9s step-end infinite; display: inline; }

.sc-email-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.email-btn {
  padding: 6px 16px; border-radius: 6px; font-size: 12px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15); background: transparent;
  color: rgba(255,255,255,0.7); cursor: pointer;
}
.email-btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.email-note { font-size: 10px; color: rgba(255,255,255,0.25); margin-left: auto; }

/* ── Tasks Screen ── */
.sc-tasks-hdr {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: baseline;
  flex-shrink: 0;
}
.sc-tasks-title { font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.9); }
.sc-tasks-count { font-size: 11px; color: rgba(255,255,255,0.35); }

.sc-tasks-list { padding: 8px 0; flex: 1; }
.task-row {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 16px; font-size: 12.5px;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.4s ease;
}
.task-row:last-child { border-bottom: none; }
.task-row.pending { color: rgba(255,255,255,0.35); }
.tcheck { font-size: 11px; color: rgba(255,255,255,0.2); flex-shrink: 0; width: 16px; font-weight: 700; }
.tcheck.done { color: #22C55E; }
.tcheck.pend { color: rgba(255,255,255,0.2); }
.ttext { transition: all 0.4s ease; }
.task-row.crossed .tcheck { color: #22C55E; }
.task-row.crossed .ttext { text-decoration: line-through; color: rgba(255,255,255,0.3); }

.alfred-sign-off {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 12px 16px;
  display: flex; align-items: flex-start; gap: 10px;
  flex-shrink: 0;
}
.alfred-sign-off.hidden { display: none !important; }
.sign-off-text {
  font-size: 12px; color: rgba(255,255,255,0.55);
  font-style: italic; line-height: 1.4;
}

/* Screen nav dots */
.screen-nav-dots {
  padding: 10px 0; display: flex; justify-content: center; gap: 6px;
  background: #0d1117; border-top: 1px solid rgba(255,255,255,0.05);
}
.nav-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.2); transition: background 0.3s, transform 0.3s;
}
.nav-dot.active { background: var(--blue); transform: scale(1.3); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .serge-steps { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .story-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .start-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .compare-row { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .serge-steps { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
}
