/*
Theme Name: Sendability
Theme URI: https://sendability.com
Description: Agentic Email & CRM Platform - A Data Innovation Product
Version: 1.0
Author: Data Innovation
Text Domain: sendability
*/

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
  --sendability-blue: #12678E;
  --navy: #003266;
  --gold: #D1A027;
  --bg-dark: #0F1720;
  --bg-light: #F8FAFC;
  --text-primary: #1A1A1A;
  --text-secondary: #64748B;
  --border: #E2E8F0;
  --gmail-red: #EA4335;
  --outlook-blue: #0078D4;
  --yahoo-purple: #6001D2;
  --white: #FFFFFF;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --transition: 0.2s ease;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sendability-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

h1, h2, h3, h4, h5 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
p { margin-bottom: 1rem; }

/* ── Layout ────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--white);
}
.section--dark h2, .section--dark h3, .section--dark p { color: var(--white); }
.section--dark .text-secondary { color: #94A3B8; }

.section--light {
  background: var(--bg-light);
}

.section--blue {
  background: var(--navy);
  color: var(--white);
}
.section--blue h2, .section--blue h3, .section--blue p { color: var(--white); }

.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.text-gold { color: var(--gold); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  gap: 8px;
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: #b8891f;
  border-color: #b8891f;
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: var(--white);
  color: var(--white);
}

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

.btn--lg {
  padding: 12px 24px;
  font-size: 0.95rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ── Navigation ────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 32, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav-logo img {
  height: 22px;
  width: auto;
}

.nav-logo-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  padding: 32px 24px;
  z-index: 999;
}

.mobile-menu.active { display: block; }

.mobile-menu a {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu .btn--gold {
  margin-top: 24px;
  width: 100%;
  text-align: center;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  padding: 140px 0 100px;
  background: var(--bg-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(0,50,102,0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(209,160,39,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
  color: var(--white);
  max-width: 800px;
  margin-bottom: 20px;
}

.hero .subtitle {
  color: #94A3B8;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero .btn-group .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.hero .trust-text {
  margin-top: 36px;
  font-size: 0.85rem;
  color: #64748B;
  max-width: 480px;
}

/* ── Social Proof Bar ──────────────────────────────────── */
.proof-bar {
  padding: 48px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-bar .caption {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.proof-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.proof-logos span {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #94A3B8;
  opacity: 0.6;
  white-space: nowrap;
}

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }

.card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.card--dark:hover { background: rgba(255,255,255,0.06); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card-icon--blue { background: rgba(18,103,142,0.1); color: var(--sendability-blue); }
.card-icon--gold { background: rgba(209,160,39,0.1); color: var(--gold); }
.card-icon--teal { background: rgba(18,103,142,0.1); color: var(--sendability-blue); }

.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }

.card .before-after {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}
.card--dark .before-after { border-color: rgba(255,255,255,0.08); }

.card .before-after .label {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ── Section Headers ───────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}
.section--dark .section-header p { color: #94A3B8; }

/* ── Comparison Table ──────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  overflow-x: auto;
}

.compare-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.compare-table thead th:first-child { text-align: left; }

.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
}

.compare-table tbody tr:nth-child(even) { background: var(--bg-light); }

.compare-table .col-highlight {
  background: rgba(209,160,39,0.08) !important;
  border-left: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  font-weight: 700;
  color: var(--sendability-blue);
}

.compare-table thead .col-highlight {
  background: var(--gold) !important;
  color: var(--white);
}

.compare-table tfoot td {
  border-bottom: none;
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding-top: 16px;
}

/* ── Stack Diagram ─────────────────────────────────────── */
.stack-layers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
  margin: 0 auto;
}

.stack-layer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  color: var(--white);
  transition: transform var(--transition);
}
.stack-layer:hover { transform: translateX(8px); }

.stack-layer .layer-icon {
  font-size: 1.5rem;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.stack-layer .layer-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  min-width: 140px;
}

.stack-layer .layer-desc {
  font-size: 0.85rem;
  opacity: 0.8;
}

.stack-layer:nth-child(1) { background: #1a3a5c; }
.stack-layer:nth-child(2) { background: #1a4a3c; }
.stack-layer:nth-child(3) { background: #2a3a5c; }
.stack-layer:nth-child(4) { background: #4a2a2c; }
.stack-layer:nth-child(5) { background: #3a3a4c; }
.stack-layer:nth-child(6) { background: #2a4a4c; }
.stack-layer:nth-child(7) { background: #3a2a4c; }

/* ── Stack Accordion (Platform page) ───────────────────── */
.stack-layers--accordion .stack-layer {
  cursor: pointer;
}
.stack-layers--accordion .stack-layer:hover {
  transform: translateX(4px);
}

.layer-toggle {
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.6;
  transition: transform 0.3s ease;
}
.layer-toggle::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
}
.stack-layer-wrap.active .layer-toggle {
  transform: rotate(45deg);
}

.stack-layer-wrap:nth-child(1) .stack-layer { background: #1a3a5c; }
.stack-layer-wrap:nth-child(2) .stack-layer { background: #1a4a3c; }
.stack-layer-wrap:nth-child(3) .stack-layer { background: #2a3a5c; }
.stack-layer-wrap:nth-child(4) .stack-layer { background: #4a2a2c; }
.stack-layer-wrap:nth-child(5) .stack-layer { background: #3a3a4c; }
.stack-layer-wrap:nth-child(6) .stack-layer { background: #2a4a4c; }
.stack-layer-wrap:nth-child(7) .stack-layer { background: #3a2a4c; }

.stack-layer-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.stack-layer-wrap.active .stack-layer-detail {
  max-height: 500px;
}

.detail-inner {
  padding: 24px 24px 28px;
  background: rgba(255,255,255,0.05);
  border-radius: 0 0 var(--radius) var(--radius);
  color: var(--white);
  margin-top: -4px;
}
.detail-inner p {
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.9;
  margin-bottom: 16px;
}

.badge-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.badge--solo {
  background: rgba(209, 160, 39, 0.2);
  color: var(--gold);
}

.agentic {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 12px;
}
.agentic .label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 6px;
}
.agentic p {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.85;
}

.layer-badge-solo {
  font-size: 0.7rem;
  opacity: 0.5;
  margin-left: auto;
}

/* ── Case Study Cards ──────────────────────────────────── */
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.case-card .metric {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.case-card .metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.case-card .case-desc {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.testimonial {
  padding: 32px;
  border-left: 4px solid var(--gold);
  background: var(--bg-light);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-top: 32px;
}

.testimonial blockquote {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ── EU Section ────────────────────────────────────────── */
.eu-section {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.eu-icon {
  font-size: 4rem;
  flex-shrink: 0;
}

.eu-stats {
  display: flex;
  gap: 32px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.eu-stat {
  font-size: 0.9rem;
}

.eu-stat strong {
  display: block;
  font-size: 1.75rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--sendability-blue);
  line-height: 1.2;
}

/* ── CTA Section ───────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 {
  max-width: 600px;
  margin: 0 auto 16px;
}

.cta-section h3 {
  font-weight: 400;
  margin-bottom: 36px;
}
.section--dark .cta-section h3 { color: #94A3B8; }

.cta-alt {
  margin-top: 20px;
  font-size: 0.9rem;
}
.cta-alt a { color: var(--gold); }

/* ── Platform Page ─────────────────────────────────────── */
.platform-layer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.platform-layer:last-child { border-bottom: none; }

.platform-layer-content h3 {
  margin-bottom: 12px;
}

.platform-layer-content .badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(18,103,142,0.08);
  color: var(--sendability-blue);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.platform-layer-content .agentic {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.platform-layer-content .agentic .label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.platform-visual {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border: 1px solid var(--border);
}

.platform-visual .placeholder {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ── Pricing Page ──────────────────────────────────────── */
.tier-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.tier-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}

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

.tier-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.tier-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tier-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sendability-blue);
  line-height: 1;
}

.tier-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.tier-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 16px 0 24px;
}

.tier-features {
  list-style: none;
  padding: 0;
}

.tier-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tier-features li::before {
  content: '\2713';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.tier-card .btn {
  width: 100%;
  margin-top: 24px;
}

/* ── Pricing Includes ──────────────────────────────────── */
.includes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.include-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.include-item .check {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-secondary);
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ── Diagnostic Form ───────────────────────────────────── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sendability-blue);
  box-shadow: 0 0 0 3px rgba(18,103,142,0.08);
}

.form-group input[type="checkbox"],
.form-group input[type="radio"] {
  width: auto;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  flex-shrink: 0;
}

.form-card .btn {
  width: 100%;
}
.domain-input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.domain-input-row input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
.domain-input-row .btn,
.form-card .domain-input-row .btn {
  width: auto;
  flex: 0 0 auto;
  padding: 12px 28px;
  white-space: nowrap;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-trust {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 20px;
}

/* ── What You Get List ─────────────────────────────────── */
.get-list {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.get-list li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.get-list li::before {
  content: '\2713';
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ── Diagnostic Page ──────────────────────────────────── */
.diag-step-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.diag-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--sendability-blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.diag-results {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 12px;
  color: var(--white);
}
.diag-results__header {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.diag-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.88rem;
}
.diag-check:last-child { border-bottom: none; }
.diag-check__icon {
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.diag-check--pass .diag-check__icon { color: #22C55E; }
.diag-check--warn .diag-check__icon { color: var(--gold); }
.diag-check--fail .diag-check__icon { color: #EF4444; }

.diag-check__label {
  font-weight: 600;
  min-width: 80px;
  flex-shrink: 0;
}
.diag-check__detail {
  opacity: 0.75;
  word-break: break-word;
}

.diag-score {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.diag-score strong { color: var(--white); }

.diag-links {
  margin-top: 12px;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.diag-links__label {
  color: rgba(255,255,255,0.5);
  margin-right: 4px;
}
.diag-links a {
  color: var(--gold);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid rgba(209,160,39,0.3);
  border-radius: 4px;
  transition: background var(--transition);
}
.diag-links a:hover {
  background: rgba(209,160,39,0.1);
}

.diag-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--sendability-blue);
  border-radius: 50%;
  margin: 0 auto;
  animation: diagSpin 0.7s linear infinite;
}
@keyframes diagSpin {
  to { transform: rotate(360deg); }
}

/* Test email instruction box */
.test-email-box {
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: rgba(209,160,39,0.04);
}
.test-email-box__title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.test-email-addr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.test-email-addr:last-child { margin-bottom: 0; }
.test-email-addr__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.test-email-addr__email {
  font-family: 'Inter', monospace;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  word-break: break-all;
}
.test-email-addr__label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.copy-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sendability-blue);
  background: rgba(18,103,142,0.08);
  border: 1px solid rgba(18,103,142,0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition);
}
.copy-btn:hover {
  background: rgba(18,103,142,0.15);
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand .footer-logo img {
  height: 22px;
  width: auto;
  flex-shrink: 0;
}

.footer-brand .footer-tagline {
  font-size: 0.85rem;
  color: var(--gold);
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 16px;
  font-size: 0.8rem;
}

.footer-di {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
}

/* ── Responsive ────────────────────────────────────────── */
@media (min-width: 640px) {
  .container { padding: 0 48px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .includes-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .section { padding: 120px 0; }
  .platform-layer { grid-template-columns: 1fr 1fr; }
  .platform-layer:nth-child(even) .platform-visual { order: -1; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .btn--lg { padding: 16px 36px; font-size: 1.05rem; }
  .hero .btn-group .btn { padding: 16px 36px; font-size: 1.05rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 80px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .tier-cards { grid-template-columns: repeat(3, 1fr); }
  .includes-grid { grid-template-columns: repeat(3, 1fr); }

  .nav-links { display: flex; }
  .nav-cta { display: block; }
  .hamburger { display: none; }

  .hero { padding: 160px 0 120px; }
}

/* ── Scroll Reveal Animation ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Enhanced Card Hover ───────────────────────────────── */
.card {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card--dark:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
}

/* ── Case Card Number Animation ────────────────────────── */
.case-card .metric {
  transition: color 0.3s ease;
}
.case-card:hover .metric {
  color: var(--sendability-blue);
}

/* ── Gold Accent Line on Hero ──────────────────────────── */
.hero h1 {
  position: relative;
  padding-bottom: 24px;
}
.hero h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* ── Stack Layer Gradient Hover ─────────────────────────── */
.stack-layer {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stack-layer:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ── Tier Card Hover ───────────────────────────────────── */
.tier-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ── Button Hover Lift ─────────────────────────────────── */
.btn {
  transition: all 0.2s ease, transform 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn:active {
  transform: translateY(0);
}

/* ── Active Nav Link ───────────────────────────────────── */
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--white);
  position: relative;
}
.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* ── Testimonial Quote ─────────────────────────────────── */
.testimonial {
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 16px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}

/* ── EU Stats Counter ──────────────────────────────────── */
.eu-stat strong {
  transition: color 0.3s ease;
}
.eu-section:hover .eu-stat strong {
  color: var(--gold);
}

/* ── Form Focus States ─────────────────────────────────── */
.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(209,160,39,0.12);
}

/* ── Smooth Section Separators ─────────────────────────── */
.section + .section--dark,
.section--light + .section--dark {
  position: relative;
}

/* ── Proof Bar Logo Hover ──────────────────────────────── */
.proof-logos span {
  transition: opacity 0.3s ease;
}
.proof-logos span:hover {
  opacity: 1;
}

/* ── Platform Visual Pulse ─────────────────────────────── */
.platform-visual {
  transition: border-color 0.3s ease;
}
.platform-visual:hover {
  border-color: var(--gold);
}

/* ── Include Item Hover ────────────────────────────────── */
.include-item {
  transition: background 0.2s ease, transform 0.2s ease;
}
.include-item:hover {
  background: #EFF6FF;
  transform: translateX(4px);
}

/* ══════════════════════════════════════════════════════════
   PHASE 2a: Solutions, Compare, Agencies
   ══════════════════════════════════════════════════════════ */

/* ── Nav Dropdown ─────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown > a::after {
  content: '\25BE';
  font-size: 0.7rem;
  opacity: 0.6;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 8px 0;
  margin-top: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

/* ── Verdict Box (Compare Pages) ─────────────────────── */
.verdict-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.verdict-box h2 {
  text-align: center;
  margin-bottom: 32px;
}
.verdict-box h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.verdict-list {
  list-style: none;
  padding: 0;
}
.verdict-list li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.verdict-list li::before {
  content: '\2713';
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.verdict-list--neutral li::before {
  color: var(--text-secondary);
}
.verdict-list--highlight li::before {
  color: var(--gold);
}
.verdict-list--highlight li {
  color: var(--text-primary);
}

/* ── Agency Form ─────────────────────────────────────── */
.agency-form-wrapper {
  max-width: 640px;
  margin: 32px auto 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.agency-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}
.agency-form input,
.agency-form select,
.agency-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  transition: border-color var(--transition);
}
.agency-form input:focus,
.agency-form select:focus,
.agency-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(209,160,39,0.15);
}
.agency-form input::placeholder,
.agency-form textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.agency-form select option {
  background: var(--bg-dark);
  color: var(--white);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.agency-form .form-group {
  margin-bottom: 0;
}

/* ── Mobile menu Solutions sub-links ─────────────────── */
.mobile-menu-sub {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu-sub a {
  font-size: 0.9rem;
  opacity: 0.7;
  padding: 8px 0 8px 16px;
  border-left: 2px solid rgba(255,255,255,0.1);
}
.mobile-menu-sub a:hover {
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════
   MODULAR LAYERS / INDIVIDUAL PURCHASE MESSAGING
   ══════════════════════════════════════════════════════════ */

/* ── Homepage Stack: "Available individually" badge ────── */
.layer-badge-solo {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(209,160,39,0.15);
  color: var(--gold);
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Stack footer with dual CTAs ──────────────────────── */
.stack-footer {
  text-align: center;
  margin-top: 48px;
}
.stack-footer p {
  color: #94A3B8;
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.stack-footer .btn-group {
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* ── Platform page: Badge group (dual badges) ──────────── */
.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.badge--solo {
  background: rgba(209,160,39,0.12);
  color: var(--gold);
}

/* ── Pricing page: Individual module cards grid ────────── */
.module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.module-card .module-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.module-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.module-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.module-card .module-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sendability-blue);
  margin-bottom: 16px;
}
.module-card .module-price small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 4px;
}

.module-footer-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ── Small button variant ──────────────────────────────── */
.btn--sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ── Module card buttons: filled style ───────────────── */
.module-card .btn {
  background: var(--sendability-blue);
  color: var(--white);
  border-color: var(--sendability-blue);
  display: inline-block;
  margin-top: auto;
}
.module-card .btn:hover {
  background: #0e5474;
  border-color: #0e5474;
}

/* ── Cross-sell block ──────────────────────────────────── */
.module-crosssell {
  text-align: center;
  margin-top: 40px;
  padding: 28px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.module-crosssell p:first-child {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.module-crosssell p:nth-child(2) {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ── Responsive: module grid ──────────────────────────── */
@media (min-width: 640px) {
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .module-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .module-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ══════════════════════════════════════════════════════════
   THANK-YOU PAGE
   ══════════════════════════════════════════════════════════ */

/* ── Scrolling ticker banner ─────────────────────────── */
.thankyou-ticker {
  overflow: hidden;
  background: var(--gold);
  padding: 10px 0;
  white-space: nowrap;
}

.thankyou-ticker-track {
  display: inline-flex;
  animation: ticker-scroll 20s linear infinite;
}

.thankyou-ticker-track span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  padding: 0 48px;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Two-column grid: steps + form ───────────────────── */
.thankyou-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.thankyou-steps {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* ── Onboarding form (dark-themed) ───────────────────── */
.onboarding-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.onboarding-form h2 {
  text-align: left;
  margin-bottom: 4px;
}

.onboarding-form-subtitle {
  text-align: left;
  color: #94A3B8;
  font-size: 0.9rem;
}

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

.onboarding-form .form-group {
  margin-bottom: 0;
}

.onboarding-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.onboarding-form input,
.onboarding-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  transition: border-color var(--transition);
  box-sizing: border-box;
}

.onboarding-form textarea {
  resize: vertical;
  min-height: 72px;
}

.onboarding-form input::placeholder,
.onboarding-form textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.onboarding-form input:focus,
.onboarding-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(209,160,39,0.15);
}

/* ── Onboarding success message ──────────────────────── */
.onboarding-success {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(209,160,39,0.3);
  border-radius: var(--radius-lg);
}

.onboarding-success h3 {
  color: var(--gold);
  margin-bottom: 8px;
}

.onboarding-success p {
  color: #94A3B8;
  font-size: 0.95rem;
}

/* ── Responsive: thank-you page ──────────────────────── */
@media (min-width: 640px) {
  .onboarding-form .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .thankyou-grid {
    grid-template-columns: 5fr 7fr;
  }
}


/* Client Access nav button */
.btn--client {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}
.btn--client:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }


/* Homepage hero — centered layout */
.home .hero .container { text-align: center; }
.home .hero h1 { margin-left: auto; margin-right: auto; }
.home .hero .subtitle { margin-left: auto; margin-right: auto; }
.home .hero .btn-group { justify-content: center; }
.home .hero .trust-text { margin-left: auto; margin-right: auto; }
