/* Daxita × iDigitalPreneur — pure dark theme, bg #151616, white text
   Design system (UI UX Pro Max): Trust & Authority + Conversion /
   Accessible & Ethical — dark. Fonts: Poppins (headings) / Open Sans (body). */

:root {
  --bg: #151616;
  --panel: #1e1f22;
  --border: #2a2b2e;
  --text: #ffffff;
  --muted: #a6a9ae;
  --accent: #2080c0;
  --accent-2: #33b4e8;
  --radius: 14px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -0.01em; }

h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; margin-bottom: 8px; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { max-width: 65ch; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 18px auto 28px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Focus + interaction (a11y: visible focus, cursor-pointer, 150-300ms hovers) */
a, summary, .btn { cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}
.btn-primary:hover { opacity: 0.92; }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { background: var(--panel); border-color: var(--accent); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 0.85rem; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 22, 22, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 20px; padding: 12px 20px; flex-wrap: wrap; }

.brand { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.brand img.brand-logo { display: block; height: 42px; width: auto; }
@media (max-width: 420px) { .brand img.brand-logo { height: 34px; } }

.links { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.links a:hover { color: var(--text); background: var(--panel); }
@media (max-width: 720px) { .links { display: none; } }

/* Hero */
.hero { padding: 96px 0 64px; text-align: center; }
.hero .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
}
.idp-chip {
  display: inline-flex;
  background: #fff;
  border-radius: 7px;
  padding: 3px;
  line-height: 0;
}
.idp-chip img { display: block; width: 22px; height: auto; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }

/* Strip */
.strip { border-block: 1px solid var(--border); background: var(--panel); }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 32px 20px;
  text-align: center;
}
.strip-grid strong { display: block; font-family: var(--font-head); font-size: 1.5rem; }
.strip-grid span { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 720px) { .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* Sections */
.section { padding: 76px 0; }
.section-alt { background: var(--panel); border-block: 1px solid var(--border); }
.section h2 { text-align: center; }
.section > .container > .muted { text-align: center; margin: 0 auto 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 28px; }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }

/* Punch line + skills */
.punch {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--accent-2);
}
.skill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 18px;
}
.skill-list li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 0.78rem;
  color: var(--muted);
}
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

/* Featured (highest value) package */
.card-featured { border-color: var(--accent); position: relative; }
.card-featured:hover { border-color: var(--accent-2); }
.badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 28px 0 14px; }
.step { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.step-num {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 14px;
}

/* CTA box */
.cta-box {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 24px;
  background: radial-gradient(ellipse at top, rgba(32, 128, 192, 0.16), transparent 60%);
}
.cta-box .lead { margin-left: auto; margin-right: auto; }
.checklist { list-style: none; margin: 0 auto 26px; display: inline-block; text-align: left; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--muted); }
.check { width: 20px; height: 20px; color: var(--accent-2); flex-shrink: 0; }

/* FAQ */
details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 12px;
  max-width: 760px;
  margin-inline: auto;
}
summary { font-family: var(--font-head); font-weight: 600; }
summary:hover { color: var(--accent-2); }
details p { margin-top: 10px; color: var(--muted); }

/* Footer */
.footer { padding: 44px 0; border-top: 1px solid var(--border); }
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-left { flex: 1 1 320px; }
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.footer-logos { display: flex; align-items: center; gap: 14px; }
.footer-logos img.brand-logo { height: 40px; width: auto; display: block; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-social a:hover { color: var(--text); border-color: var(--accent); background: var(--panel); }
.footer p { margin-bottom: 6px; }
@media (max-width: 720px) {
  .footer-grid { flex-direction: column; align-items: center; text-align: center; }
  .footer-right { align-items: center; }
  .footer-social { justify-content: center; }
}

/* Floating WhatsApp CTA */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fab:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5); }
.fab:active { transform: translateY(0); }
@media (max-width: 720px) {
  .fab { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

/* Lead modal */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
}
.modal-box {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.modal-close:hover { color: var(--text); background: var(--bg); }
.modal-box h2 { margin-bottom: 4px; }
.modal-box > p { margin-bottom: 18px; }

/* Form */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.2s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(51, 180, 232, 0.25);
}
.field .field-error { color: #f87171; font-size: 0.82rem; margin-top: 6px; }

/* Choice (callback / WhatsApp) */
.choice {
  border: none;
  margin: 0 0 20px;
  padding: 0;
}
.choice legend { font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }
.choice-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.choice-opt:hover { border-color: var(--accent); }
.choice-opt:has(input:checked) { border-color: var(--accent); background: rgba(32, 128, 192, 0.12); }
.choice-opt input { accent-color: var(--accent-2); width: 18px; height: 18px; }

.btn-block { width: 100%; }
.center { text-align: center; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}