/* 
  LEX NEGATA LTD - Premium Corporate Website Design System
  Author: Antigravity AI Coding Assistant
  Palette: Primary Navy (#003087), Accent Teal (#0F8B8D), Dark Grey (#2F3A45), Light Grey (#F6F8FA)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ==========================================
   CSS Custom Properties (Tokens)
   ========================================== */
:root {
  /* Color System */
  --navy: #1A1A1A;                    /* Charcoal Black for main headers, branding */
  --navy-dark: #111111;               /* Deep Charcoal Black for dark sections/footers */
  --navy-light: #252525;              /* Lighter charcoal block accents */
  --teal: #C9A356;                    /* Primary Gold (Warm metallic gold) */
  --teal-hover: #A8A9AD;              /* Primary Silver (Cool metallic silver) */
  --teal-light: #F9F7F2;              /* Luxurious warm gold off-white tint */
  --dark-grey: #1A1A1A;               /* Charcoal Black for body text and headings */
  --light-grey: #FAFAFA;              /* Pure off-white background */
  --medium-grey: #7A7A7A;             /* Cool grey/silver for descriptions */
  --border-color: #D9D9D9;            /* Secondary Accent Light Grey */
  --white: #FFFFFF;
  --shadow-color: rgba(26, 26, 26, 0.06);
  
  /* Status Colors */
  --color-success: #2e7d32;
  --color-success-bg: #e8f5e9;
  --color-warning: #e65100;
  --color-warning-bg: #fff3e0;
  --color-error: #c62828;
  --color-error-bg: #ffebee;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Borders and Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px var(--shadow-color);
  --shadow-md: 0 10px 20px var(--shadow-color);
  --shadow-lg: 0 20px 40px rgba(26, 26, 26, 0.05);
  --shadow-glass: 0 8px 32px 0 rgba(201, 163, 86, 0.05);
  
  /* Layout Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;
  
  /* Section widths */
  --container-max-width: 1200px;
}

/* ==========================================
   Resets and Base Styling
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark-grey);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--light-grey);
}
::-webkit-scrollbar-thumb {
  background: var(--medium-grey);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--dark-grey);
}

/* Selection */
::selection {
  background-color: var(--teal);
  color: var(--white);
}

/* ==========================================
   Typography Styles
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  position: relative;
  padding-bottom: var(--spacing-xs);
}

h2.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-hover) 100%);
}

h2.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--dark-grey);
  font-weight: 300;
  font-size: 1.05rem;
}

p.lead {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
}

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

a:hover {
  color: var(--teal-hover);
}

/* ==========================================
   Layout Structures & Grids
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

section.shaded {
  background-color: var(--light-grey);
}

section.dark {
  background-color: var(--navy);
  color: var(--white);
}

section.dark h1,
section.dark h2,
section.dark h3,
section.dark h4,
section.dark p {
  color: var(--white);
}

section.dark h2.section-title::after {
  background-color: var(--teal);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col {
  flex: 1 0 0%;
  padding: 0 15px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
}

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

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-xs { margin-bottom: var(--spacing-xs) !important; }
.mb-sm { margin-bottom: var(--spacing-sm) !important; }
.mb-md { margin-bottom: var(--spacing-md) !important; }
.mb-lg { margin-bottom: var(--spacing-lg) !important; }
.mb-xl { margin-bottom: var(--spacing-xl) !important; }

/* ==========================================
   Header and Navigation (Sticky Navbar)
   ========================================== */
.disclaimer-banner {
  background-color: #ffebee;
  color: #c62828;
  font-size: 0.85rem;
  padding: var(--spacing-xs) 0;
  text-align: center;
  border-bottom: 1px solid #ffcdd2;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}

.navbar-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.navbar-container.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 0.25rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--navy);
  text-transform: uppercase;
}

.logo-tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--teal);
  letter-spacing: 0.1em;
  display: block;
  font-weight: 600;
  margin-top: -3px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-grey);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--teal);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--navy);
}

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

.nav-link.active {
  color: var(--navy);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

/* Hamburger menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--navy);
  margin-bottom: 5px;
  transition: var(--transition);
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

/* ==========================================
   Buttons and CTAs
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, #C9A356 0%, #B08B3E 100%);
  color: #1A1A1A;
  box-shadow: 0 4px 12px rgba(201, 163, 86, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #A8A9AD 0%, #8E8F93 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(168, 169, 173, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-secondary:hover {
  background-color: rgba(168, 169, 173, 0.08);
  color: var(--teal-hover);
  border-color: var(--teal-hover);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--light-grey);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-link {
  background: none;
  border: none;
  color: var(--teal);
  padding: 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-link:hover {
  color: var(--teal-hover);
  gap: 8px;
}

.btn-link svg {
  transition: var(--transition);
}

.btn-link:hover svg {
  transform: translateX(3px);
}

/* Sticky Action Button */
.sticky-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: var(--navy);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-cta:hover {
  background-color: var(--teal);
  color: var(--white);
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  position: relative;
  padding: var(--spacing-xxl) 0 calc(var(--spacing-xxl) * 1.5);
  background-color: var(--light-grey);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-subtitle {
  color: var(--teal);
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: var(--spacing-sm);
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.hero-trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  border-top: 1px solid var(--border-color);
  padding-top: var(--spacing-md);
}

.trust-badge {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark-grey);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-badge svg {
  color: var(--teal);
}

/* ==========================================
   Premium Cards & Service Grid
   ========================================== */
.card {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  padding: var(--spacing-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--teal) 0%, var(--teal-hover) 100%);
  transition: var(--transition);
}

.card:hover::before {
  height: 100%;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: var(--spacing-md);
  transition: var(--transition);
}

.card:hover .card-icon {
  background-color: var(--teal-light);
  color: var(--teal);
}

.card-title {
  margin-bottom: var(--spacing-xs);
  color: var(--navy);
}

.card-text {
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

/* Value Props specific cards */
.value-card {
  border-top: 4px solid var(--teal);
}

.value-card:hover {
  border-top-color: var(--teal-hover);
}

/* ==========================================
   Signature Element: Diagnostic Tool
   ========================================== */
.diagnostic-container {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.diagnostic-header {
  background-color: var(--navy);
  color: var(--white);
  padding: var(--spacing-lg);
  text-align: center;
}

.diagnostic-header h3 {
  color: var(--white);
  margin-bottom: var(--spacing-xs);
}

.diagnostic-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.diagnostic-body {
  padding: var(--spacing-lg);
}

.diagnostic-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--light-grey);
  cursor: pointer;
}

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

.diagnostic-checkbox {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid var(--medium-grey);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 3px;
  transition: var(--transition);
}

.diagnostic-item.checked .diagnostic-checkbox {
  border-color: var(--teal);
  background-color: var(--teal);
}

.diagnostic-checkbox::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: var(--transition);
}

.diagnostic-item.checked .diagnostic-checkbox::after {
  transform: rotate(45deg) scale(1);
}

.diagnostic-item-content h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--dark-grey);
}

.diagnostic-item-content p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--medium-grey);
}

.diagnostic-footer {
  padding: var(--spacing-lg);
  background-color: var(--light-grey);
  border-top: 1px solid var(--border-color);
}

.diagnostic-score-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
}

.diagnostic-score-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.diagnostic-score-value {
  font-weight: 700;
  font-size: 1.1rem;
}

.diagnostic-progress-wrapper {
  background-color: var(--border-color);
  height: 10px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.diagnostic-progress {
  height: 100%;
  width: 0%;
  background-color: var(--teal);
  transition: width 0.5s ease-out, background-color var(--transition);
}

.diagnostic-result-card {
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.diagnostic-result-card.visible {
  display: block;
}

.diagnostic-result-card.low {
  background-color: var(--color-success-bg);
  border: 1px solid #a5d6a7;
  color: #1b5e20;
}

.diagnostic-result-card.medium {
  background-color: var(--color-warning-bg);
  border: 1px solid #ffcc80;
  color: #e65100;
}

.diagnostic-result-card.high {
  background-color: var(--color-error-bg);
  border: 1px solid #ef9a9a;
  color: #b71c1c;
}

/* ==========================================
   Why Choose Us Timeline
   ========================================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-lg) 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--white);
  border: 3px solid var(--teal);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  transition: var(--transition);
}

.timeline-item:hover::after {
  background-color: var(--teal);
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -8px;
}

.timeline-content {
  padding: var(--spacing-md);
  background-color: var(--white);
  position: relative;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.timeline-item:hover .timeline-content {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.timeline-title {
  color: var(--navy);
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
}

.timeline-desc {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ==========================================
   Newsletter Subscription Section
   ========================================== */
.subscription-section {
  background-color: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.subscription-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: radial-gradient(var(--white) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.subscription-container {
  position: relative;
  z-index: 2;
}

.subscription-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-item {
  display: flex;
  gap: 12px;
}

.feature-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(201, 163, 86, 0.15);
  color: var(--teal);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item-text {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.subscription-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
}

.subscription-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
  outline: none;
  border-color: var(--teal);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(201, 163, 86, 0.25);
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--white);
  text-decoration: underline;
}

.form-status {
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-status.success {
  display: block;
  background-color: var(--color-success-bg);
  color: #1b5e20;
  border: 1px solid #c8e6c9;
}

.form-status.error {
  display: block;
  background-color: var(--color-error-bg);
  color: #b71c1c;
  border: 1px solid #ffcdd2;
}

/* ==========================================
   Insights Knowledge Hub Styling
   ========================================== */
.featured-whitepaper {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.whitepaper-cover {
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.whitepaper-cover-graphic {
  background: var(--white);
  width: 220px;
  height: 300px;
  border-radius: 4px 16px 16px 4px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.whitepaper-cover-graphic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 10px;
  background: linear-gradient(to right, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.0) 100%);
  border-radius: 4px 0 0 4px;
}

.whitepaper-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.whitepaper-title-graphic {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.3;
  margin-top: var(--spacing-md);
}

.whitepaper-tag-graphic {
  font-size: 0.55rem;
  background-color: var(--teal-light);
  color: var(--teal);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  font-weight: 600;
  align-self: flex-start;
}

.whitepaper-details {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.whitepaper-details h2 {
  color: var(--white);
}

.whitepaper-details p {
  color: rgba(255, 255, 255, 0.8);
}

.search-filter-bar {
  background-color: var(--light-grey);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.search-filter-layout {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.search-box {
  position: relative;
  flex: 1 1 300px;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--white);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--medium-grey);
  pointer-events: none;
}

.filter-categories {
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--dark-grey);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

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

.blog-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--medium-grey);
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
}

.blog-card-tag {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.blog-card-body {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
  line-height: 1.3;
}

.blog-card-desc {
  font-size: 0.9rem;
  color: var(--dark-grey);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--spacing-xl) 0;
  color: var(--medium-grey);
  display: none;
}

/* ==========================================
   About Us & Comparison Matrix
   ========================================== */
.about-mission {
  border-left: 4px solid var(--teal);
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.about-disclaimer {
  background-color: var(--light-grey);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--navy);
  padding: var(--spacing-md);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  margin-top: var(--spacing-md);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--white);
}

.comparison-table th, 
.comparison-table td {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.comparison-table th {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
}

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

.comparison-table td strong {
  color: var(--navy);
}

/* ==========================================
   Service Detail Pages Components
   ========================================== */
.breadcrumb {
  display: flex;
  gap: var(--spacing-xs);
  font-size: 0.85rem;
  color: var(--medium-grey);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--medium-grey);
}

.breadcrumb a:hover {
  color: var(--navy);
}

.breadcrumb-separator {
  pointer-events: none;
}

.challenges-list {
  list-style: none;
}

.challenges-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: var(--spacing-md);
}

.challenges-item::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-error);
  font-weight: bold;
  font-size: 1rem;
}

.solution-list {
  list-style: none;
}

.solution-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: var(--spacing-md);
}

.solution-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-success);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Methodology Steps styling */
.methodology-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.methodology-step {
  display: flex;
  gap: var(--spacing-md);
  position: relative;
}

.methodology-step::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 20px;
  bottom: -30px;
  width: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.methodology-step:last-child::before {
  display: none;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 48, 135, 0.15);
}

.step-details {
  padding-top: 5px;
}

.step-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 2px;
  color: var(--navy);
}

.step-duration {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: var(--spacing-xs);
  display: block;
}

/* FAQs component */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--white);
}

.faq-question {
  width: 100%;
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--light-grey);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--teal);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: var(--white);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--dark-grey);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.5s ease-in;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================
   Contact Page Elements
   ========================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--spacing-xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-info-item {
  display: flex;
  gap: var(--spacing-md);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--light-grey);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-details h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2px;
}

.contact-info-details p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.map-placeholder {
  height: 250px;
  background-color: var(--light-grey);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.map-placeholder-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,48,135,0.02) 0%, rgba(0,48,135,0.06) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.map-grid-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 20px 20px;
  background-image: linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
}

.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.contact-form .form-group {
  margin-bottom: var(--spacing-md);
}

.contact-form .form-label {
  color: var(--dark-grey);
}

.contact-form .form-input {
  border-color: var(--border-color);
  background-color: var(--white);
  color: var(--dark-grey);
}

.contact-form .form-input:focus {
  border-color: var(--teal);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 163, 86, 0.15);
}

.contact-form textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================
   Footer Layout
   ========================================== */
.footer {
  background-color: #111111;
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
}

.footer h1, .footer h2, .footer h3, .footer h4 {
  color: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-logo-text {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-logo-tag {
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  display: block;
  margin-top: -3px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: 5px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 25px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-hover) 100%);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background-color: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-legal-disclaimer {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copyright-links {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.footer-copyright-links a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-copyright-links a:hover {
  color: var(--white);
}

/* ==========================================
   Cookie Consent Banner
   ========================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  padding: var(--spacing-md) 0;
  z-index: 1000;
  display: none;
  animation: slideUp 0.4s ease forwards;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.cookie-text {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.cookie-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

/* ==========================================
   Legal Document Layout Specifics
   ========================================== */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: var(--spacing-lg);
}

.legal-section h3 {
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
}

.legal-section ul, .legal-section ol {
  margin-left: 20px;
  margin-bottom: var(--spacing-md);
  font-weight: 300;
  font-size: 0.95rem;
}

.legal-section li {
  margin-bottom: 5px;
}

/* ==========================================
   Scroll Animations and Keyframes
   ========================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }
  
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  
  .subscription-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .featured-whitepaper {
    grid-template-columns: 1fr;
  }
  .whitepaper-cover {
    padding: var(--spacing-lg);
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Portrait & Landscape (768px and below) */
@media (max-width: 768px) {
  section { padding: var(--spacing-xl) 0; }
  
  .grid-2 { grid-template-columns: 1fr; gap: var(--spacing-lg); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  
  .hero-bg-pattern {
    display: none;
  }
  
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
  }
  
  .hero-trust-indicators {
    justify-content: center;
  }
  
  /* Responsive Navigation */
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-xl) 0;
    gap: var(--spacing-lg);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    z-index: 998;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  /* Timeline Responsive */
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item.right {
    left: 0;
  }
  
  .timeline-item::after {
    left: 23px;
    right: auto;
  }
  
  .timeline-item.right::after {
    left: 23px;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-copyright {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }
  
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  
  .sticky-cta {
    bottom: 20px;
    right: 20px;
    padding: 0.65rem 1.25rem;
    font-size: 0.8rem;
  }
}

/* Spinner Animation & Helper Classes */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#calendly-loader {
  transition: opacity 0.4s ease;
}

