/* ═══════════════════════════════════════════════
   marketing-base.css — Shared marketing styles
   Used by: layouts/marketing.html, landing.html
   ═══════════════════════════════════════════════ */

:root {
  --at-navy: #0054a6;
  --at-navy-deep: #003d7a;
  --at-navy-light: #e8f0fe;
  --at-amber: #d97706;
  --at-slate: #121317;
  --at-slate-mid: #18191D;
  --at-muted: #45474D;
  --at-border: #E1E6EC;
  --at-surface: #F8F9FC;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.body-marketing {
  font-family: var(--font-body);
  color: var(--at-slate);
  overflow-x: hidden;
  background: #fff !important;
  --tblr-bg-surface: #fff;
  --tblr-bg-surface-secondary: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  font-size: 16px;
}

/* ── Links: no underlines on navigation, buttons ── */
.navbar-landing a,
.navbar-landing a:hover,
[class*="btn-hero"],
[class*="btn-hero"]:hover,
.btn-at-navy,
.btn-at-navy:hover,
.btn-at-primary,
.btn-at-primary:hover,
.landing-footer a,
.landing-footer a:hover {
  text-decoration: none !important;
}

/* ── Typography ── */
.section-title {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--at-slate);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-title em {
  font-style: normal;
  color: var(--at-navy);
}
.section-description {
  font-family: var(--font-body);
  color: var(--at-muted);
  font-size: 1.0625rem;
  max-width: 540px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
}
h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ── Wide container ── */
.container-wide {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Sections ── */
.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ── Navbar ── */
.navbar-landing {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  box-shadow: none !important;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
  padding: 0 !important;
  height: 64px;
  flex-wrap: nowrap !important;
}
.navbar-landing.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--at-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.navbar-landing > .container-wide {
  display: flex !important;
  align-items: center;
  height: 100%;
  position: relative;
}
.navbar-landing .nav-link {
  font-weight: 500;
  color: var(--at-slate);
  font-size: .9375rem;
  letter-spacing: -0.01em;
  transition: color .15s, background .15s;
  padding: .375rem 1rem !important;
  white-space: nowrap;
  border-radius: 9999px;
}
.navbar-landing .nav-link:hover {
  background: var(--at-surface);
  color: var(--at-slate);
}
.navbar-brand-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--at-slate);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.navbar-brand-text:hover { color: var(--at-slate); }
.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-icon img { width: 100%; height: 100%; }
.navbar-landing .nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: 0;
}
.navbar-landing .nav-right {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: .625rem;
  margin-left: auto;
  flex-shrink: 0;
  padding: 0;
}
.navbar-divider { display: none; }

/* ── Nav dropdown ── */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--at-slate);
  font-size: 1rem;
  letter-spacing: -0.005em;
  padding: .375rem 1rem;
  white-space: nowrap;
  border-radius: 9999px;
  transition: color .15s, background .15s;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-dropdown-btn:hover {
  background: var(--at-surface);
  color: var(--at-slate);
}
.nav-dropdown-btn svg.chevron-icon {
  width: 16px;
  height: 16px;
  color: var(--at-muted);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  flex-shrink: 0;
}
.nav-dropdown.open .nav-dropdown-btn svg.chevron-icon {
  transform: rotate(180deg);
}
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 300px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 48px -4px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s cubic-bezier(.4,0,.2,1), transform .2s cubic-bezier(.4,0,.2,1);
  z-index: 200;
}
.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background .15s;
  color: var(--at-slate);
}
.nav-dropdown-link:hover {
  background: var(--at-surface);
  color: var(--at-slate);
}
.nav-dropdown-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--at-muted);
  transition: color .15s;
}
.nav-dropdown-link:hover .nav-dropdown-icon { color: var(--at-navy); }
.nav-dropdown-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}
.nav-dropdown-text {
  flex: 1;
  min-width: 0;
}
.nav-dropdown-title {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.nav-dropdown-desc {
  display: block;
  font-size: .75rem;
  color: var(--at-muted);
  letter-spacing: -0.005em;
  line-height: 1.4;
  margin-top: 1px;
}
.nav-dropdown-arrow {
  width: 16px;
  height: 16px;
  color: var(--at-border);
  flex-shrink: 0;
  transition: color .15s, transform .15s;
}
.nav-dropdown-link:hover .nav-dropdown-arrow {
  color: var(--at-muted);
  transform: translateX(2px);
}

/* ── Buttons ── */
.btn-at-primary {
  background: var(--at-slate);
  border-color: var(--at-slate);
  color: #fff;
  font-weight: 500;
  padding: .4rem 1.125rem;
  border-radius: 9999px;
  font-size: .8125rem;
  letter-spacing: -0.01em;
  transition: all .15s ease;
}
.btn-at-primary:hover {
  background: var(--at-slate-mid);
  color: #fff;
  box-shadow: 0 2px 8px rgba(18,19,23,0.12);
}
.btn-hero-primary {
  background: var(--at-slate);
  border: none;
  color: #fff;
  font-weight: 500;
  padding: .7rem 1.75rem;
  border-radius: 9999px;
  font-size: .9375rem;
  letter-spacing: -0.01em;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 1px 3px rgba(18,19,23,0.08);
}
.btn-hero-primary:hover {
  background: var(--at-slate-mid);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(18,19,23,0.15);
}
.btn-hero-outline {
  background: transparent;
  border: 1px solid var(--at-border);
  color: var(--at-muted);
  font-weight: 500;
  padding: .67rem 1.5rem;
  border-radius: 9999px;
  font-size: .9375rem;
  letter-spacing: -0.01em;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-hero-outline:hover {
  background: var(--at-surface);
  border-color: #CDD4DC;
  color: var(--at-slate);
}

/* ── Footer ── */
.landing-footer {
  background: var(--at-slate);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}
.landing-footer a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: .8125rem;
  font-weight: 400;
  transition: color .15s;
  letter-spacing: -0.005em;
}
.landing-footer a:hover { color: rgba(255,255,255,0.9); }
.landing-footer h5 {
  color: rgba(255,255,255,0.25);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .875rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: .875rem;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.footer-brand-text { color: #fff; font-weight: 500; }
.footer-brand-icon { width: 34px; height: 34px; flex-shrink: 0; }
.footer-brand-icon img { width: 100%; height: 100%; object-fit: contain; }
.footer-description {
  font-size: .8125rem;
  line-height: 1.6;
  max-width: 260px;
  letter-spacing: -0.005em;
  font-weight: 400;
}
.footer-links { line-height: 2.1; }
.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 3rem;
  padding-top: 1.5rem;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeUp .7s cubic-bezier(.16,1,.3,1) both;
}
.reveal {
  opacity: 1;
  transform: translateY(0);
}
.reveal.js-ready {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.js-ready.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Screenshot image styles ── */
.screenshot {
  border-radius: 12px;
  box-shadow: 0 8px 40px -8px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
  width: 100%;
  height: auto;
}

/* ── CTA Section (full-width dark) ── */
.cta-section {
  background: var(--at-slate);
  padding: 7.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,84,166,0.18), transparent 65%);
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1.25rem;
}
.cta-section h2 em {
  font-style: normal;
  color: rgba(255,255,255,.45);
}
.cta-section p {
  color: rgba(255,255,255,0.55);
  font-size: 1.0625rem;
  max-width: 440px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
}
.cta-section .btn-hero-primary {
  background: #fff;
  color: var(--at-slate);
  font-weight: 600;
}
.cta-section .btn-hero-primary:hover {
  background: rgba(255,255,255,0.92);
  color: var(--at-slate);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.cta-section .btn-hero-outline {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}
.cta-section .btn-hero-outline:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  color: #fff;
}
@media (max-width: 768px) {
  .cta-section { padding: 5rem 1.5rem; }
}

/* ── FAQ Section ── */
.faq-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  align-items: start;
}
.faq-sidebar p {
  color: var(--at-muted);
  font-size: .9375rem;
  line-height: 1.7;
  margin: .75rem 0 0;
}
.faq-contact {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  color: var(--at-navy);
  font-size: .875rem;
  font-weight: 500;
  margin-top: .625rem;
  text-decoration: none;
  transition: gap .2s;
}
.faq-contact:hover { gap: .5rem; color: var(--at-navy); }
.faq-contact svg { width: 14px; height: 14px; flex-shrink: 0; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--at-border);
  border-radius: 16px;
  overflow: hidden;
}
.faq-item {
  background: transparent;
  border-bottom: 1px solid var(--at-border);
  transition: background .2s;
}
.faq-item:last-child { border-bottom: none; }
.faq-item:hover { background: rgba(0,0,0,0.012); }
.faq-item.open {
  background: var(--at-surface);
}
.faq-item.open:hover { background: var(--at-surface); }
.faq-question {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9375rem;
  color: var(--at-slate);
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .875rem 1.5rem;
  transition: color .15s;
}
.faq-item.open .faq-question { color: var(--at-navy); font-weight: 600; }
.faq-chevron {
  flex-shrink: 0;
  color: var(--at-muted);
  transition: transform .3s cubic-bezier(.4,0,.2,1), color .15s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--at-navy);
}
.faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
}
.faq-item.open .faq-answer-wrap { opacity: 1; }
.faq-answer {
  padding: 0 1.5rem 1.125rem;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--at-muted);
  letter-spacing: -0.005em;
}
.faq-answer a {
  color: var(--at-navy);
  text-decoration: none;
  font-weight: 500;
}
.faq-answer a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .faq-sidebar { text-align: center; }
}

/* ── Feature grid ── */
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .75rem;
  flex-shrink: 0;
}
.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

/* ── Comparison card ── */
.comparison-card {
  background: #fff;
  border: 1px solid var(--at-border);
  border-radius: 10px;
  padding: 1.5rem;
  border-left: 3px solid var(--at-border);
  height: 100%;
}
.comparison-label {
  font-size: .6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}

/* ── Submission Preview Card ── */
.submission-preview {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 8px 32px rgba(0,0,0,0.04);
}
.sp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .875rem;
}
.sp-stars { font-size: .9375rem; letter-spacing: 1px; }
.sp-stars .star-on { color: #d97706; }
.sp-stars .star-off { color: var(--at-border); }
.sp-time {
  font-size: .6875rem;
  color: var(--at-muted);
  letter-spacing: -0.01em;
}
.sp-message {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--at-slate);
  margin: 0 0 .875rem;
}
.sp-email {
  font-size: .8125rem;
  color: var(--at-navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .375rem;
}
.sp-email svg { width: 14px; height: 14px; flex-shrink: 0; opacity: .6; }
.sp-divider {
  height: 1px;
  background: var(--at-border);
  margin-bottom: .875rem;
}
.sp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
}
.sp-meta span {
  font-size: .6875rem;
  font-weight: 500;
  padding: .1875rem .5rem;
  border-radius: 5px;
  background: var(--at-surface);
  color: var(--at-muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ── Feature Strip ── */
.feature-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.feature-strip-item {
  font-size: 1rem;
  font-weight: 500;
  color: var(--at-slate);
  padding: 0 1.375rem;
  border-right: 1px solid var(--at-border);
  letter-spacing: -0.01em;
  line-height: 1;
}
.feature-strip-item:last-child { border-right: none; }
@media (max-width: 640px) {
  .feature-strip-item { padding: .5rem .875rem; border-right: none; font-size: .9375rem; }
}

/* ── Steps (numbered) ── */
.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--at-slate);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .navbar-landing .nav-center { display: none !important; }
  .navbar-divider { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .animate-in { animation: none; opacity: 1; }
}
