/* ============================================
   SecurityBox by CLIRSec - Dark Theme Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #1a1f2e;
  --bg-card-hover: #222838;
  --accent-cyan: #00d4ff;
  --accent-purple: #7c3aed;
  --accent-gradient: linear-gradient(135deg, #00d4ff, #7c3aed);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-heading: #ffffff;
  --border-color: #1e293b;
  --border-glow: rgba(0, 212, 255, 0.15);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.1);
  --container-max: 1200px;
  --header-height: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #33dfff;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

code, pre {
  font-family: var(--font-mono);
}

code {
  background: var(--bg-card);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  font-size: 0.875em;
  color: var(--accent-cyan);
}

pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

pre code {
  background: none;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-primary);
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.625rem 1.5rem;
  transition: all var(--transition);
  white-space: nowrap;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 2px 12px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-1px);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border-color);
  background: rgba(10, 14, 26, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-heading);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--text-heading);
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:hover {
  color: var(--text-heading);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 70%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, rgba(124, 58, 237, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Stats Bar --- */
.stats-bar {
  padding: 3rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Features Section --- */
.features-section {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--accent-gradient);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--text-primary);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--accent-cyan);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.feature-link {
  color: var(--accent-cyan);
  font-size: 0.875rem;
  font-weight: 600;
}

/* --- How It Works --- */
.how-it-works {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.step-title {
  margin-bottom: 0.75rem;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.steps-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* --- Social Proof --- */
.social-proof {
  padding: 6rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.testimonial-quote {
  font-size: 1.0625rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-quote::before {
  content: '\201C';
  display: none;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-heading);
  font-size: 0.9375rem;
}

.testimonial-company {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* --- Final CTA --- */
.final-cta {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Feature CTA (on detail pages) --- */
.feature-cta {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
}

/* --- Feature Detail Page --- */
.feature-hero {
  position: relative;
  padding: calc(var(--header-height) + 3rem) 0 3rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.feature-hero-content {
  max-width: 720px;
}

.feature-hero-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
}

.feature-hero-icon svg {
  width: 32px;
  height: 32px;
}

.feature-hero-title {
  margin-bottom: 1rem;
}

.feature-hero-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
}

.feature-detail {
  padding: 4rem 0;
}

.feature-detail-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

.feature-detail-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.feature-detail-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.feature-detail-content p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.feature-detail-content ul,
.feature-detail-content ol {
  margin-bottom: 1.5rem;
  padding-left: 0;
}

.feature-detail-content li {
  color: var(--text-secondary);
  padding: 0.375rem 0 0.375rem 1.5rem;
  position: relative;
  line-height: 1.6;
}

.feature-detail-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.875rem;
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

.feature-detail-content strong {
  color: var(--text-heading);
  font-weight: 600;
}

/* Sidebar */
.sidebar-card {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.sidebar-title {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 0.375rem 0;
  transition: color var(--transition);
}

.sidebar-links a:hover {
  color: var(--accent-cyan);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 0.5rem;
}

.feature-hero .breadcrumbs {
  padding-top: 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  opacity: 0.5;
}

.breadcrumb-list a {
  color: var(--text-secondary);
}

.breadcrumb-list a:hover {
  color: var(--accent-cyan);
}

.breadcrumb-list [aria-current="page"] {
  color: var(--text-primary);
}

/* --- Single Page / Content --- */
.single-page {
  padding: 2rem 0 4rem;
}

.page-header {
  padding-top: calc(var(--header-height) + 1rem);
  margin-bottom: 2.5rem;
}

.breadcrumbs + .single-page .page-header,
.breadcrumbs + .list-page .page-header {
  padding-top: 0;
}

.page-title {
  margin-bottom: 0.75rem;
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1.5rem;
}

.page-content li {
  color: var(--text-secondary);
  padding: 0.375rem 0 0.375rem 1.5rem;
  position: relative;
  line-height: 1.6;
}

.page-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.875rem;
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

.page-content strong {
  color: var(--text-heading);
}

/* --- List Page / Card Grid --- */
.list-page {
  padding: 2rem 0 4rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.list-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition);
}

.list-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--text-primary);
}

.list-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  color: var(--accent-cyan);
}

.list-card-icon svg {
  width: 24px;
  height: 24px;
}

.list-card-title {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.list-card-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.list-card-link {
  color: var(--accent-cyan);
  font-size: 0.875rem;
  font-weight: 600;
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
}

.pricing-card.featured {
  border-color: var(--accent-cyan);
  position: relative;
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.875rem;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* --- FAQ --- */
.faq-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  gap: 1rem;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-secondary);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-wordmark {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

/* --- Chat Widget --- */
.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
}

.chat-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
  transition: all var(--transition);
  position: relative;
}

.chat-trigger::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.3;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.4); opacity: 0; }
}

.chat-trigger:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.4);
}

.chat-trigger svg {
  position: relative;
  z-index: 1;
}

.chat-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateY(10px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.chat-header-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-heading);
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.chat-expand {
  color: var(--text-secondary);
  padding: 0.25rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-expand:hover {
  color: var(--text-heading);
}

.chat-close {
  color: var(--text-secondary);
  padding: 0.25rem;
  transition: color var(--transition);
}

.chat-close:hover {
  color: var(--text-heading);
}

/* Resize handle */
.chat-resize-handle {
  position: absolute;
  left: 0;
  top: 48px;
  bottom: 0;
  width: 6px;
  cursor: ew-resize;
  z-index: 10;
}

.chat-resize-handle:hover,
.chat-resize-handle.active {
  background: linear-gradient(180deg, transparent, rgba(0,212,255,0.15), transparent);
}

/* Expanded state */
.chat-panel.expanded {
  width: 640px;
  max-height: 680px;
}

.chat-panel.expanded .chat-messages {
  min-height: 480px;
}

/* Collapse icon swap when expanded */
.chat-panel.expanded .chat-expand svg {
  transform: rotate(180deg);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  min-height: 300px;
}

.chat-message {
  margin-bottom: 1rem;
}

.chat-message p {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.chat-message-bot p {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-bottom-left-radius: var(--radius-sm);
}

.chat-message-user p {
  background: var(--accent-gradient);
  color: #fff;
  margin-left: auto;
  max-width: 85%;
  border-bottom-right-radius: var(--radius-sm);
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.625rem 0.875rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition);
}

.chat-input::placeholder {
  color: var(--text-secondary);
}

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

.chat-send {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  color: #fff;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.chat-send:hover {
  opacity: 0.9;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .feature-detail-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 3rem) 0 3rem;
  }

  .chat-panel,
  .chat-panel.expanded {
    width: calc(100vw - 2rem);
    max-height: 70vh;
    right: -0.5rem;
  }

  .chat-expand,
  .chat-resize-handle {
    display: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* --- Chat Typing Indicator --- */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-sm);
  width: fit-content;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--text-secondary);
  border-radius: 50%;
  animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* --- Chat message links --- */
.chat-message a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chat-message a:hover {
  color: #33dfff;
}

/* --- Selection color --- */
::selection {
  background: rgba(0, 212, 255, 0.2);
  color: var(--text-heading);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* ============================================
   VISUAL POLISH — Section Dividers, Card Depth,
   Enhanced Glassmorphism, Feature Icon Upgrades
   ============================================ */

/* --- Enlarged feature icons (32px viewBox) --- */
.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(0,212,255,0.1) 0%, rgba(124,58,237,0.06) 100%);
  border: 1px solid rgba(0,212,255,0.12);
  box-shadow: inset 0 1px 0 rgba(0,212,255,0.08);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

/* Feature card: top-border gradient accent + deeper glass */
.feature-card {
  background: linear-gradient(160deg, #1a1f2e 0%, #151929 100%);
  border-color: rgba(30,41,59,0.8);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset,
              0 4px 24px rgba(0,0,0,0.35);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, transparent 0%, rgba(0,212,255,0.5) 40%, rgba(124,58,237,0.5) 60%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  background: linear-gradient(160deg, #1e2436 0%, #191e30 100%);
  box-shadow: 0 0 0 1px rgba(0,212,255,0.15),
              0 8px 40px rgba(0,0,0,0.5),
              0 0 40px rgba(0,212,255,0.06);
  transform: translateY(-3px);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(0,212,255,0.18) 0%, rgba(124,58,237,0.1) 100%);
  border-color: rgba(0,212,255,0.25);
  box-shadow: 0 0 16px rgba(0,212,255,0.12), inset 0 1px 0 rgba(0,212,255,0.12);
}

/* Testimonial cards: quote mark accent + deeper glass */
.testimonial-card {
  background: linear-gradient(160deg, #1a1f2e 0%, #151929 100%);
  border-color: rgba(30,41,59,0.8);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35),
              0 1px 0 rgba(255,255,255,0.03) inset;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 1.25rem;
  font-size: 6rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(0,212,255,0.08);
  pointer-events: none;
  font-style: normal;
  leading-trim: both;
}

.testimonial-card:hover {
  border-color: rgba(0,212,255,0.12);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45),
              0 0 30px rgba(0,212,255,0.05);
  transform: translateY(-2px);
  transition: all var(--transition);
}

/* Step cards: connecting line between steps */
.steps-grid {
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 2.5rem; /* aligns with step-number vertical center */
  left: calc(33.33% - 1rem);
  right: calc(33.33% - 1rem);
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,212,255,0.3) 20%,
    rgba(124,58,237,0.3) 80%,
    transparent 100%
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  .steps-grid::before {
    display: none;
  }
}

.step-card {
  background: linear-gradient(160deg, rgba(26,31,46,0.6) 0%, rgba(17,24,39,0.4) 100%);
  border: 1px solid rgba(30,41,59,0.6);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition);
}

.step-card:hover {
  border-color: rgba(0,212,255,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 24px rgba(0,212,255,0.05);
  transform: translateY(-2px);
}

/* --- Section dividers: gradient line between alternating sections --- */
.features-section::after,
.social-proof::after,
.use-cases-section::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,212,255,0.2) 20%,
    rgba(124,58,237,0.2) 80%,
    transparent 100%
  );
  margin: 0 2rem;
}

/* Decorative ambient glow behind how-it-works */
.how-it-works {
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Decorative dots pattern on social-proof section */
.social-proof {
  position: relative;
  overflow: hidden;
}

.social-proof::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(circle, rgba(0,212,255,0.07) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at top right, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 30%, transparent 70%);
  pointer-events: none;
}

/* ============================================
   SOC DASHBOARD MOCKUP
   ============================================ */

.soc-dashboard {
  margin-top: 4rem;
  perspective: 1200px;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.soc-dash-inner {
  background: linear-gradient(160deg, #0d1120 0%, #0a0e1a 100%);
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.08),
    0 20px 60px rgba(0,0,0,0.7),
    0 0 80px rgba(0,212,255,0.06),
    inset 0 1px 0 rgba(0,212,255,0.1);
  transform: rotateX(6deg) rotateY(0deg);
  transform-origin: center top;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
}

/* Subtle scanline overlay */
.soc-dash-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.04) 2px,
    rgba(0,0,0,0.04) 4px
  );
  pointer-events: none;
  z-index: 10;
  border-radius: inherit;
}

/* Top status bar */
.soc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(0,212,255,0.1);
}

.soc-topbar-left,
.soc-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Status dots */
.soc-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.soc-dot--green {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.7);
  animation: soc-blink 2.5s ease-in-out infinite;
}

@keyframes soc-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.soc-label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.soc-mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* Dashboard grid */
.soc-grid {
  display: grid;
  grid-template-columns: 180px 1fr 160px;
  gap: 0;
  min-height: 200px;
}

.soc-col {
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.soc-col--left {
  border-right: 1px solid rgba(0,212,255,0.08);
}

.soc-col--right {
  border-left: 1px solid rgba(0,212,255,0.08);
}

/* Panels */
.soc-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0,212,255,0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem;
}

.soc-panel-title {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  color: rgba(0,212,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.625rem;
}

.soc-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.625rem;
}

.soc-panel-header .soc-panel-title {
  margin-bottom: 0;
}

.soc-status-indicators {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* Alert rows */
.soc-alerts {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.soc-alert-row {
  display: grid;
  grid-template-columns: 30px 18px 1fr;
  align-items: center;
  gap: 0.375rem;
}

.soc-alert-pill {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 700;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
  text-align: center;
}

.soc-alert--critical .soc-alert-pill { background: rgba(239,68,68,0.2); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.soc-alert--high .soc-alert-pill     { background: rgba(249,115,22,0.2); color: #fb923c; border: 1px solid rgba(249,115,22,0.3); }
.soc-alert--medium .soc-alert-pill   { background: rgba(234,179,8,0.15); color: #fbbf24; border: 1px solid rgba(234,179,8,0.3); }
.soc-alert--low .soc-alert-pill      { background: rgba(0,212,255,0.1);  color: #67e8f9; border: 1px solid rgba(0,212,255,0.2); }

.soc-alert-count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-heading);
  text-align: right;
}

.soc-alert-bar {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}

.soc-alert-bar span {
  display: block;
  height: 100%;
  border-radius: 2px;
}

.soc-alert--critical .soc-alert-bar span { background: #ef4444; }
.soc-alert--high .soc-alert-bar span     { background: #f97316; }
.soc-alert--medium .soc-alert-bar span   { background: #eab308; }
.soc-alert--low .soc-alert-bar span      { background: #00d4ff; }

/* Verdict panel */
.soc-panel--verdict {
  flex: 1;
}

.soc-verdict-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.soc-verdict-value {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 12px rgba(34,197,94,0.4);
}

.soc-verdict-models {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.3rem;
}

.soc-model-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.soc-model-dot--agree   { background: #22c55e; box-shadow: 0 0 5px rgba(34,197,94,0.5); }
.soc-model-dot--caution { background: #eab308; box-shadow: 0 0 5px rgba(234,179,8,0.5); }

.soc-verdict-sub {
  font-size: 0.5625rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

/* Threat activity graph */
.soc-panel--graph {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.soc-graph {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 80px;
  padding-bottom: 2px;
}

.soc-graph-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 100%;
  height: 80px;
}

.soc-bar {
  flex: 1;
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.soc-bar-fill {
  display: block;
  width: 100%;
  height: var(--h, 20%);
  border-radius: 2px 2px 0 0;
  background: rgba(0,212,255,0.25);
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 3px;
}

.soc-bar-fill--spike {
  background: linear-gradient(to top, rgba(0,212,255,0.4), rgba(124,58,237,0.5));
  box-shadow: 0 0 6px rgba(0,212,255,0.2);
}

.soc-bar-fill--now {
  background: linear-gradient(to top, #00d4ff, rgba(0,212,255,0.6));
  box-shadow: 0 0 10px rgba(0,212,255,0.4);
  animation: soc-now-pulse 1.8s ease-in-out infinite;
}

@keyframes soc-now-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(0,212,255,0.4); }
  50% { box-shadow: 0 0 18px rgba(0,212,255,0.7); }
}

.soc-graph-baseline {
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0,212,255,0.12);
}

.soc-graph-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.375rem;
  font-size: 0.5rem;
  color: rgba(148,163,184,0.4);
  letter-spacing: 0.04em;
}

/* Network map panel */
.soc-panel--netmap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.soc-netmap-svg {
  width: 100%;
  flex: 1;
}

.soc-pulse-ring {
  animation: soc-ring-pulse 2s ease-out infinite;
  transform-origin: 110px 20px;
}

@keyframes soc-ring-pulse {
  0%   { r: 8; opacity: 0.6; }
  100% { r: 16; opacity: 0; }
}

.soc-netmap-legend {
  display: flex;
  gap: 0.625rem;
  margin-top: 0.25rem;
}

.soc-legend-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.5rem;
  color: var(--text-secondary);
}

.soc-legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Noise reduction mini panel */
.soc-panel--noise {
  padding: 0.625rem 0.75rem;
}

.soc-noise-stat {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.soc-noise-value {
  font-size: 1.0625rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.soc-noise-label {
  font-size: 0.5rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.125rem;
}

.soc-noise-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.soc-noise-bar-fill {
  display: block;
  height: 100%;
  width: 99.7%;
  background: linear-gradient(90deg, #00d4ff, #7c3aed);
  border-radius: 2px;
}

/* Ambient glow behind dashboard */
.soc-dashboard::before {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.15) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* Fade-in bottom mask so dashboard dissolves cleanly into page */
.soc-dash-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(10,14,26,0.6));
  pointer-events: none;
  z-index: 5;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* Responsive: dashboard mobile adaptations */
@media (max-width: 768px) {
  .soc-dashboard {
    margin-top: 2rem;
    max-width: 100%;
  }

  .soc-dash-inner {
    font-size: 0.6rem;
    transform: none !important;
  }

  .soc-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
    padding: 0.75rem;
  }

  .soc-col--left,
  .soc-col--right {
    padding: 0.5rem;
  }

  .soc-panel--graph {
    min-height: 0;
  }

  .dash-pair {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .mg-2 {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .mg-3 {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .mg-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.625rem !important;
  }

  .mg-split {
    grid-template-columns: 1fr !important;
  }

  .mg-split > div {
    border-right: none !important;
    border-bottom: 1px solid rgba(0,212,255,0.08);
    padding-bottom: 1rem !important;
  }

  .mg-split > div:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
  }

  .mg-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
  }

  .mg-scroll-wrap > div {
    min-width: 500px;
  }
}

@media (max-width: 480px) {
  .mg-4 {
    grid-template-columns: 1fr !important;
  }

  .soc-dashboard {
    margin-top: 1.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .soc-grid {
    grid-template-columns: 160px 1fr 140px;
  }

  .soc-dash-inner {
    font-size: 0.625rem;
  }
}

/* Ensure the hero section holds the dashboard without overflow */
.hero .container {
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 1;
}
