/* ============================================================
   RealMaster Technology Inc. — Corporate Website
   Light default · Dark mode via body.dark
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- Light theme (default) ---- */
:root {
  --red:          #CC0000;
  --red-light:    #e51414;
  --red-dark:     #990000;
  --red-glow:     rgba(204,0,0,0.14);
  --bg:           #ffffff;
  --bg-2:         #f7f7fc;
  --bg-3:         #eeeeF6;
  --card-bg:      #ffffff;
  --card-border:  #e2e2ee;
  --card-border-h:rgba(204,0,0,0.25);
  --text:         #0f0f1a;
  --text-dim:     #374151;
  --text-muted:   #6b7180;
  --nav-bg:       rgba(255,255,255,0.88);
  --nav-border:   #e2e2ee;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.12);
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
  --radius:       12px;
  --radius-lg:    20px;
  --max-w:        1200px;
  --nav-h:        64px;
}

/* ---- Dark theme ---- */
body.dark {
  --red-glow:     rgba(204,0,0,0.22);
  --bg:           #08080e;
  --bg-2:         #0d0d18;
  --bg-3:         #111120;
  --card-bg:      rgba(255,255,255,0.032);
  --card-border:  rgba(255,255,255,0.075);
  --card-border-h:rgba(204,0,0,0.30);
  --text:         #f0f0f8;
  --text-dim:     #b8b8d0;
  --text-muted:   #72728a;
  --nav-bg:       rgba(8,8,14,0.88);
  --nav-border:   rgba(255,255,255,0.08);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.55);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Noto Sans SC', 'Noto Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--nav-border);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(204,0,0,0.15);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-logo-main {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.01em;
}
.nav-logo-main span { color: var(--red); }
.nav-logo-sub {
  font-size: 9px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,0.04); }
body.dark .nav-links a:hover { background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--red); background: rgba(204,0,0,0.06); }
.nav-links .nav-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  transition: var(--transition);
}
.nav-links a.active .nav-dot { opacity: 1; }

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Dark mode toggle */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  font-family: inherit;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--red); color: var(--red); }
.theme-toggle .icon-moon { display: none; }
body.dark .theme-toggle .icon-sun { display: none; }
body.dark .theme-toggle .icon-moon { display: block; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 7px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}
.lang-btn:hover { border-color: var(--red); color: var(--text); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 185px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-lg);
}
.lang-dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
  border-bottom: 1px solid var(--card-border);
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover { background: rgba(204,0,0,0.06); color: var(--text); }
.lang-option.active { color: var(--red); background: rgba(204,0,0,0.05); }
.lang-flag { font-size: 16px; line-height: 1; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  z-index: 998;
  background: var(--bg);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  border-left: 1px solid var(--card-border);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block;
  padding: 15px 0;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid var(--card-border);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--red); padding-left: 8px; }
.mobile-lang-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
}
.mobile-lang-btn {
  padding: 8px 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}
.mobile-lang-btn:hover,
.mobile-lang-btn.active { border-color: var(--red); color: var(--red); }
.mobile-theme-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  border-top: 1px solid var(--card-border);
  margin-top: 8px;
  width: 100%;
  transition: var(--transition);
}
.mobile-theme-btn:hover { color: var(--red); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  background: var(--bg);
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line, rgba(0,0,0,0.04)) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line, rgba(0,0,0,0.04)) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
body.dark .hero-grid-bg {
  background-image:
    linear-gradient(rgba(204,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,0,0,0.04) 1px, transparent 1px);
}
.hero-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 40%, rgba(204,0,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
body.dark .hero-radial {
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(204,0,0,0.09) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(204,0,0,0.07);
  border: 1px solid rgba(204,0,0,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.35; transform:scale(1.6); }
}
.hero-title {
  font-size: clamp(2.2rem, 6.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.hero-title .red { color: var(--red); }
.hero-title-sub {
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 580px;
  margin: 0 auto 48px;
}
.hero-chips {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.hero-chip:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 20px var(--red-glow), var(--shadow-sm);
  transform: translateY(-2px);
}
.hero-chip-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  background: rgba(204,0,0,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bob 3s ease-in-out infinite;
}
.scroll-hint svg { stroke: var(--text-muted); }
@keyframes bob {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(8px); }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.sec { padding: 110px 0; }
.sec-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.sec-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.sec-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.sec-title span { color: var(--red); }
.sec-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 560px;
  margin-bottom: 60px;
}
.divider {
  width: 100%;
  height: 1px;
  background: var(--card-border);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(204,0,0,0.3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.card:hover {
  border-color: var(--card-border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(204,0,0,0.08);
}
.card:hover::after { transform: scaleX(1); }
.card-icon {
  width: 48px; height: 48px;
  background: rgba(204,0,0,0.08);
  border: 1px solid rgba(204,0,0,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Grids */
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.g2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.g2-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.g1-2 { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(204,0,0,0.28);
}
.btn-red:hover {
  background: var(--red-light);
  box-shadow: 0 8px 40px rgba(204,0,0,0.45);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--card-border);
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn svg { flex-shrink: 0; }

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: flex;
  gap: 0;
  margin: 52px 0;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow-sm);
}
.stat-item {
  flex: 1;
  padding: 28px 24px;
  border-right: 1px solid var(--card-border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================================
   SECTION 1 — BROKERAGE
   ============================================================ */
#brokerage { background: var(--bg-2); }

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 60px;
}
.pchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-dim);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.pchip:hover { border-color: var(--red); color: var(--red); background: rgba(204,0,0,0.04); }
.pchip-icon { font-size: 14px; }

/* Agent CTA banner */
.agent-cta-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: var(--red);
  border-radius: var(--radius);
  margin: 48px 0;
  flex-wrap: wrap;
}
.agent-cta-banner-text { flex: 1; min-width: 200px; }
.agent-cta-banner-text h4 {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.agent-cta-banner-text p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
}
.btn-white {
  background: #ffffff;
  color: var(--red);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-white:hover { background: #ffe0e0; transform: translateY(-2px); }

/* Agent advantages strip */
.agent-strip {
  background: rgba(204,0,0,0.04);
  border: 1px solid rgba(204,0,0,0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 64px;
}
body.dark .agent-strip {
  background: rgba(204,0,0,0.05);
  border-color: rgba(204,0,0,0.16);
}
.agent-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.agent-strip h3 { font-size: 1.25rem; font-weight: 800; }
.agent-adv-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.agent-adv { display: flex; flex-direction: column; gap: 4px; }
.agent-adv-title {
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.agent-adv-title::before {
  content: '';
  display: block;
  width: 4px; height: 4px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.agent-adv-desc { font-size: 12px; color: var(--text-muted); padding-left: 10px; }

/* Section email note */
.sec-email-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 16px;
}
.sec-email-note a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}
.sec-email-note a:hover { text-decoration: underline; }

.app-downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.app-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  transition: transform var(--transition);
}
.app-download-link:hover {
  transform: translateY(-2px);
}
.app-download-link img {
  display: block;
  width: auto;
  height: 100%;
}

/* ============================================================
   SECTION 2 — REPORT.RENTALS
   ============================================================ */
#report-rentals { background: var(--bg); }

.rr-visual { display: flex; align-items: center; justify-content: center; }
.rr-visual img { max-width: 420px; width: 100%; }

.audience-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.audience-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.audience-card:hover { border-color: var(--card-border-h); box-shadow: var(--shadow-md); }
.audience-card h4 {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.audience-card h4 .aud-icon {
  font-size: 20px;
  width: 36px; height: 36px;
  background: rgba(204,0,0,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aud-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.aud-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.aud-list li::before {
  content: '›';
  color: var(--red);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.pricing-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), 0 12px 40px rgba(204,0,0,0.1);
}
.pricing-badge {
  position: absolute;
  top: -1px; right: 20px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pricing-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.pricing-amount { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; }
.pricing-period { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.pricing-features li::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; }

.equifax-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: var(--bg-2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.equifax-banner img {
  height: 28px;
}
body.dark .equifax-banner img { filter: brightness(0) invert(1) opacity(0.75); }
.equifax-text { font-size: 13.5px; color: var(--text-muted); flex: 1; min-width: 200px; }
.equifax-text strong { color: var(--text); }

/* ============================================================
   SECTION 3 — RMD
   ============================================================ */
#rmd { background: var(--bg-2); }

.rmd-device { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.rmd-device img { width: 100%; display: block; }

/* ---- FAQ ---- */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
  color: var(--text);
}
.faq-item p {
  padding: 0 22px 20px;
  color: var(--text-muted);
  line-height: 1.75;
}
.rmd-cats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 48px; }

/* ============================================================
   FOOTER
   ============================================================ */
#contact {
  background: var(--bg-3);
  border-top: 1px solid var(--card-border);
  padding: 80px 0 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.72;
  margin: 16px 0 24px;
}
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.social-btn:hover { border-color: var(--red); color: var(--red); }
.fcol-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.flinks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.flinks a {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.flinks a:hover { color: var(--red); }
.fcontact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.fcontact-item a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.fcontact-item a:hover { color: var(--red); }
.fcontact-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12.5px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.footer-legal a:hover { color: var(--red); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }
.reveal-d7 { transition-delay: 0.56s; }
.reveal-d8 { transition-delay: 0.64s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .agent-adv-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .sec { padding: 64px 0; }
  .sec-inner { padding: 0 20px; }

  .g3, .g2-1, .g1-2, .audience-cards, .pricing-cards, .rmd-cats { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2,1fr); }
  .agent-adv-grid { grid-template-columns: repeat(2,1fr); }

  .stats-row { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--card-border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--card-border); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .agent-strip { padding: 28px 20px; }
  .agent-cta-banner { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .equifax-banner { flex-direction: column; }

  .hero-chips { gap: 8px; }
  .hero-chip { font-size: 13px; padding: 10px 16px; }

  #navbar { padding: 0 20px; }
  .nav-logo-sub { display: none; }
}

@media (max-width: 480px) {
  .g4 { grid-template-columns: 1fr; }
  .agent-adv-grid { grid-template-columns: 1fr; }
  .hero-chips { flex-direction: column; }
  .hero-chip { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 1400px) {
  :root { --max-w: 1320px; }
}
