/* ========================
   SENDUPDATES OS — THEME
   ======================== */

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

:root {
  --bg: #FAF8F5;
  --bg-alt: #F2EFE9;
  --fg: #1A1A2E;
  --fg-muted: #6B6B7A;
  --accent: #3A9D5A;
  --accent-light: #EAF5EC;
  --chrome: #2A2A3C;
  --chrome-light: #3A3A52;
  --border: #E2DED6;
  --mockup-bg: #F8F6F1;
  --card-bg: #FFFFFF;

  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Nav --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.nav-tag {
  font-size: 12px;
  color: var(--fg-muted);
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 80px 48px 100px;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,157,90,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 11px;
  color: var(--fg-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* --- Dashboard Mockup --- */
.dashboard-mockup {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(26, 26, 46, 0.12), 0 4px 16px rgba(26, 26, 46, 0.06);
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.mockup-chrome {
  background: var(--chrome);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chrome-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28CA42; }

.chrome-bar {
  flex: 1;
  background: var(--chrome-light);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

.mockup-body {
  display: flex;
  height: 340px;
}

.mockup-sidebar {
  width: 160px;
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  overflow: hidden;
}

.sidebar-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.source-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--fg);
  margin-bottom: 4px;
}

.source-item span:first-of-type {
  flex: 1;
  font-weight: 500;
}

.source-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 10px;
}

.next-send-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 6px;
  padding: 8px;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.send-date-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.send-month {
  font-size: 11px;
  font-weight: 700;
  color: var(--fg);
}

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

.schedule-label {
  font-size: 9px;
  color: var(--accent);
  font-weight: 600;
}

.mockup-main {
  flex: 1;
  padding: 14px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.draft-to {
  font-size: 11px;
  color: var(--fg-muted);
}

.draft-label {
  font-weight: 600;
}

.draft-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-light);
  padding: 3px 8px;
  border-radius: 12px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

.draft-subject {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}

.draft-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.draft-line {
  height: 8px;
  border-radius: 4px;
  background: var(--bg-alt);
}
.draft-line-long { width: 100%; }
.draft-line-medium { width: 72%; }
.draft-line-short { width: 45%; }

.draft-metrics-row {
  display: flex;
  gap: 8px;
  margin: 4px 0;
}

.metric-card {
  flex: 1;
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 8px;
  border: 1px solid var(--border);
}

.metric-val {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
}

.metric-lbl {
  font-size: 9px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-delta {
  font-size: 10px;
  font-weight: 600;
  margin-top: 2px;
}
.metric-delta.up { color: var(--accent); }
.metric-delta.down { color: #E05C2A; }

.draft-footer {
  margin-top: auto;
}

.engagement-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eng-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}

.eng-label { width: 70px; color: var(--fg-muted); font-weight: 500; }

.eng-track {
  flex: 1;
  height: 4px;
  background: var(--bg-alt);
  border-radius: 2px;
  overflow: hidden;
}

.eng-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.eng-fill-alt {
  background: #00A3E0;
}

.eng-val {
  font-weight: 700;
  color: var(--fg);
  width: 32px;
  text-align: right;
}

.mockup-footer-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.send-btn, .edit-btn, .schedule-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

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

.edit-btn {
  background: var(--card-bg);
  color: var(--fg);
  border: 1px solid var(--border);
}

.schedule-btn {
  background: transparent;
  color: var(--fg-muted);
  margin-left: auto;
  font-size: 10px;
}

/* --- Integrations Bar --- */
.integrations {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 48px;
}

.integrations-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.int-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-weight: 600;
  text-align: center;
}

.int-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.int-logo {
  padding: 7px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.int-more {
  color: var(--accent);
  background: var(--accent-light);
  border-color: rgba(58, 157, 90, 0.3);
}

/* --- Features --- */
.features {
  padding: 100px 48px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

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

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1.15;
  max-width: 640px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 12px 40px rgba(26, 26, 46, 0.08);
  transform: translateY(-2px);
}

.feature-card-accent {
  background: linear-gradient(135deg, #F0FAF2 0%, #FFFFFF 100%);
  border-color: rgba(58, 157, 90, 0.2);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.feature-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-detail {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  font-style: italic;
}

/* --- Process --- */
.process {
  padding: 100px 48px;
  background: var(--bg-alt);
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.step {
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: rgba(58, 157, 90, 0.15);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step-connector {
  position: absolute;
  top: 20px;
  left: 60px;
  right: -16px;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
  display: none;
}

.step-body {}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* --- Cadence --- */
.cadence {
  padding: 100px 48px;
}

.cadence-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cadence-quote {
  position: relative;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  color: rgba(58, 157, 90, 0.15);
  line-height: 0.8;
  margin-bottom: -20px;
}

.quote-text {
  font-size: 22px;
  font-style: italic;
  color: var(--fg);
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: 20px;
}

.quote-source {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.cadence-facts {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fact {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.fact-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  min-width: 80px;
  line-height: 1;
}

.fact-text {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* --- Closing --- */
.closing {
  padding: 100px 48px;
  background: var(--fg);
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 32px;
}

.closing-vision {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

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

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

.footer-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}

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

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

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-right {
    order: -1;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .cadence-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding: 60px 24px 80px;
  }
  .features, .process, .cadence, .closing {
    padding: 60px 24px;
  }
  .integrations {
    padding: 24px;
  }
  .nav {
    padding: 16px 24px;
  }
  .footer {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
  .hero-proof {
    flex-wrap: wrap;
    gap: 16px;
  }
  .proof-divider {
    display: none;
  }
  .mockup-sidebar {
    display: none;
  }
  .mockup-body {
    height: 280px;
  }
}