/* Cloudflare-inspired tokens — proxydr.com / Slotoro */
:root {
  --primary: #ff4801;
  --accent: #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;
  --surface-warm: #fffbf5;
  --border: #e5e5e5;
  --border-strong: #d4d4d4;
  --link: #ff4801;
  --success: #00bd7d;
  --on-primary: #ffffff;
  --on-dark: #fafafa;
  --footer-bg: #171717;
  --code-green: #98c379;
  --code-cyan: #56b6c2;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;
  --container: 1200px;
  --nav-height: 64px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-ui: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*,
*::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;
  letter-spacing: -0.005em;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--on-primary);
  font-weight: 500;
}

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

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--accent);
  display: grid;
  place-items: center;
}

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

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

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

.nav-links a:hover {
  background: var(--surface-alt);
  text-decoration: none;
}

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

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  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;
}

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

  .nav-links {
    display: flex;
  }
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px;
  z-index: 99;
  overflow-y: auto;
}

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

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

.mobile-drawer li {
  border-bottom: 1px solid var(--border);
}

.mobile-drawer a {
  display: block;
  padding: 16px 0;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

/* 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;
  padding: 12px 20px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary {
  background: var(--accent);
  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);
  background: var(--surface-alt);
  color: var(--ink);
}

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

.btn-on-dark:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 72, 1, 0.08), transparent 60%);
  pointer-events: none;
}

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

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

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

.hero-title .brand {
  display: block;
  color: var(--accent);
}

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

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

.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 svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--success);
}

.hero-visual {
  position: relative;
}

.infra-panel {
  background: var(--footer-bg);
  color: var(--on-dark);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.infra-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(250, 250, 250, 0.6);
  font-family: var(--font-mono);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(0, 189, 125, 0.5);
}

.infra-panel pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
}

.infra-panel .token-key {
  color: var(--code-cyan);
}

.infra-panel .token-str {
  color: var(--code-green);
}

.infra-panel .token-accent {
  color: var(--accent-soft);
}

.network-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 72, 1, 0.15);
  border-radius: 50%;
  top: -40px;
  right: -40px;
  pointer-events: none;
  animation: pulse-ring 8s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.03);
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 120px 0;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}

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

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

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

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  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: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

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

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

.product-card:hover {
  border-color: var(--border-strong);
}

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

.product-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 8px;
}

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

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

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

  .section {
    padding: 112px 0;
  }
}

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

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.metric-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.quote-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

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

.quote-panel cite {
  font-size: 14px;
  color: var(--muted);
  font-style: normal;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }

  .trust-metrics {
    grid-template-columns: 1fr;
  }
}

/* Steps */
.steps {
  display: grid;
  gap: 24px;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-primary);
  font-family: var(--font-display);
  font-weight: 600;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

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

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

  .step {
    flex-direction: column;
  }
}

/* CTA band */
.cta-band {
  background: var(--footer-bg);
  color: var(--on-dark);
  padding: 80px 0;
  text-align: center;
}

.cta-band .section-title {
  color: var(--on-dark);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 16px;
}

.cta-band .section-desc {
  color: rgba(250, 250, 250, 0.7);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 32px;
}

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

.legal-note {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(250, 250, 250, 0.45);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0 32px;
  color: rgba(250, 250, 250, 0.65);
  font-size: 14px;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--on-dark);
  margin-bottom: 8px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(250, 250, 250, 0.65);
  text-decoration: none;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: rgba(250, 250, 250, 0.45);
}

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
