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

:root {
  --primary:       #0073ea;
  --primary-dark:  #0060c0;
  --primary-light: #e6f0fb;
  --dark:          #1a1f36;
  --text:          #323338;
  --subtle:        #676879;
  --border:        #e5e7f0;
  --bg-light:      #f6f7fb;
  --success:       #00ca72;
  --radius:        8px;
  --shadow:        0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--subtle);
  max-width: 560px;
  line-height: 1.7;
}

.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  border: none;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-light {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-light:hover { background: rgba(255,255,255,.25); }

.btn-lg { padding: 15px 32px; font-size: 16px; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--subtle);
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0f1729 0%, #1a2d5a 60%, #0f2445 100%);
  color: #fff;
  padding: 100px 0 90px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0,115,234,.25) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,115,234,.2);
  border: 1px solid rgba(0,115,234,.4);
  color: #8ac4ff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-eyebrow-img {
  height: 18px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: #60a5fa;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
}

/* Faux UI card in hero */
.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.hero-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-card-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

.sync-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 6px;
  background: rgba(255,255,255,.04);
  font-size: 13px;
  color: rgba(255,255,255,.75);
}
.sync-row:last-child { margin-bottom: 0; }

.sync-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  margin-left: auto;
  white-space: nowrap;
}
.sync-badge.live  { background: rgba(0,202,114,.2); color: #00ca72; }
.sync-badge.sched { background: rgba(0,115,234,.2); color: #60a5fa; }
.sync-badge.done  { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); }

.sync-icon { font-size: 15px; flex-shrink: 0; }

/* ── Logos strip ─────────────────────────────────────────────────────────── */
.logos-strip {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.logos-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 20px;
  text-align: center;
}

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

.db-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--subtle);
  opacity: .7;
  transition: opacity .2s;
}
.db-logo:hover { opacity: 1; }
.db-logo .icon { font-size: 20px; }

/* ── Features ────────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--subtle);
  line-height: 1.65;
}

/* ── How it works ────────────────────────────────────────────────────────── */
.how-bg { background: var(--bg-light); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--bg-light), 0 0 0 8px var(--border);
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

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

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 56px;
  align-items: start;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  background: #fff;
  position: relative;
  transition: box-shadow .2s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }

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

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 38px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sup { font-size: 20px; vertical-align: super; }
.pricing-price .period { font-size: 15px; font-weight: 500; color: var(--subtle); }

.pricing-desc {
  font-size: 13px;
  color: var(--subtle);
  margin-bottom: 20px;
  min-height: 36px;
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-features li.muted {
  color: var(--subtle);
}
.pricing-features li.muted::before {
  content: '—';
  color: var(--border);
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-bg { background: var(--bg-light); }

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

details.faq-item summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .15s;
  user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { background: var(--bg-light); }

.faq-chevron {
  font-size: 18px;
  color: var(--subtle);
  flex-shrink: 0;
  transition: transform .2s;
}

details[open] .faq-chevron { transform: rotate(180deg); }

.faq-body {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--subtle);
  line-height: 1.7;
}

/* ── CTA banner ──────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #0060c0 0%, #0073ea 60%, #0096ff 100%);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
}

.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.55);
  padding: 48px 0 28px;
}

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

.footer-brand .nav-logo { color: #fff; margin-bottom: 12px; }

.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color .15s;
}
.footer-col ul a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #fff; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}
