:root {
  --ink: #1a1a1a;
  --muted: #666666;
  --brand: #004A8D;        /* Dualz primary blue */
  --brand-2: #0062cc;      /* Brighter blue for hover */
  --accent: #0074d9;       /* Highlight blue */
  --bg: #f8f9fa;           /* Light neutral background */
  --card: #ffffff;
  --ok: #28a745;
  --warn: #ffc107;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)),
    url("/assets/dualz-bg.png");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: -2;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin-top: 0;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-style: italic;
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  transition: all 200ms;
}

.menu-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.menu-item {
  position: relative;
  padding: 0.6rem 0.5rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 200ms;
}

.menu-item:hover {
  color: var(--brand);
}

.submenu {
  position: absolute;
  left: 0;
  top: 2.1rem;
  min-width: 230px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  padding: 0.4rem;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-item:hover .submenu,
.menu-item:focus-within .submenu {
  display: block;
}

.submenu a {
  display: block;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
}

.submenu a:hover {
  background: #f3f6f7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms;
  font-size: 0.95rem;
}

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

.btn.primary:hover {
  background: #003a6d;
  box-shadow: 0 4px 12px rgba(0, 74, 141, 0.3);
}

.btn.secondary {
  background: #fff;
  border: 2px solid var(--brand);
  color: var(--brand);
}

.btn.secondary:hover {
  background: #f0f4f8;
}

.hero {
  padding: 4.2rem 0 2.8rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0.5rem;
  width: min(42vw, 520px);
  height: 280px;
  background: url("/assets/dualz-hero.png") no-repeat right center;
  background-size: contain;
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

.hero-card {
  background: var(--card);
  border: 1px solid #ddd;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.badge {
  display: inline-block;
  background: #e3f2fd;
  color: #004A8D;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.8rem;
}

.section {
  padding: 2.8rem 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 200ms;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card h3 {
  margin-bottom: 0.3rem;
}

.kicker {
  color: var(--muted);
  margin-top: -0.4rem;
}

.tier-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tier {
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.tier ul {
  padding-left: 1rem;
  margin: 0.7rem 0;
}

.wizard {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #40475b;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.65rem;
  font: inherit;
  transition: border-color 200ms;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 74, 141, 0.1);
}

.form-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.7rem;
}

.result {
  margin-top: 0.9rem;
  border-left: 4px solid var(--ok);
  background: #f0f8f4;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

/* ── Pricing (dark section) ──────────────────────────── */
.pricing-dark {
  background: #0d1220;
  color: #c8d0e0;
  padding: 3.5rem 0 2.8rem;
}

.pricing-eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5b6a8a;
  margin: 0 0 0.6rem;
}

.pricing-headline {
  text-align: center;
  color: #fff;
  font-size: 1.9rem;
  margin: 0 0 0.5rem;
}

.pricing-subline {
  text-align: center;
  color: #7a8aaa;
  font-size: 0.95rem;
  margin: 0 0 2.2rem;
}

.pricing-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.pd-card {
  background: #131929;
  border: 1px solid #1e2d47;
  border-radius: 16px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms;
}

.pd-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.pd-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.pd-card-header h3 {
  margin: 0 0 0.3rem;
  color: #fff;
  font-size: 1.1rem;
}

.pd-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pd-icon--ott { background: rgba(100, 96, 230, 0.18); color: #8b87f0; }
.pd-icon--dvb { background: rgba(255, 140, 0, 0.18);  color: #ff9820; }

.pd-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.pd-badge--ott { background: rgba(100, 96, 230, 0.22); color: #a09cf5; }
.pd-badge--dvb { background: rgba(255, 140, 0, 0.22);  color: #ff9820; }

.pd-desc {
  color: #7a8aaa;
  font-size: 0.9rem;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.pd-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  flex: 1;
}

.pd-features li {
  padding: 0.38rem 0 0.38rem 1.5rem;
  font-size: 0.9rem;
  color: #b0bccc;
  border-bottom: 1px solid #1a2538;
  position: relative;
}

.pd-features li:last-child { border-bottom: none; }

.pd-features--ott li::before { content: "✓"; position: absolute; left: 0; color: #8b87f0; font-weight: 700; }
.pd-features--dvb li::before { content: "✓"; position: absolute; left: 0; color: #ff9820; font-weight: 700; }

.pd-price {
  font-size: 0.88rem;
  color: #7a8aaa;
  margin: 0 0 1.1rem;
}

.pd-price strong {
  color: #fff;
  font-size: 1.15rem;
}

.pd-btn--ott {
  background: #5856d6;
  color: #fff;
  width: 100%;
  justify-content: center;
}

.pd-btn--ott:hover { background: #4644c4; box-shadow: 0 4px 14px rgba(88, 86, 214, 0.45); }

.pd-btn--dvb {
  background: #e07a00;
  color: #fff;
  width: 100%;
  justify-content: center;
}

.pd-btn--dvb:hover { background: #c46b00; box-shadow: 0 4px 14px rgba(224, 122, 0, 0.45); }

.pricing-enterprise-note {
  text-align: center;
  margin-top: 1.6rem;
  font-size: 0.88rem;
  color: #5b6a8a;
}

.pricing-enterprise-note a {
  color: #8b87f0;
  text-decoration: underline;
}

/* ── Footer ─────────────────────────────────────────── */
.footer {
  border-top: 1px solid #ddd;
  margin-top: 2rem;
  background: #1a1f2e;
  color: #c8cdd8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 2rem;
  padding: 2.8rem 0 2rem;
}

.footer-brand .brand {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.55;
  margin-top: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  color: #c8cdd8;
  transition: color 200ms;
}

.footer-social a:hover {
  color: #fff;
}

.footer-links h4,
.footer-contact h4 {
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
  color: #c8cdd8;
  font-size: 0.9rem;
  transition: color 200ms;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-contact address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.footer-contact p {
  font-size: 0.88rem;
  margin: 0.4rem 0;
  line-height: 1.5;
}

.footer-contact small {
  color: #888ea4;
}

.footer-legal {
  font-size: 0.8rem !important;
  color: #888ea4 !important;
  margin-top: 0.6rem !important;
}

.footer-bottom {
  border-top: 1px solid #2d3348;
  padding: 1rem 0;
  font-size: 0.82rem;
  color: #888ea4;
}

/* ── Cookie banner ──────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #1a1f2e;
  color: #c8cdd8;
  border-top: 1px solid #2d3348;
  padding: 0.9rem 1rem;
}

.cookie-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-inner p {
  margin: 0;
  font-size: 0.88rem;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-banner .btn.secondary {
  background: transparent;
  border-color: #888ea4;
  color: #c8cdd8;
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.cookie-banner .btn.secondary:hover {
  background: #2d3348;
}

.cookie-banner .btn.primary {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

/* ── Wizard ─────────────────────────────────────────── */

.wizard-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.4rem;
}

.wstep {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  transition: background 200ms, border-color 200ms, color 200ms;
}

.wstep.active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.wstep.done {
  border-color: var(--ok);
  background: var(--ok);
  color: #fff;
}

.wstep-line {
  flex: 1;
  height: 2px;
  background: #ddd;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-step h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.option-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}

.option-cards--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.option-card {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  cursor: pointer;
  transition: border-color 180ms, background 180ms;
}

.option-card:hover {
  border-color: var(--brand);
  background: #f0f4f8;
}

.option-card input[type="radio"] {
  margin-top: 0.15rem;
  accent-color: var(--brand);
  width: auto;
  flex-shrink: 0;
}

.option-card:has(input:checked) {
  border-color: var(--brand);
  background: #e3f2fd;
}

.option-label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.95rem;
}

.option-label small {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

.hours-row {
  margin-top: 0.8rem;
}

.wizard-nav {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .option-cards,
  .option-cards--four {
    grid-template-columns: 1fr;
  }
}

/* ── Fade-up ─────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 600ms ease forwards;
}

.fade-up:nth-child(2) { animation-delay: 120ms; }
.fade-up:nth-child(3) { animation-delay: 220ms; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .brand {
    font-size: 1.45rem;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .pricing-grid,
  .pricing-duo,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero::after {
    width: 65vw;
    height: 200px;
    opacity: 0.12;
  }

  .hero-grid,
  .cards,
  .tier-map,
  .form-grid,
  .pricing-duo,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 72px;
    background: #fff;
    border: 1px solid #e4dcc8;
    border-radius: 12px;
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
  }

  .menu.open {
    display: flex;
  }

  .submenu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding-left: 0;
  }
}
