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

:root {
  --bg-primary: #050811;
  --bg-secondary: #0a1020;
  --bg-sidebar: #070c18;
  --bg-card: rgba(14, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 36, 66, 0.85);
  --border-color: rgba(56, 189, 248, 0.15);
  --border-glow: rgba(0, 242, 254, 0.4);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #00f2fe;
  --accent-blue: #38bdf8;
  --accent-purple: #a855f7;
  --accent-violet: #818cf8;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --gradient-cyber: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #a855f7 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-badge: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(168, 85, 247, 0.15));

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.2);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Header & Nav */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(5, 8, 17, 0.88);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-cyber);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.brand-logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #050811;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(0, 242, 254, 0.3);
  margin-left: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-btn.active {
  background: var(--accent-cyan);
  color: #050811;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.btn-primary {
  background: var(--gradient-cyber);
  color: #050811;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-danger {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
  border: 1px solid var(--accent-rose);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-danger:hover {
  background: var(--accent-rose);
  color: #fff;
}

/* User Quick Switch / State bar in nav */
.user-menu-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  cursor: pointer;
}

.user-avatar-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-cyber);
  color: #050811;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
}

/* Views toggling (Landing vs App Dashboard) */
.view-container {
  display: none;
}
.view-container.active {
  display: block;
}

/* Hero Section */
.hero {
  padding: 5rem 2rem 3.5rem;
  max-width: 1260px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-badge);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  animation: pulse 3s infinite ease-in-out;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 1.4rem;
}

.hero-title-highlight {
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  padding: 1.5rem 1.2rem;
  border-radius: var(--radius-md);
  text-align: left;
  transition: var(--transition-smooth);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card);
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sections */
.section {
  padding: 5rem 2rem;
  max-width: 1260px;
  margin: 0 auto;
  scroll-margin-top: 85px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Mosca's Theorem (SNDL) */
.sndl-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.slider-group {
  margin-bottom: 1.8rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.slider-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.slider-value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 2px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

input[type="range"] {
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 12px var(--accent-cyan);
  transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.sndl-status-box {
  background: rgba(10, 16, 32, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.formula-display {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  border: 1px dashed var(--border-color);
}

.status-indicator-badge {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
  display: inline-block;
  transition: var(--transition-smooth);
}

.status-indicator-badge.breach {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-rose);
  border: 1px solid var(--accent-rose);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.25);
}

.status-indicator-badge.safe {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

/* Ecosystem Grid */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.eco-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  position: relative;
  transition: var(--transition-smooth);
}

.eco-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px -10px rgba(0, 242, 254, 0.15);
}

.eco-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.eco-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent-cyan);
}

.eco-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.eco-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.eco-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.eco-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Pricing & Licensing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.pricing-card.featured {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
  transform: scale(1.02);
}

.pricing-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gradient-cyber);
  color: #050811;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  margin: 1rem 0 0.5rem;
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features li {
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: "✓";
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Downloads & CLI Section */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 2.2rem;
  margin-top: 2.5rem;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.4rem;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-cyber);
  opacity: 0.6;
}

.download-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 40px -10px rgba(0, 242, 254, 0.25);
}

.download-card .eco-icon {
  margin-bottom: 1.2rem;
}

.terminal-box {
  background: #020612;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-left: 3px solid var(--accent-cyan);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  line-height: 1.7;
  margin: 1.5rem 0;
  overflow-x: auto;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ========================================================================= */
/* DASHBOARD LAYOUT (Tenant & Superadmin)                                   */
/* ========================================================================= */
.dashboard-layout {
  display: flex;
  min-height: calc(100vh - 66px);
}

.sidebar {
  width: 260px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1rem;
  flex-shrink: 0;
}

.sidebar-brand-badge {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.sidebar-org-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.sidebar-role-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.sidebar-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

.sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.sidebar-btn.active {
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  font-weight: 600;
  border-left: 3px solid var(--accent-cyan);
}

.sidebar-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

/* Dashboard Main Content */
.dashboard-main {
  flex: 1;
  padding: 2rem 2.5rem;
  background: #060913;
  overflow-y: auto;
}

.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.dash-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}

.dash-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dash-tab-pane {
  display: none;
}
.dash-tab-pane.active {
  display: block;
}

/* Form Styling */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  max-width: 650px;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: #090e1c;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-cyan);
}

/* Tables in Dashboard */
.data-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.data-table th {
  background: rgba(14, 23, 42, 0.9);
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Agentless Scan Card */
.scan-input-box {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 550px;
  width: 100%;
  padding: 2.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  background: #03050a;
  padding: 4rem 2rem 2rem;
  margin-top: 5rem;
}

.footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  max-width: 1260px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

@keyframes pulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .sndl-container { grid-template-columns: 1fr; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .dashboard-layout { flex-direction: column; }
  .sidebar { width: 100%; }
}

/* Phase 2: AI Mosca Risk & Compliance Framework Styles */
.industry-presets-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.preset-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.preset-pill:hover, .preset-pill.active {
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
}

.timeline-meter-container {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin: 1.5rem 0;
}

.timeline-track {
  height: 12px;
  background: #1e293b;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  margin-top: 0.6rem;
}

.timeline-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.35s ease, background 0.35s ease;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.compliance-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
}

.compliance-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.compliance-progress-bar {
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  overflow: hidden;
  margin: 0.8rem 0;
}

.compliance-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}
