/* ============================================
   M4 SecurityBox by Mantix4 - Dark Theme Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --accent-cyan: #34d300;
  --accent-purple: #097a07;
  --accent-gradient: linear-gradient(135deg, #34d300, #097a07);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-heading: #ffffff;
  --border-color: #1e291b;
  --border-glow: rgba(52, 211, 0, 0.15);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --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(52, 211, 0, 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: #4dff1a;
}

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-body);
}

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(52, 211, 0, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(52, 211, 0, 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(52, 211, 0, 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: relative;
  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;
  border-radius: 4px;
}

.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(52, 211, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 211, 0, 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(52, 211, 0, 0.08) 0%, rgba(9, 122, 7, 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(52, 211, 0, 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-body);
  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(52, 211, 0, 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(52, 211, 0, 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: 1.125rem;
  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 { font-family: var(--font-body);
  max-width: 800px;
}

.faq-item { font-family: var(--font-body);
  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: 1.375rem;
  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; font-size: 1.25rem; font-family: Inter, sans-serif;
}

.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(52, 211, 0, 0.08);
  border: 1px solid rgba(52, 211, 0, 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(52, 211, 0, 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(52, 211, 0, 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(52,211,0,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: #4dff1a;
}

/* --- Selection color --- */
::selection {
  background: rgba(52, 211, 0, 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(52,211,0,0.1) 0%, rgba(124,58,237,0.06) 100%);
  border: 1px solid rgba(52,211,0,0.12);
  box-shadow: inset 0 1px 0 rgba(52,211,0,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(52,211,0,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(52,211,0,0.15),
              0 8px 40px rgba(0,0,0,0.5),
              0 0 40px rgba(52,211,0,0.06);
  transform: translateY(-3px);
}

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

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(52,211,0,0.18) 0%, rgba(124,58,237,0.1) 100%);
  border-color: rgba(52,211,0,0.25);
  box-shadow: 0 0 16px rgba(52,211,0,0.12), inset 0 1px 0 rgba(52,211,0,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(52,211,0,0.08);
  pointer-events: none;
  font-style: normal;
  leading-trim: both;
}

.testimonial-card:hover {
  border-color: rgba(52,211,0,0.12);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45),
              0 0 30px rgba(52,211,0,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(52,211,0,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(52,211,0,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 24px rgba(52,211,0,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(52,211,0,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: visible;
}

.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(52,211,0,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: none;
  width: 100%;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.soc-dash-inner {
  background: linear-gradient(160deg, #0d1120 0%, #0a0e1a 100%);
  border: 1px solid rgba(52,211,0,0.18);
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(52,211,0,0.08),
    0 20px 60px rgba(0,0,0,0.7),
    0 0 80px rgba(52,211,0,0.06),
    inset 0 1px 0 rgba(52,211,0,0.1);
  transform: none;
  transform-origin: center top;
  overflow-x: auto;
  overflow-y: hidden;
  font-family: var(--font-body);
  font-size: 0.78rem;
}

/* 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(52,211,0,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-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.soc-mono {
  font-family: var(--font-body);
  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: 130px 1fr 150px;
  gap: 0;
  min-height: 140px;
}

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

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

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

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

.soc-panel-title {
  font-family: var(--font-body);
  font-size: 1.17rem;
  font-weight: 700;
  color: rgba(52,211,0,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: flex; flex-wrap: wrap; align-items: center;


  margin-bottom: 3px;
}

.soc-alert-pill {
  font-family: var(--font-body);
  font-size: 0.536rem;
  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(52,211,0,0.1);  color: #67e8f9; border: 1px solid rgba(52,211,0,0.2); }

.soc-alert-count {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.634rem;
  font-weight: 700;
  color: var(--text-heading);
  text-align: right;
}

.soc-alert-bar {
  flex: 0 0 100%; margin-top: 2px;
  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: #34d300; }

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

.soc-verdict-label {
  font-family: var(--font-body);
  font-size: 1.17rem;
  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: 1.17rem;
  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: 50px;
  padding-bottom: 2px;
}

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

.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(52,211,0,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(52,211,0,0.4), rgba(124,58,237,0.5));
  box-shadow: 0 0 6px rgba(52,211,0,0.2);
}

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

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

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

.soc-graph-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.375rem;
  font-size: 0.536rem;
  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.536rem;
  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.536rem;
  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, #34d300, #097a07);
  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(52,211,0,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.85rem;
    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(52,211,0,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;
}

/* Minimum font size for readability */
body { font-size: max(19px, 1.1875rem); }
p, li, td, th, label, input, select, textarea { font-size: max(16px, inherit); }
.soc-label, .soc-panel-title, .soc-mono { font-size: max(14px, 0.91rem) !important; font-family: var(--font-body) !important; }
.feature-desc, .step-desc, .section-subtitle, .footer-tagline { font-size: max(19px, 1.1875rem) !important; }
.testimonial-quote { font-size: max(19px, 1.1875rem) !important; }


/* Header logo and nav size increase 100% */

/* Header logo and nav size increase 100% */
.site-header img[alt="Mantix4"] { height: 72px; width: auto; }
.site-header { padding: 1.25rem 0; }
.nav-link { font-size: 1.25rem; }
.btn-sm { font-size: 1.0625rem; padding: .625rem 1.25rem; }
.header-inner { min-height: 50px; }
.logo-icon { width: 64px; height: 64px; }

/* Header logo and nav size increase 200% */
.site-header img[alt="Mantix4"] { height: 144px; width: auto; }
.site-header { padding: 2.5rem 0; }
.nav-link { font-size: 1.5rem; }
.btn-sm { font-size: 1.125rem; padding: .75rem 1.5rem; }
.header-inner { min-height: 160px; }
.logo-icon { width: 128px; height: 128px; }

/* Logo size 300% increase */
.site-header .logo img, .site-header img[alt="Mantix4"], .header-inner img[alt="Mantix4"] { height: 108px; width: auto; display: block; }
.logo { display: flex; align-items: center; }
.site-header { padding: 1rem 0; }
.header-inner { min-height: 120px; align-items: center; }

/* Footer font size 100% increase */
.footer-heading { font-size: 1.5rem; }
.footer-links a { font-size: 1.25rem; }
.footer-tagline { font-size: 1.125rem; }
.footer-bottom p { font-size: 1rem; }

/* FAQ and Resource card font size 250% increase */
.faq-question { font-size: 1.5rem; }
.faq-item p, .faq-answer { font-size: 1.25rem; }
.faq-list { font-size: 1.25rem; }
.result-card h3, .resource-card h3 { font-size: 1.5rem; }
.result-card p, .resource-card p { font-size: 1.25rem; }
.result-card, .resource-card { font-size: 1.25rem; }

/* Force FAQ font override */
.faq-question, .faq-question *, button.faq-question { font-size: 1.25rem; font-family: var(--font-body); }
.faq-answer, .faq-answer *, .faq-item > div { font-size: 1.1rem; font-family: var(--font-body); }
.faq-list *, .faq-item * { font-family: var(--font-body); }

/* FAQ font size max specificity fix */
body .faq-list button.faq-question { font-size: 1.25rem; font-family: Inter, sans-serif; }
body .faq-list .faq-item .faq-answer p { font-size: 1.1rem; font-family: Inter, sans-serif; }
body .faq-list .faq-item .faq-answer { font-size: 1.1rem; }

/* Force FAQ answer text size */
html body .faq-answer p { font-size: 1.25rem; font-family: Inter, sans-serif; color: rgba(255,255,255,.7); }
html body .faq-answer { font-size: 1.25rem; font-family: Inter, sans-serif; }

/* FAQ answer text - explicit large size */
.faq-answer p, .faq-answer div, .faq-answer span, .faq-answer li { font-size: 1.125rem; font-family: Inter, sans-serif; line-height: 1.8; }

/* Breadcrumb size and spacing increase */
.breadcrumbs { margin-top: 1.5rem; margin-bottom: 1rem; }
.breadcrumb-list { font-size: 1.25rem; gap: 0.75rem; }
.breadcrumb-list a { font-size: 1.25rem; }
.breadcrumb-list li { font-size: 1.25rem; }
.breadcrumb-list li[aria-current=page] { font-size: 1.25rem; }

/* ============================================
   MOBILE UX OPTIMIZATIONS
   ============================================ */

/* --- Footer link tap targets --- */
@media (max-width: 768px) {
  /* Increase footer link tap targets to 44px minimum */
  .footer-grid a {
    display: inline-block;
    padding: 0.6rem 0;
    min-height: 44px;
    line-height: 44px;
  }

  /* Increase font sizes for readability */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  /* Better spacing for page content on mobile */
  .page-content {
    padding: 0 0.5rem;
  }

  /* Ensure tables scroll horizontally on mobile */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  /* Better card spacing on mobile */
  .use-case-card,
  .feature-card,
  .card {
    padding: 1.25rem;
  }

  /* Improve form inputs on mobile */
  input, textarea, select {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
    padding: 0.75rem;
  }

  /* Improve button sizing on mobile */
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
  }

  /* Chat widget buttons */
  .chat-close,
  .chat-send {
    min-width: 44px;
    min-height: 44px;
  }

  /* Stack comparison tables */
  .comparison-table {
    font-size: 0.8rem;
  }

  /* Improve FAQ readability */
  .faq-question {
    font-size: 1rem;
    padding: 1rem 0.75rem;
  }


  /* M&A widget mobile fix */
  .ma-grid {
    grid-template-columns: 280px 280px !important;
    width: 580px !important;
  }
  .ma-grid * {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    min-width: 0 !important;
  }

  /* Global fix - prevent text overflow in widget content boxes on mobile */
  .soc-dashboard .soc-dash-inner div,
  .soc-dashboard .soc-dash-inner span,
  .soc-dashboard .soc-dash-inner p {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  /* Business Impact Translation - keep 2 columns on mobile */
  .soc-dashboard div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Fix fade-in on mobile - prevent content staying invisible */
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

}

/* --- Small mobile (480px and below) --- */
@media (max-width: 480px) {
  /* Slightly larger body text for readability */
  body {
    font-size: 15px;
  }

  /* Full-width CTAs */
  .btn-lg {
    width: 100%;
    text-align: center;
  }

  /* Tighter section padding */
  section {
    padding: 2.5rem 0;
  }

  /* Prevent hero from being too tall */
  .hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  /* Footer columns stack cleanly */
  .footer-grid {
    gap: 1.5rem;
  }

  /* Readable sub-page headers */
  .page-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .page-subtitle {
    font-size: 1rem;
  }
}

/* ============================================
   WHAT YOU GET - MOBILE WIDGET FIX
   ============================================ */
@media (max-width: 768px) {
  /* Allow soc-dashboard to scroll horizontally on mobile */
  .soc-dashboard {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    padding-bottom: 0.5rem;
  }

  .soc-dash-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 340px;
  }

  /* Ensure inner grid panels don't force overflow */
  .soc-panel,
  .soc-grid,
  .dash-pair,
  [class*="soc-"] {
    min-width: 0;
    word-break: break-word;
  }

  /* Scale down font sizes in widgets for better fit */
  .soc-dash-inner {
    font-size: 0.72rem !important;
  }

  /* Make widget text wrap instead of overflow */
  .soc-label,
  .soc-mono,
  .soc-panel-title {
    white-space: normal;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .soc-dash-inner {
    font-size: 0.65rem !important;
    min-width: 300px;
  }

  /* Scroll indicator hint */
  .soc-dashboard::after {
    content: "← Scroll to view →";
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    padding-top: 0.4rem;
  }
}

/* ============================================
   WHAT YOU GET - WIDGET MOBILE FIX v2
   ============================================ */

@media (max-width: 768px) {

  /* --- Wrapper for all soc-dashboard sections --- */
  /* Allow main 780px widgets to hold form and scroll horizontally */
  .soc-dashboard {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
    /* Keep minimum width so widgets don't squish */
    min-width: 0;
  }

  .soc-dash-inner {
    /* Hold the widget's natural width - don't shrink */
    min-width: 600px !important;
    overflow-x: visible !important;
    font-size: 0.78rem !important;
  }

  /* --- Maturity Position + Validated Controls grid container --- */
  /* Stack vertically instead of side by side */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    max-width: 100% !important;
  }

  /* When stacked, each widget takes full width */
  div[style*="grid-template-columns:1fr 1fr"] .soc-dashboard,
  div[style*="grid-template-columns: 1fr 1fr"] .soc-dashboard {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
  }

  div[style*="grid-template-columns:1fr 1fr"] .soc-dash-inner,
  div[style*="grid-template-columns: 1fr 1fr"] .soc-dash-inner {
    min-width: 280px !important;
    width: 100% !important;
  }

  /* Prevent text truncation in widget labels */
  .soc-panel-title,
  .soc-label {
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* Scroll hint on scrollable widgets */
  .soc-dashboard {
    position: relative;
  }
}

@media (max-width: 480px) {
  .soc-dash-inner {
    min-width: 520px !important;
    font-size: 0.70rem !important;
  }

  div[style*="grid-template-columns:1fr 1fr"] .soc-dash-inner,
  div[style*="grid-template-columns: 1fr 1fr"] .soc-dash-inner {
    min-width: 260px !important;
    font-size: 0.75rem !important;
  }
}

/* ============================================
   MAIN PAGE HERO WIDGET - MOBILE FIX
   ============================================ */
@media (max-width: 768px) {
  /* Allow hero to scroll its widget horizontally */
  .hero {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Wrap the dashboard in a scrollable container */
  .hero .soc-dashboard {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Keep the inner widget at its natural width so it holds form */
  .hero .soc-dash-inner {
    min-width: 580px !important;
    overflow-x: visible !important;
    font-size: 0.75rem !important;
  }

  /* Keep hero background decorations from causing extra scroll */
  .hero-bg-grid {
    overflow: hidden;
  }

  .hero::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero .soc-dash-inner {
    min-width: 500px !important;
    font-size: 0.68rem !important;
  }
}

/* ============================================
   WHY IT'S DIFFERENT - WIDGET MOBILE FIX
   ============================================ */
@media (max-width: 768px) {

  /* All section containers - allow horizontal scroll */
  .features-section .container,
  .how-it-works .container,
  .social-proof .container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Stack dash-pair side-by-side widgets vertically */
  .dash-pair {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    max-width: 100% !important;
  }

  .dash-pair .soc-dashboard {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .dash-pair .soc-dash-inner {
    min-width: 280px !important;
    width: 100% !important;
    overflow-x: auto !important;
  }

  /* Main 780px+ widgets - hold form and scroll */
  .soc-dashboard:not(.dash-pair .soc-dashboard) {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
  }

  .soc-dash-inner:not(.dash-pair .soc-dash-inner) {
    min-width: 620px !important;
    overflow-x: visible !important;
    font-size: 0.76rem !important;
  }

  /* Platform Comparison & Operational Impact tables -
     prevent column compression by keeping min-width on cells */
  .soc-dash-inner table {
    min-width: 580px;
    table-layout: fixed;
  }

  .soc-dash-inner table td,
  .soc-dash-inner table th {
    white-space: nowrap;
    padding: 0.4rem 0.6rem;
  }

  /* Ensure first column (Capability) stays readable */
  .soc-dash-inner table td:first-child,
  .soc-dash-inner table th:first-child {
    min-width: 140px;
  }

  /* Last column (SecurityBox) stays readable */
  .soc-dash-inner table td:last-child,
  .soc-dash-inner table th:last-child {
    min-width: 90px;
  }
}

@media (max-width: 480px) {
  .soc-dash-inner:not(.dash-pair .soc-dash-inner) {
    min-width: 540px !important;
    font-size: 0.68rem !important;
  }

  .soc-dash-inner table {
    min-width: 500px;
  }
}

/* ============================================
   WHY IT'S DIFFERENT - WIDGET MOBILE FIX v3
   (Fixes overflow:hidden blocking scroll)
   ============================================ */
@media (max-width: 768px) {

  /* Remove overflow:hidden from sections that block widget scroll */
  .how-it-works {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .features-section {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Make container scrollable and not constrain widget width */
  .how-it-works .container,
  .features-section .container,
  .social-proof .container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* Widgets hold natural minimum width */
  .how-it-works .soc-dashboard,
  .features-section .soc-dashboard {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    min-width: 700px !important;
    max-width: none !important;
  }

  .how-it-works .soc-dash-inner,
  .features-section .soc-dash-inner {
    min-width: 680px !important;
    overflow-x: visible !important;
    font-size: 0.78rem !important;
  }

  /* Operational Impact - wider table needs more room */
  .how-it-works .soc-dashboard:has(.soc-label) {
    min-width: 750px !important;
  }

  /* Prevent inner elements from wrapping/stacking */
  .soc-dash-inner .soc-panel,
  .soc-dash-inner > div {
    flex-shrink: 0;
  }

  /* Platform Comparison and Operational Impact tables */
  .soc-dash-inner table {
    min-width: 660px !important;
    width: 100%;
  }

  .soc-dash-inner table td,
  .soc-dash-inner table th {
    white-space: nowrap !important;
    min-width: 80px;
  }

  .soc-dash-inner table td:first-child,
  .soc-dash-inner table th:first-child {
    min-width: 150px !important;
  }

  .soc-dash-inner table td:last-child,
  .soc-dash-inner table th:last-child {
    min-width: 100px !important;
  }
}

@media (max-width: 480px) {
  .how-it-works .soc-dashboard,
  .features-section .soc-dashboard {
    min-width: 640px !important;
  }

  .how-it-works .soc-dash-inner,
  .features-section .soc-dash-inner {
    min-width: 620px !important;
    font-size: 0.70rem !important;
  }
}

/* ============================================
   WHY IT'S DIFFERENT - FINAL OVERFLOW FIX
   ============================================ */
@media (max-width: 768px) {
  .how-it-works {
    overflow: visible !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .how-it-works::before {
    display: none !important;
  }
}

/* ============================================
   OPERATIONAL IMPACT & PLATFORM COMPARISON
   COLUMN COMPRESSION FIX
   ============================================ */
@media (max-width: 768px) {

  /* mg-scroll-wrap already has overflow-x:auto from earlier CSS
     but inner divs need min-width to hold their 3-column grid */
  .mg-scroll-wrap > div {
    min-width: 700px !important;
  }

  /* Each 3-column grid row must hold minimum column widths */
  .mg-scroll-wrap div[style*="grid-template-columns:1fr 1fr 1fr"],
  .mg-scroll-wrap div[style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 180px 200px 200px !important;
    min-width: 620px !important;
  }

  /* Platform Comparison - also uses grid inside soc-dash-inner */
  .soc-dash-inner div[style*="grid-template-columns:1fr 1fr 1fr"],
  .soc-dash-inner div[style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 180px 200px 200px !important;
    min-width: 620px !important;
  }

  /* 4-column grids (Platform Comparison: Capability/SIEM/MDR/XDR/SecurityBox) */
  .soc-dash-inner div[style*="grid-template-columns:1fr 1fr 1fr 1fr"],
  .soc-dash-inner div[style*="grid-template-columns: 1fr 1fr 1fr 1fr"] {
    grid-template-columns: 160px 80px 80px 80px 100px !important;
    min-width: 540px !important;
  }

  /* Prevent text in grid cells from wrapping oddly */
  .mg-scroll-wrap div[style*="grid-template-columns"] > div,
  .soc-dash-inner div[style*="grid-template-columns"] > div {
    min-width: 0;
    word-break: normal;
    white-space: nowrap;
  }
}

/* ============================================
   OPERATIONAL IMPACT - SCROLL CONTAINER FIX
   ============================================ */
@media (max-width: 768px) {
  /* Move scroll to dashboard level, not inner */
  .how-it-works .soc-dash-inner {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  /* mg-scroll-wrap holds min-width but doesnt scroll itself */
  .how-it-works .mg-scroll-wrap {
    min-width: 560px;
    overflow-x: visible !important;
  }
}

/* ============================================
   ATTACK OPPORTUNITY WINDOW - MOBILE FIX
   ============================================ */
@media (max-width: 768px) {
  /* Force Attack Opportunity Window grid to hold 3-column form */
  .soc-dash-inner div[style*="grid-template-columns:repeat(3,220px)"] {
    grid-template-columns: repeat(3, 220px) !important;
    min-width: 700px !important;
  }

  /* Ensure the parent content div doesnt collapse */
  .soc-dash-inner div[style*="padding:1.25rem 1.5rem"] {
    min-width: 700px !important;
    overflow-x: visible !important;
  }
}

@media (max-width: 480px) {
  .soc-dash-inner div[style*="grid-template-columns:repeat(3,220px)"] {
    grid-template-columns: repeat(3, 200px) !important;
    min-width: 640px !important;
  }

  .soc-dash-inner div[style*="padding:1.25rem 1.5rem"] {
    min-width: 640px !important;
  }
}

/* ============================================
   ATTACK OPPORTUNITY WINDOW - CARD TEXT FIX
   ============================================ */
@media (max-width: 768px) {
  /* Card boxes hold their width and wrap text */
  .soc-dash-inner div[style*="border-radius:8px;padding:1rem"] {
    overflow: hidden !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Title text wraps within card */
  .soc-dash-inner div[style*="font-size:1.2rem;font-weight:700"] {
    font-size: 1rem !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  /* All text inside attack grid cells wraps */
  .soc-dash-inner div[style*="text-align:center"] * {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
}

/* ============================================
   EMMA CHATBOT - TEMPORARILY HIDDEN
   To unhide: remove or comment out this rule
   ============================================ */
#chat-widget {
  display: none !important;
}

/* ============================================
   EMMA CHATBOT + LEARN MORE - TEMPORARILY HIDDEN
   To unhide: remove this entire block
   ============================================ */
#chat-widget,
a[onclick*="openChatWidget"],
button[onclick*="openChatWidget"] {
  display: none !important;
}

/* ============================================
   CONTACT PAGE - PREFER TO CHAT TEMPORARILY HIDDEN
   To unhide: remove this block (bring back with EMMA)
   ============================================ */
#prefer-to-chat,
#prefer-to-chat + p {
  display: none !important;
}
