/* ==========================================================================
   NEURAPENT MODERN ENTERPRISE SAAS DESIGN SYSTEM
   Premium, polished SaaS aesthetic with soft colors, high-contrast typography,
   refined borders, and subtle ambient depth.
   ========================================================================== */

:root {
  /* Canvas & Surface Layers */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFBFE;
  --bg-dark: #0F172A;
  --bg-dark-surface: #1E293B;

  /* Crisp Typography (Slate Scale) */
  --text-primary: #0F172A;   /* Slate 900 - Headings & Primary */
  --text-secondary: #334155; /* Slate 700 - Body text */
  --text-muted: #64748B;     /* Slate 500 - Descriptions & Captions */
  --text-dim: #94A3B8;       /* Slate 400 - Subdued metadata */
  --text-light: #F8FAFC;

  /* Sophisticated Brand Palette (Royal Indigo) */
  --brand: #4F46E5;
  --brand-hover: #4338CA;
  --brand-light: #6366F1;
  --brand-soft: #EEF2FF;
  --brand-border: #C7D2FE;
  --brand-glow: rgba(79, 70, 229, 0.14);

  /* Soft Semantic Pastels */
  --emerald: #059669;
  --emerald-soft: #ECFDF5;
  --emerald-border: #A7F3D0;

  --rose: #E11D48;
  --rose-soft: #FFF1F2;
  --rose-border: #FECDD3;

  --amber: #D97706;
  --amber-soft: #FFFBEB;
  --amber-border: #FDE68A;

  --sky: #0284C7;
  --sky-soft: #F0F9FF;
  --sky-border: #BAE6FD;

  /* Crisp Subtle Borders */
  --border-subtle: #E2E8F0;
  --border-mid: #CBD5E1;
  --border-hover: #94A3B8;

  /* Multi-Layered Soft Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 8px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -6px rgba(15, 23, 42, 0.07), 0 4px 10px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.10);
  --shadow-brand: 0 10px 24px -4px rgba(79, 70, 229, 0.28);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Layout */
  --container: 1220px;
  --nav-height: 76px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle 600px at 15% -5%, rgba(79, 70, 229, 0.12), transparent 70%),
    radial-gradient(circle 550px at 85% 25%, rgba(124, 58, 237, 0.10), transparent 65%),
    radial-gradient(circle 700px at 50% 95%, rgba(2, 132, 199, 0.09), transparent 70%);
}

.ambient-dots {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
  background-image: radial-gradient(rgba(79, 70, 229, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.section-padding {
  padding: 104px 0;
  position: relative;
  z-index: 1;
}

.section-padding-sm {
  padding: 56px 0;
  position: relative;
  z-index: 1;
}

.text-center { text-align: center; }
.mono { font-family: var(--font-mono); }

.text-gradient {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 45%, #2563EB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-indigo {
  background: linear-gradient(135deg, #4F46E5 0%, #0284C7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* NAVBAR */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav.scrolled {
  height: 68px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.06);
  border-bottom-color: var(--border-mid);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.nav-logo img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.04);
}

.nav-links a.active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.nav-dropdown-trigger i {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown-trigger:hover {
  color: var(--text-primary);
}

.nav-dropdown:hover .nav-dropdown-trigger i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-xl);
  z-index: 1002;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--bg-subtle);
  color: var(--brand);
}

.nav-dropdown-menu a.active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(248, 250, 252, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 88px 24px 40px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  overflow-y: auto;
}

.nav-overlay.open {
  display: flex;
}

.nav-overlay a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  width: 100%;
  max-width: 320px;
  text-align: center;
  border: 1px solid transparent;
  transition: var(--transition);
}

.nav-overlay a:hover,
.nav-overlay a.active {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: var(--brand-border);
}

.nav-overlay .mobile-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4338CA 0%, #3730A3 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(79, 70, 229, 0.40);
  color: #FFFFFF !important;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-mid);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

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

.btn-ghost:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border-color: var(--border-mid);
  transform: translateY(-1px);
}

.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-brand {
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--brand-border);
}

.badge-success {
  background: var(--emerald-soft);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

/* CARDS */
.saas-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.saas-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-mid);
  box-shadow: var(--shadow-lg);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-header .badge { margin-bottom: 16px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.65;
}

/* HERO */
.hero {
  padding: 130px 0 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 20px auto;
  max-width: 920px;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-audit-bar {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  padding: 6px 6px 6px 20px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--brand-border);
  box-shadow: 0 10px 30px -4px rgba(79, 70, 229, 0.15), var(--shadow-sm);
  max-width: 620px;
  width: 100%;
  margin-bottom: 24px;
  transition: var(--transition);
}

.hero-audit-bar:focus-within {
  border-color: var(--brand);
  box-shadow: 0 12px 36px -4px rgba(79, 70, 229, 0.25), var(--shadow-md);
}

.hero-audit-bar i.fa-globe {
  color: var(--brand);
  margin-right: 12px;
  font-size: 1.1rem;
}

.hero-audit-bar input {
  border: none;
  background: transparent;
  font-size: 0.96rem;
  color: var(--text-primary);
  flex: 1;
  min-width: 0;
  font-weight: 500;
}

.hero-audit-bar input::placeholder { color: var(--text-dim); }

/* TERMINAL */
.terminal-box {
  max-width: 980px;
  margin: 40px auto;
  background: #0B0F19;
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.25);
  text-align: left;
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #131B2E;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots { display: flex; gap: 7px; }
.tdot { width: 10px; height: 10px; border-radius: 50%; }
.tdot.red { background: #EF4444; }
.tdot.yellow { background: #F59E0B; }
.tdot.green { background: #10B981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #64748B;
}

.terminal-body {
  padding: 22px 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.85;
  color: #E2E8F0;
  max-height: 320px;
  overflow-y: auto;
}

.log-tag {
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.72rem;
  margin-right: 8px;
}

.tag-phase {
  background: rgba(99, 102, 241, 0.2);
  color: #A5B4FC;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.tag-tool {
  background: rgba(2, 132, 199, 0.2);
  color: #7DD3FC;
  border: 1px solid rgba(2, 132, 199, 0.35);
}

.tag-finding {
  background: rgba(225, 29, 72, 0.2);
  color: #FDA4AF;
  border: 1px solid rgba(225, 29, 72, 0.35);
}

.tag-proof {
  background: rgba(5, 150, 105, 0.2);
  color: #6EE7B7;
  border: 1px solid rgba(5, 150, 105, 0.35);
}

/* PLATFORM SHOWCASE */
.platform-tab-section {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  margin-top: 50px;
  text-align: left;
}

.platform-tab-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: stretch;
}

.platform-tab-triggers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.hero-tab-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.hero-tab-btn:hover {
  border-color: var(--border-mid);
  background: var(--bg-subtle);
}

.hero-tab-btn.active {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.10);
}

.hero-tab-btn i {
  font-size: 1.25rem;
  color: var(--brand);
}

.hero-tab-btn h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.hero-tab-btn p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.platform-tab-display {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  align-items: center;
}

.tab-details h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.tab-details p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.tab-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.tab-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-features li i {
  color: var(--emerald);
  font-size: 0.95rem;
}

.browser-mockup {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #F1F5F9;
  border-bottom: 1px solid var(--border-subtle);
}

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

.browser-dot.red { background: #EF4444; }
.browser-dot.yellow { background: #F59E0B; }
.browser-dot.green { background: #10B981; }

.browser-body img {
  width: 100%;
  height: auto;
  display: block;
}

/* COMPLIANCE */
.compliance-strip {
  padding: 44px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.7);
  margin-top: 60px;
}

.compliance-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.compliance-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.compliance-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.compliance-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.compliance-badge:hover {
  border-color: var(--brand-border);
  color: var(--brand);
  transform: translateY(-1px);
}

/* DEFINITION */
.definition-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 44px 48px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* BENEFITS GRID */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-mid);
}

.benefit-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--brand);
  font-size: 1.25rem;
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.deco-number {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  opacity: 0.35;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.service-card i {
  font-size: 1.4rem;
  color: var(--brand);
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CAROUSEL */
.carousel-container {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide { min-width: 100%; }

.carousel-slide-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.carousel-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  font-family: var(--font-display);
}

.carousel-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-mid);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.carousel-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--brand);
  color: var(--brand);
}

.carousel-dots { display: flex; gap: 8px; }

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-mid);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--brand);
  width: 24px;
  border-radius: 4px;
}

/* COMPARISON */
.comparison-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: var(--shadow-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.comparison-table th, .comparison-table td {
  padding: 20px 24px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid #F1F5F9;
}

.comparison-table th {
  background: #F8FAFC;
  font-weight: 800;
  color: var(--text-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
}

.comparison-table td:first-child {
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-table th:last-child, .comparison-table td:last-child {
  background: var(--brand-soft);
  color: var(--text-primary);
  font-weight: 700;
  border-left: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
}

/* AUDIENCE */
.best-fit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.best-fit-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.best-fit-item:hover {
  border-color: var(--brand-border);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.best-fit-item i {
  color: var(--brand);
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ABOUT */
.about-preview {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
}

.about-preview h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.about-preview p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* FAQ */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-num {
  color: var(--brand);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  margin-right: 14px;
}

.faq-question i {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 14px;
}

.faq-answer {
  padding: 0 28px 24px 54px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  display: none;
}

.faq-item.open {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-sm);
}

.faq-item.open .faq-answer { display: block; }

.faq-item.open .faq-question i {
  transform: rotate(180deg);
  color: var(--brand);
}

/* FINAL CTA */
.final-cta {
  padding: 96px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FB 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.final-cta-inner {
  max-width: 820px;
  margin: 0 auto;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 36px;
}

/* FOOTER */
.footer {
  background: var(--bg-dark);
  color: #94A3B8;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  border-radius: 6px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--brand);
  color: #FFFFFF;
}

.footer-links h4 {
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  font-family: var(--font-display);
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.88rem;
  color: #94A3B8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 3px;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover { color: #FFFFFF; }

/* PRICING SPECIFIC */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle, #E2E8F0);
  border-radius: 16px;
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.featured {
  border: 1.5px solid #5B50EB;
  box-shadow: 0 12px 36px -8px rgba(91, 80, 235, 0.18);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #5B50EB;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 3px 10px rgba(91, 80, 235, 0.35);
  z-index: 10;
  white-space: nowrap;
}

.pricing-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.pricing-tag.tag-green {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.pricing-tag.tag-purple {
  background: #EEF2FF;
  color: #5B50EB;
  border: 1px solid #C7D2FE;
}

.pricing-tag.tag-amber {
  background: #FEF3C7;
  color: #D97706;
  border: 1px solid #FDE68A;
}

.pricing-plan-name {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-primary, #0F172A);
  margin-bottom: 0;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  letter-spacing: -0.02em;
}

.pricing-plan-desc {
  font-size: 0.86rem;
  color: var(--text-muted, #64748B);
  margin-top: 12px;
  margin-bottom: 24px;
  line-height: 1.6;
  min-height: 42px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 26px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary, #0F172A);
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
}

.pricing-orig-price {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: var(--text-dim);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
  padding: 0;
}

.pricing-features li {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-secondary, #334155);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li i {
  font-size: 0.82rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* FORMS & CONTACT */
.form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

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

/* RESPONSIVE LAYOUT CLASSES */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.timeline-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 40px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 1100px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .platform-tab-grid { grid-template-columns: 1fr; }
  .platform-tab-display { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .timeline-card { grid-template-columns: 1fr; }
  .contact-layout-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section-padding { padding: 56px 0; }
  .section-padding-sm { padding: 36px 0; }
  .hero { padding: 88px 0 32px; }

  .hero-title {
    font-size: clamp(1.9rem, 7.5vw, 2.5rem);
    line-height: 1.15;
    margin: 12px auto;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 auto 20px;
  }

  .hero-audit-bar {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
    background: #FFFFFF;
    border: 2px solid var(--brand);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.18);
  }

  .hero-audit-bar i.fa-globe {
    display: none;
  }

  .hero-audit-bar input {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 0.92rem;
  }

  .hero-audit-bar .btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

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

  .platform-tab-section {
    padding: 18px 14px;
    margin-top: 24px;
    border-radius: var(--radius-lg);
  }

  .platform-tab-triggers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-tab-btn {
    padding: 12px 10px;
    gap: 10px;
    border-radius: 10px;
  }

  .hero-tab-btn i {
    font-size: 1.05rem;
  }

  .hero-tab-btn h4 {
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .hero-tab-btn p {
    display: none;
  }

  .platform-tab-display {
    padding: 18px 14px;
    border-radius: var(--radius-md);
    gap: 16px;
  }

  .tab-details h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .tab-details p {
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .tab-features {
    gap: 8px;
    margin-bottom: 18px;
  }

  .tab-features li {
    font-size: 0.82rem;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card {
    padding: 26px 18px;
    border-radius: var(--radius-lg);
  }

  .pricing-card.featured {
    background: linear-gradient(180deg, #F5F3FF 0%, #FFFFFF 140px);
    border: 2px solid var(--brand);
  }

  .pricing-plan-name {
    font-size: 1.25rem;
  }

  .pricing-price {
    font-size: 2.2rem;
  }

  .pricing-features {
    gap: 9px;
    margin-bottom: 24px;
  }

  .pricing-features li {
    font-size: 0.84rem;
  }

  .saas-card {
    padding: 24px 16px !important;
    border-radius: var(--radius-lg);
  }

  .benefit-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .benefit-card .icon-wrap {
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    color: var(--brand);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
  }

  .service-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .service-card i {
    color: var(--brand);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .carousel-slide-inner {
    grid-template-columns: 1fr;
    padding: 20px 14px;
    gap: 20px;
  }

  .carousel-text h3 {
    font-size: 1.25rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .compliance-strip {
    padding: 24px 0;
    margin-top: 32px;
  }

  .compliance-grid {
    gap: 8px;
  }

  .compliance-badge {
    font-size: 0.72rem;
    padding: 6px 12px;
  }

  .definition-card {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
  }

  .definition-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}
