/**
 * Enterprise Clean Design System
 * VeriSight Analytics Brand System
 * Multi-Million Dollar SaaS Aesthetic
 * Inspired by Stripe, Linear, and modern enterprise platforms
 */

/* ===========================
   VERISIGHT BRAND TOKENS (Unified System)
   =========================== */
:root {
  /* Primary Navy Family */
  --vs-navy-900: #1d3762;
  --vs-navy-800: #1e3a5f;
  --vs-navy-700: #2a4a7a;
  --vs-navy-600: #3d5a8a;

  /* Accent Teal Family */
  --vs-teal-600: #0d9488;
  --vs-teal-500: #14b8a6;
  --vs-teal-400: #2dd4bf;
  --vs-teal-100: #ccfbf1;

  /* Action Blue */
  --vs-blue-600: #0066cc;
  --vs-blue-500: #0077e6;
  --vs-blue-100: #e6f2ff;

  /* Semantic Colors */
  --vs-success: #059669;
  --vs-success-light: #dcfce7;
  --vs-success-dark: #166534;
  --vs-warning: #d97706;
  --vs-warning-light: #fef3c7;
  --vs-warning-dark: #92400e;
  --vs-danger: #dc2626;
  --vs-danger-light: #fee2e2;
  --vs-danger-dark: #991b1b;

  /* Neutrals */
  --vs-bg: #f5f6f8;
  --vs-surface: #ffffff;
  --vs-border: #e5e7eb;
  --vs-border-light: #f3f4f6;
  --vs-text: #111827;
  --vs-text-secondary: #6b7280;
  --vs-text-muted: #9ca3af;
}

/* ===========================
   CSS Custom Properties (Legacy Aliases)
   =========================== */
:root {
  /* Primary Colors - Using Brand Tokens */
  --primary: var(--vs-blue-600);
  --primary-dark: var(--vs-blue-500);
  --primary-light: #1a7ad9;
  --primary-soft: var(--vs-blue-100);

  /* Neutral Colors - Using Brand Tokens */
  --color-bg: var(--vs-bg);
  --color-surface: var(--vs-surface);
  --color-surface-alt: #f9fafb;
  --color-border: var(--vs-border);
  --color-border-light: var(--vs-border-light);

  /* Text Colors - Using Brand Tokens */
  --color-text-main: var(--vs-text);
  --color-text-secondary: var(--vs-text-secondary);
  --color-text-muted: var(--vs-text-muted);
  --color-text-inverse: #ffffff;

  /* Accent Colors - Using Brand Tokens */
  --accent-navy: var(--vs-navy-800);
  --accent-success: var(--vs-success);
  --accent-success-bg: var(--vs-success-light);
  --accent-warning: var(--vs-warning);
  --accent-warning-bg: var(--vs-warning-light);
  --accent-danger: var(--vs-danger);
  --accent-danger-bg: var(--vs-danger-light);

  /* Shadows - Subtle and Professional */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;

  /* Layout */
  --navbar-height: 105px;
  --max-width: 1280px;
}

/* ===========================
   Reset & Base Styles
   =========================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Remove the animated background */
body::before {
  display: none;
}

/* ===========================
   Typography
   =========================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text-main);
  font-weight: 600;
  line-height: var(--line-height-tight);
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}

p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* Section Title Style - Uppercase with tracking */
.section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

/* ===========================
   Navigation - Clean Enterprise
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--navbar-height);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  z-index: 1000;
  backdrop-filter: none;
}

.navbar.scrolled {
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.logo-icon {
  height: 95px;
  width: auto;
}

.logo-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-main);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-links {
  display: flex;
  gap: var(--space-xs);
  list-style: none;
}

.nav-links a {
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-links a::after {
  display: none; /* Remove underline animation */
}

.nav-links a:hover {
  background: var(--color-surface-alt);
  color: var(--color-text-main);
}

.nav-links a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

/* Nav Dropdown Container */
.nav-dropdown {
  position: relative;
}

/* Dropdown Menu - Clean Style */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  margin-top: 4px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--color-text-secondary);
  font-size: 13px;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: var(--color-surface-alt);
  color: var(--color-text-main);
  padding-left: var(--space-lg); /* No shift */
}

/* ===========================
   Buttons - Clean Enterprise
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  line-height: 1.5;
}

.btn-primary {
  background: var(--primary);
  color: var(--color-text-inverse);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: none;
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-border);
  transform: none;
}

/* Remove premium button effects */
.btn-premium::before {
  display: none;
}

.shadow-premium {
  box-shadow: var(--shadow-sm);
}

/* ===========================
   Hero Section - Clean Enterprise
   =========================== */
.hero {
  min-height: auto;
  padding: calc(var(--navbar-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-premium {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  text-align: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.hero-text .subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-xl);
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  justify-content: center;
}

/* Trust Badges - Clean */
.trust-badges-row {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-badge-premium {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.trust-badge-premium svg {
  width: 16px;
  height: 16px;
  color: var(--accent-success);
}

/* Product Mockup */
.product-mockup-container {
  display: flex;
  justify-content: center;
  overflow: visible;
  width: 100%;
}

.product-mockup {
  width: 100%;
  max-width: 1100px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* ===========================
   Cards - Clean Enterprise
   =========================== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-premium {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.2s ease;
  position: relative;
  overflow: visible;
}

/* Remove shine animation */
.card-premium::before {
  display: none;
}

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

.hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
}

.hero-card::before {
  display: none; /* Remove pulse animation */
}

/* ===========================
   Score Panel - Dark Accent
   =========================== */
.score-panel {
  background: var(--accent-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--color-text-inverse);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.score-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-bottom: var(--space-xs);
}

.score-value {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ===========================
   Metric Cards - Clean
   =========================== */
.metric-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.metric-label {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.metric-sub {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.metric-card.positive .metric-value {
  color: var(--accent-success);
}

.metric-card.negative .metric-value {
  color: var(--accent-danger);
}

/* ===========================
   Sections - Clean Layout
   =========================== */
.section {
  padding: var(--space-3xl) var(--space-xl);
  position: relative;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  font-size: 2rem;
  color: var(--color-text-main);
  margin-bottom: var(--space-md);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================
   Grid System
   =========================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===========================
   Data Table - Clean
   =========================== */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
}

.data-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
  font-size: 13px;
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* ===========================
   Status Badges
   =========================== */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}

.status-accept {
  background: var(--accent-success-bg);
  color: #166534;
}

.status-decline {
  background: var(--accent-danger-bg);
  color: #991b1b;
}

.status-defer {
  background: var(--accent-warning-bg);
  color: #92400e;
}

/* ===========================
   Assessment Items
   =========================== */
.assessment-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
}

.assessment-item:last-child {
  border-bottom: none;
}

.assessment-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.assessment-icon.pass {
  background: var(--accent-success-bg);
  color: var(--accent-success);
}

.assessment-icon.warning {
  background: var(--accent-warning-bg);
  color: var(--accent-warning);
}

.assessment-icon.fail {
  background: var(--accent-danger-bg);
  color: var(--accent-danger);
}

.assessment-icon svg {
  width: 12px;
  height: 12px;
}

.assessment-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 2px;
}

.assessment-desc {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.assessment-tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: var(--space-sm);
}

.assessment-tag.pass {
  background: var(--accent-success-bg);
  color: #166534;
}

.assessment-tag.warning {
  background: var(--accent-warning-bg);
  color: #92400e;
}

/* ===========================
   Compliance Badges - Clean
   =========================== */
.compliance-badges {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--color-text-secondary);
}

.compliance-badge .icon {
  color: var(--accent-success);
  width: 18px;
  height: 18px;
}

/* ===========================
   CTA Section - Clean
   =========================== */
.cta-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  margin: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  display: none; /* Remove rotating animation */
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-text-main);
}

.cta-section p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

/* ===========================
   Footer - Clean
   =========================== */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
  margin-top: 0;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-text-main);
}

.footer-brand p {
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: var(--line-height-relaxed);
}

.footer-section h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
  transform: none;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 12px;
}

/* ===========================
   Forms - Clean Enterprise
   =========================== */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-main);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

/* ===========================
   Icons
   =========================== */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.icon-sm {
  width: 18px;
  height: 18px;
}
.icon-lg {
  width: 32px;
  height: 32px;
}

/* ===========================
   Hover Effects - Subtle
   =========================== */
.hover-lift {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===========================
   Scroll Animations - Subtle
   =========================== */
.scroll-fade-in {
  opacity: 1;
  transform: none;
}

.scroll-fade-in.active {
  opacity: 1;
  transform: none;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-mockup {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 60px;
  }

  .navbar {
    padding: 0 var(--space-md);
  }

  .nav-menu {
    flex-direction: column;
    gap: var(--space-md);
  }

  .nav-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding: calc(var(--navbar-height) + var(--space-xl)) var(--space-md) var(--space-xl);
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .section {
    padding: var(--space-2xl) var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ===========================
   Remove All Dark Theme Elements
   =========================== */
.dark,
.dark-light,
.dark-lighter {
  background: var(--color-bg);
}

/* Override any remaining gradients */
.gradient-text,
.gradient-1,
.gradient-2,
.gradient-hero {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: var(--color-text-main);
}

/* Remove particles and animated effects */
.hero-particles,
.hero-badge {
  display: none;
}

/* Clean stat numbers */
.stat-number {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--primary);
}

/* Feature cards - clean style */
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.2s ease;
}

.feature-card::before {
  display: none;
}

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

.feature-card h3 {
  color: var(--color-text-main);
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 14px;
}

/* Feature icon box */
.feature-icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  background: var(--primary-soft);
  color: var(--primary);
}

/* Glass panel override */
.glass,
.glass-bg,
.glass-card,
.glass-nav {
  background: var(--color-surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--color-border);
}

/* ===========================
   Accessibility
   =========================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--color-text-inverse);
  padding: var(--space-sm) var(--space-md);
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  top: 0;
}

/* ===========================
   Mobile Navigation Enhancements
   =========================== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: var(--color-surface-alt);
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
  margin-bottom: 5px;
}

.mobile-menu-toggle span:nth-child(3) {
  margin-top: 5px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-links > li {
    border-bottom: 1px solid var(--color-border-light);
  }

  .nav-links a {
    display: block;
    padding: var(--space-md);
    font-size: 16px;
  }

  /* Mobile Dropdown - Click to expand */
  .nav-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-dropdown > a::before {
    order: 2;
    margin-left: auto;
    margin-right: 0;
    transition: transform 0.2s ease;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    background: var(--color-surface-alt);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.open .dropdown-menu {
    max-height: 300px;
    padding: var(--space-sm) 0;
  }

  .nav-dropdown.open > a::before {
    transform: rotate(180deg);
  }

  .dropdown-menu a {
    padding: var(--space-sm) var(--space-xl);
    font-size: 15px;
  }

  .nav-cta {
    width: 100%;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border-light);
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* ===========================
   Utility Classes
   =========================== */

/* Text Utilities */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.text-muted {
  color: var(--color-text-secondary);
}
.text-sm {
  font-size: 0.875rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}

.text-primary {
  color: var(--primary);
}
.text-accent {
  color: var(--primary);
}
.text-success {
  color: var(--accent-success);
}

.line-height-loose {
  line-height: 1.8;
}
.line-height-relaxed {
  line-height: 1.625;
}

/* Margin Utilities */
.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.mb-5 {
  margin-bottom: 3rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Padding Utilities */
.p-0 {
  padding: 0;
}
.p-1 {
  padding: 0.5rem;
}
.p-2 {
  padding: 1rem;
}
.p-3 {
  padding: 1.5rem;
}
.p-4 {
  padding: 2rem;
}

/* Background Utilities */
.bg-light {
  background: var(--color-bg);
}
.bg-surface {
  background: var(--color-surface);
}

/* Border Utilities */
.border-light {
  border: 1px solid var(--color-border);
}
.rounded-lg {
  border-radius: var(--radius-lg);
}

/* Layout Utilities */
.max-w-600 {
  max-width: 600px;
}
.max-w-700 {
  max-width: 700px;
}
.max-w-800 {
  max-width: 800px;
}

/* Icon Sizes */
.icon-xl {
  width: 40px;
  height: 40px;
}

/* Feature Icon Box Variants */
.feature-icon-box.green {
  background: var(--accent-success-bg);
  color: var(--accent-success);
}

.feature-icon-box.purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.feature-icon-box.primary {
  background: var(--primary-soft);
  color: var(--primary);
}

/* Gradient fallback */
.gradient-text {
  color: var(--primary);
}

/* Process step icon */
.process-step-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto var(--space-md);
}

/* Additional color aliases */
:root {
  --color-primary: var(--primary);
  --color-primary-soft: var(--primary-soft);
  --color-success: var(--accent-success);
  --color-warning: var(--accent-warning);
  --color-danger: var(--accent-danger);
  --border: var(--color-border);
  --text: var(--color-text-main);
  --text-muted: var(--color-text-secondary);
  --surface: var(--color-surface);
  --bg-light: var(--color-bg);
  --ui-primary: var(--primary);
  --ui-primary-light: var(--primary-light);
  --ui-primary-muted: var(--primary-soft);
  --ui-accent: #8b5cf6;
  --ui-accent-muted: rgba(139, 92, 246, 0.1);
  --ui-success: var(--accent-success);
  --radius-full: 9999px;
  --transition-base: 0.2s ease;

  /* Legacy variable aliases used in HTML */
  --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
  --accent: var(--primary);
  --dark: var(--color-bg);
  --dark-light: var(--color-bg);
  --dark-lighter: var(--color-surface-alt);
  --healthcare-purple: #8b5cf6;
}

/* Button large size */
.btn-large {
  padding: var(--space-md) var(--space-xl);
  font-size: 15px;
}

/* Hero subtitle consistency */
.hero .subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

/* Section bg-light background */
.section.bg-light {
  background: var(--color-bg);
}

/* FAQ Section Styling */
.section h3 {
  font-size: 1.125rem;
  color: var(--color-text-main);
  margin-bottom: var(--space-sm);
}

/* FAQ Item - Better spacing for Q&A format */
.faq-item,
.section .mb-4 {
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.section .mb-4:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section .mb-4 h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.section .mb-4 p.text-muted {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   Avatar / Profile Images
   =========================== */
.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto var(--space-lg);
  border: 4px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  display: block;
  background: var(--color-surface);
}

/* ===========================
   Section Layouts
   =========================== */
.section-surface {
  background: var(--color-surface);
  padding: 4rem 2rem;
}

.section-alt {
  background: var(--color-bg);
  padding: 4rem 2rem;
}

.section-highlight {
  background: var(--primary-soft);
  padding: 4rem 2rem;
}

/* Varied padding for natural feel */
.section-lg {
  padding: 5rem 2rem;
}

.section-sm {
  padding: 3rem 2rem;
}

.container-narrow {
  max-width: 1100px;
  margin: 0 auto;
}

.container-xs {
  max-width: 900px;
  margin: 0 auto;
}

/* ===========================
   Icon Boxes
   =========================== */
.icon-box {
  width: 48px;
  height: 48px;
  background: var(--primary-soft);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.icon-box-lg {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
}

.icon-box-center {
  margin: 0 auto 1rem;
}

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

.icon-box-lg svg {
  width: 28px;
  height: 28px;
}

/* ===========================
   Feature Cards
   =========================== */
.feature-card {
  text-align: center;
  padding: 1.5rem;
}

.feature-card h3 {
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

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

.feature-card .link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.feature-card .link:hover {
  text-decoration: underline;
}

/* ===========================
   Info Cards
   =========================== */
.info-card {
  padding: 1.75rem;
}

.info-card h3 {
  color: var(--color-text-main);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.info-card p {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

/* ===========================
   Product Cards
   =========================== */
.product-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-card .btn {
  width: 100%;
  font-size: 0.85rem;
  margin-top: auto;
}

/* ===========================
   Step Cards (numbered process)
   =========================== */
.step-card {
  text-align: center;
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

.step-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ===========================
   Callout Box
   =========================== */
.callout-box {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.callout-box p {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  margin: 0;
}

.callout-box strong {
  color: var(--color-text-main);
}

.callout-box-lg {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

/* ===========================
   Section Headers
   =========================== */
.section-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.section-intro h2 {
  font-size: 2rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.section-intro p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}

/* ===========================
   Grid Layouts
   =========================== */
.grid-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

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

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .grid-3-col,
  .grid-2-col {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Lists
   =========================== */
.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-list svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ===========================
   Focus States (Accessibility)
   =========================== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--primary-soft);
}

a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ===========================
   Button Active States
   =========================== */
.btn:active {
  transform: scale(0.98);
}

.btn-primary:active {
  background: var(--primary-dark);
}

.btn-secondary:active {
  background: var(--color-border-light);
}

/* ===========================
   Link Hover Underlines
   =========================== */
.link-underline {
  position: relative;
  text-decoration: none;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.2s ease;
}

.link-underline:hover::after {
  width: 100%;
}

/* ===========================
   Navbar Scroll Enhancement
   =========================== */
.navbar.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow:
    0 1px 0 var(--color-border),
    var(--shadow-sm);
}

/* ===========================
   Mobile Hero Improvements
   =========================== */
@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--navbar-height) + var(--space-lg));
    padding-bottom: var(--space-xl);
    text-align: center;
  }

  .hero-premium {
    gap: var(--space-xl);
  }

  .hero-text h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: var(--space-md);
  }

  .hero-text .subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: var(--space-lg);
    padding: 0 var(--space-sm);
  }

  .hero-cta {
    flex-direction: column;
    gap: var(--space-sm);
  }

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

  .trust-badges-row {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }

  .trust-badge-premium {
    font-size: 11px;
  }

  .product-mockup {
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.1);
  }

  /* Logo adjustment */
  .logo-icon {
    height: 55px;
  }
}

/* ===========================
   Subtle Micro-interactions (Premium SaaS Style)
   =========================== */

/* Card Enhanced Hover */
.card,
.feature-card,
.info-card,
.product-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.card:hover,
.feature-card:hover,
.info-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.06);
}

/* Link arrow animation */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.link::after {
  content: ' \2192';
  display: inline-block;
  transition: transform 0.2s ease;
}

.link:hover::after {
  transform: translateX(4px);
}

/* ===========================
   Additional Polish
   =========================== */

/* Navbar logo hover */
.logo:hover .logo-icon {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Better focus states for accessibility */
.btn:focus-visible,
.nav-links a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Improved trust badges layout */
.trust-badges-row {
  justify-content: center;
  margin-top: var(--space-lg);
}

/* Hero mockup subtle shadow animation */
.product-mockup {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.product-mockup:hover {
  transform: scale(1.01);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

/* Ensure reduced motion preference is respected */
@media (prefers-reduced-motion: reduce) {
  .card:hover,
  .feature-card:hover,
  .info-card:hover,
  .product-card:hover {
    transform: none;
  }
}
