/* ═══════════════════════════════════════════════════════════
   PinRadar.io — Website Styles V1.0.0
   Copyright 2026 PinRadar.io — All rights reserved
   Mobile-first, Dark mode default, CSS Custom Properties
   ═══════════════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ── CSS CUSTOM PROPERTIES — DARK (default) ── */
:root {
  /* Brand */
  --pr-red: #E60023;
  --pr-red-h: #CC001F;
  --pr-red-soft: #FF4757;
  --pr-red-glow: rgba(230, 0, 35, 0.15);
  --pr-red-glow-s: rgba(230, 0, 35, 0.25);

  /* Backgrounds */
  --pr-bg: #0C0D14;
  --pr-surface: #13141E;
  --pr-card: #191A27;
  --pr-elevated: #1F2030;

  /* Borders */
  --pr-border: rgba(255, 255, 255, 0.06);
  --pr-border-s: rgba(255, 255, 255, 0.12);

  /* Text */
  --pr-t1: #F0F0F3;
  --pr-t2: #9B9CAD;
  --pr-t3: #5C5D6E;

  /* Accents */
  --pr-green: #10B981;
  --pr-green-glow: rgba(16, 185, 129, 0.12);
  --pr-blue: #3B82F6;
  --pr-blue-glow: rgba(59, 130, 246, 0.12);
  --pr-orange: #F97316;
  --pr-purple: #8B5CF6;
  --pr-yellow: #EAB308;

  /* Typography */
  --pr-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --pr-r: 12px;
  --pr-tr: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --pr-max-w: 1200px;
  --pr-section-pad: 80px 24px;

  /* Shadows */
  --pr-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --pr-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);

  /* Common Aliases */
  --red: var(--pr-red);
  --red-h: var(--pr-red-h);
  --red-soft: var(--pr-red-soft);
  --red-glow: var(--pr-red-glow);
  --bg: var(--pr-bg);
  --surface: var(--pr-surface);
  --card: var(--pr-card);
  --elevated: var(--pr-elevated);
  --border: var(--pr-border);
  --border-s: var(--pr-border-s);
  --t1: var(--pr-t1);
  --t2: var(--pr-t2);
  --t3: var(--pr-t3);
  --font: var(--pr-font);
  --tr: var(--pr-tr);
  --max-w: var(--pr-max-w);
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --pr-bg: #F5F5F7;
  --pr-surface: #FFFFFF;
  --pr-card: #F0F0F3;
  --pr-elevated: #E8E8ED;
  --pr-border: rgba(0, 0, 0, 0.06);
  --pr-border-s: rgba(0, 0, 0, 0.12);
  --pr-t1: #1A1A2E;
  --pr-t2: #555570;
  --pr-t3: #8888A0;
  --pr-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --pr-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);

  --bg: var(--pr-bg);
  --surface: var(--pr-surface);
  --card: var(--pr-card);
  --elevated: var(--pr-elevated);
  --border: var(--pr-border);
  --border-s: var(--pr-border-s);
  --t1: var(--pr-t1);
  --t2: var(--pr-t2);
  --t3: var(--pr-t3);
}

/* ── BASE ── */
body {
  font-family: var(--pr-font);
  background: var(--pr-bg);
  color: var(--pr-t1);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--pr-tr), color var(--pr-tr);
  overflow-x: hidden;
}

a {
  color: var(--pr-red);
  text-decoration: none;
  transition: color var(--pr-tr);
}
a:hover { color: var(--pr-red-soft); }
a:focus-visible {
  outline: 2px solid var(--pr-red);
  outline-offset: 2px;
  border-radius: 4px;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container {
  max-width: var(--pr-max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  color: var(--pr-t1);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 24px; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 20px; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); margin-bottom: 16px; }
h4 { font-size: 1.1rem; margin-bottom: 12px; }
p { color: var(--pr-t2); margin-bottom: 16px; font-size: 1rem; }
strong { color: var(--pr-t1); }

.text-red { color: var(--pr-red); }
.text-green { color: var(--pr-green); }
.text-blue { color: var(--pr-blue); }
.text-center { text-align: center; }
.text-muted { color: var(--pr-t3); }

/* ══════════════════════════════
   HEADER / NAVIGATION
   ══════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 13, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--pr-border);
  transition: background var(--pr-tr), border var(--pr-tr);
}
[data-theme="light"] .site-header {
  background: rgba(245, 245, 247, 0.85);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--pr-t1);
  letter-spacing: -0.5px;
}
.logo-text span { color: var(--pr-red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--pr-t2);
  transition: color var(--pr-tr);
  position: relative;
}
.nav-links > a:hover,
.nav-links > a.active { color: var(--pr-t1); }
.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pr-red);
  transition: width var(--pr-tr);
}
.nav-links > a:hover::after,
.nav-links > a.active::after { width: 100%; }

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-toggle {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--pr-t2);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--pr-tr);
  position: relative;
  line-height: inherit;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--pr-t1);
}
.nav-dropdown-arrow {
  font-size: 10px;
  display: inline-block;
  transition: transform var(--pr-tr);
}
.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  min-width: 220px;
  background: var(--pr-surface);
  border: 1px solid var(--pr-border-s);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1010;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
[data-theme="light"] .nav-dropdown-menu {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--pr-t2) !important;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  position: relative;
  border: none !important;
  margin: 0 !important;
}
.nav-dropdown-menu a::after {
  display: none !important;
}
.nav-dropdown-menu a:hover {
  background: var(--pr-card);
  color: var(--pr-t1) !important;
}
[data-theme="light"] .nav-dropdown-menu a:hover {
  background: #F0F0F3;
  color: #1A1A2E !important;
}

.nav-mobile-auth {
  display: none;
}

.mobile-only-link {
  display: none;
}

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

/* Theme toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--pr-border-s);
  border-radius: 8px;
  background: var(--pr-surface);
  color: var(--pr-t3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--pr-tr);
}
.theme-toggle:hover {
  background: var(--pr-elevated);
  color: var(--pr-t1);
  border-color: var(--pr-red);
}

/* CTA button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: none;
  border-radius: 10px;
  font-family: var(--pr-font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--pr-tr);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-sm {
  padding: 8px 18px;
  font-size: 13.5px;
  border-radius: 8px;
  height: 38px;
}
.btn-primary {
  background: var(--pr-red);
  color: #FFFFFF !important;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(230, 0, 35, 0.3);
}
.btn-primary:hover {
  background: var(--pr-red-h);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 0, 35, 0.45);
}
[data-theme="light"] .btn-primary {
  background: #E60023;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(230, 0, 35, 0.25);
}
[data-theme="light"] .btn-primary:hover {
  background: #CC001F;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(230, 0, 35, 0.35);
}
.btn-secondary {
  background: var(--pr-surface);
  color: var(--pr-t1);
  border: 1px solid var(--pr-border-s);
}
.btn-secondary:hover {
  background: var(--pr-card);
  color: var(--pr-t1);
  border-color: var(--pr-border-s);
}
[data-theme="light"] .btn-secondary {
  background: #F3F4F6;
  color: #111827;
  border: 1px solid #E5E7EB;
}
[data-theme="light"] .btn-secondary:hover {
  background: #E5E7EB;
  color: #111827;
  border-color: #D1D5DB;
}
.btn-ghost {
  background: transparent;
  color: var(--pr-t2);
  border: 1px solid var(--pr-border-s);
}
.btn-ghost:hover {
  background: var(--pr-surface);
  color: var(--pr-t1);
}
.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 12px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--pr-border-s);
  border-radius: 8px;
  background: var(--pr-surface);
  color: var(--pr-t1);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--pr-tr);
}
[data-theme="light"] .nav-toggle {
  background: #FFFFFF;
  border-color: #E5E7EB;
}
.nav-toggle:hover {
  background: var(--pr-card);
  border-color: var(--pr-red);
}

/* ══════════════════════════════
   HERO SECTION
   ══════════════════════════════ */
.hero {
  padding: 140px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(230, 0, 35, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--pr-red-glow);
  border: 1px solid rgba(230, 0, 35, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pr-red-soft);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--pr-t2);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--pr-border);
  max-width: 600px;
  margin: 0 auto;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--pr-t3);
  font-weight: 500;
}
.hero-trust-item .icon { font-size: 16px; }

/* ══════════════════════════════
   SECTIONS — GENERAL
   ══════════════════════════════ */
section {
  padding: var(--pr-section-pad);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--pr-card);
  border: 1px solid var(--pr-border);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: var(--pr-t3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--pr-t2);
  line-height: 1.7;
}

/* ══════════════════════════════
   FEATURES GRID
   ══════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--pr-max-w);
  margin: 0 auto;
}
.feature-card {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all var(--pr-tr);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: var(--pr-border-s);
  transform: translateY(-4px);
  box-shadow: var(--pr-shadow);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pr-red);
  opacity: 0;
  transition: opacity var(--pr-tr);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-icon.red { background: var(--pr-red-glow); }
.feature-icon.green { background: var(--pr-green-glow); }
.feature-icon.blue { background: var(--pr-blue-glow); }
.feature-icon.purple { background: rgba(139, 92, 246, 0.12); }
.feature-icon.orange { background: rgba(249, 115, 22, 0.12); }
.feature-icon.yellow { background: rgba(234, 179, 8, 0.12); }

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--pr-t2);
  line-height: 1.6;
  margin-bottom: 0;
}
.feature-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--pr-card);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--pr-t3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 12px;
}

/* ══════════════════════════════
   HOW TO USE
   ══════════════════════════════ */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--pr-max-w);
  margin: 0 auto;
}
.howto-step {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.howto-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pr-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(230, 0, 35, 0.3);
}
.howto-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.howto-step p {
  font-size: 0.875rem;
  color: var(--pr-t2);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Connector line between steps */
.howto-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 48px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--pr-border-s);
}

/* ══════════════════════════════
   STATS BAR
   ══════════════════════════════ */
.stats-bar {
  background: var(--pr-surface);
  border-top: 1px solid var(--pr-border);
  border-bottom: 1px solid var(--pr-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--pr-max-w);
  margin: 0 auto;
}
.stat-item {
  text-align: center;
  padding: 32px 16px;
  border-right: 1px solid var(--pr-border);
}
.stat-item:last-child { border-right: none; }
.stat-val {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--pr-red);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: var(--pr-t3);
  font-weight: 500;
  margin-top: 4px;
}

/* ══════════════════════════════
   DETAILED FEATURES
   ══════════════════════════════ */
.detail-section {
  padding: 60px 24px;
}
.detail-section:nth-child(even) {
  background: var(--pr-surface);
}
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--pr-max-w);
  margin: 0 auto;
}
.detail-row.reverse .detail-text { order: 2; }
.detail-row.reverse .detail-visual { order: 1; }

.detail-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}
.detail-text p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.detail-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--pr-t2);
}
.detail-list-item .check {
  color: var(--pr-green);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.detail-visual {
  background: var(--pr-card);
  border: 1px solid var(--pr-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--pr-shadow);
}
.detail-visual img {
  width: 100%;
  display: block;
}

/* ══════════════════════════════
   SEO CONTENT
   ══════════════════════════════ */
.seo-content {
  max-width: 900px;
  margin: 0 auto;
}
.seo-content h2 { margin-top: 40px; }
.seo-content h3 { margin-top: 28px; color: var(--pr-red); }
.seo-content p {
  font-size: 1rem;
  line-height: 1.8;
}
.seo-content ul {
  margin: 16px 0;
  padding-left: 0;
}
.seo-content ul li {
  padding: 4px 0 4px 24px;
  position: relative;
  color: var(--pr-t2);
  font-size: 0.95rem;
  line-height: 1.7;
}
.seo-content ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--pr-red);
  font-weight: 700;
}

/* ══════════════════════════════
   FAQ
   ══════════════════════════════ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--pr-border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--pr-surface);
  transition: border-color var(--pr-tr);
}
.faq-item:hover { border-color: var(--pr-border-s); }
.faq-item.open { border-color: var(--pr-red-glow-s); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--pr-t1);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--pr-font);
  transition: color var(--pr-tr);
}
.faq-q:hover { color: var(--pr-red); }
.faq-icon {
  font-size: 18px;
  color: var(--pr-t3);
  transition: transform var(--pr-tr);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--pr-red); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 24px 20px;
}
.faq-a p {
  font-size: 0.95rem;
  color: var(--pr-t2);
  line-height: 1.7;
}

/* ══════════════════════════════
   CTA BANNER
   ══════════════════════════════ */
.cta-banner {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, rgba(230, 0, 35, 0.06) 0%, rgba(139, 92, 246, 0.04) 100%);
  border-top: 1px solid var(--pr-border);
  border-bottom: 1px solid var(--pr-border);
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 16px;
}
.cta-banner p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-end a.btn, .cta-mid a.btn, .cta-block a.btn, .cta-block a.cta-btn, .cta-end a.btn-primary, .cta-mid a.btn-primary, .cta-block a.btn-primary { color: #fff !important; }
.cta-end a.btn:hover, .cta-mid a.btn:hover, .cta-block a.btn:hover, .cta-block a.cta-btn:hover, .cta-end a.btn-primary:hover, .cta-mid a.btn-primary:hover, .cta-block a.btn-primary:hover { color: #fff !important; }

/* ══════════════════════════════
   CONTACT FORM
   ══════════════════════════════ */
.contact-section {
  background: var(--pr-surface);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--pr-max-w);
  margin: 0 auto;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 24px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pr-border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail .icon {
  width: 36px;
  height: 36px;
  background: var(--pr-card);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-detail-text {
  font-size: 14px;
  color: var(--pr-t2);
}
.contact-detail-text strong {
  display: block;
  color: var(--pr-t1);
  font-size: 13px;
  margin-bottom: 2px;
}

.contact-form {
  background: var(--pr-card);
  border: 1px solid var(--pr-border);
  border-radius: 16px;
  padding: 32px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--pr-t2);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--pr-surface);
  border: 1px solid var(--pr-border-s);
  border-radius: 10px;
  color: var(--pr-t1);
  font-size: 14px;
  font-family: var(--pr-font);
  transition: border-color var(--pr-tr), box-shadow var(--pr-tr);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pr-red);
  box-shadow: 0 0 0 3px var(--pr-red-glow);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--pr-t3);
}

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.site-footer {
  background: var(--pr-surface);
  border-top: 1px solid var(--pr-border);
  padding: 48px 24px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--pr-max-w);
  margin: 0 auto 40px;
  padding: 60px 0 40px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p {
  font-size: 13px;
  color: var(--pr-t3);
  line-height: 1.6;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--pr-t3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul a {
  font-size: 13px;
  color: var(--pr-t2);
  transition: color var(--pr-tr);
}
.footer-col ul a:hover { color: var(--pr-t1); }

.footer-bottom {
  border-top: 1px solid var(--pr-border);
  padding-top: 24px;
  max-width: var(--pr-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--pr-t3);
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: var(--pr-t3);
}
.footer-bottom-links a:hover { color: var(--pr-t2); }

/* ══════════════════════════════
   LEGAL PAGES
   ══════════════════════════════ */
.legal-page {
  padding: 120px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}
.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 8px;
}
.legal-page .legal-date {
  font-size: 13px;
  color: var(--pr-t3);
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--pr-red);
}
.legal-page h3 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-page p {
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-page ul {
  margin: 12px 0;
}
.legal-page ul li {
  padding: 4px 0 4px 20px;
  position: relative;
  color: var(--pr-t2);
  line-height: 1.7;
}
.legal-page ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--pr-red);
  font-weight: 700;
}
.legal-page a { color: var(--pr-red); }
.legal-page a:hover { text-decoration: underline; }

/* ══════════════════════════════
   BLOG
   ══════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--pr-max-w);
  margin: 0 auto;
}
.blog-card {
  background: var(--pr-surface);
  border: 1px solid var(--pr-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--pr-tr);
}
.blog-card:hover {
  border-color: var(--pr-border-s);
  transform: translateY(-4px);
  box-shadow: var(--pr-shadow);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-body {
  padding: 20px;
}
.blog-card-date {
  font-size: 11px;
  color: var(--pr-t3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card h3 a {
  color: var(--pr-t1);
  text-decoration: none;
}
.blog-card h3 a:hover { color: var(--pr-red); }
.blog-card p {
  font-size: 0.875rem;
  color: var(--pr-t2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.blog-card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--pr-red-glow);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  color: var(--pr-red-soft);
}

/* ══════════════════════════════
   SCROLL TO TOP
   ══════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pr-red);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--pr-tr);
  box-shadow: 0 4px 16px rgba(230, 0, 35, 0.3);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--pr-red-h);
  transform: translateY(-2px);
}

/* ══════════════════════════════
   MOBILE RESPONSIVE
   ══════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .howto-steps { grid-template-columns: repeat(2, 1fr); }
  .howto-step:not(:last-child)::after { display: none; }
  .detail-row { grid-template-columns: 1fr; gap: 32px; }
  .detail-row.reverse .detail-text { order: 1; }
  .detail-row.reverse .detail-visual { order: 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root {
    --pr-section-pad: 50px 16px;
  }

  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: var(--pr-bg);
    border-bottom: 1px solid var(--pr-border);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px 24px 40px;
    transform: translateY(-120%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    overflow-y: auto;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  }
  [data-theme="light"] .nav-links {
    background: #FFFFFF;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    color: var(--pr-t2);
    border-radius: 10px;
    border-bottom: none;
    text-align: left;
  }
  .nav-links > a::after { display: none; }
  .nav-links > a:hover,
  .nav-links > a.active {
    background: var(--pr-card);
    color: var(--pr-t1);
  }
  [data-theme="light"] .nav-links > a:hover,
  [data-theme="light"] .nav-links > a.active {
    background: #F3F4F6;
    color: #111827;
  }
  .nav-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-dropdown-toggle {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    color: var(--pr-t2);
    text-align: left;
  }
  .nav-dropdown-toggle:hover,
  .nav-dropdown.open .nav-dropdown-toggle {
    background: var(--pr-card);
    color: var(--pr-t1);
  }
  [data-theme="light"] .nav-dropdown-toggle:hover,
  [data-theme="light"] .nav-dropdown.open .nav-dropdown-toggle {
    background: #F3F4F6;
    color: #111827;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--pr-red) !important;
    border-radius: 0;
    background: transparent;
    padding: 4px 0 6px 14px;
    margin: 4px 0 6px 16px;
    display: none;
    flex-direction: column;
    gap: 4px;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: flex !important;
  }
  .nav-dropdown-menu a {
    padding: 10px 14px !important;
    font-size: 14px;
    border-radius: 8px;
    width: 100%;
    border-bottom: none !important;
    color: var(--pr-t2) !important;
  }
  .nav-dropdown-menu a:hover {
    background: var(--pr-card);
    color: var(--pr-t1) !important;
  }
  [data-theme="light"] .nav-dropdown-menu a:hover {
    background: #F3F4F6;
    color: #111827 !important;
  }
  .nav-desktop-auth {
    display: none !important;
  }

  /* Mobile Auth Buttons inside Drawer */
  .nav-mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--pr-border);
    width: 100%;
  }
  .nav-mobile-auth .btn-mobile {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }

  /* Primary Button (Sign up free) - Always Red, never white on hover */
  .btn-primary,
  .nav-mobile-auth .btn-primary,
  .nav-links .btn-primary,
  .nav-links.open .btn-primary {
    background: #E60023 !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(230, 0, 35, 0.3) !important;
  }
  .btn-primary:hover,
  .nav-mobile-auth .btn-primary:hover,
  .nav-links .btn-primary:hover,
  .nav-links.open .btn-primary:hover {
    background: #CC001F !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(230, 0, 35, 0.45) !important;
  }
  [data-theme="light"] .btn-primary,
  [data-theme="light"] .nav-mobile-auth .btn-primary,
  [data-theme="light"] .nav-links .btn-primary,
  [data-theme="light"] .nav-links.open .btn-primary {
    background: #E60023 !important;
    color: #FFFFFF !important;
  }
  [data-theme="light"] .btn-primary:hover,
  [data-theme="light"] .nav-mobile-auth .btn-primary:hover,
  [data-theme="light"] .nav-links .btn-primary:hover,
  [data-theme="light"] .nav-links.open .btn-primary:hover {
    background: #CC001F !important;
    color: #FFFFFF !important;
  }

  /* Secondary Button (Sign in) */
  .btn-secondary,
  .nav-mobile-auth .btn-secondary,
  .nav-links .btn-secondary,
  .nav-links.open .btn-secondary {
    background: var(--pr-surface) !important;
    color: var(--pr-t1) !important;
    border: 1px solid var(--pr-border-s) !important;
  }
  .btn-secondary:hover,
  .nav-mobile-auth .btn-secondary:hover,
  .nav-links .btn-secondary:hover,
  .nav-links.open .btn-secondary:hover {
    background: var(--pr-card) !important;
    color: var(--pr-t1) !important;
    border-color: var(--pr-border-s) !important;
  }
  [data-theme="light"] .btn-secondary,
  [data-theme="light"] .nav-mobile-auth .btn-secondary,
  [data-theme="light"] .nav-links .btn-secondary,
  [data-theme="light"] .nav-links.open .btn-secondary {
    background: #F3F4F6 !important;
    color: #111827 !important;
    border: 1px solid #E5E7EB !important;
  }
  [data-theme="light"] .btn-secondary:hover,
  [data-theme="light"] .nav-mobile-auth .btn-secondary:hover,
  [data-theme="light"] .nav-links .btn-secondary:hover,
  [data-theme="light"] .nav-links.open .btn-secondary:hover {
    background: #E5E7EB !important;
    color: #111827 !important;
    border-color: #D1D5DB !important;
  }

  .mobile-only-link {
    display: none;
  }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {

  /* Grid adjustments */
  .features-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .blog-grid { grid-template-columns: 1fr; }

  /* Hero */
  .hero { padding: 110px 16px 60px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; gap: 12px; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--pr-border); }
  .stat-item:last-child { border-bottom: none; }
}

/* ── ANIMATION UTILITIES ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PRINT ── */
@media print {
  .site-header, .site-footer, .scroll-top, .nav-toggle, .theme-toggle, .cta-banner { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}


/* ══════════════════════════════
   FREEMIUM — Feature Tags
   CHANGE #7 / #14
   ══════════════════════════════ */
.feature-tag.free {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.feature-tag.pro {
  background: rgba(230, 0, 35, 0.1);
  color: #E60023;
  border: 1px solid rgba(230, 0, 35, 0.2);
  margin-left: 6px;
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL NAVBAR & DROPDOWN NAVIGATION (DESKTOP + MOBILE)
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 11, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pr-border, rgba(255, 255, 255, 0.06));
  transition: background var(--pr-tr, 0.25s), border var(--pr-tr, 0.25s);
}
[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--pr-border, rgba(0, 0, 0, 0.06));
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--pr-max-w, 1200px);
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--pr-t1, #F0F0F3);
  letter-spacing: -0.5px;
}
.logo-text span {
  color: #E60023;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--pr-t2, #9B9CAD);
  text-decoration: none;
  transition: color var(--pr-tr, 0.25s);
  position: relative;
}
.nav-links > a:hover,
.nav-links > a.active {
  color: var(--pr-t1, #F0F0F3);
}
[data-theme="light"] .nav-links > a:hover,
[data-theme="light"] .nav-links > a.active {
  color: var(--pr-t1, #1A1A2E);
}
.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E60023;
  transition: width var(--pr-tr, 0.25s);
}
.nav-links > a:hover::after,
.nav-links > a.active::after {
  width: 100%;
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-toggle {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--pr-t2, #9B9CAD);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--pr-tr, 0.25s);
  position: relative;
  line-height: inherit;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle,
.nav-dropdown-toggle.active {
  color: var(--pr-t1, #F0F0F3);
}
[data-theme="light"] .nav-dropdown-toggle:hover,
[data-theme="light"] .nav-dropdown.open .nav-dropdown-toggle,
[data-theme="light"] .nav-dropdown-toggle.active {
  color: var(--pr-t1, #1A1A2E);
}
.nav-dropdown-arrow {
  font-size: 10px;
  display: inline-block;
  transition: transform var(--pr-tr, 0.25s);
}
.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  min-width: 220px;
  background: var(--pr-surface, #13141E);
  border: 1px solid var(--pr-border-s, rgba(255, 255, 255, 0.12));
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1010;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
[data-theme="light"] .nav-dropdown-menu {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--pr-t2, #9B9CAD) !important;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  position: relative;
  border: none !important;
  margin: 0 !important;
}
.nav-dropdown-menu a::after {
  display: none !important;
}
.nav-dropdown-menu a:hover {
  background: var(--pr-card, #191A27);
  color: var(--pr-t1, #F0F0F3) !important;
}
[data-theme="light"] .nav-dropdown-menu a:hover {
  background: #F0F0F3;
  color: #1A1A2E !important;
}

/* Nav Actions, Theme Toggle & Buttons */
.nav-mobile-auth {
  display: none;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--pr-border-s, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  background: var(--pr-surface, #13141E);
  color: var(--pr-t3, #5C5D6E);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--pr-tr, 0.25s);
}
.theme-toggle:hover {
  background: var(--pr-elevated, #1F2030);
  color: var(--pr-t1, #F0F0F3);
  border-color: #E60023;
}
[data-theme="light"] .theme-toggle {
  background: #FFFFFF;
  border-color: #E5E7EB;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: none;
  border-radius: 10px;
  font-family: var(--pr-font, inherit);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--pr-tr, 0.25s);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 13.5px;
  border-radius: 8px;
  height: 38px;
  min-height: 38px;
}
.btn-primary {
  background: #E60023 !important;
  color: #FFFFFF !important;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(230, 0, 35, 0.3);
}
.btn-primary:hover {
  background: #CC001F !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 0, 35, 0.45);
}
[data-theme="light"] .btn-primary {
  background: #E60023 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(230, 0, 35, 0.25);
}
[data-theme="light"] .btn-primary:hover {
  background: #CC001F !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(230, 0, 35, 0.35);
}
.btn-secondary {
  background: var(--pr-surface, #13141E);
  color: var(--pr-t1, #F0F0F3);
  border: 1px solid var(--pr-border-s, rgba(255, 255, 255, 0.12));
}
.btn-secondary:hover {
  background: var(--pr-card, #191A27);
  color: var(--pr-t1, #F0F0F3);
  border-color: var(--pr-border-s, rgba(255, 255, 255, 0.12));
}
[data-theme="light"] .btn-secondary {
  background: #F3F4F6;
  color: #111827;
  border: 1px solid #E5E7EB;
}
[data-theme="light"] .btn-secondary:hover {
  background: #E5E7EB;
  color: #111827;
  border-color: #D1D5DB;
}
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--pr-border-s, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  background: var(--pr-surface, #13141E);
  color: var(--pr-t1, #F0F0F3);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--pr-tr, 0.25s);
}
[data-theme="light"] .nav-toggle {
  background: #FFFFFF;
  border-color: #E5E7EB;
  color: #1A1A2E;
}
.nav-toggle:hover {
  background: var(--pr-card, #191A27);
  border-color: #E60023;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE NAVBAR & FULL-HEIGHT MOBILE DRAWER (<=960px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }
  .nav-desktop-auth {
    display: none !important;
  }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: var(--pr-bg, #0C0D14);
    border-bottom: 1px solid var(--pr-border, rgba(255, 255, 255, 0.06));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px 24px 40px;
    transform: translateY(-120%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    overflow-y: auto;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    display: flex;
  }
  [data-theme="light"] .nav-links {
    background: #FFFFFF;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links > a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    color: var(--pr-t2, #9B9CAD);
    border-radius: 10px;
    border-bottom: none;
    text-align: left;
  }
  .nav-links > a::after {
    display: none;
  }
  .nav-links > a:hover,
  .nav-links > a.active {
    background: var(--pr-card, #191A27);
    color: var(--pr-t1, #F0F0F3);
  }
  [data-theme="light"] .nav-links > a:hover,
  [data-theme="light"] .nav-links > a.active {
    background: #F3F4F6;
    color: #111827;
  }
  .nav-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-dropdown-toggle {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    color: var(--pr-t2, #9B9CAD);
    text-align: left;
  }
  .nav-dropdown-toggle:hover,
  .nav-dropdown.open .nav-dropdown-toggle {
    background: var(--pr-card, #191A27);
    color: var(--pr-t1, #F0F0F3);
  }
  [data-theme="light"] .nav-dropdown-toggle:hover,
  [data-theme="light"] .nav-dropdown.open .nav-dropdown-toggle {
    background: #F3F4F6;
    color: #111827;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid #E60023 !important;
    border-radius: 0;
    background: transparent;
    padding: 4px 0 6px 14px;
    margin: 4px 0 6px 16px;
    display: none;
    flex-direction: column;
    gap: 4px;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: flex !important;
  }
  .nav-dropdown-menu a {
    padding: 10px 14px !important;
    font-size: 14px;
    border-radius: 8px;
    width: 100%;
    border-bottom: none !important;
    color: var(--pr-t2, #9B9CAD) !important;
  }
  .nav-dropdown-menu a:hover {
    background: var(--pr-card, #191A27);
    color: var(--pr-t1, #F0F0F3) !important;
  }
  [data-theme="light"] .nav-dropdown-menu a:hover {
    background: #F3F4F6;
    color: #111827 !important;
  }
  .nav-mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--pr-border, rgba(255, 255, 255, 0.06));
    width: 100%;
  }
  .nav-mobile-auth .btn-mobile {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }
  .btn-primary,
  .nav-mobile-auth .btn-primary,
  .nav-links .btn-primary,
  .nav-links.open .btn-primary {
    background: #E60023 !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(230, 0, 35, 0.3) !important;
  }
  .btn-primary:hover,
  .nav-mobile-auth .btn-primary:hover,
  .nav-links .btn-primary:hover,
  .nav-links.open .btn-primary:hover {
    background: #CC001F !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(230, 0, 35, 0.45) !important;
  }
  [data-theme="light"] .btn-primary,
  [data-theme="light"] .nav-mobile-auth .btn-primary,
  [data-theme="light"] .nav-links .btn-primary,
  [data-theme="light"] .nav-links.open .btn-primary {
    background: #E60023 !important;
    color: #FFFFFF !important;
  }
  [data-theme="light"] .btn-primary:hover,
  [data-theme="light"] .nav-mobile-auth .btn-primary:hover,
  [data-theme="light"] .nav-links .btn-primary:hover,
  [data-theme="light"] .nav-links.open .btn-primary:hover {
    background: #CC001F !important;
    color: #FFFFFF !important;
  }
  .btn-secondary,
  .nav-mobile-auth .btn-secondary,
  .nav-links .btn-secondary,
  .nav-links.open .btn-secondary {
    background: var(--pr-surface, #13141E) !important;
    color: var(--pr-t1, #F0F0F3) !important;
    border: 1px solid var(--pr-border-s, rgba(255, 255, 255, 0.12)) !important;
  }
  .btn-secondary:hover,
  .nav-mobile-auth .btn-secondary:hover,
  .nav-links .btn-secondary:hover,
  .nav-links.open .btn-secondary:hover {
    background: var(--pr-card, #191A27) !important;
    color: var(--pr-t1, #F0F0F3) !important;
    border-color: var(--pr-border-s, rgba(255, 255, 255, 0.12)) !important;
  }
  [data-theme="light"] .btn-secondary,
  [data-theme="light"] .nav-mobile-auth .btn-secondary,
  [data-theme="light"] .nav-links .btn-secondary,
  [data-theme="light"] .nav-links.open .btn-secondary {
    background: #F3F4F6 !important;
    color: #111827 !important;
    border: 1px solid #E5E7EB !important;
  }
  [data-theme="light"] .btn-secondary:hover,
  [data-theme="light"] .nav-mobile-auth .btn-secondary:hover,
  [data-theme="light"] .nav-links .btn-secondary:hover,
  [data-theme="light"] .nav-links.open .btn-secondary:hover {
    background: #E5E7EB !important;
    color: #111827 !important;
    border-color: #D1D5DB !important;
  }
}