/* ============================================================
   HOME PAGE — DT Malware Safe
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-24) var(--space-20);
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 80%, rgba(22,163,74,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Blue halo behind the logo */
.hero-halo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-8);
}
.hero-halo::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: halo-pulse 3s ease-in-out infinite;
}
.hero-shield {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 8px 24px rgba(37,99,235,0.3));
}
@keyframes halo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.15); opacity: 1; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  max-width: 18ch;
  margin-inline: auto;
}
.hero-title span { color: var(--primary); }

.hero-tagline {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Threat status pill */
.threat-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.375rem 0.875rem;
  background: var(--safe-light);
  border: 1px solid rgba(22,163,74,0.25);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--safe);
  margin-top: var(--space-8);
}

/* ── Stats Strip ──────────────────────────────────────────── */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-8);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  background: var(--surface);
  padding: var(--space-6);
  text-align: center;
}
.stat-item.highlight { background: var(--primary-50); }
.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-item.highlight .stat-value { color: var(--primary); }
.stat-label { font-size: 0.875rem; color: var(--text-muted); }

/* ── Feature Highlights ───────────────────────────────────── */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.feature-icon.blue   { background: var(--primary-100); color: var(--primary); }
.feature-icon.green  { background: var(--safe-light);  color: var(--safe); }
.feature-icon.yellow { background: var(--warning-light); color: #92400E; }
.feature-icon.red    { background: var(--danger-light); color: var(--danger); }

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.feature-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ── FAQ Section ──────────────────────────────────────────── */
.faq-section { background: var(--bg-alt); }
.faq-list { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background var(--dur-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-alt); }
.faq-chevron {
  width: 20px; height: 20px;
  color: var(--text-muted);
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  animation: faqSlideIn var(--dur) var(--ease) forwards;
}

@keyframes faqSlideIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1D4ED8 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.cta-banner h2  { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: var(--space-3); position: relative; }
.cta-banner p   { opacity: 0.85; margin-bottom: var(--space-6); font-size: 1.0625rem; position: relative; }
.cta-banner .btn-white { position: relative; }

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
