/* ── NucleusStudio – Slack-like redesign ────────────────────────── */
:root {
  --color-primary:   #5B339E;   /* soft purple  */
  --color-accent:    #8B5CF6;   /* lavender     */
  --color-accent2:   #3B82F6;   /* sky blue     */
  --color-success:   #16A34A;
  --color-dark:      #2F1060;   /* pastel dark  */
  --color-surface:   #F5EEFF;
  --color-text:      #231042;
  --color-muted:     #6B7280;
  --color-border:    #E5E7EB;
  --color-white:     #FFFFFF;
  --radius-lg:       16px;
  --radius-md:       10px;
  --radius-sm:       6px;
  --shadow-md:       0 4px 24px rgba(74,29,138,.12);
  --shadow-lg:       0 12px 48px rgba(74,29,138,.18);
  --nav-height:      68px;
  --font-sans:       'Inter','Helvetica Neue',Arial,sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── UTILITIES ───────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1400px; }

.section-pad { padding: 96px 0; }
.section-pad--sm { padding: 64px 0; }
.section-pad--lg { padding: 128px 0; }

/* ── Anchor offset — compensate fixed navbar ──────────────────── */
[id] { scroll-margin-top: calc(var(--nav-height) + 20px); }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(124,58,237,.1);
  color: var(--color-accent);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  padding: 4px 12px; border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.badge--green { background: rgba(22,163,74,.12); color: #16a34a; }
.badge--blue  { background: rgba(37,99,235,.12);  color: #2563eb; }

.chip {
  display: inline-block;
  background: rgba(124,58,237,.08);
  color: var(--color-accent);
  font-size: 12px; font-weight: 600; padding: 2px 10px;
  border-radius: 999px; letter-spacing: .03em;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────────────── */
.display-1 { font-size: clamp(40px, 5.5vw, 72px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.display-2 { font-size: clamp(32px, 4vw,  56px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.display-3 { font-size: clamp(26px, 3vw,  42px); font-weight: 700; line-height: 1.2;  letter-spacing: -.015em; }
.h4        { font-size: 20px; font-weight: 700; line-height: 1.3; }
.body-lg   { font-size: 18px; line-height: 1.7; }
.body-md   { font-size: 16px; line-height: 1.65; }
.body-sm   { font-size: 14px; line-height: 1.6; }

.text-white  { color: var(--color-white) !important; }
.text-muted  { color: var(--color-muted) !important; }
.text-accent { color: var(--color-accent) !important; }

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  padding: 12px 24px; border-radius: var(--radius-sm);
  cursor: pointer; border: none; transition: all .2s ease; white-space: nowrap;
}
.btn--primary {
  background: var(--color-accent); color: #fff;
}
.btn--primary:hover { background: #6d28d9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,.4); }

.btn--outline {
  background: transparent; color: var(--color-white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--outline-dark {
  background: transparent; color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn--outline-dark:hover { background: var(--color-accent); color: #fff; }

.btn--white {
  background: #fff; color: var(--color-primary);
}
.btn--white:hover { background: #f3f4f6; transform: translateY(-1px); }

.btn--ghost {
  background: transparent; color: var(--color-text);
  border: 2px solid var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

.btn--lg { padding: 16px 32px; font-size: 17px; border-radius: 8px; }
.btn--sm { padding: 8px 16px; font-size: 13px; }

/* ── NAVBAR ──────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s, box-shadow .3s;
}
.navbar--scrolled {
  background: rgba(27,0,51,.97);
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
  backdrop-filter: blur(12px);
}

.navbar__inner {
  display: flex; align-items: center; gap: 32px; width: 100%;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}

.navbar__logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800; color: #fff; flex-shrink: 0;
  text-decoration: none;
}
.navbar__logo-icon {
  width: 32px; height: 32px; background: var(--color-accent);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: #fff;
}

.navbar__nav {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.navbar__nav a {
  color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500;
  padding: 6px 12px; border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.navbar__nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.navbar__nav a.active { color: #fff; }

.navbar__dropdown {
  position: relative;
}
.navbar__dropdown-toggle {
  display: flex; align-items: center; gap: 4px;
  color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500;
  padding: 6px 12px; border-radius: var(--radius-sm);
  background: none; border: none; cursor: pointer; font-family: inherit;
  transition: color .2s, background .2s;
}
.navbar__dropdown-toggle:hover { color: #fff; background: rgba(255,255,255,.08); }
.navbar__dropdown-toggle svg { transition: transform .2s; }
.navbar__dropdown:hover .navbar__dropdown-toggle svg { transform: rotate(180deg); }

.navbar__dropdown-menu {
  display: none; position: absolute; top: calc(100% + 10px); left: -16px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 25px 60px rgba(47,16,96,.15), 0 0 0 1px rgba(0,0,0,.04);
  padding: 0; min-width: 680px;
  border: none;
}
.navbar__dropdown-menu::before {
  content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
@keyframes megaFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.navbar__dropdown:hover .navbar__dropdown-menu {
  display: flex; flex-direction: column; gap: 0;
  animation: megaFadeIn .2s ease-out;
}

.navbar__dropdown-menu a {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--color-text); text-decoration: none;
  transition: background .15s, transform .15s;
}
.navbar__dropdown-menu a:hover {
  background: var(--color-surface);
  transform: translateX(2px);
}
.navbar__dropdown-menu a.active { background: rgba(124,58,237,.07); }

.navbar__dropdown-menu a .menu-icon {
  width: 40px; height: 40px;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform .2s;
  background: rgba(124,58,237,.08);
}
.navbar__dropdown-menu a:hover .menu-icon { transform: scale(1.08); }

.navbar__dropdown-menu a span { display: block; }
.navbar__dropdown-menu a .menu-name { font-weight: 600; color: var(--color-text); font-size: 14px; }
.navbar__dropdown-menu a .menu-desc { font-size: 12.5px; color: var(--color-muted); margin-top: 2px; line-height: 1.4; }

/* ── Mega menu layout ───────────────────────────────────────────── */
.mega-columns { display: flex; gap: 0; padding: 24px 24px 16px; }
.mega-col {
  flex: 1; display: flex; flex-direction: column;
  border-right: 1px solid var(--color-border); padding-right: 16px; margin-right: 16px;
}
.mega-col:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.mega-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--color-muted); padding: 4px 14px 10px; display: block; white-space: nowrap;
}
.mega-footer {
  display: flex; flex-wrap: wrap; gap: 4px;
  background: linear-gradient(to bottom, var(--color-surface), rgba(245,238,255,.4));
  border-top: 1px solid var(--color-border);
  padding: 16px 24px; margin: 0;
  border-radius: 0 0 16px 16px;
}
.mega-footer > a { flex: 1; min-width: 160px; }

/* ── Mega icon per-module colors ────────────────────────────────── */
.navbar__dropdown-menu a[href*="nth-projects"] .menu-icon   { background: rgba(59,130,246,.10); color: #3B82F6; }
.navbar__dropdown-menu a[href*="nth-files"] .menu-icon      { background: rgba(16,163,74,.10);  color: #16A34A; }
.navbar__dropdown-menu a[href*="nth-realtime"] .menu-icon    { background: rgba(139,92,246,.10); color: #8B5CF6; }
.navbar__dropdown-menu a[href*="#email"] .menu-icon          { background: rgba(249,115,22,.10); color: #F97316; }
.navbar__dropdown-menu a[href*="#ai"] .menu-icon             { background: rgba(236,72,153,.10); color: #EC4899; }
.navbar__dropdown-menu a[href*="#modules"] .menu-icon        { background: rgba(202,138,4,.10);  color: #ca8a04; }
.mega-footer a[href="product.html"] .menu-icon              { background: rgba(91,51,158,.10);  color: #5B339E; }
.mega-footer a[href*="security"] .menu-icon                 { background: rgba(14,165,233,.10); color: #0EA5E9; }
.mega-footer a[href*="vs-competitors"] .menu-icon           { background: rgba(244,63,94,.10);  color: #F43F5E; }


.navbar__actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}

/* ── Nav AI Chat button ─────────────────────────────────────────── */
.navbar__ai-chat {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.9); font-size: 13px; font-weight: 600;
  padding: 5px 12px 5px 6px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(139,92,246,.25), rgba(139,92,246,.10));
  border: 1px solid rgba(139,92,246,.35);
  transition: all .25s ease; cursor: pointer; text-decoration: none;
  white-space: nowrap;
}
.navbar__ai-chat img {
  width: 24px; height: 24px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.navbar__ai-chat:hover {
  background: linear-gradient(135deg, rgba(139,92,246,.45), rgba(139,92,246,.20));
  border-color: rgba(139,92,246,.6); color: #fff;
  transform: translateY(-1px); box-shadow: 0 4px 12px rgba(139,92,246,.3);
}
.navbar__ai-chat .ai-pulse {
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
  display: inline-block; animation: aiPulse 2s ease-in-out infinite;
}
@keyframes aiPulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.navbar__signin {
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500;
  padding: 8px 16px; transition: color .2s;
}
.navbar__signin:hover { color: #fff; }

.navbar__ham {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.navbar__ham span {
  display: block; width: 22px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .3s, opacity .3s;
}
.navbar__ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__ham.open span:nth-child(2) { opacity: 0; }
.navbar__ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile-menu {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: var(--color-dark); padding: 16px 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-direction: column; gap: 4px; z-index: 999;
}
.navbar__mobile-menu.open { display: flex; }
.navbar__mobile-menu a {
  color: rgba(255,255,255,.8); font-size: 16px; font-weight: 500;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}
.navbar__mobile-menu a:hover { color: #fff; }
.navbar__mobile-menu .btn { margin-top: 12px; width: 100%; justify-content: center; }
.navbar__mobile-menu .navbar__ai-chat {
  margin-top: 8px; padding: 10px 14px; border-radius: 12px;
  font-size: 15px; justify-content: flex-start; width: 100%;
}

/* Hide AI Chat text on very small desktop nav */
@media (max-width: 1100px) and (min-width: 769px) {
  .navbar__nav .navbar__ai-chat span:not(.ai-pulse) { display: none; }
  .navbar__nav .navbar__ai-chat { padding: 5px 8px; border-radius: 50%; }
}

/* ── VOICE AI SECTION ────────────────────────────────────────────── */
.voice-ai-section {
  background: linear-gradient(160deg, #12043a 0%, #2F1060 55%, #3d1680 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.voice-ai-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 75% 50%, rgba(139,92,246,.22) 0%, transparent 65%);
}
.voice-ai-section .split__list-icon svg { color: #5eead4; }

/* Voice UI Mockup */
.voice-mockup {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
  max-width: 480px;
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
}
.voice-mockup__header {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 18px;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.voice-mockup__dot {
  width: 11px; height: 11px; border-radius: 50%; display: inline-block;
}
.voice-mockup__title {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.45);
  letter-spacing: .04em; margin-left: 6px;
}
.voice-mockup__body {
  padding: 20px 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.voice-msg {
  display: flex; align-items: flex-start; gap: 10px;
}
.voice-msg--user { flex-direction: row; }
.voice-msg--ai   { flex-direction: row; }
.voice-msg__icon {
  font-size: 18px; line-height: 1; flex-shrink: 0; margin-top: 2px;
}
.voice-msg__icon--ai {
  font-size: 11px; font-weight: 800;
  background: var(--color-accent); color: #fff;
  border-radius: 6px; width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.voice-msg__bubble {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 0 12px 12px 12px;
  padding: 8px 14px;
  font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.55;
}
.voice-msg__bubble--ai {
  background: rgba(139,92,246,.18);
  border-color: rgba(139,92,246,.3);
  border-radius: 12px 12px 12px 0;
  color: rgba(255,255,255,.9);
}
.voice-mockup__mic {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.voice-mockup__mic-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, #3B82F6 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(139,92,246,.5);
  animation: micPulse 2s ease-in-out infinite;
}
@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(139,92,246,.5); }
  50%       { box-shadow: 0 0 36px rgba(139,92,246,.85); }
}
.voice-mockup__waves {
  display: flex; align-items: center; gap: 3px; height: 28px;
}
.voice-mockup__waves span {
  display: block; width: 3px; border-radius: 3px;
  background: rgba(139,92,246,.6);
  animation: waveBar 1.2s ease-in-out infinite;
}
.voice-mockup__waves span:nth-child(1) { height: 8px;  animation-delay: 0s; }
.voice-mockup__waves span:nth-child(2) { height: 18px; animation-delay: .15s; }
.voice-mockup__waves span:nth-child(3) { height: 28px; animation-delay: .3s; }
.voice-mockup__waves span:nth-child(4) { height: 18px; animation-delay: .45s; }
.voice-mockup__waves span:nth-child(5) { height: 8px;  animation-delay: .6s; }
@keyframes waveBar {
  0%, 100% { transform: scaleY(1);   opacity: .5; }
  50%       { transform: scaleY(1.8); opacity: 1;  }
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  background: var(--color-dark);
  padding: 160px 0 96px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.4), transparent);
}

.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero__copy { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,.2); border: 1px solid rgba(124,58,237,.3);
  color: #c4b5fd; font-size: 13px; font-weight: 600; letter-spacing: .05em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 24px;
  text-transform: uppercase;
}
.hero__title { color: #fff; margin-bottom: 20px; }
.hero__title em { font-style: normal; color: #c4b5fd; }
.hero__subtitle { color: rgba(255,255,255,.75); margin-bottom: 36px; max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero__screen {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
  overflow: hidden; width: 100%; max-width: 560px;
}
.hero__screen-bar {
  display: flex; gap: 6px; margin-bottom: 12px;
}
.hero__screen-bar span {
  width: 10px; height: 10px; border-radius: 50%;
}
.hero__screen-bar span:nth-child(1) { background: #ff5f57; }
.hero__screen-bar span:nth-child(2) { background: #febc2e; }
.hero__screen-bar span:nth-child(3) { background: #28c840; }
.hero__screen-content {
  background: #1E0848; border-radius: 10px; padding: 20px; min-height: 300px;
  display: flex; flex-direction: column; gap: 12px;
}
.hero__mock-ui {
  display: grid; grid-template-columns: 200px 1fr; gap: 12px; height: 300px;
}
.hero__mock-sidebar {
  background: rgba(124,58,237,.15); border-radius: 8px; padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.hero__mock-sidebar-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: 6px; cursor: default;
}
.hero__mock-sidebar-item.active {
  background: rgba(124,58,237,.3);
}
.hero__mock-sidebar-item .dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.3);
}
.hero__mock-sidebar-item.active .dot { background: #c4b5fd; }
.hero__mock-sidebar-item .label {
  font-size: 11px; color: rgba(255,255,255,.6); font-weight: 500;
}
.hero__mock-sidebar-item.active .label { color: #fff; }

.hero__mock-main {
  display: flex; flex-direction: column; gap: 8px; overflow: hidden;
}
.hero__mock-card {
  background: rgba(255,255,255,.05); border-radius: 8px; padding: 10px 12px;
  border-left: 3px solid var(--color-accent);
}
.hero__mock-card-title { font-size: 10px; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.hero__mock-card-val { font-size: 18px; font-weight: 700; color: #fff; }
.hero__mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero__mock-bar {
  height: 6px; background: rgba(255,255,255,.08); border-radius: 3px; margin-top: 6px; overflow: hidden;
}
.hero__mock-bar-fill { height: 100%; border-radius: 3px; background: var(--color-accent); }
.hero__mock-task {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.04); padding: 6px 10px; border-radius: 6px;
}
.hero__mock-check {
  width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.3);
  border-radius: 3px; flex-shrink: 0;
}
.hero__mock-check.done { background: var(--color-accent); border-color: var(--color-accent); }
.hero__mock-task-text { font-size: 10px; color: rgba(255,255,255,.6); }
.hero__mock-task-text.done { text-decoration: line-through; color: rgba(255,255,255,.3); }

/* ── LOGO STRIP ──────────────────────────────────────────────────── */
.logostrip {
  background: var(--color-surface);
  padding: 40px 0; border-bottom: 1px solid var(--color-border);
}
.logostrip__label {
  text-align: center; font-size: 13px; font-weight: 600; color: var(--color-muted);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 28px;
}
.logostrip__grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 40px 64px;
}
.logostrip__logo {
  font-size: 15px; font-weight: 700; color: rgba(27,0,51,.25);
  letter-spacing: -.01em; transition: color .2s;
}
.logostrip__logo:hover { color: var(--color-primary); }

/* ── FEATURE SPLIT ────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__copy {}
.split__copy .badge { margin-bottom: 12px; }
.split__copy h2 { margin-bottom: 16px; }
.split__copy p { color: var(--color-muted); margin-bottom: 24px; }

.split__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.split__list-item {
  display: flex; align-items: flex-start; gap: 12px;
}
.split__list-icon {
  width: 22px; height: 22px; background: rgba(124,58,237,.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.split__list-icon svg { width: 11px; height: 11px; color: var(--color-accent); }

.split__visual {}
.split__img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.split__screenshot {
  background: linear-gradient(135deg, #3B1680 0%, #5B2DB0 50%, #3B1680 100%);
  min-height: 340px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.split__screenshot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: inherit;
}

/* ── SECTION HEADER ──────────────────────────────────────────────── */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--color-muted); }

/* ── FEATURE GRID ────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(124,58,237,.2);
}
.feature-card__icon {
  width: 48px; height: 48px; background: rgba(124,58,237,.1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; flex-shrink: 0;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--color-muted); font-size: 14px; line-height: 1.6; }

/* Feature grid on dark bg */
.feature-card--dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
}
.feature-card--dark h3 { color: #fff; }
.feature-card--dark p  { color: rgba(255,255,255,.65); }
.feature-card--dark .feature-card__icon { background: rgba(124,58,237,.25); }

/* ── STATS BAR ───────────────────────────────────────────────────── */
.stats-bar {
  background: var(--color-primary);
  padding: 48px 0;
}
.stats-bar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.stats-bar__num { font-size: 42px; font-weight: 800; color: #fff; line-height: 1; }
.stats-bar__label { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 6px; }

/* ── DARK SECTION ────────────────────────────────────────────────── */
.section--dark { background: var(--color-dark); color: #fff; }
.section--dark .section-header h2 { color: #fff; }
.section--dark .section-header p   { color: rgba(255,255,255,.65); }

.section--purple { background: #4A2494; color: #fff; }
.section--surface { background: var(--color-surface); }

/* ── CARD CTA ────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #6d28d9 100%);
  border-radius: 20px; padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; font-size: 36px; font-weight: 800; max-width: 480px; }
.cta-banner p { color: rgba(255,255,255,.8); margin-top: 8px; max-width: 440px; }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── PRICING ─────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start;
}
.pricing-card {
  background: #fff; border: 2px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  transition: box-shadow .2s, border-color .2s;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card--popular {
  border-color: var(--color-accent);
  position: relative;
  box-shadow: 0 0 0 4px rgba(124,58,237,.12);
}
.pricing-card--popular .pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--color-accent); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px;
  letter-spacing: .04em; text-transform: uppercase;
}
.pricing-card__name { font-size: 14px; font-weight: 700; color: var(--color-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.pricing-card__price { font-size: 44px; font-weight: 800; color: var(--color-text); line-height: 1; margin-bottom: 4px; }
.pricing-card__price span { font-size: 16px; font-weight: 500; color: var(--color-muted); }
.pricing-card__users { font-size: 14px; color: var(--color-muted); margin-bottom: 20px; }
.pricing-card__desc { font-size: 14px; color: var(--color-muted); margin-bottom: 24px; min-height: 48px; }
.pricing-card__divider { height: 1px; background: var(--color-border); margin-bottom: 24px; }
.pricing-card__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-card__feature {
  display: flex; align-items: flex-start; gap: 10px; font-size: 14px;
}
.pricing-card__feature-check {
  width: 18px; height: 18px; background: rgba(124,58,237,.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  color: var(--color-accent); font-size: 10px;
}
.pricing-card .btn { width: 100%; justify-content: center; }

/* ── ADDON GRID ──────────────────────────────────────────────────── */
.addon-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
}
.addon-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 22px;
  transition: box-shadow .15s, border-color .15s;
}
.addon-card:hover { box-shadow: var(--shadow-md); border-color: rgba(124,58,237,.25); }
.addon-card__icon { width: 40px; height: 40px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; color: var(--color-accent); }
.addon-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.addon-card p { font-size: 13px; color: var(--color-muted); }

/* ── TESTIMONIAL ─────────────────────────────────────────────────── */
.testimonial {
  background: linear-gradient(135deg, #3B1680 0%, #5B2DB0 100%);
  border-radius: 20px; padding: 56px 48px;
  position: relative; overflow: hidden;
}
.testimonial::before {
  content: '"'; position: absolute; top: -20px; left: 24px;
  font-size: 200px; color: rgba(124,58,237,.15); font-family: Georgia, serif; line-height: 1;
}
.testimonial__quote {
  font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; line-height: 1.5;
  color: #fff; max-width: 820px; position: relative; z-index: 1;
  font-style: italic; margin-bottom: 28px;
}
.testimonial__author {
  display: flex; align-items: center; gap: 14px;
}
.testimonial__avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testimonial__name { font-size: 15px; font-weight: 700; color: #fff; }
.testimonial__role { font-size: 13px; color: rgba(255,255,255,.6); }

/* ── SECURITY ITEMS ──────────────────────────────────────────────── */
.security-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.security-item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 28px;
}
.security-item__icon { width: 44px; height: 44px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.security-item h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.security-item p { font-size: 14px; color: rgba(255,255,255,.65); }

/* ── STEP LIST ───────────────────────────────────────────────────── */
.step-list { display: flex; flex-direction: column; gap: 0; }
.step-item {
  display: flex; gap: 20px; padding-bottom: 32px;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: ''; position: absolute; left: 19px; top: 44px;
  bottom: 0; width: 2px;
  background: rgba(124,58,237,.2);
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; flex-shrink: 0; z-index: 1;
}
.step-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step-body p   { font-size: 14px; color: var(--color-muted); }

/* ── SOLUTIONS GRID ──────────────────────────────────────────────── */
.solutions-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.solution-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  transition: box-shadow .2s, transform .2s;
}
.solution-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.solution-card__badge { margin-bottom: 12px; }
.solution-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.solution-card p { color: var(--color-muted); margin-bottom: 20px; }
.solution-card__list { display: flex; flex-direction: column; gap: 8px; }
.solution-card__list-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--color-text);
}
.solution-card__list-item::before {
  content: '✓'; color: var(--color-accent); font-weight: 700; flex-shrink: 0;
}

/* ── CONTACT ─────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 5fr 4fr; gap: 64px; align-items: start;
}
.contact-form {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600; color: var(--color-text);
  margin-bottom: 6px; letter-spacing: .01em;
}
.form-control {
  width: 100%; padding: 11px 14px; font-size: 15px; font-family: inherit;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  color: var(--color-text); background: #fff; transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-control:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M4.293 5.293a1 1 0 011.414 0L8 7.586l2.293-2.293a1 1 0 111.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input[type="checkbox"] { margin-top: 2px; accent-color: var(--color-accent); flex-shrink: 0; }
.form-check label { font-size: 13px; color: var(--color-muted); line-height: 1.5; }
.form-check a { color: var(--color-accent); text-decoration: underline; }
.form-success {
  background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.3);
  border-radius: var(--radius-md); padding: 20px; margin-top: 16px; display: none;
}
.form-success-title { font-weight: 700; color: #15803d; margin-bottom: 4px; }
.form-success p { font-size: 14px; color: #166534; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 24px;
}
.contact-info-card__icon { width: 40px; height: 40px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; }
.contact-info-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.contact-info-card p { font-size: 14px; color: var(--color-muted); }
.contact-info-card a { color: var(--color-accent); font-weight: 600; }

/* ── COMPLIANCE TABLE ────────────────────────────────────────────── */
.compliance-list { display: flex; flex-direction: column; gap: 12px; }
.compliance-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md); padding: 16px 20px;
}
.compliance-item__art {
  background: var(--color-accent); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  white-space: nowrap; margin-top: 2px;
}
.compliance-item p { font-size: 14px; color: rgba(255,255,255,.8); }

/* ── INCIDENT STEPS ──────────────────────────────────────────────── */
.incident-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.incident-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 24px;
  text-align: center;
}
.incident-card__num {
  font-size: 11px; font-weight: 800; color: var(--color-accent);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
}
.incident-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.incident-card p  { font-size: 13px; color: rgba(255,255,255,.65); }

/* ── TEAM / VALUES ───────────────────────────────────────────────── */
.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.value-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 32px;
}
.value-card__icon { width: 48px; height: 48px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.value-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.value-card p  { color: var(--color-muted); }

/* ── MODULE SHOWCASE ─────────────────────────────────────────────── */
.module-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.module-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 24px;
  transition: background .2s, border-color .2s;
  cursor: default;
}
.module-card:hover { background: rgba(255,255,255,.1); border-color: rgba(124,58,237,.4); }
.module-card__icon { width: 36px; height: 36px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; color: var(--color-accent); }
.module-card h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.module-card p  { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.5; }

/* ── ROADMAP ─────────────────────────────────────────────────────── */
.roadmap-timeline { display: flex; flex-direction: column; gap: 0; }
.roadmap-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding-bottom: 40px; position: relative;
}
.roadmap-item:not(:last-child)::after {
  content: ''; position: absolute; left: 132px; top: 28px;
  bottom: 0; width: 2px; background: rgba(124,58,237,.25);
}
.roadmap-date { font-size: 13px; font-weight: 700; color: var(--color-accent); padding-top: 2px; }
.roadmap-body {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg); padding: 20px 24px;
}
.roadmap-body h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.roadmap-body p  { font-size: 14px; color: rgba(255,255,255,.65); }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  background: #1E0848;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 80px 0 48px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 64px;
}
.footer__brand {}
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 14px;
}
.footer__logo-icon {
  width: 32px; height: 32px; background: var(--color-accent);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 16px; font-weight: 900; color: #fff;
}
.footer__tagline { color: rgba(255,255,255,.5); font-size: 14px; margin-bottom: 24px; max-width: 260px; }
.footer__email {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.7); font-size: 14px; font-weight: 500;
  padding: 8px 16px; background: rgba(255,255,255,.06); border-radius: var(--radius-sm);
  transition: background .2s; text-decoration: none;
}
.footer__email:hover { background: rgba(255,255,255,.12); color: #fff; }

.footer__col-title {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px;
}
.footer__col-links { display: flex; flex-direction: column; gap: 10px; }
.footer__col-links a {
  color: rgba(255,255,255,.6); font-size: 14px; transition: color .2s;
}
.footer__col-links a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer__copyright { color: rgba(255,255,255,.35); font-size: 13px; }
.footer__legal-links { display: flex; gap: 24px; }
.footer__legal-links a { color: rgba(255,255,255,.4); font-size: 13px; transition: color .2s; }
.footer__legal-links a:hover { color: rgba(255,255,255,.8); }

/* ── PAGE HERO ───────────────────────────────────────────────────── */
.page-hero {
  background: var(--color-dark); padding: 140px 0 80px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -20%, rgba(124,58,237,.3) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .badge { background: rgba(124,58,237,.2); border: 1px solid rgba(124,58,237,.3); color: #c4b5fd; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.7); max-width: 600px; margin: 0 auto 32px; }
.page-hero__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── MISC ────────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--color-border); }
.highlight { color: var(--color-accent); }
.tag { display: inline-block; background: rgba(124,58,237,.1); color: var(--color-accent); font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }

.gdpr-warning {
  background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius-md); padding: 16px 20px;
  font-size: 14px; color: #92400e;
  display: flex; align-items: flex-start; gap: 10px;
}
.gdpr-warning strong { display: block; margin-bottom: 2px; }

.ai-provider-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ai-badge {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85); font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
}

/* ── ANIMATIONS ──────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp .55s ease both; }
.animate-in--delay-1 { animation-delay: .1s; }
.animate-in--delay-2 { animation-delay: .2s; }
.animate-in--delay-3 { animation-delay: .3s; }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse { direction: ltr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid  { grid-template-columns: repeat(2, 1fr); }
  .incident-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .solutions-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .section-pad--lg { padding: 80px 0; }
  .navbar__nav  { display: none; }
  .navbar__actions .btn--primary { display: none; }
  .navbar__signin { display: none; }
  .navbar__ham { display: flex; }
  .hero { padding: 120px 0 64px; }
  .cta-banner { padding: 40px 28px; text-align: center; justify-content: center; }
  .cta-banner h2 { font-size: 26px; }
  .cta-banner__actions { justify-content: center; }
  .security-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .incident-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .roadmap-item { grid-template-columns: 1fr; }
  .roadmap-item:not(:last-child)::after { display: none; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .module-grid { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
}

/* ══ LANGUAGE SWITCHER ══════════════════════════════════════════════ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 3px 4px;
}

.lang-switcher__btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 5px;
  transition: background .15s, color .15s;
  font-family: inherit;
}

.lang-switcher__btn:hover {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
}

.lang-switcher__btn.active {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 1px 4px rgba(124,58,237,.4);
}

@media (max-width: 900px) {
  .lang-switcher { display: none; }
}

/* ── TABLER SVG ICONS ────────────────────────────────────────────── */
.nth-icon {
  display: block;
  width: 100%; height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.module-card__icon .nth-icon   { color: var(--color-accent); }
.addon-card__icon .nth-icon    { color: var(--color-accent); }
.feature-card__icon .nth-icon  { width: 26px; height: 26px; color: var(--color-accent); }
.feature-card--dark .feature-card__icon .nth-icon { color: #a78bfa; }
.replaces-card__icon .nth-icon { width: 36px; height: 36px; color: var(--color-accent); }
.independence-item__icon .nth-icon { width: 28px; height: 28px; color: var(--color-accent); }
.menu-icon .nth-icon { width: 22px; height: 22px; color: inherit; }
.security-item__icon .nth-icon { width: 28px; height: 28px; color: var(--color-accent); }
.contact-info-card__icon .nth-icon { width: 26px; height: 26px; color: var(--color-accent); }
.value-card__icon .nth-icon { width: 30px; height: 30px; color: var(--color-accent); }
/* ══ CHATBOT WIDGET ═══════════════════════════════════════════════ */
.chatbot-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9998;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, #6D28D9 100%);
  border: none;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(124,58,237,.45), 0 2px 8px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.chatbot-fab:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(124,58,237,.55); }
.chatbot-fab svg { width: 28px; height: 28px; fill: currentColor; }
.chatbot-fab img.fab-chat { width: 38px; height: 38px; border-radius: 50%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.15)); }
.chatbot-fab .fab-close { display: none; }
.chatbot-fab.open .fab-chat { display: none; }
.chatbot-fab.open .fab-close { display: block; }
.chatbot-fab__badge {
  position: absolute; top: -2px; right: -2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #10B981; border: 2px solid #fff;
  animation: chatPulse 2s infinite;
}
@keyframes chatPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } }

/* Panel */
.chatbot-panel {
  position: fixed;
  bottom: 100px; right: 28px;
  z-index: 9999;
  width: 400px;
  max-height: 580px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(.95);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.chatbot-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.chatbot-header {
  background: linear-gradient(135deg, var(--color-dark) 0%, #4C1D95 100%);
  color: #fff;
  padding: 18px 20px 14px;
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.chatbot-header__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.chatbot-header__avatar img { width: 32px; height: 32px; object-fit: contain; border-radius: 50%; }
.chatbot-header__avatar svg { width: 24px; height: 24px; fill: #fff; }
.chatbot-header__info { flex: 1; min-width: 0; }
.chatbot-header__title { font-size: 15px; font-weight: 700; margin: 0; }
.chatbot-header__status {
  font-size: 12px; opacity: .8; margin-top: 2px;
  display: flex; align-items: center; gap: 6px;
}
.chatbot-header__dot { width: 7px; height: 7px; border-radius: 50%; background: #10B981; }
.chatbot-header__clear {
  background: none; border: none; color: rgba(255,255,255,.6);
  cursor: pointer; padding: 4px; border-radius: 6px;
  transition: color .15s, background .15s;
}
.chatbot-header__clear:hover { color: #fff; background: rgba(255,255,255,.12); }
.chatbot-header__clear svg { width: 18px; height: 18px; fill: currentColor; }

/* Messages */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px;
  max-height: 340px;
  scroll-behavior: smooth;
}
.chatbot-messages::-webkit-scrollbar { width: 5px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 10px; }

.chatbot-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  animation: msgSlide .25s ease-out;
  word-wrap: break-word;
}
@keyframes msgSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.chatbot-msg--bot {
  align-self: flex-start;
  background: #F3F0FF;
  color: #1e1b4b;
  border-bottom-left-radius: 4px;
}
.chatbot-msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--color-accent), #7C3AED);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chatbot-msg--bot a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
}

/* Typing indicator */
.chatbot-typing {
  align-self: flex-start;
  display: flex; gap: 5px;
  padding: 12px 18px;
  background: #F3F0FF;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.chatbot-typing span {
  width: 8px; height: 8px;
  background: #a78bfa;
  border-radius: 50%;
  animation: typingBounce .6s infinite alternate;
}
.chatbot-typing span:nth-child(2) { animation-delay: .15s; }
.chatbot-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce { from { transform: translateY(0); opacity:.4; } to { transform: translateY(-6px); opacity:1; } }

/* Quick actions */
.chatbot-quick {
  padding: 8px 16px 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}
.chatbot-quick__btn {
  background: #F3F0FF;
  border: 1px solid #E5E0FF;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, transform .1s;
  font-family: inherit;
}
.chatbot-quick__btn:hover { background: #E5E0FF; transform: translateY(-1px); }

/* Input area */
.chatbot-input {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
  background: #fafafa;
}
.chatbot-input__field {
  flex: 1;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  resize: none;
  min-height: 40px;
  max-height: 80px;
}
.chatbot-input__field:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}
.chatbot-input__send {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s, transform .1s;
}
.chatbot-input__send:hover { background: #6D28D9; transform: scale(1.05); }
.chatbot-input__send:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.chatbot-input__send svg { width: 18px; height: 18px; fill: currentColor; }

/* Branding */
.chatbot-footer {
  text-align: center;
  padding: 6px;
  font-size: 10px;
  color: #9ca3af;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.chatbot-footer span { font-weight: 600; color: var(--color-accent); }

/* Responsive */
@media (max-width: 480px) {
  .chatbot-panel {
    bottom: 0; right: 0; left: 0;
    width: 100%; max-height: 100vh;
    border-radius: 20px 20px 0 0;
  }
  .chatbot-fab { bottom: 18px; right: 18px; width: 54px; height: 54px; }
  .chatbot-fab img.fab-chat { width: 34px; height: 34px; }
  .chatbot-messages { max-height: 50vh; }
}

/* Streaming cursor */
.chatbot-msg--streaming::after {
  content: '▋';
  animation: blink 1s steps(2) infinite;
  color: var(--color-accent);
}
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } }

/* Source links inside bot msgs */
.chatbot-msg__sources {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: 12px;
}
.chatbot-msg__sources a {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  margin-right: 10px;
}
.chatbot-msg__sources a:hover { text-decoration: underline; }