/* ============================================================
   ZeroDay — Home Page Styles
   ============================================================ */

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 64px;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; padding: 80px 0;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse-glow 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent);
}
.hero h1 { margin-bottom: 24px; }
.hero h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, #66e0ff 50%, var(--accent) 100%);
  background-size: 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
.hero-desc {
  font-size: 1.15rem; color: var(--text-2); max-width: 480px;
  margin-bottom: 36px; line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 32px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat-val {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 800;
  color: var(--text-1);
}
.hero-stat-lbl { font-size: 0.8rem; color: var(--text-3); margin-top: 2px; }

/* ── Hero visual ── */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-card-wrap {
  width: 380px; position: relative;
  animation: float 5s ease-in-out infinite;
}
.hero-bot-card {
  background: var(--bg-3); border: 1px solid var(--border-2);
  border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0,212,255,0.1);
  position: relative; overflow: hidden;
}
.hero-bot-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hbc-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.hbc-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0055aa);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: #050810;
  box-shadow: 0 0 20px rgba(0,212,255,0.4);
}
.hbc-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.hbc-name span { display: block; font-family: var(--font-body); font-size: 0.75rem; font-weight: 400; color: var(--text-3); }
.hbc-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--green);
  padding: 5px 12px; background: rgba(0,229,160,0.1); border-radius: 100px;
  border: 1px solid rgba(0,229,160,0.2);
}
.hbc-status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: pulse-glow 2s ease-in-out infinite;
}
.hbc-commands {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px;
}
.hbc-cmd {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.85rem;
}
.hbc-cmd-name { color: var(--accent); font-weight: 600; font-family: monospace; font-size: 0.9rem; }
.hbc-cmd-desc { color: var(--text-3); font-size: 0.75rem; }
.hbc-cmd-badge {
  font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 100px;
  background: rgba(0,212,255,0.12); color: var(--accent);
}
.hbc-cmd-badge.free { background: rgba(0,229,160,0.12); color: var(--green); }
.hbc-footer {
  display: flex; align-items: center; gap: 8px; padding-top: 16px;
  border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-3);
}
.hbc-ping-val { color: var(--green); font-weight: 700; }
.hero-visual-glow {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}

/* ── What is ZeroDay section ── */
.what-section { background: var(--bg-2); position: relative; overflow: hidden; }
.what-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.what-feature-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.what-feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: var(--transition);
}
.what-feature-item:hover { border-color: var(--border-2); background: var(--surface-2); }
.wfi-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2);
  display: grid; place-items: center; font-size: 1.1rem;
}
.wfi-title { font-weight: 600; font-size: 0.95rem; color: var(--text-1); margin-bottom: 4px; }
.wfi-desc  { font-size: 0.85rem; color: var(--text-3); line-height: 1.55; }
.what-visual {
  position: relative; display: flex; flex-direction: column; gap: 16px;
}
.what-stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; align-items: center; gap: 20px;
}
.wsc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.4rem;
  flex-shrink: 0;
}
.wsc-icon.cyan  { background: rgba(0,212,255,0.12); }
.wsc-icon.green { background: rgba(0,229,160,0.12); }
.wsc-icon.blue  { background: rgba(0,80,255,0.12); }
.wsc-val { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.wsc-lbl { font-size: 0.8rem; color: var(--text-3); margin-top: 4px; }

/* ── Why choose ── */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.why-card {
  padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: var(--transition); position: relative; overflow: hidden;
}
.why-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: var(--transition);
}
.why-card:hover::before { opacity: 1; }
.why-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2);
  display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 20px;
}
.why-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.why-card p  { font-size: 0.875rem; line-height: 1.65; }

/* ── Moderation overview ── */
.mod-section { position: relative; overflow: hidden; }
.mod-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.mod-terminal {
  background: var(--bg-3); border: 1px solid var(--border-2);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mod-terminal-bar {
  background: rgba(255,255,255,0.05); padding: 12px 20px;
  display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border);
}
.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-dot.red { background: #ff5f57; }
.term-dot.yellow { background: #febc2e; }
.term-dot.green  { background: #28c840; }
.term-title { flex: 1; text-align: center; font-size: 0.75rem; color: var(--text-3); font-family: monospace; }
.mod-actions { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.mod-action {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; font-size: 0.85rem;
  transition: var(--transition);
}
.mod-action:hover { border-color: var(--border-2); }
.mod-action-icon { font-size: 1rem; width: 24px; text-align: center; }
.mod-action-text { flex: 1; color: var(--text-2); }
.mod-action-badge {
  font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 100px;
  background: rgba(0,229,160,0.12); color: var(--green);
}
.mod-action-badge.warn { background: rgba(255,184,48,0.12); color: var(--amber); }
.mod-feature-pills {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
.mod-pill {
  display: flex; align-items: center; gap: 7px; padding: 8px 16px;
  border-radius: 100px; background: var(--surface); border: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-2); transition: var(--transition);
}
.mod-pill:hover { border-color: rgba(0,212,255,0.3); color: var(--accent); }
.mod-pill-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ── Cybersecurity overview ── */
.cyber-section { background: var(--bg-2); }
.cyber-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.cyber-feature-blocks {
  display: flex; flex-direction: column; gap: 16px;
}
.cyber-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: var(--transition);
}
.cyber-block:hover { border-color: rgba(0,229,160,0.3); background: rgba(0,229,160,0.03); }
.cb-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(0,229,160,0.1); border: 1px solid rgba(0,229,160,0.2);
  display: grid; place-items: center; font-size: 1rem;
}
.cb-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.cb-desc  { font-size: 0.83rem; color: var(--text-3); line-height: 1.55; }
.cyber-alert-feed {
  background: var(--bg-3); border: 1px solid var(--border-2);
  border-radius: var(--radius-xl); padding: 24px; overflow: hidden;
}
.caf-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.caf-title { font-weight: 700; font-size: 0.95rem; }
.caf-live {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 600; color: var(--green);
  padding: 4px 10px; background: rgba(0,229,160,0.1); border-radius: 100px;
}
.caf-live-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--green);
  animation: pulse-glow 2s ease-in-out infinite;
}
.caf-items { display: flex; flex-direction: column; gap: 10px; }
.caf-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px;
}
.caf-item-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
}
.caf-item-title { font-size: 0.85rem; font-weight: 600; }
.caf-item-sev {
  font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 100px;
}
.sev-critical { background: rgba(255,77,109,0.15); color: var(--red); }
.sev-high     { background: rgba(255,184,48,0.15); color: var(--amber); }
.sev-medium   { background: rgba(0,212,255,0.12); color: var(--accent); }
.caf-item-desc { font-size: 0.78rem; color: var(--text-3); }

/* ── Ethical Hacking future ── */
.future-section { position: relative; overflow: hidden; }
.future-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.future-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.future-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 20px; position: relative;
  transition: var(--transition);
}
.future-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.future-card-icon { font-size: 1.3rem; margin-bottom: 12px; }
.future-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.future-card p  { font-size: 0.8rem; color: var(--text-3); line-height: 1.55; }
.future-card-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 0.62rem; font-weight: 700; padding: 2px 7px;
  border-radius: 100px; background: rgba(255,184,48,0.12); color: var(--amber);
  border: 1px solid rgba(255,184,48,0.2);
}
.future-lock-overlay {
  position: absolute; inset: 0; border-radius: var(--radius);
  background: rgba(8,11,16,0.4); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; opacity: 0.7;
}

/* ── Stats section ── */
.stats-section {
  background: var(--bg-2); padding: 80px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--border); border-radius: var(--radius-xl); overflow: hidden;
}
.stat-block {
  background: var(--bg-2); padding: 44px 32px; text-align: center;
  transition: var(--transition);
}
.stat-block:hover { background: var(--surface); }
.stat-block .val {
  font-family: var(--font-display); font-size: 2.8rem; font-weight: 800;
  color: var(--accent); line-height: 1; margin-bottom: 8px;
}
.stat-block .lbl { font-size: 0.875rem; color: var(--text-3); font-weight: 500; }

/* ── Feature highlights ── */
.highlights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.hl-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.hl-card:hover { border-color: var(--border-2); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hl-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to top, rgba(0,212,255,0.05), transparent);
  pointer-events: none;
}
.hl-icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px;
  display: grid; place-items: center; font-size: 1.4rem;
}
.hl-icon.cyan  { background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.2); }
.hl-icon.green { background: rgba(0,229,160,0.1); border: 1px solid rgba(0,229,160,0.2); }
.hl-icon.blue  { background: rgba(80,80,255,0.1); border: 1px solid rgba(80,80,255,0.25); }
.hl-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.hl-card p  { font-size: 0.875rem; line-height: 1.7; }
.hl-card-list {
  margin-top: 20px; display: flex; flex-direction: column; gap: 8px;
}
.hl-card-list li {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.83rem; color: var(--text-2);
}
.hl-card-list li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* ── CTA section ── */
.cta-section {
  position: relative; overflow: hidden;
  text-align: center; padding: 120px 0;
}
.cta-glow {
  position: absolute; width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.1) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 20px; }
.cta-section p  { font-size: 1.1rem; max-width: 520px; margin: 0 auto 40px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-note {
  margin-top: 24px; font-size: 0.8rem; color: var(--text-3);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cta-note::before, .cta-note::after { content: ''; flex: 1; max-width: 120px; height: 1px; background: var(--border); }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .hero-inner  { grid-template-columns: 1fr; gap: 48px; padding: 64px 0; }
  .hero-card-wrap { width: 100%; max-width: 420px; margin: 0 auto; }
  .what-grid, .mod-showcase, .cyber-grid, .future-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid, .highlights-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .why-grid, .highlights-grid, .future-cards { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-block { padding: 32px 24px; }
}
