/* ╔═══════════════════════════════════════════════════════════════╗
   ║  URAI SOLUTION — CANONICAL DESIGN TOKENS                     ║
   ║  Single source of truth. Every color in the site comes here. ║
   ║  Dark = default. Light = override via [data-theme="light"]   ║
   ╚═══════════════════════════════════════════════════════════════╝ */

/* ── DARK (default) ───────────────────────────────────────────────── */
:root,
[data-theme="dark"] {

  /* Brand accent */
  --primary:         #1e9e78;
  --primary-hover:   #17855f;
  --primary-glow:    rgba(30, 158, 120, 0.22);
  --primary-glow-lg: rgba(30, 158, 120, 0.40);
  --accent:          #d4921f;
  --accent-hover:    #b87a14;
  --accent-light:    #e8af4e;

  /* Page backgrounds — 4-level depth system */
  --bg:          #0e0d19;   /* page/body */
  --surface:     #13121f;   /* navbar, modals, sheets */
  --surface-2:   #1b1a28;   /* cards, panels */
  --surface-3:   #242334;   /* inputs, hovered cards, offset */
  --surface-4:   #2e2c42;   /* active inputs, highlighted cells */

  /* Borders */
  --border:       rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --border-focus: rgba(30, 158, 120, 0.55);

  /* Text */
  --text:         #eae8f4;
  --text-muted:   rgba(234, 232, 244, 0.58);
  --text-faint:   rgba(234, 232, 244, 0.32);
  --text-inverse: #0e0d19;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);

  /* Aliases — keep existing component vars working */
  --dark-bg:         var(--bg);
  --darker-bg:       #080713;
  --card-bg:         var(--surface-2);
  --card-bg-hover:   var(--surface-3);
  --text-primary:    var(--text);
  --text-secondary:  var(--text-muted);
  --text-tertiary:   var(--text-faint);
  --border-color:    var(--border);
  --border-color-hover: var(--border-hover);
  --primary-color:   var(--primary);
  --primary-dark:    var(--primary-hover);
  --accent-color:    var(--accent);

  /* Input bg */
  --input-bg:       var(--surface-3);
  --input-bg-focus: rgba(30, 158, 120, 0.06);
}

/* ── LIGHT override ───────────────────────────────────────────────── */
[data-theme="light"] {

  /* Page backgrounds */
  --bg:        #f5f4ef;
  --surface:   #ffffff;
  --surface-2: #faf9f5;
  --surface-3: #edeae3;
  --surface-4: #e3e0d8;

  /* Borders */
  --border:       rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.16);
  --border-focus: rgba(14, 119, 87, 0.55);

  /* Text */
  --text:        #1a1828;
  --text-muted:  rgba(26, 24, 40, 0.55);
  --text-faint:  rgba(26, 24, 40, 0.30);
  --text-inverse: #f5f4ef;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);

  /* Aliases */
  --dark-bg:         var(--bg);
  --darker-bg:       #eae8e1;
  --card-bg:         var(--surface-2);
  --card-bg-hover:   var(--surface-3);
  --text-primary:    var(--text);
  --text-secondary:  var(--text-muted);
  --text-tertiary:   var(--text-faint);
  --border-color:    var(--border);
  --border-color-hover: var(--border-hover);
  --primary-color:   var(--primary);
  --primary-dark:    var(--primary-hover);
  --accent-color:    var(--accent);

  /* Input bg */
  --input-bg:       var(--surface-3);
  --input-bg-focus: rgba(14, 119, 87, 0.04);

  /* Override glow colors for light mode */
  --primary-glow:    rgba(14, 119, 87, 0.12);
  --primary-glow-lg: rgba(14, 119, 87, 0.22);
}

/* ── System preference fallback (no JS) ──────────────────────────── */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f5f4ef; --surface: #ffffff; --surface-2: #faf9f5;
    --surface-3: #edeae3; --surface-4: #e3e0d8;
    --border: rgba(0,0,0,0.08); --border-hover: rgba(0,0,0,0.16);
    --text: #1a1828;
    --text-muted: rgba(26,24,40,0.55);
    --text-faint: rgba(26,24,40,0.30);
    --dark-bg: #f5f4ef; --darker-bg: #eae8e1;
    --card-bg: #faf9f5; --card-bg-hover: #edeae3;
    --text-primary: #1a1828;
    --text-secondary: rgba(26,24,40,0.55);
    --text-tertiary: rgba(26,24,40,0.30);
  }
}

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;1,9..40,400&display=swap');





































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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.65;
    letter-spacing: 0.2px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ── Typography: Heading Font ── */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.feature-title,
.footer-title,
.navbar-brand {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
/* Navigation */

/* ── Navbar Dropdowns ── */
.nav-dropdown {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.5rem;
    min-width: 240px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(30,158,120,0.1);
}

.nav-dropdown .dropdown-item {
    color: rgba(255,255,255,0.8);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.nav-dropdown .dropdown-item:hover {
    background: rgba(30,158,120,0.12);
    color: #3dbb96;
}
.nav-dropdown .dropdown-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 0.35rem 0.85rem;
}

.nav-dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 0.85rem;
}
.nav-dropdown-item strong {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}
.nav-dropdown-item small {
    display: block;
    font-size: 0.78rem;
    opacity: 0.6;
    margin-top: 1px;
}
.nav-dropdown-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(30,158,120,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e9e78;
    font-size: 1rem;
    flex-shrink: 0;
}
.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.trust-badge {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}


/* ── GDPR Cookie Banner ── */
#cookie-consent-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 99999;
    padding: 1rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.cookie-banner-box {
    background: var(--darker-bg, var(--darker-bg));
    border: 1px solid rgba(30,158,120,0.25);
    border-radius: 16px 16px 0 0;
    padding: 1.75rem 2rem;
    max-width: 780px;
    width: 100%;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cookie-banner-header { display:flex; align-items:center; gap:0.75rem; margin-bottom:0.75rem; }
.cookie-banner-icon { font-size:1.5rem; }
.cookie-banner-title { font-family:'Plus Jakarta Sans',sans-serif; font-size:1.15rem; font-weight:700; color:var(--text-primary,#fff); margin:0; }
.cookie-banner-text { font-size:0.9rem; color:var(--text-secondary,rgba(255,255,255,0.7)); line-height:1.6; margin-bottom:1rem; }
.cookie-banner-text a { color:var(--primary-color,#1e9e78); text-decoration:underline; }
.cookie-preferences {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cookie-toggle-row { display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.cookie-toggle-row strong { display:block; font-size:0.875rem; color:var(--text-primary,#fff); }
.cookie-toggle-row small { display:block; font-size:0.775rem; color:var(--text-secondary,rgba(255,255,255,0.5)); }
.cookie-switch { position:relative; display:inline-block; width:44px; height:24px; flex-shrink:0; cursor:pointer; }
.cookie-switch.disabled { opacity:0.5; cursor:not-allowed; }
.cookie-switch input { opacity:0; width:0; height:0; }
.cookie-slider { position:absolute; inset:0; background:rgba(255,255,255,0.15); border-radius:24px; transition:0.3s; }
.cookie-slider::before { content:''; position:absolute; width:18px; height:18px; left:3px; bottom:3px; background:white; border-radius:50%; transition:0.3s; }
.cookie-switch input:checked + .cookie-slider { background:#1e9e78; }
.cookie-switch input:checked + .cookie-slider::before { transform:translateX(20px); }
.cookie-banner-actions { display:flex; gap:0.75rem; flex-wrap:wrap; margin-bottom:0.75rem; }
.cookie-btn { padding:0.6rem 1.25rem; border-radius:50px; font-size:0.875rem; font-weight:600; cursor:pointer; border:none; transition:all 0.2s ease; min-height:44px; }
.cookie-btn-accept { background:linear-gradient(135deg,#1e9e78,#15785b); color:white; box-shadow:0 4px 12px rgba(30,158,120,0.35); }
.cookie-btn-accept:hover { transform:translateY(-1px); box-shadow:0 6px 18px rgba(30,158,120,0.5); }
.cookie-btn-reject { background:transparent; color:var(--text-secondary,rgba(255,255,255,0.7)); border:1px solid rgba(255,255,255,0.15); }

.cookie-btn-reject:hover { border-color:#ef4444; color:#ef4444; }
.cookie-btn-manage { background:transparent; color:var(--primary-color,#1e9e78); border:1px solid rgba(30,158,120,0.35); }
.cookie-btn-manage:hover { background:rgba(30,158,120,0.08); }
.cookie-banner-legal { font-size:0.72rem; color:var(--text-tertiary,rgba(255,255,255,0.35)); margin:0; text-align:center; }

@media (max-width:576px) {
    .cookie-banner-box { padding:1.25rem; border-radius:12px 12px 0 0; }
    .cookie-banner-actions { flex-direction:column; }
    .cookie-btn { width:100%; text-align:center; }
}

.navbar {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: background 0.3s ease;
}

.navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    text-decoration: none !important;
    line-height: 1 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
}



.brand-text {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    transition: opacity 0.4s ease, max-width 0.4s ease, margin-right 0.4s ease;
    opacity: 1;
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
}

.brand-text.hidden {
    opacity: 0;
    max-width: 0;
    margin-right: 0;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.language-selector {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.language-selector:hover {
    border-color: var(--primary-color);
}

.language-selector:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 158, 120, 0.1);
}

.language-selector option {
    background: var(--darker-bg);
    color: var(--text-primary);
    padding: 0.5rem;
}









.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    padding-top: 3rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, var(--glow-blue) 0%, transparent 50%);
    opacity: 0.3;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 60%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slide-in-up 1s ease-out;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 650px;
    font-weight: 400;
    animation: slide-in-up 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slide-in-up 1s ease-out 0.3s both;
}

.hero-buttons .btn {
    padding: 0.9rem 2.5rem;
    font-weight: 650;
    border-radius: 50px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
    z-index: 0;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(30, 158, 120, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 50px rgba(30, 158, 120, 0.5);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.97);
}

.btn-outline-light {
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    background: transparent;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-light:hover {
    background: var(--card-bg-hover);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(212, 146, 31, 0.2);
}

/* AI Dashboard */
.hero-image {
    position: relative;
    z-index: 2;
}

.ai-dashboard {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(30, 158, 120, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.ai-dashboard:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 30px 80px rgba(30, 158, 120, 0.25);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red { background: #ff5f57; }
.control-dot.yellow { background: #ffbd2e; }
.control-dot.green { background: #28ca42; }

.dashboard-title {
    color: var(--text-primary);
    font-weight: 600;
}

.dashboard-content {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

.metric-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(212, 146, 31, 0.2);
    background: var(--card-bg-hover);
}

.metric-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.ai-visualization {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.neural-network {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

.node {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.node.active {
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(30, 158, 120, 0.3); }
    50% { box-shadow: 0 0 40px rgba(30, 158, 120, 0.6); }
}

@keyframes slide-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 3.5rem 0;
    box-shadow: 0 15px 50px rgba(30, 158, 120, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-icon {
    font-size: 2.2rem;
    color: white;
}

.cta-banner h3 {
    color: white;
    font-weight: 700;
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 0.3px;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 3.5rem;
    letter-spacing: -0.3px;
    animation: slide-in-up 0.8s ease-out;
}

.feature-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.2px;
    animation: slide-in-up 0.8s ease-out 0.1s both;
}

.feature-subtitle {
    font-size: 1.35rem;
    font-weight: 650;
    color: var(--accent-color);
    margin-bottom: 1.2rem;
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Chatbot Demo */
.chatbot-demo {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(30, 158, 120, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-demo:hover {
    box-shadow: 0 30px 70px rgba(30, 158, 120, 0.25);
    border-color: var(--border-color-hover);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-color);
    margin-left: auto;
    animation: pulse 2s infinite;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    font-size: 0.875rem;
}

.bot-message .message-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.user-message .message-content {
    background: var(--primary-color);
    color: white;
}

/* Voice Assistant Demo */
.voice-assistant-demo {
    text-align: center;
    padding: 2rem;
}

.assistant-avatar {
    position: relative;
    display: inline-block;
}

.avatar-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.voice-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: wave-animation 2s infinite ease-in-out;
}

.wave-1 {
    width: 220px;
    height: 220px;
    animation-delay: 0s;
}

.wave-2 {
    width: 260px;
    height: 260px;
    animation-delay: 0.5s;
}

.wave-3 {
    width: 300px;
    height: 300px;
    animation-delay: 1s;
}

@keyframes wave-animation {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.7;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* Workflow Demo */
.workflow-demo {
    padding: 2rem;
}

.workflow-nodes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.workflow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    min-width: 100px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-node.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px rgba(212, 146, 31, 0.4);
    background: var(--card-bg-hover);
}

.workflow-node i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.workflow-connector {
    width: 2px;
    height: 30px;
    background: var(--border-color);
    transition: background 0.3s ease;
}

.workflow-connector.active {
    background: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-color);
}

/* Integration Section */
.integration-section {
    background: var(--darker-bg);
    padding: 5rem 0;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
}

.integration-visual {
    position: relative;
    height: 300px;
    margin: 3rem 0;
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 0 32px var(--primary-color);
    animation: rotate 20s linear infinite, glow-pulse 3s ease-in-out infinite;
}

.integration-apps {
    position: relative;
    height: 100%;
}

.app-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.app-icon:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(212, 146, 31, 0.3);
}

.app-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.app-2 {
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.app-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.app-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

.app-5 {
    bottom: 50%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Use Cases Section */
.use-cases-section {
    padding: 5rem 0;
}

.use-case-demo {
    margin-top: 2rem;
}

.demo-screen {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(30, 158, 120, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-screen:hover {
    box-shadow: 0 30px 70px rgba(30, 158, 120, 0.25);
    border-color: var(--border-color-hover);
}

.demo-header {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.demo-content {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 1rem;
}

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

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.demo-chart {
    grid-column: 1 / -1;
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 60px;
    margin-top: 1rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
    animation: grow 2s ease-in-out;
}

@keyframes grow {
    from { height: 0; }
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Why Choose Section */
.why-choose-section {
    background: var(--darker-bg);
    padding: 5rem 0;
}

.choice-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.choice-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(30, 158, 120, 0.2);
    border-color: var(--accent-color);
    background: var(--card-bg-hover);
}

.choice-card h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.choice-card p {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 1.05rem;
}


/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
}

.footer-title {
    color: var(--text-primary);
    font-weight: 800;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-subtitle {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-divider {
    border-color: var(--border-color);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.footer-tagline {
    color: var(--primary-color);
}

/* ============================================================
   MOBILE RESPONSIVENESS IMPROVEMENTS
   ============================================================ */

/* Tablet: 768px */
@media (max-width: 768px) {

    /* Issue 1: Better navbar clearance */
    .hero-section {
        margin-top: 80px;
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    /* Issue 3: Reduce card padding */
    .choice-card {
        padding: 1.75rem;
    }

    /* Issue 4: Scale down dashboard on tablet */
    .ai-dashboard {
        transform: scale(0.92);
        transform-origin: top center;
    }

    /* Issue 8: Tighter CTA banner */
    .cta-banner {
        padding: 2.5rem 0;
    }

    /* Issue 9: Larger touch targets */
    .theme-toggle,
    .language-selector {
        padding: 0.65rem 0.9rem;
        min-height: 44px;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    /* Dropdowns: full-width on mobile */
    .nav-dropdown {
        min-width: 100% !important;
        border-radius: 8px;
    }

    /* Footer: stack columns neatly */
    .footer .col-lg-2 {
        text-align: left;
    }

    /* Hero trust badges: wrap cleanly */
    .hero-trust-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Mobile: 576px */
@media (max-width: 576px) {

    /* Issue 2: Hero title scaling */
    .hero-title {
        font-size: 1.9rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }

    /* Issue 5: Section title scaling */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.75rem;
    }

    /* Issue 6: Feature title scaling */
    .feature-title {
        font-size: 1.55rem;
    }

    .feature-subtitle {
        font-size: 1.1rem;
    }

    /* Issue 4: Hide dashboard on mobile to improve above-fold UX */
    .hero-image {
        display: none;
    }

    /* Issue 3: Card padding on small screens */
    .choice-card {
        padding: 1.25rem;
    }

    /* Issue 8: CTA banner compact */
    .cta-banner {
        padding: 2rem 0;
    }

    .cta-banner h3 {
        font-size: 1.25rem;
    }

    /* Section padding reduction */
    .features-section,
    .why-choose-section,
    .integration-section,
    .use-cases-section {
        padding: 3rem 0;
    }

    /* Fix chatbot demo width */
    .chatbot-demo {
        max-width: 100%;
        padding: 1rem;
    }

    /* Fix voice wave overflow */
    .voice-assistant-demo {
        padding: 1rem;
        overflow: hidden;
    }

    /* Fix footer stacking */
    .footer {
        padding-top: 2.5rem !important;
        padding-bottom: 2rem !important;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    /* Fix navbar mobile menu spacing */
    .navbar-collapse {
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
        margin-top: 0.5rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* CTA buttons full-width */
    .hero-buttons .btn,
    .cta-banner .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1rem;
    }
}

/* Very small devices: 400px */
@media (max-width: 400px) {

    /* Issue 10: Ultra-small device support */
    .hero-title {
        font-size: 1.65rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Prevent integration icons from overlapping */
    .integration-visual {
        display: none;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    

    .metric-value {
        font-size: 1.2rem;
    }

    .choice-card {
        padding: 1rem;
    }
}

/* ── Viewport meta safety (add to <head> if missing) ──
   <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0">
*/

.navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    text-decoration: none !important;
    line-height: 1 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* ══════════════════════════════════════════════
   HIGH-END OPTIMIZATION PATCH — URAI Solution
   ══════════════════════════════════════════════ */

/* Navbar: tighter, premium */
.navbar {
    padding: 0.75rem 0 !important;
}
.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.28) !important;
}
.navbar-nav .nav-link {
    font-size: 0.9rem !important;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0.5rem 0.65rem !important;
}
.navbar .btn-primary {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 2px 12px rgba(30,158,120,.28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.navbar .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30,158,120,.42);
}

/* Hero */
.hero-title {
    font-size: clamp(2.2rem,5vw,3.8rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 1.5rem !important;
}
.hero-subtitle {
    font-size: clamp(1rem,2vw,1.2rem) !important;
    line-height: 1.72 !important;
}

/* Section titles */
.section-title {
    font-size: clamp(1.75rem,4vw,2.6rem) !important;
    letter-spacing: -0.025em !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
}
.section-subtitle {
    font-size: clamp(0.95rem,1.5vw,1.1rem) !important;
    line-height: 1.7;
    max-width: 600px;
    margin-inline: auto;
}

/* Cards */
.choice-card {
    border-radius: 16px !important;
    padding: 2rem !important;
    transition: transform .3s cubic-bezier(.16,1,.3,1),
                box-shadow .3s cubic-bezier(.16,1,.3,1),
                border-color .3s ease !important;
}
.choice-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 48px rgba(30,158,120,.14) !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg,#1e9e78 0%,#004fd4 100%) !important;
    font-weight: 600;
    letter-spacing: .02em;
    transition: transform .2s ease, box-shadow .2s ease !important;
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 12px 32px rgba(30,158,120,.38) !important;
}

/* Footer */
.footer-links a:hover {
    padding-left: 4px;
    color: var(--primary-color) !important;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(128,128,128,.3);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(30,158,120,.4); }

/* Selection */
::selection {
    background: rgba(30,158,120,.18);
    color: var(--text-primary);
}

/* Mobile */
@media (max-width:576px) {
    
    .brand-text { font-size: .85rem !important; }
}

/* ── Mobile fixes ── */
@media(max-width:767px){
  .fu{opacity:1!important;transform:none!important;transition:none!important}@media(max-width:767px){.fu{opacity:1!important;transform:none!important;transition:none!important}}
  .hcard{flex-direction:column!important}
  .hcard-img{width:100%!important;min-width:100%!important;min-height:90px;aspect-ratio:16/5}
  .stat-row{flex-direction:column;gap:.75rem;padding:1rem}
  .kpi-stat-grid{grid-template-columns:repeat(2,1fr)!important}
  .nl-form{flex-direction:column}
  .filter-bar{gap:.3rem}
  .filter-btn{font-size:.78rem;padding:.3rem .7rem}
  .blog-featured .row{flex-direction:column}
  .art-card{min-height:auto}
  .hcard-body{padding:1rem}
  .sec-label{margin-bottom:.8rem}
}
@media(max-width:480px){
  .kpi-stat-grid{grid-template-columns:repeat(2,1fr)!important}
  .art-card-thumb{aspect-ratio:16/7}
}



/* ── Hero title: prevent clip on long translated text ── */
.hero-title {
    text-wrap: balance;
    overflow-wrap: break-word;
    word-break: break-word;
    padding-bottom: 0.08em; /* prevents -webkit-text-fill-color from clipping descenders */
}



.logo-picture {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}




.brand-text {
  font-size: 0.92rem !important;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

/* Colorize the wordmark to match the SVG mark */


/* Make "URAI" portion teal — using CSS first-word trick via JS-added span,
   or just let the full name stand as one warm-cream/dark text */


/* =================================================================
   CROSS-BROWSER & MOBILE COMPATIBILITY PATCH
   Targets: iOS Safari 14+, Android Chrome 90+, Firefox 100+, Samsung Internet
   ================================================================= */

/* ── 1. Prevent iOS auto font-size inflate & double-tap zoom ── */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}

/* ── 2. All interactive elements: faster touch response ── */
a, button, [role="button"], .btn,
.navbar-brand, .nav-link, .social-link,
.theme-toggle, .language-selector,
.navbar-toggler, .cookie-btn,
.metric-card, .choice-card, .workflow-node {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ── 3. Safe scroll-behavior (unsupported on iOS < 15.4 — graceful) ── */
@supports (scroll-behavior: smooth) {
  html { scroll-behavior: smooth; }
}

/* ── 4. backdrop-filter fallback for Firefox / older Android ── */
@supports not (backdrop-filter: blur(1px)) {
  .navbar            { background: var(--surface) !important; }
  
  .ai-dashboard,
  .chatbot-demo,
  .demo-screen,
  .cookie-banner-box { background: var(--card-bg); }
  .nav-dropdown      { background: var(--surface); }
  
}

/* ── 5. gradient-text safety: prevent invisible text on old iOS ── */
@supports not (-webkit-background-clip: text) {
  .hero-title,
  
  
}

/* ── 6. clamp() fallback for very old Android WebView ── */
@supports not (font-size: clamp(1rem, 2vw, 2rem)) {
  .hero-title    { font-size: 2.4rem; }
  .section-title { font-size: 2rem; }
  .feature-title { font-size: 1.8rem; }
}

/* ── 7. Fix iOS voice-wave overflow ── */
.voice-assistant-demo {
  overflow: hidden;
  position: relative;
  /* contain waves within card */
}
.wave-1, .wave-2, .wave-3 {
  pointer-events: none;
}

/* ── 8. Fix iOS Safari 100vh bug — use dvh when available ── */
.hero-section .row.align-items-center {
  min-height: 100vh; /* fallback */
  min-height: 100dvh; /* modern browsers */
}
/* Safari 14 does not support dvh; use min-height:auto on very small heights */
@media (max-height: 600px) {
  .hero-section .row.align-items-center {
    min-height: auto;
    padding: 5rem 0 3rem;
  }
}

/* ── 9. Prevent horizontal overflow on mobile ── */
body, html {
  overflow-x: hidden;
  max-width: 100vw;
}
.integration-visual, .neural-network {
  overflow: hidden;
}

/* ── 10. Fix Galaxy/Samsung Internet – flex gap partial support ── */
@supports not (gap: 1rem) {
  .dashboard-content > *  { margin: 0.5rem; }
  .hero-buttons > *       { margin: 0.25rem; }
  .hero-trust-badges > *  { margin: 0.25rem 0.6rem 0.25rem 0; }
  .social-links > *       { margin-right: 0.75rem; }
  .cookie-banner-actions > * { margin: 0.35rem; }
}

/* ── 11. iOS input zoom prevention (font-size ≥ 16px stops zoom) ── */
input, select, textarea {
  font-size: max(1rem, 16px);
}
.language-selector {
  font-size: 16px !important; /* prevent zoom on iOS Safari */
}

/* ── 12. Fix animation jank: will-change & transform3d hints ── */
.hero-title,
.metric-card,
.choice-card,
.chatbot-demo,
.ai-dashboard {
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ── 13. Disable hover effects on touch devices (prevents stuck states) ── */
@media (hover: none) and (pointer: coarse) {
  .metric-card:hover,
  .choice-card:hover,
  .app-icon:hover,
  .social-link:hover,
  .chatbot-demo:hover,
  .demo-screen:hover,
  .ai-dashboard:hover,
  .btn-primary:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .btn-primary:active {
    transform: scale(0.97) !important;
    box-shadow: 0 4px 12px rgba(0,102,255,0.3) !important;
  }
  .choice-card:active {
    transform: scale(0.98) !important;
  }
}

/* ── 14. iOS safe-area insets (notch / home-bar) ── */
.navbar {
  padding-left:  env(safe-area-inset-left,  0px);
  padding-right: env(safe-area-inset-right, 0px);
}
#cookie-consent-banner {
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}
.footer {
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}

/* ── 15. Fix Samsung Internet scrollbar flicker ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--darker-bg); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }

/* ── 16. Ensure colour-scheme declared for browser chrome ── */







/* ── 18. Mobile: scale dashboard so it fits smaller screens ── */
@media (max-width: 400px) {
  .ai-dashboard { transform: scale(0.85); transform-origin: top center; margin-bottom: -2rem; }
  .wave-1 { width: 160px; height: 160px; }
  .wave-2 { width: 200px; height: 200px; }
  .wave-3 { width: 240px; height: 240px; }
  .avatar-image { width: 140px; height: 140px; }
}

/* ── 19. Landscape mobile ── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section { margin-top: 60px; padding: 1.5rem 0; }
  .hero-title   { font-size: 1.5rem; }
  .hero-image   { display: none; }
}

/* ═══════════════════════════════════════════════════
   LOGO — Single source of truth (overrides all above)
   ═══════════════════════════════════════════════════ */

/* Picture wrapper — flex so mark + text share a baseline */
.logo-picture {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

/* The SVG mark image */
.logo-img {
  height: 26px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 0;  /* gap handled by navbar-brand gap */
}

/* Wordmark text next to the mark */
.brand-text {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem !important;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  color: var(--text-primary);
  transition: opacity 0.35s ease, max-width 0.35s ease, margin-left 0.35s ease;
  opacity: 1;
  max-width: 180px;
  overflow: hidden;
}
.brand-text.hidden {
  opacity: 0;
  max-width: 0;
  margin-left: 0;
}

/* Navbar-brand spacing */
.navbar-brand {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding-top: 0;
  padding-bottom: 0;
}

/* Slightly smaller mark on very small screens */
@media (max-width: 360px) {
  .logo-img   { height: 22px !important; }
  .brand-text { font-size: 0.78rem !important; }
}

/* ═══════════════════════════════════════════════════
   PREMIUM HOVER EFFECTS — transition base
   (transforms applied by hover-effects.js)
   ═══════════════════════════════════════════════════ */

/* Smooth card transform base — override existing abrupt transitions */
.choice-card,
.metric-card,
.chatbot-demo,
.ai-dashboard,
.demo-screen,
.workflow-demo {
  transition:
    transform .25s cubic-bezier(.16,1,.3,1),
    box-shadow .25s cubic-bezier(.16,1,.3,1),
    border-color .25s ease !important;
  transform-style: preserve-3d;
}

/* Kill old translateY-only hover transforms (JS tilt replaces them) */
@media (hover: hover) and (pointer: fine) {
  .choice-card:hover,
  .metric-card:hover,
  .chatbot-demo:hover,
  .demo-screen:hover,
  .ai-dashboard:hover {
    /* transform is now set by JS — don't override it here */
    box-shadow: 0 20px 50px rgba(0,102,255,0.18), 0 0 0 1px rgba(30,158,120,0.12) !important;
    border-color: rgba(30,158,120,0.22) !important;
  }
}

/* Cursor glow complement: hero section background reacts subtly */
.hero-section {
  transition: background .4s ease;
}

/* Magnetic button: preserve existing transforms cleanly */
.btn-primary {
  transition:
    transform .2s cubic-bezier(.16,1,.3,1),
    box-shadow .2s ease,
    background .2s ease !important;
}

/* Navbar brand: logo transitions */
.navbar-brand .logo-img {
  transition: filter .3s ease !important;
}

/* Card children sit above the spotlight overlay */
.choice-card > *:not([aria-hidden]),
.metric-card > *:not([aria-hidden]),
.chatbot-demo > *:not([aria-hidden]),
.ai-dashboard > *:not([aria-hidden]),
.demo-screen > *:not([aria-hidden]) {
  position: relative;
  z-index: 1;
}


/* Base: always dark background by default (prevents white flash) */
.navbar {
  background: var(--surface) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Dark theme — same as base (dark is default) */


/* Dark theme scrolled */


/* Light theme */


/* Light theme scrolled */


/* System preference fallback — no JS / before data-theme resolves */


@media (max-width: 600px) {
  .urai-form-row { grid-template-columns: 1fr; }
  .urai-contact-card { padding: 1.5rem 1.25rem; }
}

/* ── Form groups ── */
.urai-form-group { display: flex; flex-direction: column; gap: 0.45rem; }

.urai-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted, #7a7974);
}
.urai-label .req { color: #1e9e78; margin-left: 2px; }

/* ── Inputs ── */
.urai-input-wrap { position: relative; }

.urai-input {
  width: 100%;
  background: var(--input-bg, rgba(255,255,255,0.04));
  border: 1px solid var(--border-color, rgba(255,255,255,0.1));
  border-radius: 10px;
  padding: 0.78rem 1rem;
  font-size: 0.95rem;
  color: var(--text-primary, #e8e6e2);
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}



.urai-input:focus {
  border-color: #1e9e78;
  box-shadow: 0 0 0 3px rgba(30,158,120,0.12);
  background: var(--input-bg-focus, rgba(30,158,120,0.04));
}


.urai-input::placeholder { color: var(--text-faint, #5a5957); opacity: 1; }


.urai-input--error {
  border-color: #a12c7b !important;
  box-shadow: 0 0 0 3px rgba(161,44,123,0.12) !important;
}

/* ── Textarea ── */
.urai-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* ── Select ── */
.urai-select-wrap { position: relative; }
.urai-select { padding-right: 2.5rem; cursor: pointer; }
.urai-select-arrow {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted, #7a7974);
}



/* ── Validation error text ── */
.urai-err {
  font-size: 0.75rem;
  color: #d163a7;
  min-height: 1rem;
  padding-left: 0.25rem;
}

/* ── Footer row ── */
.urai-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.urai-privacy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  max-width: 280px;
  line-height: 1.4;
}
.urai-privacy-note svg {
  flex-shrink: 0;
  color: var(--primary);
  opacity: 0.8;
}

/* ── Submit button ── */
.urai-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 1.8rem;
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 55%, var(--accent) 100%);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s ease, opacity .2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.urai-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  border-radius: inherit;
}
.urai-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(30,158,120,0.38);
}
.urai-submit-btn:active { transform: scale(0.98); }
.urai-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.urai-btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.urai-btn-arrow {
  flex-shrink: 0;
  transition: transform .2s ease;
}
.urai-submit-btn:hover .urai-btn-arrow { transform: translateX(3px); }

/* ── Error banner ── */
.urai-form-error-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(161,44,123,0.1);
  border: 1px solid rgba(161,44,123,0.25);
  border-radius: 10px;
  font-size: 0.85rem;
  color: #d163a7;
}

/* ── Ghost button ── */
.urai-btn-ghost {
  margin-top: 1.25rem;
  padding: 0.6rem 1.4rem;
  background: transparent;
  border: 1px solid rgba(30,158,120,0.4);
  color: #1e9e78;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.urai-btn-ghost:hover { background: rgba(30,158,120,0.08); border-color: #1e9e78; }

/* ── Success state ── */
.urai-form-success {
  padding: 3rem 2rem;
  text-align: center;
}
.urai-success-icon {
  margin: 0 auto 1.5rem;
  width: 52px;
  height: 52px;
}
.urai-success-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #1e9e78, #f5d87a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.urai-success-msg {
  color: var(--text-muted, #7a7974);
  max-width: 36ch;
  margin: 0 auto;
  line-height: 1.6;
}


/* ── Overlay ── */
.ucm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(.16,1,.3,1);
}
.ucm-overlay.ucm-visible { opacity: 1; }

/* ── Backdrop ── */
.ucm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 16, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


/* ── Panel ── */
.ucm-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 2rem 2rem 1.75rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), opacity 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(30,158,120,0.3) transparent;
}
.ucm-overlay.ucm-visible .ucm-panel {
  transform: translateY(0) scale(1);
}



/* ── Header ── */
.ucm-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}


.ucm-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  background: linear-gradient(135deg, #e8e6e2 0%, #1e9e78 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.ucm-subtitle {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted, #7a7974);
}

/* ── Close button ── */
.ucm-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted, #7a7974);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
  padding: 0;
}
.ucm-close:hover {
  background: rgba(161,44,123,0.15);
  color: #d163a7;
  transform: rotate(90deg);
}



/* ── Form inside modal — remove card wrapper shadow ── */
.ucm-form .urai-form-row { margin-bottom: 1rem; }
.ucm-form .urai-form-group { margin-bottom: 0; }
.ucm-success { padding: 2rem 1rem; }

/* ── Close-after-success button ── */
.ucm-close-after {
  margin-top: 1rem;
  padding: 0.55rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(30,158,120,0.4);
  color: #1e9e78;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}
.ucm-close-after:hover { background: rgba(30,158,120,0.1); }

/* ── Scrollbar ── */
.ucm-panel::-webkit-scrollbar { width: 5px; }
.ucm-panel::-webkit-scrollbar-track { background: transparent; }
.ucm-panel::-webkit-scrollbar-thumb { background: rgba(30,158,120,0.3); border-radius: 10px; }

/* ── Mobile ── */
@media (max-width: 600px) {
  .ucm-panel { padding: 1.5rem 1.25rem; border-radius: 16px 16px 0 0; max-height: 95vh; }
  .ucm-overlay { align-items: flex-end; padding: 0; }
}

/* ═══════════════════════════════════════════════════════
   URAI CONTACT MODAL
   ═══════════════════════════════════════════════════════ */
.ucm-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0;
  transition: opacity 0.3s cubic-bezier(.16,1,.3,1);
}
.ucm-overlay.ucm-visible { opacity: 1; }
.ucm-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 7, 19, 0.75);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
[data-theme="light"] .ucm-backdrop { background: rgba(20,18,36,0.5); }
.ucm-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 680px; max-height: 90vh; overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), opacity 0.3s ease;
  scrollbar-width: thin;
}
.ucm-overlay.ucm-visible .ucm-panel { transform: translateY(0) scale(1); }
.ucm-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.75rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.ucm-title {
  font-size: 1.4rem; font-weight: 800; margin: 0 0 0.25rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ucm-subtitle { margin: 0; font-size: 0.82rem; color: var(--text-muted); }
.ucm-close {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-3); border: 1px solid var(--border);
  color: var(--text-muted); display: flex; align-items: center;
  justify-content: center; cursor: pointer; padding: 0;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.ucm-close:hover { background: rgba(161,44,123,0.15); color: #d163a7; transform: rotate(90deg); }
.ucm-form .urai-form-row { margin-bottom: 1rem; }
.ucm-form .urai-form-group { margin-bottom: 0; }
.ucm-success { padding: 2rem 1rem; }
.ucm-close-after {
  margin-top: 1rem; padding: 0.55rem 1.5rem;
  background: transparent; border: 1px solid var(--border-focus);
  color: var(--primary); border-radius: 50px; font-size: 0.85rem;
  font-weight: 600; cursor: pointer; transition: background .2s ease;
}
.ucm-close-after:hover { background: var(--primary-glow); }
.ucm-panel::-webkit-scrollbar { width: 5px; }
.ucm-panel::-webkit-scrollbar-track { background: transparent; }
.ucm-panel::-webkit-scrollbar-thumb { background: var(--primary-glow-lg); border-radius: 10px; }
@media (max-width: 600px) {
  .ucm-panel { padding: 1.5rem 1.25rem; border-radius: 16px 16px 0 0; max-height: 95vh; }
  .ucm-overlay { align-items: flex-end; padding: 0; }
}

/* ── Contact Form Card ── */
.urai-contact-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 2.5rem 2.5rem 2rem;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}
.urai-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (max-width: 600px) {
  .urai-form-row { grid-template-columns: 1fr; }
  .urai-contact-card { padding: 1.5rem 1.25rem; }
}
.urai-form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.urai-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.urai-label .req { color: var(--primary); margin-left: 2px; }
.urai-input-wrap { position: relative; }
.urai-input {
  width: 100%; background: var(--surface-3); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.78rem 1rem; font-size: 0.95rem;
  color: var(--text); font-family: 'Plus Jakarta Sans', sans-serif;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  outline: none; -webkit-appearance: none; appearance: none;
}
.urai-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: var(--input-bg-focus);
}
.urai-input::placeholder { color: var(--text-faint); opacity: 1; }
.urai-input--error { border-color: #a12c7b !important; box-shadow: 0 0 0 3px rgba(161,44,123,0.12) !important; }
.urai-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.urai-select-wrap { position: relative; }
.urai-select { padding-right: 2.5rem; cursor: pointer; }
.urai-select-arrow { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-muted); }
[data-theme="light"] .urai-select option { background: #ffffff; color: #1a1828; }
[data-theme="dark"] .urai-select option, .urai-select option { background: #1b1a28; color: #eae8f4; }
.urai-err { font-size: 0.75rem; color: #d163a7; min-height: 1rem; padding-left: 0.25rem; }
.urai-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.urai-privacy-note { font-size: 0.72rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; margin: 0; max-width: 240px; }
.urai-submit-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.82rem 1.8rem;
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 50%, var(--accent) 100%);
  color: #fff; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.03em;
  border: none; border-radius: 50px; cursor: pointer;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s ease, opacity .2s ease;
  white-space: nowrap; position: relative; overflow: hidden;
}
.urai-submit-btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(255,255,255,0.15) 0%,transparent 60%); border-radius: inherit; }
.urai-submit-btn:hover:not(:disabled) { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 28px var(--primary-glow-lg); }
.urai-submit-btn:active { transform: scale(0.98); }
.urai-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.urai-btn-loader { display: inline-flex; align-items: center; gap: 0.5rem; }
.urai-btn-arrow { flex-shrink: 0; transition: transform .2s ease; }
.urai-submit-btn:hover .urai-btn-arrow { transform: translateX(3px); }
.urai-form-error-banner {
  display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem;
  padding: 0.75rem 1rem; background: rgba(161,44,123,0.1);
  border: 1px solid rgba(161,44,123,0.25); border-radius: 10px;
  font-size: 0.85rem; color: #d163a7;
}
.urai-btn-ghost {
  margin-top: 1.25rem; padding: 0.6rem 1.4rem; background: transparent;
  border: 1px solid var(--border-focus); color: var(--primary);
  border-radius: 50px; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.urai-btn-ghost:hover { background: var(--primary-glow); border-color: var(--primary); }
.urai-form-success { padding: 3rem 2rem; text-align: center; }
.urai-success-icon { margin: 0 auto 1.5rem; width: 52px; height: 52px; }
.urai-success-title {
  font-size: 1.5rem; font-weight: 800; margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--primary), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.urai-success-msg { color: var(--text-muted); max-width: 36ch; margin: 0 auto; line-height: 1.6; }

/* ╔═══════════════════════════════════════════════════════════════╗
   ║  COHERENCE NORMALIZATION — enforces the canonical system     ║
   ║  on every element that previously had hardcoded values       ║
   ╚═══════════════════════════════════════════════════════════════╝ */

/* ── Body & page ── */
body {
  background-color: var(--bg) !important;
  color: var(--text) !important;
}

/* ── Navbar — unified with page surface ── */
.navbar {
  background: var(--surface) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transition: background 0.3s ease, border-color 0.3s ease !important;
}
.navbar.scrolled {
  background: color-mix(in srgb, var(--surface) 99%, transparent) !important;
  border-bottom-color: var(--border-hover) !important;
  box-shadow: var(--shadow-sm) !important;
}
.navbar-brand, .nav-link {
  color: var(--text) !important;
}
.nav-link:hover { color: var(--primary) !important; }
.navbar-collapse { background: var(--surface) !important; }
.navbar-toggler { border-color: var(--border) !important; color: var(--text) !important; }

/* ── Sections ── */
section, .section, [class*="section"] {
  background-color: transparent;
}
.bg-dark-section, [data-page] {
  background-color: transparent !important;
}

/* ── Cards ── */
.card, .choice-card, .urai-contact-card, .blog-card,
[class*="-card"], [class*="card-"] {
  background: var(--surface-2) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}
/* Form footer stays on surface-3 — don't override */
.urai-form-footer {
  background: var(--surface-3) !important;
  border-color: var(--border) !important;
}
.card:hover, .choice-card:hover, .blog-card:hover {
  background: var(--surface-3) !important;
  border-color: var(--border-hover) !important;
}

/* ── Text coherence ── */
h1, h2, h3, h4, h5, h6, .section-title { color: var(--text) !important; }
p, .lead, li, td, th { color: var(--text-muted); }

/* ── Inputs & selects ── */
.urai-input {
  background: var(--surface-3) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}
.urai-input:focus {
  border-color: var(--border-focus) !important;
  box-shadow: 0 0 0 3px var(--primary-glow) !important;
  background: var(--input-bg-focus) !important;
}
.urai-input::placeholder { color: var(--text-faint) !important; }

/* ── Modal panel ── */
.ucm-panel {
  background: var(--surface) !important;
  border-color: var(--border) !important;
}
.ucm-header { border-bottom-color: var(--border) !important; }
.ucm-close {
  background: var(--surface-3) !important;
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
}

/* ── Contact page bg ── */
.contact-page-bg, body.contact-page-bg {
  background-color: var(--bg) !important;
}

/* ── Footer ── */
footer, .footer, [class*="footer"] {
  background-color: var(--surface) !important;
  border-top: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
}

/* ── Buttons — only primary gets color, rest are neutral ── */
.btn-primary, .urai-submit-btn {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 55%, var(--accent) 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.btn-outline-primary {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: transparent !important;
}
.btn-outline-primary:hover {
  background: var(--primary-glow) !important;
}

/* ── Dividers & HR ── */
hr, .divider { border-color: var(--border) !important; }

/* ── Badges ── */
.badge, [class*="badge"] {
  background: var(--surface-3) !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--border) !important;
}

/* ── Dropdown menus (Bootstrap) ── */
.dropdown-menu {
  background: var(--surface) !important;
  border-color: var(--border) !important;
}
.dropdown-item { color: var(--text) !important; }
.dropdown-item:hover { background: var(--surface-3) !important; }

/* ── Scrollbar ── */
html { scrollbar-color: var(--surface-3) var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-4); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }