/* ============================================
   ComplyX — Compliance Platform for CAs, CSs & Accountants
   Color: Blue (trust) + Amber (accent)
   Style: Sharp, professional, corporate
   ============================================ */

:root {
  /* Blues — trust, professional */
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-200: #BFDBFE;
  --blue-300: #93C5FD;
  --blue-400: #60A5FA;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --blue-800: #1E40AF;
  --blue-900: #1E3A8A;
  --blue-950: #172554;

  /* Amber — warmth, energy, accent */
  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-200: #FDE68A;
  --amber-300: #FCD34D;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-700: #B45309;

  /* Neutrals — slate */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --slate-950: #020617;

  /* Semantic */
  --primary: var(--blue-700);
  --primary-dark: var(--blue-900);
  --primary-light: var(--blue-500);
  --accent: var(--amber-500);
  --accent-dark: var(--amber-600);
  --accent-light: var(--amber-400);
  --bg: #FFFFFF;
  --bg-alt: var(--slate-50);
  --bg-dark: var(--slate-900);
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;
  --border: var(--slate-200);
  --border-dark: var(--slate-800);
  --text: var(--slate-900);
  --text-secondary: var(--slate-600);
  --text-muted: var(--slate-400);
  --text-inverse: #FFFFFF;
  --success: #059669;
  --warning: var(--amber-500);
  --danger: #DC2626;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Sharp corners — professional, corporate */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;

  /* Shadows — subtle, professional */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.15);

  /* Layout */
  --container: 1200px;
  --nav-height: 64px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
svg { display: block; max-width: 100%; height: auto; }
svg:not([width]):not([height]) { width: 24px; height: 24px; flex-shrink: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
p { margin-bottom: 16px; }
strong { font-weight: 600; }

/* ============================================
   Buttons — sharp, professional
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blue-700);
  color: white;
  border-color: var(--blue-700);
}
.btn-primary:hover { background: var(--blue-800); border-color: var(--blue-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: var(--amber-500);
  color: var(--slate-900);
  border-color: var(--amber-500);
}
.btn-secondary:hover { background: var(--amber-600); border-color: var(--amber-600); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--slate-300);
}
.btn-ghost:hover { background: var(--slate-50); border-color: var(--slate-400); }
.btn-white {
  background: white;
  color: var(--blue-800);
  border-color: white;
}
.btn-white:hover { background: var(--slate-50); transform: translateY(-1px); }
.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }

/* ============================================
   Navigation (injected by shared.js)
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 18px;
  font-family: var(--font-display);
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover { color: var(--blue-700); background: var(--blue-50); }
.nav-link.active { color: var(--blue-700); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}
.nav-dropdown-trigger:hover { color: var(--blue-700); background: var(--blue-50); }
.nav-dropdown-trigger svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-dropdown-item:hover { background: var(--slate-50); }
.nav-dropdown-item-icon {
  width: 32px; height: 32px;
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue-700);
}
.nav-dropdown-item-icon svg { width: 18px; height: 18px; }
.nav-dropdown-item-text { flex: 1; }
.nav-dropdown-item-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.nav-dropdown-item-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--slate-700); transition: all var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile nav */
.nav-mobile {
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 999;
}
.nav-mobile.open { max-height: calc(100vh - var(--nav-height)); overflow-y: auto; }
.nav-mobile-inner { padding: 16px 24px; }
.nav-mobile-section { margin-bottom: 20px; }
.nav-mobile-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 8px; }
.nav-mobile-link { display: block; padding: 10px 0; font-size: 15px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--slate-100); }
.nav-mobile-link:hover { color: var(--blue-700); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 600px;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--blue-950) 100%);
  color: white;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--amber-300);
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--amber-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 640px;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.role-chip {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Sections
   ============================================ */
.section { padding: 80px 0; }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.section-tag.light { background: rgba(255, 255, 255, 0.15); color: white; }
.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
}
.section-body { font-size: 16px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 16px; }

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar { padding: 48px 0; background: var(--slate-900); color: white; }
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.sb-stat { text-align: center; }
.sb-number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--amber-400);
  line-height: 1;
  margin-bottom: 8px;
}
.sb-label { font-size: 14px; color: rgba(255, 255, 255, 0.6); font-weight: 500; }

/* ============================================
   Feature Split (image + text)
   ============================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-split:last-child { margin-bottom: 0; }
.feature-split.reverse .fs-image { order: 2; }
.fs-image { position: relative; }
.fs-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--slate-100);
}
.fs-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.fs-image-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: white;
  padding: 12px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.fs-image-badge.right { left: auto; right: 24px; }
.fs-badge-value { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--blue-700); line-height: 1; }
.fs-badge-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.fs-content { padding: 0 8px; }
.fs-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--amber-50);
  color: var(--amber-700);
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.fs-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}
.fs-desc { font-size: 16px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 24px; }
.fs-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.fs-list-item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); }
.fs-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600);
}
.fs-check svg { width: 14px; height: 14px; }
.fcs-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600;
  color: var(--blue-700);
  transition: gap var(--transition);
}
.fcs-link:hover { gap: 10px; }
.fcs-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================
   Feature Grid (3 columns)
   ============================================ */
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card-saas {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.feature-card-saas:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--blue-300); }
.fcs-image { aspect-ratio: 16/9; overflow: hidden; background: var(--slate-100); }
.fcs-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.feature-card-saas:hover .fcs-image img { transform: scale(1.08); }
.fcs-body { padding: 24px; }
.fcs-icon {
  width: 44px; height: 44px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-700);
  margin-bottom: 14px;
}
.fcs-icon svg { width: 22px; height: 22px; }
.fcs-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.fcs-desc { font-size: 14px; line-height: 1.6; color: var(--text-secondary); margin-bottom: 12px; }

/* ============================================
   Role Cards
   ============================================ */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.role-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.role-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.role-img { aspect-ratio: 16/10; overflow: hidden; background: var(--slate-100); }
.role-img img { width: 100%; height: 100%; object-fit: cover; }
.role-card-body { padding: 24px; }
.role-card h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; }
.role-card p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); margin-bottom: 0; }

/* ============================================
   Neurax Section (dark)
   ============================================ */
.neurax { background: var(--slate-900); color: white; position: relative; overflow: hidden; }
.neurax-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
}
.neurax .container { position: relative; z-index: 1; }
.neurax-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.neurax-visual { position: relative; }
.neurax-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  position: relative;
}
.neurax-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.neurax-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(15, 23, 42, 0.6));
}
.neurax-badge-float {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.nbf-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.nbf-icon svg { width: 22px; height: 22px; }
.nbf-title { font-weight: 700; font-size: 15px; color: white; }
.nbf-sub { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.neurax-content .section-tag { background: rgba(245, 158, 11, 0.15); color: var(--amber-400); }
.neurax-content .section-title { color: white; }
.neurax-content .section-body { color: rgba(255, 255, 255, 0.7); }
.neurax-features { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.neurax-feature { display: flex; gap: 16px; align-items: flex-start; }
.nf-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-400);
}
.nf-icon svg { width: 22px; height: 22px; }
.nf-title { font-weight: 600; font-size: 16px; color: white; margin-bottom: 4px; }
.nf-desc { font-size: 14px; color: rgba(255, 255, 255, 0.6); line-height: 1.5; }

/* ============================================
   Calendar Mockup
   ============================================ */
.calendar-mockup {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.calendar-header {
  background: var(--slate-50);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.calendar-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.calendar-tabs { display: flex; gap: 4px; }
.calendar-tab {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.calendar-tab.active { background: var(--blue-700); color: white; }
.calendar-body { padding: 20px; }
.calendar-row {
  display: grid;
  grid-template-columns: 120px 1fr 100px 100px;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--slate-100);
  align-items: center;
  font-size: 14px;
}
.calendar-row:last-child { border-bottom: none; }
.calendar-row.header { font-weight: 600; color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.cal-date { font-weight: 600; color: var(--blue-700); }
.cal-status {
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.cal-status.pending { background: var(--amber-50); color: var(--amber-700); border: 1px solid var(--amber-200); }
.cal-status.filed { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.cal-status.overdue { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }
.cal-penalty { font-size: 13px; color: var(--text-muted); }

/* ============================================
   Marketplace / Professional Registry
   ============================================ */
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.marketplace-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.marketplace-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.mc-image { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--slate-100); }
.mc-image img { width: 100%; height: 100%; object-fit: cover; }
.mc-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}
.mc-body { padding: 20px; }
.mc-body h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; }
.mc-location { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.mc-desc { font-size: 14px; line-height: 1.5; color: var(--text-secondary); margin-bottom: 16px; }
.mc-footer { display: flex; align-items: center; justify-content: space-between; }
.mc-price { font-size: 15px; font-weight: 700; color: var(--blue-700); }
.mc-book {
  padding: 6px 16px;
  background: var(--amber-500);
  color: var(--slate-900);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition);
}
.mc-book:hover { background: var(--amber-600); }

/* ============================================
   CTA Section
   ============================================ */
.cta-section { padding: 80px 0; background: var(--slate-50); }
.cta-card {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-950));
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.cta-content { position: relative; z-index: 1; }
.cta-content .section-tag { background: rgba(245, 158, 11, 0.2); color: var(--amber-400); }
.cta-title { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: white; margin-bottom: 12px; }
.cta-subtitle { font-size: 17px; color: rgba(255, 255, 255, 0.7); margin-bottom: 24px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-decoration { position: relative; z-index: 1; }

/* ============================================
   Page Hero
   ============================================ */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--slate-900), var(--blue-950));
  color: white;
  text-align: center;
}
.page-hero.dark { background: var(--slate-950); }
.page-hero .section-tag { background: rgba(245, 158, 11, 0.15); color: var(--amber-400); }
.ph-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.ph-subtitle { font-size: 18px; color: rgba(255, 255, 255, 0.7); max-width: 640px; margin: 0 auto; }

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--blue-500);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--amber-500);
  color: var(--slate-900);
  padding: 4px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.pricing-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-price { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--blue-800); margin-bottom: 24px; }
.pricing-period { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text);
}
.pricing-feature svg { width: 18px; height: 18px; color: var(--blue-600); flex-shrink: 0; margin-top: 2px; }
.pricing-cta { width: 100%; }

/* ============================================
   Legal Pages
   ============================================ */
.legal-page { padding: 120px 0 80px; }
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-family: var(--font-display); font-size: 36px; margin-bottom: 8px; }
.legal-content h2 { font-family: var(--font-display); font-size: 22px; margin-top: 32px; margin-bottom: 12px; color: var(--blue-900); }
.legal-content h3 { font-size: 18px; margin-top: 24px; margin-bottom: 8px; }
.legal-content p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 12px; }
.legal-content ul { margin: 12px 0 16px 0; padding-left: 20px; }
.legal-content li { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 6px; list-style: disc; }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--blue-700); text-decoration: underline; }
.legal-content a:hover { color: var(--blue-800); }
.legal-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.legal-contact {
  margin-top: 32px;
  padding: 20px;
  background: var(--slate-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.legal-contact p { margin-bottom: 4px; }

/* ============================================
   About Page
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.value-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: white;
  margin-bottom: 16px;
}
.value-icon svg { width: 26px; height: 26px; }
.value-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.value-desc { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-700);
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.contact-value { font-size: 15px; color: var(--text); line-height: 1.6; }
.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--text);
  transition: border-color var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.form-textarea { min-height: 120px; resize: vertical; }

/* ============================================
   Footer (injected by shared.js)
   ============================================ */
.footer { background: var(--slate-950); color: rgba(255, 255, 255, 0.7); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 18px;
  font-family: var(--font-display);
}
.footer-logo-text { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: white; }
.footer-desc { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px; }
.footer-address { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.4); }
.footer-col h4 { font-size: 14px; font-weight: 600; color: white; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 14px; color: rgba(255, 255, 255, 0.6); transition: color var(--transition); }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright { font-size: 13px; color: rgba(255, 255, 255, 0.4); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: 13px; color: rgba(255, 255, 255, 0.4); }
.footer-legal-links a:hover { color: white; }

/* ============================================
   Animations
   ============================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .feature-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .marketplace-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .feature-split { gap: 40px; }
  .neurax-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 0 60px; min-height: 500px; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .hero-actions .btn { width: 100%; max-width: 320px; }

  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; }

  .feature-split { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .feature-split.reverse .fs-image { order: 0; }
  .feature-grid-3 { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .marketplace-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .neurax-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }

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

  .cta-card { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
  .cta-decoration { display: none; }
  .cta-actions { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand, .footer-address { grid-column: auto; }

  .calendar-row { grid-template-columns: 80px 1fr; font-size: 13px; }
  .calendar-row .cal-status, .calendar-row .cal-penalty { grid-column: 2; }

  .ph-title { font-size: 32px; }
  .ph-subtitle { font-size: 16px; }

  /* Smaller icons on tablet */
  .fcs-icon, .nf-icon { width: 40px; height: 40px; }
  .fcs-icon svg, .nf-icon svg { width: 20px; height: 20px; }
  .value-icon { width: 48px; height: 48px; }
  .value-icon svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero-title { font-size: 30px; }
  .hero-subtitle { font-size: 15px; }
  .role-chip { font-size: 12px; padding: 6px 12px; }
  .stats-bar-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 32px 20px; }

  /* Smaller icons on mobile */
  .fcs-icon, .nf-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); }
  .fcs-icon svg, .nf-icon svg { width: 18px; height: 18px; }
  .value-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); }
  .value-icon svg { width: 22px; height: 22px; }
  .contact-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); }
  .contact-icon svg { width: 20px; height: 20px; }
  .fs-check { width: 18px; height: 18px; }
  .fs-check svg { width: 12px; height: 12px; }
  .pricing-feature svg { width: 16px; height: 16px; }
  .fcs-link svg { width: 14px; height: 14px; }
  .nav-logo { width: 32px; height: 32px; }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}
