/* ============================================================
   DNSX Cloud – Marketing CSS  (Light theme)
   Fonts: Poppins (headings) + Nunito (body)
   ============================================================ */

:root {
  --indigo:      #6366f1;
  --indigo-dark: #4f46e5;
  --indigo-soft: rgba(99,102,241,.08);
  --green:       #22c55e;
  --amber:       #f59e0b;
  --bg:          #f8fafc;
  --bg-alt:      #f1f5f9;
  --card:        #ffffff;
  --border:      rgba(203,213,225,.7);
  --text:        #0f172a;
  --muted:       #64748b;
  --shadow-sm:   0 1px 3px rgba(15,23,42,.06);
  --shadow-md:   0 4px 20px rgba(15,23,42,.08);
  --shadow-lg:   0 16px 48px rgba(15,23,42,.12);
}

*{box-sizing:border-box}

body {
  font-family: 'Nunito', 'Space Grotesk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Poppins', 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
  box-shadow: var(--shadow-sm);
}

.mkt-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.mkt-brand .brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.mkt-brand-icon {
  width: 34px;
  height: 34px;
  background: var(--indigo);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.mkt-nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  transition: color .2s;
  padding: .25rem 0;
}
.mkt-nav-link:hover,
.mkt-nav-link.active { color: var(--indigo); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.mkt-btn-primary {
  background: var(--indigo);
  border: 1px solid var(--indigo);
  color: #fff !important;
  font-weight: 700;
  border-radius: 8px;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.mkt-btn-primary:hover {
  background: var(--indigo-dark);
  border-color: var(--indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(99,102,241,.35);
}
.mkt-btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text) !important;
  font-weight: 700;
  border-radius: 8px;
  transition: border-color .2s, background .2s;
}
.mkt-btn-outline:hover {
  border-color: var(--indigo);
  color: var(--indigo) !important;
  background: var(--indigo-soft);
}
.mkt-btn-lg { padding: .8rem 2rem; font-size: 1.05rem; }

/* ── HERO ─────────────────────────────────────────────────── */
.mkt-hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(160deg, #eef2ff 0%, #f8fafc 50%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}
.mkt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(99,102,241,.12), transparent 70%);
}
.mkt-hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.25);
  color: var(--indigo);
  font-size: .82rem;
  font-weight: 700;
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.mkt-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--indigo), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-weight: 500;
}
.hero-note {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 1rem;
}

.hero-preview {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 780px;
  margin: 3rem auto 0;
}
.preview-chrome {
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.chrome-dots {
  display: flex;
  gap: .4rem;
}
.chrome-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.chrome-dots span:nth-child(1){background:#ef4444}
.chrome-dots span:nth-child(2){background:#f59e0b}
.chrome-dots span:nth-child(3){background:#22c55e}
.chrome-bar {
  flex: 1;
  background: #e2e8f0;
  border-radius: 6px;
  padding: .3rem .75rem;
  font-size: .8rem;
  color: var(--muted);
}
.preview-screen {
  padding: 1.25rem;
}
.preview-metric {
  background: linear-gradient(135deg, #f1f5f9, #fff);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .75rem 1rem;
  min-width: 100px;
  flex: 1;
}
.metric-n {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.metric-l {
  font-size: .75rem;
  color: var(--muted);
  margin-top: .2rem;
}

/* ── USE CASE BANNER (home only) ─────────────────────────── */
.usecase-banner {
  background: linear-gradient(135deg, var(--indigo) 0%, #8b5cf6 100%);
  color: #fff;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  overflow: hidden;
  position: relative;
}
.usecase-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.usecase-banner h3 { font-weight: 800; color: #fff; position: relative; z-index: 1; }
.usecase-banner p  { color: rgba(255,255,255,.82); line-height: 1.7; position: relative; z-index: 1; }
.usecase-step {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  transition: background .2s, transform .2s;
  position: relative;
  z-index: 1;
  height: 100%;
}
.usecase-step:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-2px);
}
.usecase-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.25);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}
.usecase-step-text h6 { color: #fff; font-weight: 700; margin-bottom: .3rem; font-size: .95rem; }
.usecase-step-text p  { color: rgba(255,255,255,.78); font-size: .88rem; margin: 0; line-height: 1.5; }

/* ── SECTIONS ───────────────────────────────────────────── */
.mkt-section {
  padding: 5rem 0;
}
.mkt-section-alt {
  background: #f1f5fb;
}

.section-tag {
  display: inline-block;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .3rem .9rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: .5rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── FEATURE CARDS ──────────────────────────────────────── */
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--indigo-soft);
  border: 1px solid rgba(99,102,241,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--indigo);
  margin-bottom: 1rem;
}
.feature-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}
.feature-card p {
  font-size: .92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── HOW IT WORKS ───────────────────────────────────────── */
.step-card {
  text-align: center;
  padding: 1.5rem 1rem;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 14px rgba(99,102,241,.3);
}
.step-card h5 { font-weight: 700; color: var(--text); }
.step-card p  { color: var(--muted); font-size: .9rem; }

/* ── TESTIMONIAL / SOCIAL PROOF ─────────────────────────── */
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.testimonial-card .quote { color: var(--text); line-height: 1.65; margin-bottom: 1rem; }
.testimonial-card .author { font-weight: 700; color: var(--text); font-size: .9rem; }
.testimonial-card .author-role { color: var(--muted); font-size: .82rem; }
.stars { color: #f59e0b; font-size: 1rem; letter-spacing: 1px; }

/* ── PRICING CARDS ──────────────────────────────────────── */
.pricing-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-popular {
  border-color: var(--indigo);
  box-shadow: 0 0 0 2px rgba(99,102,241,.18), var(--shadow-md);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--indigo);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-top: .5rem; }
.plan-price {
  margin: 1rem 0 .25rem;
  display: flex;
  align-items: baseline;
  gap: .2rem;
}
.price-currency { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.price-amount { font-size: 3rem; font-weight: 800; color: var(--text); line-height: 1; }
.price-period { font-size: .9rem; color: var(--muted); }
.plan-desc { font-size: .88rem; color: var(--muted); line-height: 1.5; margin-bottom: .75rem; }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.plan-features li {
  font-size: .9rem;
  color: var(--text);
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.plan-features li:last-child { border-bottom: none; }

/* ── BILLING TOGGLE ─────────────────────────────────────── */
.billing-toggle {
  display: inline-flex;
  background: #e2e8f0;
  border-radius: 999px;
  padding: 4px;
  margin: 1.5rem auto;
}
.billing-toggle button {
  background: transparent;
  border: none;
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  padding: .45rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.billing-toggle button.active {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.badge-save {
  background: var(--green);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: .15rem .5rem;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ── COMPARISON TABLE ───────────────────────────────────── */
.comparison-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.comparison-table h3 { color: var(--text); }
.comparison-table table { margin: 0; color: var(--text); }
.comparison-table thead th {
  background: #f8fafc;
  color: var(--text);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 2px solid var(--border);
  padding: 1rem;
}
.comparison-table thead th.popular-col {
  background: linear-gradient(135deg, var(--indigo-soft), rgba(99,102,241,.05));
  color: var(--indigo);
}
.comparison-table tbody td {
  padding: .85rem 1rem;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover td { background: #f8fafc; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  margin-bottom: .75rem;
  overflow: hidden;
  background: var(--card);
}
.faq-btn {
  background: var(--card) !important;
  color: var(--text) !important;
  font-weight: 600;
  font-size: .98rem;
  padding: 1.1rem 1.25rem;
  box-shadow: none !important;
}
.faq-btn:not(.collapsed) { color: var(--indigo) !important; }
.faq-btn::after { filter: none; }
.faq-body {
  background: #f8fafc;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.7;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}

/* ── CTA ─────────────────────────────────────────────────── */
.mkt-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 100%);
  border-top: 1px solid var(--border);
}
.mkt-cta h2 { color: var(--text); font-weight: 800; font-size: 2.4rem; }
.mkt-cta p  { color: var(--muted); }

/* ── FOOTER ─────────────────────────────────────────────── */
.mkt-footer {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5fb 100%);
  border-top: 1px solid #e2e8f0;
  padding: 3.5rem 0 2rem;
}
.footer-heading {
  color: #374151;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
}
.footer-links a:hover { color: #6366f1; }

/* ── STATS TICKER ───────────────────────────────────────── */
.stats-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.stat-item strong { font-size: 1.8rem; font-weight: 800; color: var(--text); display: block; }
.stat-item small  { color: var(--muted); font-size: .85rem; }

/* ── INTEGRATIONS ────────────────────────────────────────── */
.integration-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* ── FEATURES PAGE SPECIFIC ─────────────────────────────── */
.problem-cell {
  padding: 1.4rem 1.2rem;
  border-radius: 16px;
  background: var(--card);
  border: 1.5px solid var(--border);
  font-size: .9rem;
  line-height: 1.6;
}
.problem-cell.good { border-color: #bbf7d0; background: #f0fdf4; }
.problem-cell.bad  { border-color: #fecaca; background: #fff1f2; }
.problem-cell.good i { color: #16a34a; font-size: 1.3rem; display: block; margin-bottom: .5rem; }
.problem-cell.bad  i { color: #dc2626; font-size: 1.3rem; display: block; margin-bottom: .5rem; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; align-items: flex-start; gap: .6rem; padding: .5rem 0; font-size: .95rem; color: var(--text); border-bottom: 1px dashed var(--border); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list li i { color: var(--indigo); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

.feature-preview {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: var(--shadow-md);
}
.preview-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--indigo);
  margin-bottom: 1rem;
}
.fp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.fp-row:last-child { border-bottom: 0; }
.fp-tag { color: var(--muted); font-weight: 500; }
.fp-val { color: var(--text); font-weight: 600; }
.fp-val.code { font-family: monospace; font-size: .83rem; color: #475569; }
.text-indigo { color: var(--indigo) !important; }

/* ── NAV ACTIVE ──────────────────────────────────────────── */
.mkt-nav-link.active { color: var(--indigo); font-weight: 700; }

/* ── HERO PREVIEW WIDGET ─────────────────────────────────── */
.hero-preview    { max-width: 700px; margin: 0 auto; }
.preview-chrome  { background: #e2e8f0; border-radius: 12px 12px 0 0; padding: .55rem 1rem; display: flex; align-items: center; gap: .8rem; }
.chrome-dots     { display: flex; gap: 5px; }
.chrome-dots span { width: 10px; height: 10px; border-radius: 50%; background: #94a3b8; display: inline-block; }
.chrome-bar      { flex: 1; background: #fff; border-radius: 6px; font-size: .78rem; color: #94a3b8; padding: 3px 10px; text-align: center; }
.preview-screen  { background: #fff; border: 1.5px solid #e2e8f0; border-top: 0; border-radius: 0 0 12px 12px; padding: 1.2rem; }
.preview-metric  { background: var(--bg-alt); border-radius: 10px; text-align: center; padding: .9rem .6rem; }
.metric-n        { font-size: 1.5rem; font-weight: 800; color: var(--text); font-family: 'Poppins', sans-serif; }
.metric-l        { font-size: .75rem; color: var(--muted); font-weight: 500; }

/* ── COMPARISON TABLE ────────────────────────────────────── */
.comparison-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.comparison-table thead tr { background: var(--bg-alt); }
.comparison-table th { padding: 1rem 1.2rem; font-weight: 700; font-family: 'Poppins', sans-serif; color: var(--text); border-bottom: 2px solid var(--border); }
.comparison-table td { padding: .85rem 1.2rem; font-size: .9rem; color: var(--text); border-bottom: 1px solid var(--border); }
.comparison-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table tbody tr:hover { background: var(--bg-alt); }
.comparison-table .text-indigo { color: var(--indigo) !important; font-weight: 700; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .mkt-hero { padding: 3.5rem 0 3rem; }
  .mkt-section { padding: 3.5rem 0; }
}
@media (max-width: 767px) {
  .mkt-hero h1 { font-size: 2rem; }
  .mkt-btn-lg { padding: .7rem 1.5rem; font-size: .95rem; }
  .price-amount { font-size: 2.2rem; }
  .billing-toggle { flex-direction: column; border-radius: 12px; padding: 6px; }
  .nav-mobile-hidden { display: none !important; }
}

