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

:root {
  --navy:       #1a3466;
  --navy2:      #22448a;
  --blue:       #2d6bc4;
  --blue-lt:    #e8f0fc;
  --blue-mid:   #1e56a8;
  --red:        #c0392b;
  --red-lt:     #fdf0ef;
  --green:      #16a34a;
  --green-lt:   #f0fdf4;
  --gold:       #f59e0b;
  --gold-lt:    #fffbeb;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f4f8;
  --gray-200:   #e2e8f0;
  --gray-300:   #cbd5e1;
  --gray-400:   #94a3b8;
  --gray-500:   #64748b;
  --gray-700:   #374151;
  --gray-900:   #0f172a;
  --white:      #ffffff;
  --text:       #1e2a3b;
  --r:          6px;
  --r2:         10px;
  --r3:         16px;
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.13);
  --header-h:   68px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }

/* ── LAYOUT HELPERS ─────────────────────────────────────────────────────────── */
.sales-site { display: flex; flex-direction: column; min-height: 100vh; }
.sales-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; width: 100%; }
.sales-container--narrow { max-width: 820px; }

/* ── HEADER / NAV ───────────────────────────────────────────────────────────── */
.sales-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200), 0 2px 8px rgba(0,0,0,.05);
  height: var(--header-h);
}
.sales-header-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.sales-logo { display: flex; align-items: center; flex-shrink: 0; }
.sales-logo img { height: 40px; width: auto; }

.sales-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.sales-nav-link {
  padding: 7px 14px; border-radius: var(--r); font-size: 15px; font-weight: 500;
  color: var(--gray-700); transition: background .15s, color .15s;
}
.sales-nav-link:hover, .sales-nav-link.active {
  background: var(--blue-lt); color: var(--blue); text-decoration: none;
}
.sales-nav-link.active { font-weight: 600; }
.sales-nav-cta {
  margin-left: 8px; padding: 8px 18px;
  background: var(--blue); color: var(--white) !important;
  border-radius: var(--r); font-size: 15px; font-weight: 600;
  transition: background .15s; white-space: nowrap;
}
.sales-nav-cta:hover { background: var(--blue-mid); text-decoration: none; }
.sales-nav-login {
  margin-left: 4px; padding: 7px 14px; border-radius: var(--r);
  font-size: 15px; font-weight: 500; color: var(--gray-500);
  border: 1px solid var(--gray-300); transition: all .15s;
}
.sales-nav-login:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* Hamburger */
.sales-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 6px; cursor: pointer;
  background: none; border: none; margin-left: auto;
}
.sales-hamburger span {
  display: block; height: 2px; background: var(--gray-700);
  border-radius: 2px; transition: all .2s;
}
.sales-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sales-hamburger.is-open span:nth-child(2) { opacity: 0; }
.sales-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── FOOTER ─────────────────────────────────────────────────────────────────── */
.sales-footer { background: var(--gray-900); color: rgba(255,255,255,.75); margin-top: auto; }
.sales-footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 56px 24px 40px;
  display: flex; gap: 48px; flex-wrap: wrap;
}
.sales-footer-brand { flex: 0 0 220px; }
.sales-footer-brand img { height: 34px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); opacity:.8; }
.sales-footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.5); }
.sales-footer-links { display: flex; gap: 48px; flex: 1; flex-wrap: wrap; }
.sales-footer-col { display: flex; flex-direction: column; gap: 8px; min-width: 140px; }
.sales-footer-col strong { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.sales-footer-col a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .15s; }
.sales-footer-col a:hover { color: var(--white); text-decoration: none; }
.sales-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 24px; text-align: center; font-size: 13px; color: rgba(255,255,255,.35); }

/* ── BUTTONS ─────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: var(--blue); color: var(--white) !important;
  font-size: 15px; font-weight: 600; border-radius: var(--r2);
  border: 2px solid var(--blue); cursor: pointer;
  transition: background .15s, transform .1s; white-space: nowrap; text-decoration: none !important;
}
.btn-primary:hover { background: var(--blue-mid); border-color: var(--blue-mid); transform: translateY(-1px); }
.btn-primary--large { padding: 14px 32px; font-size: 16px; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: var(--white); color: var(--blue) !important;
  font-size: 15px; font-weight: 600; border-radius: var(--r2);
  border: 2px solid var(--blue); cursor: pointer;
  transition: background .15s; white-space: nowrap; text-decoration: none !important;
}
.btn-secondary:hover { background: var(--blue-lt); }
.link-arrow { font-weight: 600; color: var(--blue); }
.link-arrow:hover { text-decoration: underline; }

/* ── HERO ────────────────────────────────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, #0d1f3c 0%, var(--navy) 50%, #1e3d7a 100%); padding: 80px 0 72px; }
.hero .sales-container { display: flex; align-items: center; gap: 56px; }
.hero-text { flex: 1; min-width: 0; }
.hero-text h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.5); }
.hero-visual { flex: 0 0 420px; max-width: 420px; }
.dashboard-preview {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r3); overflow: hidden; aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
}
.dashboard-preview img { width: 100%; height: 100%; object-fit: cover; }
.dashboard-preview--placeholder { background: rgba(255,255,255,.04); }
.dashboard-placeholder-label { color: rgba(255,255,255,.3); font-size: 13px; display: none; }
.dashboard-preview--placeholder .dashboard-placeholder-label { display: block; }

/* ── STATS BAR ───────────────────────────────────────────────────────────────── */
.stats-bar { background: var(--navy2); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { display: block; font-size: 13px; color: rgba(255,255,255,.55); margin-top: 6px; }

/* ── SECTIONS ────────────────────────────────────────────────────────────────── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 12px; }
.section-header p { font-size: 17px; color: var(--gray-500); }
.section-header--light h2 { color: var(--white); }
.section-header--light p { color: rgba(255,255,255,.65); }

.section-why    { padding: 80px 0; }
.section-features { padding: 80px 0; background: var(--gray-50); }
.section-ai     { padding: 80px 0; background: var(--blue-lt); }
.ai-grid        { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 48px; }
.ai-card        { background: var(--white); border-radius: var(--r3); padding: 36px 32px; box-shadow: var(--shadow); }
.ai-card-icon   { width: 56px; height: 56px; background: var(--navy); border-radius: var(--r2); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--white); }
.ai-card h3     { font-size: 1.2rem; color: var(--navy); margin-bottom: 12px; }
.ai-card p      { color: var(--gray-700); line-height: 1.7; }
.section-how    { padding: 80px 0; }
.section-testimonials { padding: 80px 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); }
.section-faq    { padding: 80px 0; background: var(--gray-50); }
.section-cta    { padding: 80px 0; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%); color: var(--white); }
.section-cta h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.section-cta p  { color: rgba(255,255,255,.8); font-size: 17px; margin-bottom: 32px; }
.section-cta-inline { text-align: center; margin-top: 40px; }
.section-pricing { padding: 60px 0 80px; }
.section-testimonials-full { padding: 80px 0; }
.section-use-cases { padding: 80px 0; background: var(--gray-50); }

/* ── TWO-COL ─────────────────────────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col-text h3 { font-size: 1.3rem; margin-bottom: 16px; }
.two-col-text p  { color: var(--gray-500); margin-bottom: 14px; }

/* Check list card */
.check-list-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r3); padding: 28px; box-shadow: var(--shadow);
}
.check-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--gray-100); }
.check-item:last-child { border-bottom: none; }
.check-item--bad  { color: var(--red); }
.check-item--good { color: var(--green); }
.divider { border: none; border-top: 1px solid var(--gray-200); margin: 8px 0; }

/* ── FEATURES GRID ───────────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r3);
  padding: 28px; transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feature-icon { width: 52px; height: 52px; background: var(--blue-lt); border-radius: var(--r2); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--blue); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ── STEPS ───────────────────────────────────────────────────────────────────── */
.steps-grid { display: flex; align-items: flex-start; gap: 0; }
.step { flex: 1; text-align: center; padding: 24px; }
.step-number { width: 52px; height: 52px; background: var(--blue); color: var(--white); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; margin: 0 auto 16px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p  { font-size: 14px; color: var(--gray-500); }
.step-arrow { font-size: 1.8rem; color: var(--gray-300); padding-top: 40px; flex-shrink: 0; }

/* ── TESTIMONIALS ────────────────────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r3); padding: 28px; font-style: normal;
}
.testimonial-card p { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.testimonial-card footer { display: flex; flex-direction: column; gap: 2px; }
.testimonial-card footer strong { color: var(--white); }
.testimonial-card footer span  { font-size: 13px; color: rgba(255,255,255,.5); }

/* Full testimonials page */
.testimonials-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testimonial-full-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r3);
  padding: 36px; position: relative; box-shadow: var(--shadow);
}
.testimonial-quote-mark { font-size: 5rem; line-height: 1; color: var(--blue-lt); font-family: Georgia, serif; position: absolute; top: 16px; left: 28px; }
.testimonial-full-card blockquote { padding-top: 28px; }
.testimonial-full-card p { font-size: 15px; color: var(--gray-700); line-height: 1.75; margin-bottom: 24px; }
.testimonial-attribution { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testimonial-attribution strong { display: block; font-size: 15px; }
.testimonial-attribution span { font-size: 13px; color: var(--gray-500); }
.testimonial-outcome { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--green); font-weight: 500; padding-top: 12px; border-top: 1px solid var(--gray-100); }

/* Use cases */
.use-cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.use-case-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r3); padding: 28px; }
.use-case-item h3 { font-size: 1rem; margin-bottom: 8px; }
.use-case-item p  { font-size: 14px; color: var(--gray-500); }

/* ── FAQ ─────────────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r2); overflow: hidden; }
.faq-item summary {
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 15px; color: var(--text);
  display: flex; align-items: center; gap: 12px;
  transition: background .15s;
}
.faq-item summary:hover { background: var(--gray-50); }
.faq-item summary h3 { font-size: 15px; font-weight: 600; margin: 0; flex: 1; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--blue); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p, .faq-item[open] > p { padding: 4px 20px 20px; font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ── PRICING ─────────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; margin-bottom: 32px; }
.pricing-card {
  background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--r3);
  padding: 36px; display: flex; flex-direction: column; position: relative;
  transition: box-shadow .2s, transform .2s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pricing-card--featured { border-color: var(--blue); box-shadow: var(--shadow); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 20px; white-space: nowrap;
}
.pricing-card-header { margin-bottom: 24px; }
.pricing-card-header h2 { font-size: 1.2rem; margin-bottom: 12px; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.price-amount { font-size: 2.2rem; font-weight: 800; color: var(--navy); }
.price-period { font-size: 1rem; color: var(--gray-500); }
.price-note   { font-size: 13px; color: var(--gray-500); width: 100%; }
.pricing-card-body { flex: 1; margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--gray-700); }
.pricing-card-footer { margin-top: auto; }
.pricing-cta { width: 100%; justify-content: center; text-align: center; }
.pricing-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-500); margin-top: 16px; }
.loading-state { display: flex; align-items: center; gap: 16px; padding: 48px 0; font-size: 16px; color: var(--gray-500); }

/* ── PAGE HERO ───────────────────────────────────────────────────────────────── */
.page-hero { background: linear-gradient(135deg, #0d1f3c 0%, var(--navy) 100%); padding: 64px 0; }
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.7); font-size: 17px; max-width: 640px; }

/* ── TABLE OF CONTENTS ───────────────────────────────────────────────────────── */
.toc-section { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 24px 0; }
.toc { display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.toc strong { font-size: 14px; color: var(--gray-500); flex-shrink: 0; margin-top: 2px; }
.toc ol { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; counter-reset: toc; }
.toc ol li { counter-increment: toc; }
.toc ol li::before { content: counter(toc) '. '; color: var(--gray-400); }
.toc a { font-size: 14px; font-weight: 500; }

/* ── ARTICLE BODY ────────────────────────────────────────────────────────────── */
.article-body { padding: 56px 24px; }
.article-body section { margin-bottom: 56px; scroll-margin-top: 90px; }
.article-body h2 { font-size: 1.75rem; color: var(--navy); margin-bottom: 16px; padding-top: 8px; border-top: 3px solid var(--blue); padding-top: 20px; }
.article-body h3 { font-size: 1.15rem; margin: 24px 0 12px; }
.article-body p  { color: var(--gray-700); margin-bottom: 16px; }
.code-block { background: var(--gray-900); color: #e2e8f0; padding: 16px 20px; border-radius: var(--r2); overflow-x: auto; font-size: 13px; line-height: 1.6; margin: 16px 0; }
.code-block code { font-family: Consolas, Monaco, 'Courier New', monospace; background: transparent; color: inherit; padding: 0; }
code { background: var(--gray-100); padding: 2px 6px; border-radius: 4px; font-size: .9em; font-family: Consolas, Monaco, 'Courier New', monospace; }
.content-list { padding-left: 20px; margin-bottom: 16px; }
.content-list li { margin-bottom: 8px; color: var(--gray-700); }
.content-list--bullets { list-style: disc; }

/* Callouts */
.callout { border-radius: var(--r2); padding: 16px 20px; margin: 20px 0; font-size: 14px; }
.callout--warning { background: var(--gold-lt, #fffbeb); border-left: 4px solid var(--gold); }
.callout--info    { background: var(--blue-lt); border-left: 4px solid var(--blue); }
.callout strong   { display: block; margin-bottom: 4px; }

/* Policy table */
.policy-table { border: 1px solid var(--gray-200); border-radius: var(--r2); overflow: hidden; margin: 20px 0; }
.policy-row { display: grid; grid-template-columns: 1fr 2fr 1.5fr; gap: 0; }
.policy-row > span { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--gray-200); }
.policy-row--header > span { background: var(--gray-50); font-weight: 600; font-size: 13px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .04em; }
.policy-row:last-child > span { border-bottom: none; }

/* Layer diagram */
.layer-diagram { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.layer { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--gray-50); border-radius: var(--r2); border: 1px solid var(--gray-200); }
.layer-badge { flex-shrink: 0; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.layer-badge--spf  { background: #dbeafe; color: #1e40af; }
.layer-badge--dkim { background: #dcfce7; color: #15803d; }
.layer-badge--dmarc{ background: #fef3c7; color: #92400e; }
.layer strong { display: block; font-size: 15px; margin-bottom: 2px; }
.layer p { font-size: 14px; color: var(--gray-500); margin: 0; }

/* CTA inline */
.cta-inline { background: var(--blue-lt); border: 1px solid #bfdbfe; border-radius: var(--r3); padding: 32px; margin-top: 32px; }
.cta-inline h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cta-inline p  { color: var(--gray-500); margin-bottom: 20px; font-size: 15px; }

/* ── REGISTRATION ────────────────────────────────────────────────────────────── */
.register-section { background: var(--gray-50); min-height: 100vh; padding: 48px 24px; }
.register-container { max-width: 680px; margin: 0 auto; }
.register-header { text-align: center; margin-bottom: 40px; }
.register-header img { height: 44px; width: auto; margin-bottom: 16px; }
.register-header h1 { font-size: 1.75rem; margin-bottom: 8px; }
.register-header p  { color: var(--gray-500); }

/* Step indicator */
.step-indicator { display: flex; align-items: center; margin-bottom: 36px; }
.step-item { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0; min-width: 60px; }
.step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gray-200); color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; transition: all .2s;
}
.step-item--active .step-dot { background: var(--blue); color: var(--white); }
.step-item--done   .step-dot { background: var(--green); color: var(--white); }
.step-label { font-size: 11px; color: var(--gray-500); text-align: center; white-space: nowrap; }
.step-item--active .step-label { color: var(--blue); font-weight: 600; }
.step-connector { flex: 1; height: 2px; background: var(--gray-200); transition: background .2s; }
.step-connector--done { background: var(--green); }

/* Register step */
.register-step { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r3); padding: 40px; margin-bottom: 24px; }
.register-step h2 { font-size: 1.4rem; margin-bottom: 8px; }
.step-desc { color: var(--gray-500); margin-bottom: 28px; font-size: 15px; }

/* Plan cards */
.plan-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.plan-card {
  border: 2px solid var(--gray-200); border-radius: var(--r3); padding: 24px;
  cursor: pointer; background: var(--white); text-align: left;
  transition: border-color .15s, box-shadow .15s; position: relative;
}
.plan-card:hover    { border-color: var(--blue); box-shadow: var(--shadow); }
.plan-card--selected { border-color: var(--blue); background: var(--blue-lt); }
.plan-card--featured { border-color: var(--navy); }
.plan-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--navy); color: var(--white); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.plan-card h3 { font-size: 1rem; margin-bottom: 8px; }
.plan-price { margin-bottom: 8px; }
.plan-price strong { font-size: 1.4rem; font-weight: 800; color: var(--navy); display: block; }
.plan-price strong span { font-size: .85rem; font-weight: 500; color: var(--gray-500); }
.plan-price small { font-size: 12px; color: var(--gray-500); }
.plan-detail { font-size: 13px; color: var(--gray-500); margin-bottom: 12px; }
.plan-select-indicator { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--blue); margin-top: 12px; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--gray-300); border-radius: var(--r);
  font-size: 15px; font-family: inherit; color: var(--text);
  transition: border-color .15s, box-shadow .15s; background: var(--white);
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,107,196,.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group--check { background: var(--gray-50); border-radius: var(--r2); padding: 16px; }
.check-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; font-weight: 500; }
.check-label input { width: auto; }
.field-hint { font-size: 13px; color: var(--gray-500); margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.field-error { font-size: 13px; color: var(--red); margin-top: 6px; }
.req { color: var(--red); }
.optional { font-weight: 400; color: var(--gray-500); font-size: 12px; }

/* Password rules */
.password-rules { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.pw-rule { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-500); }
.pw-rule--ok { color: var(--green); }

/* Stripe card element */
.stripe-card-element {
  border: 1px solid var(--gray-300); border-radius: var(--r); padding: 12px;
  background: var(--white); transition: border-color .15s, box-shadow .15s;
}
.stripe-card-element:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,107,196,.15); }

/* Plan summary inline */
.plan-summary-inline { background: var(--blue-lt); border: 1px solid #bfdbfe; border-radius: var(--r2); padding: 12px 16px; font-size: 14px; color: var(--navy); margin-top: 16px; }

/* DNS record card */
.dns-record-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--r3); padding: 24px; margin: 24px 0; }
.dns-record-header { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.dns-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dns-table th { background: var(--gray-100); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-500); padding: 8px 12px; text-align: left; border: 1px solid var(--gray-200); }
.dns-table td { padding: 10px 12px; border: 1px solid var(--gray-200); background: var(--white); vertical-align: middle; }
.dns-value { word-break: break-all; font-family: Consolas, monospace; font-size: 13px; }
.copy-btn { background: none; border: 1px solid var(--gray-300); border-radius: 4px; padding: 4px 6px; cursor: pointer; color: var(--gray-500); margin-left: 8px; vertical-align: middle; transition: all .15s; }
.copy-btn:hover { border-color: var(--blue); color: var(--blue); }
.dns-note { font-size: 13px; color: var(--gray-500); margin-top: 12px; }

/* Account summary */
.account-summary { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r3); padding: 24px; margin-top: 24px; }
.account-summary h3 { font-size: 1rem; margin-bottom: 16px; }
.summary-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.summary-list div { display: flex; flex-direction: column; gap: 2px; }
.summary-list dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-500); }
.summary-list dd { font-size: 15px; font-weight: 500; }

/* Navigation within form */
.register-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-100); }

/* Success state */
.register-step--success { text-align: center; }
.success-icon { margin: 0 auto 24px; }
.success-icon svg { display: block; margin: 0 auto; }
.register-step--success h2 { font-size: 1.75rem; margin-bottom: 12px; }
.register-step--success p { color: var(--gray-500); margin-bottom: 12px; }

/* ── ALERTS ───────────────────────────────────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: var(--r2); font-size: 14px; margin-bottom: 20px; border: 1px solid; }
.alert--error { background: var(--red-lt); border-color: #f5c6c2; color: var(--red); }

/* ── SPINNER ─────────────────────────────────────────────────────────────────── */
.spinner {
  width: 22px; height: 22px; border: 3px solid var(--gray-200);
  border-top-color: var(--blue); border-radius: 50;
  animation: spin .6s linear infinite; flex-shrink: 0;
}
.spinner--sm { width: 16px; height: 16px; border-width: 2px; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .sales-container { flex-direction: column; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-full-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); padding: 0; align-self: center; }
  .use-cases-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .sales-hamburger { display: flex; }
  .sales-nav {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px; gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  .sales-nav--open { display: flex; }
  .sales-nav-link, .sales-nav-cta, .sales-nav-login { text-align: center; justify-content: center; }
  .sales-nav-cta, .sales-nav-login { margin-left: 0; }
  .sales-header { position: relative; }

  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .summary-list { grid-template-columns: 1fr; }
  .step-label { display: none; }
  .register-step { padding: 28px 20px; }
  .policy-row { grid-template-columns: 1fr; }
  .policy-row > span { border-bottom: 1px solid var(--gray-200); }
}
