/* ============================================================
   VeloxisNet – Premium Domain Security Intelligence
   Palette: #0b0f1a / #2eddc8
   ============================================================ */

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── CSS VARIABLES ── */
:root {
  --bg: #0b0f1a;
  --bg-surface: #0f1422;
  --bg-card: #111827;
  --bg-hover: #161d2e;
  --fg: #e8edf5;
  --fg-muted: #5a6280;
  --fg-sub: #8892aa;
  --primary: #2eddc8;
  --primary-dim: rgba(46, 221, 200, 0.10);
  --primary-glow: rgba(46, 221, 200, 0.06);
  --danger: #ef4444;
  --danger-dim: rgba(239, 68, 68, 0.10);
  --success: #4ade80;
  --success-dim: rgba(74, 222, 128, 0.10);
  --warn: #f59e0b;
  --border: rgba(255, 255, 255, 0.06);
  --border-mid: rgba(255, 255, 255, 0.10);
  --border-accent: rgba(46, 221, 200, 0.28);
  --nav-bg: rgba(11, 15, 26, 0.0);
  --nav-scrolled: rgba(11, 15, 26, 0.92);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.28);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --font-d: 'Space Grotesk', system-ui, sans-serif;
  --font: 'Space Grotesk', system-ui, sans-serif;
}

:root[data-theme="light"] {
  --bg: #f4f7fc;
  --bg-surface: #eef1f8;
  --bg-card: #ffffff;
  --bg-hover: #f0f3fa;
  --fg: #0d1220;
  --fg-muted: #9aa0b8;
  --fg-sub: #6b7290;
  --primary: #18b8a6;
  --primary-dim: rgba(24, 184, 166, 0.10);
  --primary-glow: rgba(24, 184, 166, 0.06);
  --border: rgba(0, 0, 0, 0.07);
  --border-mid: rgba(0, 0, 0, 0.12);
  --border-accent: rgba(24, 184, 166, 0.30);
  --nav-bg: rgba(244, 247, 252, 0.0);
  --nav-scrolled: rgba(244, 247, 252, 0.95);
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
}

html {
  scroll-behavior: smooth;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.navbar.scrolled {
  background: var(--nav-scrolled);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 -1px 0 var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}

.brand-text {
  letter-spacing: -0.03em;
  white-space: nowrap;
  line-height: 1;
}

.brand-text .accent,
.brand-text>span {
  color: var(--primary);
}

.navbar-logo .accent {
  color: var(--primary);
}

.navbar-logo-icon {
  width: 32px;
  height: 32px;
  background-image: url('/vn.webp');
  background-size: cover;
  background-position: center;

  border: 1px solid var(--border-accent);
  border-radius: var(--r-sm);

  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
}

.domain-favicon img {
  display: block;
  border-radius: 4px;
  object-fit: contain;
}


.navbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-nav a {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--fg-sub);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.navbar-nav a:hover {
  color: var(--fg);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--fg-sub);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.theme-toggle:hover {
  color: var(--fg);
  border-color: var(--border-accent);
  background: var(--primary-dim);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

:root[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

/* Mobile toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.navbar-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg-sub);
  transition: background 0.2s;
}

.navbar-toggle:hover span {
  background: var(--fg);
}

.navbar-mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 16px 32px 22px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.navbar-mobile.open {
  display: flex;
}

.navbar-mobile a {
  font-size: 0.9rem;
  color: var(--fg-sub);
  transition: color 0.2s;
}

.navbar-mobile a:hover {
  color: var(--fg);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.18s;
  border: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-mid);
  color: var(--fg-sub);
}

.btn-outline:hover {
  color: var(--fg);
  border-color: var(--border-accent);
}

.btn-primary {
  background: var(--primary);
  color: #080c16;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(46, 221, 200, 0.3);
}

.btn-primary:hover {
  opacity: 0.9;
}

/* ── HERO (index) ── */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  min-height: calc(100dvh - 64px);
  display: flex;
  align-items: center;
  padding: 120px 24px 72px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  height: 560px;
  background: radial-gradient(ellipse at 50% 30%, rgba(46, 221, 200, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 221, 200, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 221, 200, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: center;
  gap: 80px;
}

.hero-inner-centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.hero-content {
  width: 100%;
  max-width: 560px;
}

.hero-inner-centered .search-wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  background: var(--primary-dim);
  margin-bottom: 24px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(46, 221, 200, 0.5);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 5px rgba(46, 221, 200, 0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero-title .accent {
  color: var(--primary);
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  font-weight: 400;
  color: var(--fg-sub);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-inner-centered .hero-tagline {
  margin-left: auto;
  margin-right: auto;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}

/* Search form */
.search-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-lg);
  padding: 6px;
  width: 100%;
  max-width: 480px;
  transition: border-color 0.25s, box-shadow 0.25s;
  margin-bottom: 0;
  box-shadow: var(--shadow-card);
}

.search-wrap:focus-within {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px rgba(46, 221, 200, 0.08);
}

.search-icon {
  padding: 0 12px;
  color: var(--fg-muted);
  flex-shrink: 0;
  display: none;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--fg);
  font-size: 0.98rem;
  padding: 10px 4px;
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--fg-muted);
}

.search-btn {
  background: var(--primary);
  color: #05070d;
  border: none;
  outline: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 20px;
  border-radius: calc(var(--r-lg) - 6px);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.search-btn:active {
  transform: scale(0.98);
}

.search-btn:hover {
  opacity: 0.88;
}

.hero-hint {
  font-size: 0.78rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-hint-chip {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.72rem;
  color: var(--fg-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.hero-hint-chip:hover {
  border-color: var(--border-accent);
  color: var(--primary);
}

/* ── TRUST LOGOS BAR ── */
.trust-bar {
  padding: 28px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.trust-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 14px;
  background: var(--border-mid);
  flex-shrink: 0;
}

.container-narrow {
  max-width: 680px;
}

.steps-grid-simple .step-number {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.9;
  margin-bottom: 12px;
}

.features-grid.features-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.section-header-center .section-desc,
.hero-inner-centered .hero-tagline {
  margin-left: auto;
  margin-right: auto;
}

.gate-logo .brand-text {
  font-size: 1.3rem;
  font-weight: 700;
}

.result-logo .brand-text {
  font-size: 1rem;
  font-weight: 700;
}

.footer-brand-logo .brand-text {
  font-size: 0.95rem;
  font-weight: 700;
}

/* ── SECTION SHARED ── */
.section {
  padding: 96px 32px;
}

.section-alt {
  background: var(--bg-surface);
}

.section-header {
  max-width: 540px;
  margin-bottom: 56px;
}

.section-header-center {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-accent);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 0.92rem;
  color: var(--fg-sub);
  line-height: 1.8;
}

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.step-card {
  background: var(--bg-card);
  padding: 36px 30px;
  position: relative;
  transition: background 0.2s;
}

.step-card:hover {
  background: var(--bg-hover);
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-dim);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--fg-sub);
  line-height: 1.7;
}

/* ── FEATURE CARDS ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--border);
}

.feature-card {
  background: var(--bg-card);
  padding: 32px 28px;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--bg-hover);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-accent);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  background: var(--primary-dim);
}

.feature-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── THREAT FEEDS ── */
.feeds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.feed-badge-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}

.feed-badge-card:hover {
  border-color: var(--border-accent);
}

.feed-badge-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feed-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.feed-badge-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fg);
}

.feed-badge-desc {
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.feed-badge-sync {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.85;
}

/* ── SaaS CTA BAND (index) ── */
.saas-cta-band {
  padding-top: 72px;
  padding-bottom: 72px;
}

.saas-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  border: 1px solid var(--border-accent);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--primary-dim) 0%, transparent 60%);
}

.saas-cta-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 8px;
}

.saas-cta-desc {
  font-size: 0.9rem;
  color: var(--fg-sub);
  line-height: 1.7;
  max-width: 480px;
}

/* ── SCAM GUIDE (website.php) ── */
.scam-guide {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.scam-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  transition: background 0.2s;
}

.scam-item:last-child {
  border-bottom: none;
}

.scam-item:hover {
  background: var(--bg-hover);
}

.scam-item-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-accent);
  background: var(--primary-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.scam-item-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}

.scam-item-content p {
  font-size: 0.83rem;
  color: var(--fg-sub);
  line-height: 1.7;
}

.scam-item-badge {
  flex-shrink: 0;
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: flex-start;
}

.badge-danger {
  background: var(--danger-dim);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-warn {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warn);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ── GUIDE SECTION (website.php) ── */
.guide-section {
  margin-top: 48px;
  padding-top: 8px;
}

.guide-section-header {
  margin-bottom: 28px;
}

.guide-section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 10px;
}

.guide-section-desc {
  font-size: 0.88rem;
  color: var(--fg-sub);
  line-height: 1.75;
  max-width: 640px;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s;
}

.guide-card:hover {
  border-color: var(--border-mid);
}

.guide-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-accent);
  background: var(--primary-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}

.guide-card-icon-warn {
  color: var(--warn);
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
}

.guide-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 14px;
}

.guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-list li {
  font-size: 0.82rem;
  color: var(--fg-sub);
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.guide-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.7;
}

.guide-list li strong {
  color: var(--fg);
  font-weight: 600;
}

.guide-list a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.report-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  margin-bottom: 20px;
  border: 1px solid var(--border-accent);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--bg-card) 55%);
}

.report-cta-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.report-cta-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--primary-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.report-cta-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}

.report-cta-desc {
  font-size: 0.83rem;
  color: var(--fg-sub);
  line-height: 1.65;
}

.report-cta-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.result-footer-link {
  text-align: center;
  margin-top: 12px;
  padding-bottom: 24px;
}

.scam-item-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── RESULT CARD (website.php) ── */
.result-page {
  min-height: 100vh;
  padding: 104px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
}

.result-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  justify-content: space-between;
}

.result-logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
}

.result-logo span {
  color: var(--primary);
}

.result-logo .brand-text>span {
  color: var(--primary);
}

.result-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.result-back:hover {
  color: var(--primary);
}

.result-back-top {
  margin-bottom: 16px;
}

.result-container {
  width: 100%;
  max-width: 840px;
  margin-top: 20px;
}

/* Domain header row */
.domain-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.domain-favicon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--bg-hover);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  font-size: 1.4rem;
  flex-shrink: 0;
  overflow: hidden;
}

.domain-favicon-fallback {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 1;
}

.domain-info {
  flex: 1;
  min-width: 0;
}

.domain-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.domain-scraped-title {
  font-size: 0.85rem;
  color: var(--fg-sub);
  margin-bottom: 4px;
}

.domain-scraped-desc {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.status-safe {
  background: var(--success-dim);
  color: var(--success);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.status-danger {
  background: var(--danger-dim);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* Feed results */
.feeds-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 20px;
}

.feeds-result-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feeds-result-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feed-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.feed-row:last-child {
  border-bottom: none;
}

.feed-row:hover {
  background: rgba(255, 255, 255, 0.015);
}

.feed-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-row-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--bg-hover);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
}

.feed-label {
  font-size: 0.88rem;
  color: var(--fg);
}

.feed-sublabel {
  font-size: 0.72rem;
  color: var(--fg-muted);
  margin-top: 1px;
}

.feed-value {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.feed-value-safe {
  color: var(--success);
}

.feed-value-danger {
  color: var(--danger);
}

/* Overall verdict */
.verdict-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.verdict-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.verdict-safe {
  background: var(--success-dim);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.verdict-danger {
  background: var(--danger-dim);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.verdict-text h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.verdict-text p {
  font-size: 0.85rem;
  color: var(--fg-sub);
  line-height: 1.6;
}

.verdict-safe-text h2 {
  color: var(--success);
}

.verdict-danger-text h2 {
  color: var(--danger);
}

/* Meta info grid */
.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.meta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
}

.meta-label {
  font-size: 0.68rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.meta-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fg);
}

.captcha-refresh-form {
  display: flex;
  justify-content: center;
}

/* ── GATE CARD (antibot) ── */
.gate-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  position: relative;
}

.gate-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(46, 221, 200, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.gate-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.gate-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 8px;
}

.gate-logo .brand-text>span {
  color: var(--primary);
}

.gate-subtitle {
  text-align: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 28px;
  font-weight: 600;
}

.gate-domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--fg-sub);
  margin: 0 auto 24px;
}

.gate-domain-chip strong {
  color: var(--fg);
}

.gate-desc {
  text-align: center;
  font-size: 0.88rem;
  color: var(--fg-sub);
  line-height: 1.7;
  margin-bottom: 28px;
}

.captcha-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4px;
  min-height: 88px;
  transition: border-color 0.2s;
}

.captcha-wrapper:hover {
  border-color: var(--border-mid);
}

.captcha-wrapper svg {
  width: 100%;
  max-width: 220px;
  height: auto;
}

.refresh-trigger {
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 auto 24px;
  transition: color 0.2s;
  padding: 4px 0;
}

.refresh-trigger:hover {
  color: var(--primary);
}

.form-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 13px 18px;
  color: var(--fg);
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.3em;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 20px;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 221, 200, 0.1);
}

.action-btn {
  width: 100%;
  background: var(--primary);
  color: #05070d;
  border: none;
  padding: 14px;
  border-radius: var(--r-md);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.action-btn:hover {
  opacity: 0.88;
}

.error-alert {
  background: var(--danger-dim);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.gate-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.72rem;
  color: var(--fg-muted);
}

/* ── CARDS ── */
.card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-card);
  padding: 28px;
  transition: border-color 0.2s;
  box-shadow: var(--shadow-card);
}

.card:hover {
  border-color: var(--border-mid);
}

/* ── FAQ ACCORDION ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--border-accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
  gap: 12px;
}

.faq-question-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fg);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--fg-muted);
  transition: transform 0.2s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.85rem;
  color: var(--fg-sub);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 60px 32px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-brand-logo .accent {
  color: var(--primary);
}

.footer-brand-desc {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 16px;
}

.footer-col-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--fg-sub);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.83rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.73rem;
  color: var(--fg-muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.73rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--fg);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feeds-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid,
  .features-grid.features-grid-3 {
    grid-template-columns: 1fr;
  }

  .search-wrap {
    flex-direction: column;
    padding: 8px;
    gap: 8px;
    border-radius: var(--r-md);
  }

  .search-icon {
    display: none;
  }

  .search-input {
    padding: 14px 12px;
    text-align: center;
    font-size: 1rem;
  }

  .search-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--r-sm);
  }

  .trust-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .trust-divider {
    display: none;
  }

  .trust-items {
    gap: 12px 20px;
  }

  .report-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .report-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .saas-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  .feeds-grid {
    grid-template-columns: 1fr;
  }

  .domain-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .status-badge {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {

  .navbar-nav,
  .navbar-cta {
    display: none;
  }

  .navbar-toggle {
    display: flex;
  }

  .hero {
    padding: 90px 20px 60px;
  }

  .container,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .scam-item {
    flex-direction: column;
    gap: 14px;
  }

  .scam-item-badge {
    margin-left: 0;
    align-self: flex-start;
  }

  .gate-card {
    padding: 32px 24px;
  }
}

/* ── AD BANNER (sponsored) ── */
.ad-banner {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin: 24px 0;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 14px;
}

.ad-banner-tag {
  position: absolute;
  top: -9px;
  left: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  color: var(--fg-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
}

.ad-banner-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ad-banner-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
}

.ad-banner-body {
  flex: 1 1 240px;
  min-width: 0;
}

.ad-banner-name {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 13px;
  color: var(--fg);
  margin-bottom: 2px;
}

.ad-banner-text {
  color: var(--fg-sub);
  font-size: 13px;
  line-height: 1.5;
}

.ad-banner-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-dim);
  color: var(--primary);
  border: 1px solid var(--border-accent);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--r-md);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.ad-banner-cta:hover {
  background: var(--primary-glow);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .ad-banner {
    flex-wrap: wrap;
    padding: 16px;
  }

  .ad-banner-body {
    flex-basis: 100%;
  }

  .ad-banner-cta {
    width: 100%;
    justify-content: center;
  }
}
