/* HitNSpin / WikiBuster — Cloudflare-inspired tokens */
:root {
  --primary: #ff4801;
  --accent-hover: #d63c01;
  --accent-soft: #ff7038;
  --accent-wash: #fffbf5;
  --accent-muted: #f0e3de;
  --ink: #1a1a1a;
  --body: #262626;
  --muted: #707070;
  --canvas: #fafafa;
  --surface: #ffffff;
  --surface-alt: #f5f5f5;
  --border: #e5e5e5;
  --border-strong: #d4d4d4;
  --footer-bg: #171717;
  --on-primary: #ffffff;
  --on-dark: #fafafa;
  --success: #00bd7d;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-ui: "DM Sans", system-ui, sans-serif;
  --container: min(1120px, 92vw);
  --nav-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-md);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4vw;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-lockup:hover {
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand-site {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.brand-site strong {
  color: var(--ink);
  font-weight: 600;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
}

.nav-links a:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

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

.menu-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  cursor: pointer;
  color: var(--ink);
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.menu-toggle .icon-close {
  display: none;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(26, 26, 26, 0.4);
  z-index: 999;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-panel {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 4vw 24px;
}

.mobile-drawer-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer-panel a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: var(--body);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .mobile-drawer {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  min-height: 44px;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--on-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  color: var(--ink);
  background: var(--surface);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* Hero */
.hero {
  position: relative;
  background: var(--accent-wash);
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  max-width: 520px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 72, 1, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 4vw;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }

  .hero {
    padding: 96px 0 120px;
  }
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 10vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 20px;
}

.hero-title span {
  color: var(--primary);
}

.hero-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  max-width: 34ch;
  margin: 0 0 28px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--body);
}

.hero-bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 32px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 24px 48px rgba(26, 26, 26, 0.06);
}

.hero-visual-inner {
  background: var(--footer-bg);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  color: var(--on-dark);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slot-display {
  text-align: center;
  padding: 24px 0;
}

.slot-reels {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.reel {
  width: 64px;
  height: 80px;
  background: #262626;
  border: 1px solid #3d3d3d;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 28px;
}

.slot-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent-soft);
}

.visual-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #a3a3a3;
  border-top: 1px solid #333;
  padding-top: 16px;
}

.visual-meta .live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--surface);
}

.section-warm {
  background: var(--accent-wash);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 4vw;
}

.section-header {
  max-width: 560px;
  margin-bottom: 48px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin: 0 0 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.section-alt .product-card {
  background: var(--canvas);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-muted);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.card-text {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Dark panel */
.dark-panel {
  background: var(--footer-bg);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  color: var(--on-dark);
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .dark-panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 48px 56px;
  }
}

.dark-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.dark-panel p {
  color: #a3a3a3;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.55;
}

.lang-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lang-pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: #262626;
  border: 1px solid #3d3d3d;
  color: #d4d4d4;
}

/* Trust */
.trust-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  text-align: center;
  padding: 24px;
}

.trust-metric {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin: 0 0 8px;
}

.trust-label {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.testimonial-card {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--surface);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  font-style: normal;
}

.testimonial-card cite {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 16px;
}

.cta-band p {
  font-size: 17px;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 28px;
}

.cta-band .disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #a3a3a3;
  padding: 48px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand {
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
}

.footer-copy {
  margin: 0;
  line-height: 1.55;
  max-width: 36ch;
}

.footer-heading {
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #a3a3a3;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--on-dark);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
}