/* =========================================================
   ANALISY — Dark Geopolitical Platform
   Design system inspired by NordVPN (dark edition)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary:       #000000;
  --bg-secondary:     #0a0a0e;
  --bg-card:          #111113;
  --bg-card-hover:    #1a1a1c;
  --bg-dark:          #000000;
  --bg-nav:           rgba(0,0,0,0.75);

  --accent-blue:      #4f9eff;
  --accent-cyan:      #00c2e0;
  --accent-teal:      #00d4aa;
  --accent-red:       #e8344e;
  --accent-red-hover: #c9263f;
  --accent-green:     #39ff14;
  --accent-yellow:    #f5c842;
  --accent-orange:    #ff7043;
  --accent-purple:    #bf5af2;

  --text-primary:   rgba(235,235,245,0.92);
  --text-secondary: rgba(235,235,245,0.55);
  --text-muted:     rgba(235,235,245,0.28);

  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(255,255,255,0.15);
  --glow:          rgba(255,255,255,0.03);

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --nav-h: 58px;
  --radius: 12px;
  --radius-lg: 16px;
  --transition: all 0.22s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.7);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); border: none; outline: none; }
input, select, textarea { font-family: var(--font); outline: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-secondary); line-height: 1.7; }

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,52,78,0.35);
}
.btn-primary:hover {
  background: var(--accent-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(232,52,78,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-hover);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--text-primary); }

.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.btn-blue {
  background: var(--accent-blue);
  color: #060e1a;
}
.btn-blue:hover {
  background: #6aadff;
  transform: translateY(-1px);
}

/* ============================================================
   NAVBAR — LANDING PAGE
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
  transition: var(--transition);
}
.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 8px;
  padding-bottom: 4px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.navbar-logo .logo-icon {
  width: 34px; height: 34px;
  background: transparent;
  border: none;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.navbar-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-actions .btn-accedi {
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar-actions .btn-accedi:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.help-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border-hover);
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}
.help-btn:hover { border-color: rgba(255,255,255,0.3); color: var(--text-primary); background: rgba(255,255,255,0.06); }

/* User avatar in navbar */
.nav-avatar-wrap { position: relative; }
.nav-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #000;
  border: 1.5px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #fff;
  cursor: pointer; flex-shrink: 0;
  transition: border-color 0.15s;
  user-select: none;
}
.nav-avatar:hover { border-color: rgba(255,255,255,0.5); }
.nav-avatar-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 160px;
  background: #111113;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  z-index: 9999;
}
.nav-avatar-menu.open { display: block; }
.nav-avatar-menu a,
.nav-avatar-menu button {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 8px 10px;
  font-size: 0.78rem; color: rgba(235,235,245,0.75);
  background: none; border: none; cursor: pointer;
  border-radius: 7px; text-decoration: none;
  transition: background 0.12s, color 0.12s;
  text-align: left; white-space: nowrap;
}
.nav-avatar-menu a:hover,
.nav-avatar-menu button:hover { background: rgba(255,255,255,0.07); color: #fff; }
.nav-avatar-menu button { color: #ff4757; }
.nav-avatar-menu button:hover { background: rgba(255,71,87,0.1); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse 70% 55% at 65% 35%, rgba(232,52,78,0.05) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 20% 75%, rgba(255,255,255,0.02) 0%, transparent 50%),
              var(--bg-primary);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "top    visual"
    "bottom visual";
  gap: 0 64px;
  align-items: start;
}
.hero-top    { grid-area: top;    padding-bottom: 24px; }
.hero-bottom { grid-area: bottom; }
.hero-visual { grid-area: visual; align-self: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,52,78,0.08);
  border: 1px solid rgba(232,52,78,0.2);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-red);
  margin-bottom: 24px;
}
.hero-badge .star { color: var(--accent-yellow); }
.hero-title { margin-bottom: 20px; }
.hero-title span { color: var(--accent-red); }
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.hero-feature-item::before {
  content: '';
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2339ff14'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  flex-shrink: 0;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.hero-guarantee svg { color: var(--text-muted); }

/* Hero map preview */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-map-wrapper {
  width: 100%;
  max-width: 580px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(232,52,78,0.06), var(--shadow-lg);
  position: relative;
}
#hero-map { width: 100%; height: 100%; }

/* Map popup event card */
.map-event-popup {
  background: rgba(6,14,26,0.95);
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  padding: 10px 14px;
  backdrop-filter: blur(12px);
  pointer-events: none;
}
.map-event-popup .event-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.map-event-popup .event-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}
.map-event-popup .event-loc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Leaflet overrides */
.leaflet-container { background: #000 !important; }
.leaflet-control-zoom { border: 1px solid var(--border) !important; background: var(--bg-card) !important; }
.leaflet-control-zoom a { background: var(--bg-card) !important; color: var(--text-secondary) !important; border-color: var(--border) !important; }
.leaflet-control-zoom a:hover { background: var(--bg-card-hover) !important; color: var(--text-primary) !important; }
.leaflet-control-attribution { background: rgba(0,0,0,0.8) !important; color: var(--text-muted) !important; font-size: 0.65rem !important; }
.leaflet-control-attribution a { color: var(--text-secondary) !important; }
.leaflet-popup-content-wrapper {
  background: rgba(17,17,19,0.97) !important;
  border: 1px solid var(--border-hover) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6) !important;
  backdrop-filter: blur(16px);
}
.leaflet-popup-tip { background: rgba(17,17,19,0.97) !important; }
.leaflet-popup-content { color: var(--text-primary) !important; margin: 14px 16px !important; }
.leaflet-popup-close-button { color: var(--text-muted) !important; }
.leaflet-popup-close-button:hover { color: var(--text-primary) !important; }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section { background: var(--bg-secondary); width: 100%; overflow-x: hidden; }
.section-header { margin-bottom: 60px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; max-width: 560px; }

.features-grid {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 220px;
  grid-template-rows: repeat(3, auto);
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}
.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.feature-card .card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}
.feature-card .card-tag svg { width: 14px; height: 14px; }
.feature-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.feature-card p { font-size: 0.88rem; line-height: 1.6; }
.feature-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
}
.feature-card .card-link:hover { gap: 10px; }

/* Card grid positioning */
.feature-card.card-person { grid-column: 1; grid-row: 1 / 3; }
.feature-card.card-speed  { grid-column: 2; grid-row: 1; }
.feature-card.card-flags  { grid-column: 2; grid-row: 2; }
.feature-card.card-map    { grid-column: 3; grid-row: 1 / 3; }
.feature-card.card-dark   { grid-column: 4; grid-row: 1; }
.feature-card.card-ai     { grid-column: 4; grid-row: 2; }
.feature-card.card-wide   { grid-column: 1 / 5; grid-row: 3; display: flex; gap: 48px; align-items: center; }

/* card visual elements */
.card-person { background: var(--bg-card); }
.card-person .person-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(160deg, rgba(232,52,78,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.card-flags-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
  font-size: 1.6rem;
}
.card-platforms {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.platform-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.card-map-mini {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  background: var(--bg-dark);
}
.globe-label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  text-align: center;
}
.globe-sublabel {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  font-weight: 400;
  letter-spacing: 0;
}

/* threat card */
.threat-card {
  background: linear-gradient(135deg, #111113 0%, #0a0a0e 100%);
}
.threat-card .threat-badge {
  background: rgba(155,89,255,0.15);
  border: 1px solid rgba(155,89,255,0.3);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--accent-purple);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}
.threat-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}
.threat-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.threat-stat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--bg-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(232,52,78,0.03) 0%, transparent 60%);
}
.stats-section h2 { margin-bottom: 48px; max-width: 700px; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
}
.stats-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.stats-main::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(232,52,78,0.04) 0%, transparent 100%);
  pointer-events: none;
}
.stats-numbers {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.stat-item .stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .stat-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.stat-chart {
  height: 80px;
  margin-top: 24px;
  position: relative;
}
/* SVG chart area */
.stats-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stat-side-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  flex: 1;
  transition: var(--transition);
}
.stat-side-card:hover { border-color: var(--border-hover); }
.stat-side-card .side-number {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.stat-side-card .side-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
}
.stat-side-card .side-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  border-radius: 2px;
}
.stat-side-card .stat-icon {
  width: 32px; height: 32px;
  background: rgba(79,158,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-section { background: var(--bg-secondary); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.step-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
}
.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.step-num {
  width: 52px; height: 52px;
  background: rgba(232,52,78,0.1);
  border: 1.5px solid rgba(232,52,78,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-red);
  margin: 0 auto 20px;
}
.step-card h3 { margin-bottom: 12px; }
.step-card p { font-size: 0.9rem; }

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-section { background: var(--bg-primary); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: rgba(232,52,78,0.4);
  background: linear-gradient(160deg, rgba(232,52,78,0.06) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 48px rgba(232,52,78,0.08);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(235,235,245,0.5);
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-period { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.pricing-features li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-features li.disabled { color: var(--text-muted); }
.pricing-features li.disabled::before { content: '–'; color: var(--text-muted); }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(232,52,78,0.05) 0%, rgba(0,0,0,0) 60%),
              var(--bg-secondary);
  border-top: none;
  border-bottom: none;
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 36px; font-size: 1.05rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-dark);
  border-top: none;
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: rgba(235,235,245,0.88); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: rgba(235,235,245,0.7); }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
  min-height: 100vh;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}
.auth-container {
  width: 100%;
  max-width: 480px;
}
.auth-logo {
  text-align: center;
  margin-bottom: 36px;
}
.auth-logo a {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.auth-card h2 { margin-bottom: 6px; font-size: 1.6rem; }
.auth-card .auth-sub { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-group input, .form-group select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--accent-blue);
  background: rgba(79,158,255,0.04);
  box-shadow: 0 0 0 3px rgba(79,158,255,0.1);
}
.form-group input::placeholder { color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  border: 1.5px solid var(--border-hover);
  border-radius: 4px;
  background: var(--bg-secondary);
  cursor: pointer;
  accent-color: var(--accent-blue);
  margin-top: 2px;
  flex-shrink: 0;
}
.form-check label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
}
.form-check label a { color: var(--accent-blue); }
.form-check label a:hover { text-decoration: underline; }
.auth-submit {
  width: 100%;
  justify-content: center;
  margin-bottom: 20px;
  padding: 14px;
  font-size: 1rem;
}
.auth-footer-text {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.auth-footer-text a { color: var(--accent-blue); }
.auth-footer-text a:hover { text-decoration: underline; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.form-error {
  background: rgba(232,52,78,0.1);
  border: 1px solid rgba(232,52,78,0.25);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--accent-red);
  margin-bottom: 20px;
  display: none;
}
.form-error.show { display: block; }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-layout {
  min-height: 100vh;
  background: var(--bg-primary);
}
.dashboard-sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 256px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  padding: 24px 0;
}
.sidebar-logo {
  padding: 0 24px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.sidebar-logo a {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-logo a .logo-icon {
  width: 30px; height: 30px;
  background: transparent;
  border: none;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sidebar-nav { flex: 1; padding: 0 12px; display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(79,158,255,0.08);
  color: var(--text-primary);
}
.sidebar-nav a.active { color: var(--accent-blue); }
.sidebar-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-user {
  padding: 16px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-user .user-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.sidebar-user .user-info { min-width: 0; }
.sidebar-user .user-name { font-size: 0.85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user .user-role { font-size: 0.75rem; color: var(--text-muted); }

.dashboard-main {
  margin-left: 256px;
  min-height: 100vh;
  padding: 32px;
}
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.dashboard-header h1 { font-size: 1.6rem; }
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.dash-card:hover { border-color: var(--border-hover); }
.dash-card .card-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 8px; }
.dash-card .card-value { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.dash-card .card-sub { font-size: 0.82rem; color: var(--text-secondary); }
.dash-card .card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.dash-card.card-active .card-icon { background: rgba(34,212,122,0.12); }
.dash-card.card-articles .card-icon { background: rgba(79,158,255,0.12); }
.dash-card.card-sub-card .card-icon { background: rgba(232,52,78,0.12); }

/* Subscription card */
.subscription-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.subscription-card h3 { margin-bottom: 20px; }
.sub-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.sub-info-item .label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.sub-info-item .value { font-size: 1rem; font-weight: 600; }
.sub-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}
.sub-status-badge.active   { background: rgba(34,212,122,0.12); color: var(--accent-green); }
.sub-status-badge.inactive { background: rgba(232,52,78,0.12);  color: var(--accent-red); }
.sub-status-badge.expired  { background: rgba(245,200,66,0.12); color: var(--accent-yellow); }
.sub-status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Articles list in dashboard */
.articles-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.articles-list-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.article-row {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.article-row:last-child { border-bottom: none; }
.article-row:hover { background: rgba(79,158,255,0.03); }
.article-cat-badge {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.cat-geo   { background: rgba(232,52,78,0.12);   color: var(--accent-red); }
.cat-pol   { background: rgba(79,158,255,0.12);  color: var(--accent-blue); }
.cat-biz   { background: rgba(34,212,122,0.12);  color: var(--accent-green); }
.cat-tech  { background: rgba(155,89,255,0.12);  color: var(--accent-purple); }
.article-info { flex: 1; min-width: 0; }
.article-info h4 { font-size: 0.9rem; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.article-info .article-meta { font-size: 0.78rem; color: var(--text-muted); }
.article-lock { color: var(--accent-yellow); font-size: 0.85rem; }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-topbar {
  height: 56px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-topbar .topbar-title { font-weight: 700; font-size: 0.95rem; }
.admin-topbar .topbar-breadcrumb { font-size: 0.82rem; color: var(--text-muted); }

.admin-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(79,158,255,0.06);
  vertical-align: middle;
}
.admin-table td:first-child { color: var(--text-primary); font-weight: 500; }
.admin-table tr:hover td { background: rgba(79,158,255,0.02); }
.admin-table tr:last-child td { border-bottom: none; }
.action-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
}
.action-btn.edit   { background: rgba(79,158,255,0.1);  color: var(--accent-blue);  border-color: rgba(79,158,255,0.2); }
.action-btn.del    { background: rgba(232,52,78,0.1);   color: var(--accent-red);   border-color: rgba(232,52,78,0.2); }
.action-btn.view   { background: rgba(34,212,122,0.1);  color: var(--accent-green); border-color: rgba(34,212,122,0.2); }
.action-btn:hover { opacity: 0.8; transform: translateY(-1px); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.2s;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-header h3 { font-size: 1.15rem; }
.modal-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.modal-footer { margin-top: 24px; display: flex; gap: 12px; justify-content: flex-end; }

/* Search & filter bar */
.table-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.table-toolbar input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: var(--transition);
}
.table-toolbar input:focus { border-color: var(--accent-blue); }
.table-toolbar input::placeholder { color: var(--text-muted); }
.table-toolbar select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Notification badge */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--accent-red);
  color: #fff;
}

/* ============================================================
   SITUATION ROOM NAVBAR
   ============================================================ */
.sr-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6, 14, 26, 0.70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
}
.sr-navbar-main {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sr-navbar-sub {
  border-top: 1px solid rgba(79,158,255,0.08);
  height: 44px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 48px;
}
.sr-subnav-link {
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
}
.sr-subnav-link:hover, .sr-subnav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.sr-subnav-link.active { color: var(--accent-blue); }

/* ============================================================
   SITUATION ROOM LAYOUT
   ============================================================ */
.sr-layout {
  margin-top: calc(var(--nav-h) + 44px);
  display: grid;
  grid-template-rows: 65vh auto;
  min-height: calc(100vh - var(--nav-h) - 44px);
}
.sr-map-section {
  position: relative;
  border-bottom: 1px solid var(--border);
}
.sr-map-container {
  width: 100%;
  height: 100%;
  position: relative;
}
#situation-map { width: 100%; height: 100%; }

/* Legacy panel classes — kept for compatibility, visually inactive */
.sr-map-controls,
.sr-map-legend { display: none; }

/* Layer / legend shared utilities (used inside .map-unified-panel) */
.layer-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
}
.layer-toggle:last-child { margin-bottom: 0; }
.layer-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.layer-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
/* Toggle switch */
.toggle-switch {
  width: 36px; height: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.toggle-switch.on { background: var(--accent-blue); }
.toggle-switch::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  top: 3px; left: 3px;
  transition: var(--transition);
}
.toggle-switch.on::after { left: 19px; }

/* Map legend */
.sr-map-legend {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 800;
  background: rgba(6,14,26,0.92);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 14px;
  backdrop-filter: blur(16px);
}
.sr-map-legend h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0;
}
.legend-items { display: flex; flex-direction: column; gap: 6px; }
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.legend-circle {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid currentColor;
  opacity: 0.9;
}

/* Admin add-event button on map */
.admin-map-fab {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 800;
}

/* ============================================================
   SITUATION ROOM CONTENT BELOW MAP
   ============================================================ */
.sr-content {
  background: var(--bg-primary);
  padding: 0;
}
.sr-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  min-height: 100%;
}
.sr-main-col {
  padding: 32px;
  border-right: none;
}
.sr-center-col {
  padding: 32px;
}
.sr-side-col {
  padding: 24px;
  background: transparent;
}
.sr-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sr-section-title span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(232,52,78,0.12);
  color: var(--accent-red);
  border-radius: 50px;
  padding: 2px 8px;
  font-size: 0.7rem;
}
.sr-section-title span.live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
  animation: pulse-dot 1.5s infinite;
}

/* Articles list (horizontal row style) */
.articles-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.sr-article-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
  overflow: hidden;
}
.sr-article-card:last-child { border-bottom: none; }
.sr-article-card:hover { background: rgba(255,255,255,0.018); transform: none; box-shadow: none; }
.sr-article-card:hover .art-title-row { color: var(--accent-blue); }

/* Left accent line (on the info side, not thumb) */
.sr-article-card .art-info {
  border-left: 2px solid var(--art-cat-color, rgba(255,255,255,0.1));
}

/* thumbnail */
.sr-article-card .art-thumb {
  width: 80px;
  height: 60px;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
}
.sr-article-card .art-thumb img,
.sr-article-card .art-thumb > div {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* text side */
.sr-article-card .art-info {
  flex: 1;
  min-width: 0;
  padding: 16px 4px 16px 12px;
}
.sr-article-card .art-date-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.sr-article-card .art-title-row {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sr-article-card .premium-lock {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(245,200,66,0.15);
  color: var(--accent-yellow);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sr-article-card .art-category { margin-bottom: 8px; }
.sr-article-card h4 { font-size: 0.92rem; margin-bottom: 6px; line-height: 1.4; }
.sr-article-card .art-excerpt { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.sr-article-card .art-meta { font-size: 0.72rem; color: var(--text-muted); }
.sr-article-card.locked {
  opacity: 0.75;
}
.sr-article-card.locked .locked-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(6,14,26,0.9) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  font-size: 0.82rem;
  color: var(--accent-yellow);
  font-weight: 600;
}

/* Markets ticker */
.markets-list { display: flex; flex-direction: column; gap: 0; }
.market-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(79,158,255,0.07);
  border-radius: 0;
  padding: 10px 4px;
  transition: var(--transition);
}
.market-item:last-child { border-bottom: none; }
.market-name { font-size: 0.85rem; font-weight: 600; }
.market-ticker { font-size: 0.72rem; color: var(--text-muted); }
.market-price { font-size: 0.88rem; font-weight: 600; }
.market-change {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.market-change.up   { background: rgba(34,212,122,0.12); color: var(--accent-green); }
.market-change.down { background: rgba(232,52,78,0.12);  color: var(--accent-red); }

/* City cam grid */
.citycam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 24px;
}
.citycam-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.citycam-card:hover { border-color: var(--border-hover); }
.citycam-preview {
  width: 100%;
  aspect-ratio: 16/6;
  background: linear-gradient(160deg, #0a1a2a, #050e1a);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.citycam-preview .cam-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7));
}
.citycam-preview .city-icon { font-size: 1rem; z-index: 1; }

/* ── Intelligence Brief Cards — Studio style ───────────────────── */
.brief-card {
  background: transparent;
  border: none;
  border-left: 2px solid var(--cat-color, #4f9eff);
  border-radius: 0;
  padding: 13px 0 13px 13px;
  border-bottom: 1px solid rgba(255,255,255,0.045);
  transition: background .15s;
}
.brief-card:last-child { border-bottom: none; }
.brief-card:hover { background: rgba(255,255,255,0.018); }
.brief-eyebrow {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.brief-eyebrow-sep {
  color: rgba(255,255,255,0.18);
  font-weight: 300;
}
.brief-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary, #f0f4ff);
  margin-bottom: 6px;
  line-height: 1.35;
}
.brief-text {
  font-size: 0.78rem;
  color: var(--text-secondary, #8fa8cc);
  line-height: 1.58;
  margin-bottom: 9px;
}
.brief-text-empty {
  color: var(--text-muted);
  font-style: italic;
}
.brief-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.brief-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.67rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.brief-source-link {
  color: rgba(79,158,255,0.7);
  text-decoration: none;
  font-size: 0.67rem;
  letter-spacing: 0.03em;
}
.brief-source-link:hover { color: #4f9eff; }
.brief-placeholder {
  padding: 28px 0 28px 14px;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.65;
  border-left: 2px solid rgba(255,255,255,0.06);
}
.brief-placeholder-icon { font-size: 1.4rem; margin-bottom: 8px; }

/* Submarine cable fiber-optic layers */
.cable-halo { filter: url(#cable-glow); }
.cable-mid  { filter: url(#cable-glow); }

/* Migration hotspot markers */
.migration-hotspot {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.migration-hotspot.origin {
  animation: hotspotPulse 1.8s ease-out infinite;
  filter: drop-shadow(0 0 4px rgba(255,71,87,0.8));
}
.migration-hotspot.dest {
  animation: hotspotPulseGreen 2.2s ease-out infinite;
  filter: drop-shadow(0 0 4px rgba(34,212,122,0.8));
}
@keyframes hotspotPulse {
  0%   { filter: drop-shadow(0 0 2px rgba(255,71,87,0.9)); }
  60%  { filter: drop-shadow(0 0 9px rgba(255,71,87,0.3)); }
  100% { filter: drop-shadow(0 0 2px rgba(255,71,87,0.9)); }
}
@keyframes hotspotPulseGreen {
  0%   { filter: drop-shadow(0 0 2px rgba(34,212,122,0.9)); }
  60%  { filter: drop-shadow(0 0 9px rgba(34,212,122,0.3)); }
  100% { filter: drop-shadow(0 0 2px rgba(34,212,122,0.9)); }
}

.citycam-live-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: rgba(232,52,78,0.82);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 2px 5px;
  border-radius: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3px;
}
.citycam-live-badge::before {
  content: '';
  width: 5px; height: 5px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-dot 1.2s infinite;
}
.citycam-name {
  padding: 4px 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Video podcasts — identical style to article cards */
.podcast-list { display: flex; flex-direction: column; gap: 0; }
.podcast-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 10px 4px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(79,158,255,0.07);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}
.podcast-item:last-child { border-bottom: none; }
.podcast-item:hover .podcast-info h4 { color: var(--accent-blue); }
.podcast-thumb {
  width: 82px;
  height: 62px;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-secondary));
  border-radius: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}
.play-icon {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 18px; height: 18px;
  background: var(--accent-red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem;
  color: #fff;
}
.podcast-info { flex: 1; min-width: 0; }
.podcast-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.podcast-info .pod-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.6s ease forwards; }

/* Event pulse marker */
.pulse-marker {
  position: relative;
  width: 12px; height: 12px;
  cursor: pointer;
}
.pulse-marker .pulse-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.pulse-marker .pulse-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  animation: pulse-ring 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  z-index: 1;
  border: 2px solid currentColor;
}
.pulse-marker .pulse-ring-2 {
  animation-delay: 0.6s;
}

/* Mag sizes */
.pulse-marker.mag-1 { width: 10px; height: 10px; }
.pulse-marker.mag-2 { width: 14px; height: 14px; }
.pulse-marker.mag-3 { width: 18px; height: 18px; }
.pulse-marker.mag-4 { width: 24px; height: 24px; }
.pulse-marker.mag-4 .pulse-dot { width: 24px; height: 24px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .feature-card.card-person, .feature-card.card-speed,
  .feature-card.card-flags, .feature-card.card-map,
  .feature-card.card-dark, .feature-card.card-ai,
  .feature-card.card-wide {
    grid-column: auto;
    grid-row: auto;
  }
  .feature-card.card-wide { grid-column: 1 / -1; flex-direction: column; gap: 24px; }
  .stats-grid { grid-template-columns: 1fr; }
  .sr-content-grid { grid-template-columns: 1fr; }
  .sr-side-col { border-left: none; border-top: none; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .section { padding: 64px 0; }
  .steps-grid, .pricing-grid { grid-template-columns: 1fr; }
  .sr-article-card .art-thumb { width: 64px; height: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-sidebar { width: 0; overflow: hidden; }
  .dashboard-main { margin-left: 0; }
}

@media (max-width: 640px) {
  .navbar-nav { display: none; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .dashboard-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .sub-info-grid { grid-template-columns: 1fr 1fr; }
  .citycam-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sr-navbar-sub { padding: 0 16px; overflow-x: auto; gap: 2px; white-space: nowrap; }
}

/* ============================================================
   MOBILE RESPONSIVE — Landing Page
   ============================================================ */

/* ── Hamburger button ── */
.hamburger-btn {
  display: none;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: none;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger-btn span {
  width: 18px; height: 2px;
  background: rgba(235,235,245,0.9);
  border-radius: 2px;
  display: block;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
/* X quando aperto */
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile right group (hamburger + ?) */
.navbar-mobile-right {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.help-btn-mobile {
  width: 30px; height: 30px;
  font-size: 0.75rem;
}

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 58px; left: 0; right: 0;
  background: #050508;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 10px 16px 16px;
  z-index: 1090;
  flex-direction: column;
  gap: 2px;
  animation: mobileMenuIn 0.2s ease;
}
.mobile-menu.open { display: flex; }
@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu a {
  padding: 11px 14px;
  border-radius: 8px;
  color: rgba(235,235,245,0.65);
  font-size: 0.92rem;
  font-weight: 500;
  display: block;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.05); color: rgba(235,235,245,0.95); }
.mobile-menu-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 8px 0; }
.mobile-menu-accedi {
  color: rgba(235,235,245,0.55) !important;
  font-size: 0.88rem !important;
}
.mobile-menu-cta {
  margin-top: 4px;
  padding: 12px 16px !important;
  background: #e8344e !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  text-align: center;
}
.mobile-menu-cta:hover { background: #ff3d55 !important; }

/* ── Breakpoint principale mobile ── */
@media (max-width: 768px) {

  /* Navbar: nascondi desktop, mostra mobile */
  .navbar-nav          { display: none !important; }
  .navbar-actions      { display: none !important; }
  .navbar-mobile-right { display: flex !important; }
  .hamburger-btn       { display: flex !important; }

  .container { padding: 0 20px; }

  /* Hero: layout mobile flex colonna */
  .hero {
    padding-top: calc(var(--nav-h) + 32px);
    padding-bottom: 48px;
  }
  .hero-inner {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
  }
  /* Reset grid-area + larghezza piena su tutti i figli */
  .hero-top,
  .hero-visual,
  .hero-bottom {
    grid-area: unset !important;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-bottom: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  /* Testo: nasconde i <br> forzati e lascia andare a capo naturalmente */
  .hero-title br { display: none; }
  .hero-title { font-size: clamp(1.8rem, 7.5vw, 2.4rem); word-break: break-word; }

  .hero-visual {
    display: flex !important;
    justify-content: center;
  }
  .hero-map-wrapper {
    width: 100%;
    max-width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: none;
  }
  #hero-map { width: 100% !important; height: 200px !important; border-radius: 0; }

  /* Bottoni CTA — stessa larghezza, allineati a sinistra come il testo */
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 320px;
  }
  .hero-cta .btn {
    justify-content: center;
    text-align: center;
  }

  /* Testo garanzia — una sola riga */
  .hero-guarantee {
    font-size: 0.72rem;
    white-space: nowrap;
    max-width: 100%;
  }

  /* Desc — non supera la larghezza del contenitore */
  .hero-desc {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* Feature items — icona allineata in alto, testo wrappa nel suo spazio */
  .hero-feature-item {
    font-size: 0.88rem;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  /* Features grid — colonna singola */
  .features-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  .feature-card,
  .feature-card.card-person,
  .feature-card.card-speed,
  .feature-card.card-flags,
  .feature-card.card-map,
  .feature-card.card-dark,
  .feature-card.card-ai,
  .feature-card.card-wide {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .feature-card.card-wide {
    flex-direction: column;
    gap: 20px;
  }
  .feature-card.card-wide > div:nth-child(2) {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr; }
  .stats-numbers { grid-template-columns: 1fr; gap: 20px; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { order: -1; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Sezioni */
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 0.88rem;
  color: var(--text-primary);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 0.3s ease;
  max-width: 320px;
}
.toast.success { border-left: 3px solid var(--accent-green); }
.toast.error   { border-left: 3px solid var(--accent-red); }
.toast.info    { border-left: 3px solid var(--accent-blue); }

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border-hover);
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  border-color: var(--accent-blue);
  color: var(--accent-yellow);
  background: rgba(79,158,255,0.08);
}

/* ============================================================
   LIGHT MODE
   ============================================================ */
body.light-mode {
  --bg-primary:    #f4f6fb;
  --bg-secondary:  #eaecf5;
  --bg-card:       #ffffff;
  --bg-card-hover: #f0f4ff;
  --bg-dark:       #e2e6f0;
  --bg-nav:        rgba(244, 246, 251, 0.70);

  --text-primary:   #0d1a2d;
  --text-secondary: #3a5070;
  --text-muted:     #8090a8;

  --border:        rgba(79, 158, 255, 0.18);
  --border-hover:  rgba(79, 158, 255, 0.40);
  --glow:          rgba(79, 158, 255, 0.06);
  --shadow:        0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.15);
}
body.light-mode .navbar-nav a:hover,
body.light-mode .navbar-nav a.active {
  background: rgba(0,0,0,0.05);
}
body.light-mode .navbar-actions .btn-accedi:hover {
  background: rgba(0,0,0,0.05);
}
body.light-mode ::-webkit-scrollbar-track { background: var(--bg-secondary); }

/* ============================================================
   ARTICLE CARD WITH IMAGE (Situation Room)
   ============================================================ */
.sr-article-card .art-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.sr-article-card .art-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sr-article-card:hover .art-img img { transform: scale(1.04); }
.sr-article-card .art-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}

/* ============================================================
   ADMIN ARTICLES SECTION
   ============================================================ */
.articles-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px;
}
.article-admin-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.article-admin-card:hover { border-color: var(--border-hover); }
.article-admin-card .card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-card));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  overflow: hidden;
  position: relative;
}
.article-admin-card .card-img img { width:100%; height:100%; object-fit:cover; }
.article-admin-card .card-body { padding: 14px; }
.article-admin-card .card-body h4 { font-size: 0.88rem; margin-bottom: 4px; line-height:1.3; }
.article-admin-card .card-body .card-meta { font-size:0.75rem; color:var(--text-muted); margin-bottom:10px; }
.article-admin-card .card-actions { display:flex; gap:6px; }

/* Rich text editor area */
.rich-editor {
  width: 100%;
  min-height: 200px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.7;
  resize: vertical;
  transition: var(--transition);
}
.rich-editor:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(79,158,255,0.1);
}
.img-upload-area {
  border: 2px dashed var(--border-hover);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(79,158,255,0.02);
}
.img-upload-area:hover {
  border-color: var(--accent-blue);
  background: rgba(79,158,255,0.05);
}
.img-upload-area input[type="file"] { display: none; }
.img-upload-area .upload-icon { font-size: 2rem; margin-bottom: 8px; }
.img-upload-area p { font-size: 0.82rem; color: var(--text-muted); }
.img-preview {
  width: 100%;
  max-height: 180px;
  border-radius: 8px;
  object-fit: cover;
  margin-top: 10px;
  display: none;
}

/* Category filter tabs */
.cat-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  background: var(--bg-secondary);
}
.cat-tab {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
  color: var(--text-secondary);
  background: transparent;
}
.cat-tab:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.cat-tab.active {
  background: var(--accent-blue);
  color: #060e1a;
  border-color: var(--accent-blue);
}

/* =========================================================
   FORUM / COMMUNITY  — Studio / VS Code style
   ========================================================= */

/* Tab bar */
.forum-filter-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.forum-filter-bar::-webkit-scrollbar { display: none; }

/* Tabs */
.forum-cat-btn {
  padding: 9px 16px;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  color: var(--text-muted);
  background: transparent;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}
.forum-cat-btn:hover  { color: var(--text-secondary); }
.forum-cat-btn.active { color: var(--accent-blue); border-bottom-color: var(--accent-blue); }

/* Post card */
.forum-post-card {
  background: transparent;
  border: none;
  border-left: 2px solid var(--forum-cat-color, rgba(255,255,255,0.1));
  border-bottom: 1px solid rgba(255,255,255,0.04);
  border-radius: 0;
  padding: 15px 0 15px 15px;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 0;
}
.forum-post-card:last-child { border-bottom: none; }
.forum-post-card:hover { background: rgba(255,255,255,0.018); transform: none; }

/* Reply card */
.forum-reply-card {
  background: transparent;
  border: none;
  border-left: 2px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  border-radius: 0;
  padding: 12px 0 12px 12px;
}
.forum-reply-card:last-child { border-bottom: none; }
