@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors - Developer Lite Theme (Grapl style layout) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --accent-color: #494f8e; /* Brand Color - Magnus */
  --accent-hover: #373b6b;
  
  --border-color: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.95);
  
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  
  /* Layout */
  --max-width: 1200px;
  --nav-height: 80px;
}

/* Product Custom Themes */
.theme-hawki {
  --accent-color: #ffa500;
  --accent-hover: #e69500;
}

.theme-sentri {
  --accent-color: #ff5757;
  --accent-hover: #e64e4e;
}

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

html,
body {
  overflow-x: clip;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

/* Global Brand Text Utilities */
.text-hawki { 
  color: #ffa500; 
  font-weight: 600; 
}
.text-sentri { 
  color: #ff5757; 
  font-weight: 600; 
}

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

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.bg-secondary {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.legal-page .hero {
  padding-bottom: 24px;
}

.legal-shell {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.legal-nav a.is-active {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.legal-meta {
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.legal-prose h2,
.legal-prose h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-prose h2:first-child,
.legal-prose h3:first-child {
  margin-top: 0;
}

.legal-prose p,
.legal-prose li {
  font-size: 1rem;
  line-height: 1.75;
}

.legal-prose ol,
.legal-prose ul {
  padding-left: 24px;
  margin-bottom: 24px;
}

.legal-prose li + li {
  margin-top: 10px;
}

.cookie-consent-banner {
  position: fixed;
  z-index: 1300;
}

.cookie-consent-banner {
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 980px);
}

.cookie-consent-card {
  background: rgba(15, 23, 42, 0.96);
  color: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-consent-card h3,
.cookie-consent-card p,
.cookie-consent-card label,
.cookie-consent-card span,
.cookie-consent-card strong {
  color: inherit;
}

.cookie-consent-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.cookie-consent-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}

.cookie-consent-links {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.cookie-consent-links a {
  color: #ffffff;
  opacity: 0.82;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.cookie-consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-consent-btn--primary {
  background: #ffffff;
  color: var(--text-primary);
}

.cookie-consent-btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.cookie-consent-btn--secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.cookie-consent-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cookie-consent-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.cookie-consent-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cookie-consent-banner[hidden],
.cookie-consent-modal[hidden] {
  display: none !important;
}

.cookie-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
}

.cookie-consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
}

.cookie-consent-panel {
  position: relative;
  width: min(calc(100% - 32px), 720px);
  max-height: min(80vh, 760px);
  overflow: auto;
  margin: 80px auto;
  background: #ffffff;
  color: var(--text-primary);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  padding: 32px;
}

.cookie-consent-panel p {
  font-size: 1rem;
  margin-bottom: 0;
}

.cookie-consent-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.cookie-consent-panel-header h3 {
  margin-bottom: 10px;
}

.cookie-consent-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-consent-options {
  display: grid;
  gap: 16px;
}

.cookie-consent-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: var(--bg-secondary);
}

.cookie-consent-option input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

.cookie-consent-option strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-consent-option span {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.cookie-consent-status {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.cookie-consent-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.footer-cookie-settings {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
}

.footer-cookie-settings:hover {
  color: var(--text-primary);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: var(--max-width);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75) !important; /* Force override inline styles */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255,255,255,0.6);
  border-bottom: none !important; /* Force override inline styles */
  display: flex;
  align-items: center;
  z-index: 1000;
}

.nav-lang-selector {
  position: relative;
  min-width: 116px;
  justify-content: center;
  display: none !important;
}

.nav-lang-selector [data-lucide="globe"] {
  display: none !important;
}

.nav-lang-selector select {
  min-width: 92px;
  width: 100%;
  padding: 4px 20px 4px 2px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1.2;
  text-align: center;
  text-align-last: center;
  cursor: pointer !important;
}

.nav-lang-selector::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  width: 100%;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand i {
  color: #494f8e !important; /* Force Magnus corporate blue regardless of page theme */
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

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

.btn-secondary:hover {
  background-color: rgba(0,0,0,0.05);
  color: var(--text-primary);
}

.btn-link {
  color: var(--text-secondary);
  background: transparent;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-link i {
  color: var(--accent-color);
}

.btn-link:hover {
  color: var(--text-primary);
}

/* Hero Section Split Layout */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.hero-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image--homepage {
  display: flex;
  justify-content: center;
}

.hero-image--homepage img {
  width: 130%;
  max-width: none;
}

/* Video Hero Background */
.hero-video-wrapper {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center; /* Vertical centering */
  padding-top: var(--nav-height); /* Account for absolute nav */
  padding-bottom: 0;
}
.hero-video-wrapper p {
  color: #e2e8f0;
}
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Smoothly blend video into the section below */
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65); /* Dark slate overlay for text legibility */
  z-index: 1;
  /* Mask overlay equivalently so the text fades cleanly over the transition */
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
.hero-video-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Edge Masking Utilities */
.edge-fade-horizontal {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

/* Viewport Visibility Utilities */
@media (max-width: 768px) {
  .desktop-only { display: none !important; }
}
@media (min-width: 769px) {
  .mobile-only { display: none !important; }
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  opacity: 0.8;
  animation: bounce 2s infinite;
  z-index: 5;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.2s ease;
}
.scroll-hint:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

/* Two Column Text Section */
.text-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.text-split h2 {
  max-width: 400px;
  margin-bottom: 0;
}

.support-image-panel,
.section-media-panel {
  position: relative;
  min-height: var(--section-media-min-height, 360px);
  border-radius: 32px;
  overflow: hidden;
  background: var(--section-media-bg, var(--bg-primary));
}

.support-image-panel:not(.support-image-panel--no-fade)::after,
.section-media-panel:not(.section-media-panel--no-fade)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
}

.section-media-panel--no-fade::after {
  content: none !important;
  background: none !important;
  display: none;
}

.support-image-photo,
.section-media-photo {
  width: 100%;
  height: 100%;
  min-height: var(--section-media-min-height, 360px);
  object-fit: cover;
  display: block;
}

.section-media-photo--contain {
  object-fit: contain;
}

.section-media-photo--multiply {
  mix-blend-mode: multiply;
}

.section-media-photo--screen {
  mix-blend-mode: screen;
}

.section-media-photo--shadow {
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.08));
}

.fork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px;
  width: 100%;
}

.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 32px;
}

/* Universal Grid Cards */
.card {
  background: var(--bg-primary);
  border-radius: 32px;
  padding: 32px 40px;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  row-gap: 16px;
  column-gap: 16px;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.card h3 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0 !important;
  min-width: 0;
  overflow-wrap: anywhere;
}

.card p {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0 !important;
  min-width: 0;
  overflow-wrap: anywhere;
}

.card .card-icon {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin-bottom: 0 !important;
}

.card .card-icon i, .card .card-icon svg {
  width: 28px;
  height: 28px;
}

/* Platform-specific supporting patterns */
.platform-list-grid {
  display: grid;
  gap: 16px;
}

.platform-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
}

.platform-list-grid.is-primary .platform-list-item {
  background: var(--bg-primary);
}

.platform-list-item i,
.platform-list-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.platform-list-item span {
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

.platform-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 24px;
}

.platform-compact-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  text-align: left;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.platform-compact-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.platform-compact-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--accent-color);
  margin-bottom: 0 !important;
}

.platform-compact-card .card-icon i,
.platform-compact-card .card-icon svg {
  width: 28px;
  height: 28px;
}

.platform-compact-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

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

.platform-feature-stack {
  display: grid;
  gap: 20px;
}

.platform-feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 24px 28px;
}

.platform-feature-row .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin-bottom: 0 !important;
}

.platform-feature-row .card-icon i,
.platform-feature-row .card-icon svg {
  width: 28px;
  height: 28px;
}

.platform-feature-row h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.platform-feature-row p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Contact page */
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 32px;
  align-items: start;
}

.contact-form-panel,
.contact-side-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.contact-form-panel {
  padding: 36px;
}

.contact-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.contact-panel-kicker i,
.contact-panel-kicker svg {
  width: 16px;
  height: 16px;
}

.contact-panel-intro h2 {
  max-width: none;
  margin-bottom: 16px;
}

.contact-panel-intro p {
  margin-bottom: 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field.is-full {
  grid-column: 1 / -1;
}

.contact-field label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(73, 79, 142, 0.45);
  box-shadow: 0 0 0 4px rgba(73, 79, 142, 0.1);
  background: var(--bg-primary);
}

.contact-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.contact-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent-color);
}

.contact-form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.contact-form-actions p {
  font-size: 0.95rem;
  margin: 0;
}

.contact-side {
  display: grid;
  gap: 24px;
}

.contact-side-card {
  padding: 28px;
}

.contact-side-card h3 {
  margin-bottom: 12px;
}

.contact-side-card p:last-child {
  margin-bottom: 0;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-link i,
.contact-link svg {
  width: 18px;
  height: 18px;
  color: var(--accent-color);
}

.contact-link:hover {
  color: var(--accent-color);
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.faq-intro h2 {
  margin-bottom: 20px;
  max-width: 360px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.06);
}

.faq-item.is-open {
  border-color: rgba(73, 79, 142, 0.2);
  box-shadow: 0 18px 48px rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  text-align: left;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--accent-color);
}

.faq-toggle {
  flex-shrink: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--accent-color);
}

.faq-answer {
  padding: 0 28px 24px;
}

.faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.faq-answer[hidden] {
  display: none;
}

/* Animations managed by GSAP now */
.fade-up {
  opacity: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
}

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

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  min-width: 0;
}

.footer-bottom > div a,
.footer-bottom > div button {
  white-space: normal;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero-split, .text-split, .contact-shell, .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-image--homepage img {
    width: 100%;
    max-width: 100%;
  }

  .faq-intro {
    position: static;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 40px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-video-wrapper {
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 112px;
    min-height: 100svh;
    align-items: flex-start;
  }

  .hero-video-content {
    padding-bottom: 40px;
  }

  .scroll-hint {
    bottom: 20px;
  }

  .grid-2x2 {
    grid-template-columns: 1fr !important;
  }

  .contact-form-panel,
  .contact-side-card {
    border-radius: 24px;
  }

  .contact-form-panel {
    padding: 24px;
  }

  .contact-form-grid,
  .contact-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .faq-question {
    padding: 20px 22px;
    font-size: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-bottom > div {
    width: 100%;
  }

  .faq-answer {
    padding: 0 22px 22px;
  }

  .platform-feature-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }

  .platform-compact-card {
    padding: 24px;
  }

  .cookie-consent-banner {
    bottom: 16px;
    width: calc(100% - 20px);
  }

  .cookie-consent-card,
  .cookie-consent-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .cookie-consent-panel {
    width: calc(100% - 20px);
    margin: 48px auto;
  }

  .cookie-consent-option {
    grid-template-columns: auto 1fr;
  }

  .cookie-consent-status {
    grid-column: 2;
  }
}

@media (max-width: 768px) and (max-height: 760px) {
  .scroll-hint {
    display: none;
  }
}

/* --- 5 CARD VARIATIONS CSS --- */

/* Variation 2: Horizontal */
.card-horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}
.card-horizontal .card-image { width: 30%; height: auto; object-fit: contain; margin-bottom: 0; }
.card-horizontal .card-content { width: 70%; text-align: left; }
.card-horizontal .card-icon { margin-bottom: 12px; }

/* --- PROFILE CARD UI --- */
.card-profile {
  background: var(--bg-primary);
  border-radius: 32px;
  padding: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  margin-bottom: 24px;
}
.card-profile:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}
.card-profile-img-wrap {
  width: 100%;
  height: 250px;
  background: var(--bg-secondary);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
}
.card-profile-img-wrap img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.card-profile-content {
  padding: 0 8px 8px 8px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-profile-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.card-profile-title h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}
.card-profile-title .icon-badge {
  color: var(--accent-color); /* Dynamically maps to the product theme */
  width: 24px;
  height: 24px;
}
.card-profile-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 32px;
  flex-grow: 1;
}
.card-profile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-profile-stats {
  display: flex;
  gap: 16px;
}
.card-profile-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.card-profile-stat i,
.card-profile-stat svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}
.card-profile-btn {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.card-profile:hover .card-profile-btn {
  background: var(--accent-color);
  color: #ffffff;
}
.card-profile-btn i,
.card-profile-btn svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}

@media (hover: none), (pointer: coarse) {
  .card-profile .card-profile-btn {
    background: var(--accent-color);
    color: #ffffff;
  }
}

/* Variation 4: Colored Brand Card */
.card-brand {
  background: var(--accent-color);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: visible;
  margin-top: 60px; /* space for floated image */
}
.card-brand .card-image { 
  width: 100%;
  margin-top: -80px; 
  height: 180px; 
  object-fit: contain;
  filter: drop-shadow(0 20px 20px rgba(0,0,0,0.3));
  margin-bottom: 24px;
}
.card-brand h3, .card-brand p { color: #ffffff; }
.card-brand .btn-secondary { color: #ffffff; border-color: rgba(255,255,255,0.3); }

/* Variation 5: Outlined Hover Card */
.card-outline {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 2px dashed var(--border-color);
  padding: 40px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.card-outline .card-image { width: 100%; height: 200px; object-fit: contain; margin-bottom: 24px; }
.card-outline:hover {
  border-color: var(--accent-color);
  background: var(--bg-secondary);
}

/* --- ALTERNATING INDUSTRY CARDS --- */
.card-industry {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 64px;
  background: var(--bg-primary);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  margin-bottom: 48px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border-color);
}
.card-industry:last-child {
  margin-bottom: 0;
}
.card-industry:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}
.card-industry.reverse {
  flex-direction: row-reverse;
}
.card-industry .card-image-wrap {
  flex: 0 0 350px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px dashed rgba(73, 79, 142, 0.4);
  background: rgba(73, 79, 142, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.card-industry .card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  mix-blend-mode: multiply;
}
.card-industry:hover .card-image-wrap img {
  transform: scale(1.05);
}
.card-industry .card-content {
  flex: 1;
}

@media (max-width: 900px) {
  .card-industry, .card-industry.reverse {
    flex-direction: column;
    padding: 32px;
    gap: 32px;
    text-align: center;
  }
  .card-industry .card-image-wrap {
    flex: 0 0 250px;
    width: 250px;
    padding: 32px;
  }
}

/* --- INTERACTIVE VERTICAL TABS --- */
.vertical-tabs-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  background: var(--bg-primary);
  border-radius: 32px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  overflow: hidden;
  align-items: start;
}

.vertical-tabs-sidebar {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  padding: 32px 0;
  height: 100%;
  min-width: 0;
}

.tab-btn {
  background: transparent;
  border: none;
  text-align: left;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tab-btn:hover {
  background: rgba(73, 79, 142, 0.05);
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--accent-color);
  background: var(--bg-primary);
}

.tab-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-color);
}

.vertical-tabs-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
  width: 100%;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.tab-pane.active {
  display: block;
}

.tab-header-layout {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 32px;
}

.tab-header-layout > div:first-child {
  flex: 1 1 250px;
}

.tab-image-wrap {
  flex: 0 1 450px;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  border: 1px solid rgba(73, 79, 142, 0.1);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.tab-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .vertical-tabs-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .vertical-tabs-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 8px;
    width: 100%;
  }
  .vertical-tabs-content {
    padding: 32px 24px;
    width: 100%;
  }
  .tab-btn {
    padding: 12px 16px;
    border-radius: 8px;
  }
  .tab-btn.active::before {
    display: none;
  }
  .tab-btn.active {
    background: rgba(73, 79, 142, 0.1);
  }
  .tab-header-layout {
    flex-direction: column-reverse;
    text-align: center;
    gap: 24px;
  }
  .tab-header-layout > div:first-child,
  .tab-pane,
  .tab-image-wrap {
    width: 100%;
    min-width: 0;
  }
  .tab-image-wrap {
    margin: 0 auto;
    max-width: 450px;
    flex: none;
  }
}

/* --- INFINITE SCROLLING MARQUEE --- */
.marquee-container {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 0;
  margin-bottom: 64px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-card {
  position: relative;
  width: 320px;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: white;
}
.marquee-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.marquee-card:hover img {
  transform: scale(1.05);
}
.marquee-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 20px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
}
.marquee-overlay h3 {
  margin: 0;
  font-size: 1.15rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}
