/* Global Styles — Zentix 2026 Design System */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #64748b;
    --accent-color: #f43f5e;
    --accent-glow: rgba(244, 63, 94, 0.35);
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --white: #ffffff;
    --black: #000000;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --dark-gray: #334155;
    --font-primary: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', -apple-system, sans-serif;
    --box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #312e81 100%);
    --gradient-accent: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --card-bg: rgba(255, 255, 255, 0.82);
    --header-bg: rgba(248, 250, 252, 0.0);
    --header-bg-scrolled: rgba(248, 250, 252, 0.88);
    --radius-pill: 9999px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #e2e8f0;
        --text-secondary: #94a3b8;
        --border-color: rgba(255,255,255,0.09);
        --card-bg: rgba(15, 20, 40, 0.80);
        --header-bg: rgba(5, 5, 16, 0.0);
        --header-bg-scrolled: rgba(10, 10, 28, 0.88);
        --dark-color: #e2e8f0;
        --light-color: #0d0d1e;
        --light-gray: rgba(255,255,255,0.05);
        --white: #0f0f1e;
        --glass-bg: rgba(15, 20, 40, 0.70);
        --glass-border: rgba(255, 255, 255, 0.07);
    }
}

/* ── Light Theme Overrides ── */
body.light-theme {
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --gray: #475569;
    --border-color: #cbd5e1;
    --card-bg: rgba(255, 255, 255, 0.90);
    --header-bg: rgba(248, 250, 252, 0.0);
    --header-bg-scrolled: rgba(248, 250, 252, 0.95);
    --dark-color: #0f172a;
    --light-color: #f1f5f9;
    --white: #ffffff;
    --glass-bg: rgba(248, 250, 252, 0.85);
    --glass-border: rgba(0, 0, 0, 0.1);
    background-color: var(--white);
    color: var(--text-primary);
}

body.light-theme .f-badge {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--primary-dark);
}

body.light-theme .btn.secondary {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.4);
    color: var(--primary-dark);
}

body.light-theme .btn.secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

body.light-theme .pricing-card {
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .pricing-card[style*="border:2px solid"] {
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15) !important;
}

/* Light-theme hero colors consolidated at bottom of file in LIGHT THEME section */


body.light-theme .nav ul li a {
    color: var(--text-secondary);
}

body.light-theme .nav ul li a:hover {
    color: var(--primary-color);
}

body.light-theme .theme-toggle-btn {
    color: var(--text-primary);
}

body.light-theme .lang-text-display {
    color: #334155;
}

body.light-theme .lang-hover-info {
    color: #334155;
}

body.light-theme .theme-toggle-btn .light-icon {
    display: none;
}

body.light-theme .theme-toggle-btn .dark-icon {
    display: inline-block;
}

body:not(.light-theme) .theme-toggle-btn .light-icon {
    display: inline-block;
}

body:not(.light-theme) .theme-toggle-btn .dark-icon {
    display: none;
}

/* ── Dark Mode Overrides (manual toggle on light-preference systems) ── */
body.dark-mode {
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --border-color: rgba(255,255,255,0.09);
    --card-bg: rgba(15, 20, 40, 0.80);
    --header-bg: rgba(5, 5, 16, 0.0);
    --header-bg-scrolled: rgba(10, 10, 28, 0.88);
    --dark-color: #e2e8f0;
    --dark-gray: #94a3b8;
    --gray: #94a3b8;
    --light-color: #0d0d1e;
    --light-gray: rgba(255,255,255,0.05);
    --white: #0f0f1e;
    --glass-bg: rgba(15, 20, 40, 0.70);
    --glass-border: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
}

/* Dark-mode hero colors use var(--text-primary) from :root — no override needed */


body.dark-mode .nav ul li a {
    color: #94a3b8;
}

body.dark-mode .nav ul li a:hover {
    color: var(--primary-light);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

body.dark-mode .theme-toggle-btn {
    color: #e2e8f0;
}

body.dark-mode .theme-toggle-btn .light-icon {
    display: inline-block;
}

body.dark-mode .lang-text-display {
    color: #e2e8f0 !important;
}

body.dark-mode .lang-hover-info {
    color: #e2e8f0 !important;
}

body.dark-mode .lang-toggle {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Default state (no theme class) — hero is always dark, so force light text */
body:not(.light-theme) .lang-text-display {
    color: #e2e8f0 !important;
}

body:not(.light-theme) .lang-hover-info {
    color: #e2e8f0 !important;
}

body:not(.light-theme) .lang-toggle {
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .theme-toggle-btn .dark-icon {
    display: none;
}

/* ── Global Reset ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: transparent;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 100px 0;
    position: relative;
    background: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 14px;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn.primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn.secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 16px 0;
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
    box-shadow: none !important;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100% !important;
    width: 100%;
    padding: 0 24px;
}

/* Header Social Actions */
.header-social-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 15px;
}

.contact-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #4b5563;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
    text-decoration: none;
}

body.dark-mode .contact-social-btn {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.contact-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.dark-mode .contact-social-btn:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.contact-social-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: white !important;
}

.contact-social-btn.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
    color: white !important;
}

/* Header CTA Button — Primary auth entry point */
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.01em;
    color: #ffffff;
    background: var(--gradient-primary);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    margin-right: 4px;
}

.header-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.header-cta-btn:hover::before {
    transform: translateX(100%);
}

.header-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
    color: #ffffff;
}

.header-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.header-cta-btn i {
    font-size: 14px;
    opacity: 0.9;
}

.header.scrolled {
    padding: 10px 0;
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

@-moz-document url-prefix() {
    .header.scrolled {
        background: transparent !important;
    }
}

/* Header Scroll Direction (Dissolve/Curve animation) */
.header-hidden {
    transform: translateY(-100%) !important;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                opacity 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                background 0.4s ease !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Smooth Scroll Indicator — Single Source of Truth */
.smooth-scroll-indicator {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 8px;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    border-radius: 4px;
    z-index: 9990;
    pointer-events: none;
    opacity: 0.6;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.3s ease,
                opacity 0.3s ease,
                box-shadow 0.3s ease,
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active direction: stretches from top (scrolling down) */
.smooth-scroll-indicator.moving-line {
    border-radius: 2px;
}

.smooth-scroll-indicator.scroll-down {
    height: 40px;
    opacity: 0.9;
    transform: translateY(-30%);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

/* Active direction: stretches from bottom (scrolling up) */
.smooth-scroll-indicator.scroll-up {
    height: 40px;
    opacity: 0.9;
    transform: translateY(-70%);
    box-shadow: 0 -6px 12px rgba(102, 126, 234, 0.4);
}

/* Idle state: centered dot */
.smooth-scroll-indicator.idle-circle {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    opacity: 0.3;
    box-shadow: none;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .smooth-scroll-indicator {
        right: 15px;
    }
}


/* =========================================================================
   OFFICIAL REBRANDED LOGO STRUCTURE
   Do not modify this structure unless explicitly requested.
   This animated dynamic logo is standardized across all pages and dashboards.
   ========================================================================= */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.lang-toggle {
    position: relative;
    height: 36px;
    width: 80px;
    background: transparent;
    border: 1.5px solid rgba(200, 200, 200, 0.2);
    border-radius: 9px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.light-theme .lang-toggle {
    border-color: rgba(0, 0, 0, 0.1);
}

.lang-toggle:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.lang-toggle:hover .lang-hover-info,
.lang-toggle:hover .lang-text-display {
    color: #ffffff !important;
}

.lang-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.lang-text-display {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-hover-info {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #e2e8f0;
}

.lang-toggle:hover .lang-content {
    transform: translateY(-100%);
}

.zentix-logo-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    perspective: 1000px;
}

.logo-core {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
    transform: rotate(45deg);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    z-index: 2;
    animation: core-pulse 3s infinite ease-in-out;
}

.logo-shard {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    z-index: 1;
}

.shard-1 {
    width: 12px;
    height: 12px;
    top: 5px;
    left: 5px;
    animation: shard-float-1 4s infinite ease-in-out;
}

.shard-2 {
    width: 8px;
    height: 8px;
    bottom: 8px;
    right: 5px;
    animation: shard-float-2 5s infinite ease-in-out;
}

.shard-3 {
    width: 10px;
    height: 5px;
    bottom: 5px;
    left: 10px;
    animation: shard-float-3 6s infinite ease-in-out;
}

@keyframes core-pulse {
    0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.9; }
    50% { transform: rotate(45deg) scale(1.1); opacity: 1; filter: brightness(1.2); }
}

@keyframes shard-float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
    50% { transform: translate(-8px, -6px) rotate(15deg); opacity: 0.8; }
}

@keyframes shard-float-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.4; }
    50% { transform: translate(10px, 8px) rotate(-20deg); opacity: 0.7; }
}

@keyframes shard-float-3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    50% { transform: translate(-5px, 12px) rotate(30deg); opacity: 0.6; }
}

.logo:hover .logo-core {
    animation-duration: 1s;
}

.logo:hover .logo-shard {
    filter: brightness(1.5);
    border-color: var(--primary-color);
}

.logo img {
    height: 38px;
    border-radius: 10px;
}

.logo span {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    margin-right: 15px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.theme-toggle-btn:hover {
    background: rgba(128, 128, 128, 0.1);
    color: var(--primary-color);
}

.nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    background: transparent !important;
    box-shadow: none !important;
}

.nav ul::before,
.nav ul::after {
    display: none !important;
    content: none !important;
}

.nav ul li a {
    font-weight: 500;
    color: rgba(226, 232, 240, 0.85);
    transition: var(--transition);
    position: relative;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.nav ul li a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 1px;
}

.nav ul li a:hover::after {
    width: 100%;
}

.dashboard-link {
    background: var(--gradient-primary) !important;
    color: #ffffff !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-pill) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease !important;
}

.dashboard-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45) !important;
}

.dashboard-link::after {
    display: none !important;
}

/* Login nav link */
.nav-login-link {
    font-size: 13px !important;
    font-weight: 500;
    color: var(--text-secondary) !important;
    padding: 7px 14px !important;
    border-radius: var(--radius-pill) !important;
    border: 1px solid var(--border-color) !important;
    transition: var(--transition) !important;
}

.nav-login-link:hover {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: rgba(99,102,241,0.06) !important;
}

.nav-login-link::after {
    display: none !important;
}

.language-switcher select {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    font-family: var(--font-primary);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--dark-color);
    padding: 6px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:active {
    background: rgba(99, 102, 241, 0.1);
}

/* Hero Section — Dark immersive design */
.hero {
    padding: 140px 0 100px;
    background: transparent;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(244, 63, 94, 0.08) 0%, transparent 40%);
    animation: meshFloat 15s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

@keyframes meshFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-2%, 1%) rotate(1deg);
    }

    66% {
        transform: translate(1%, -1%) rotate(-1deg);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 90% !important;
}

.hero-content {
    flex: 1;
    padding: 0 5%;
    text-align: center;
    max-width: 100%;
}

.hero-content h1 {
    font-size: clamp(36px, 4vw, 60px);
    margin-bottom: 24px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-wrap: balance;
}

.hero-content h1 strong {
    background: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: clamp(16px, 1.4vw, 20px);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p strong {
    color: rgba(255, 255, 255, 0.95);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.5) !important;
}

.hero-subtitle i {
    color: var(--accent-color) !important;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.cta-buttons .btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.cta-buttons .btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 380px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: heroFloat 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* Stats Section */
.stats-section {
    background: transparent;
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--box-shadow-lg);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    padding: 36px 24px;
    text-align: center;
    border-right: 1px solid var(--light-gray);
    transition: var(--transition);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: rgba(99, 102, 241, 0.03);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* NOTE: The second .container rule that was here has been REMOVED.
   It was overriding the first .container with display:flex, causing layout issues. */

/* Mobile fix: prevent stats section from overlapping the hero image */
@media (max-width: 768px) {
    .stats-section {
        margin-top: 0;
        padding-top: 40px;
    }

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

    .stat-item {
        border-bottom: 1px solid var(--light-gray);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 0 0 1px var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 24px 48px rgba(99, 102, 241, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.25);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-color);
    font-size: 28px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-color);
}

/* Benefits Section */
.benefits-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.benefits-image {
    flex: 1;
}

.benefits-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.benefits-list {
    flex: 1;
}

.benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 24px;
    margin-top: 5px;
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

/* Pricing Section */
.pricing {
    background: var(--light-color);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    padding: 44px 36px;
    width: 100%;
    max-width: 520px;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: visible;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 26px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 15px 0;
}

.price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray);
}

.trial-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    letter-spacing: 0.02em;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--dark-gray);
}

.pricing-features i {
    color: var(--success-color);
    font-size: 14px;
}

/* Demo Section */
.demo-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

.demo-chatbot {
    flex: 1;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 20px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.demo-info {
    flex: 1;
}

.demo-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.demo-info ul {
    margin-bottom: 30px;
    list-style-type: none;
}

.demo-info ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    line-height: 1.5;
}

.demo-info ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2328a745'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.demo-cta {
    margin-top: 30px;
}

/* Testimonials Section */
.testimonials {
    background: var(--white);
}

.testimonials-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    margin-top: 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 350px;
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    scroll-snap-align: start;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.testimonial-content {
    position: relative;
    margin-bottom: 24px;
}

.testimonial-content i {
    position: absolute;
    top: -8px;
    left: -8px;
    font-size: 40px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    z-index: 0;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark-gray);
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 12px;
    font-size: 14px;
    letter-spacing: 2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 15px;
}

.author-role {
    color: var(--gray);
    font-size: 13px;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 24px;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.contact-form {
    flex: 1;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-primary);
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

body.dark-mode .form-group input,
body:not(.light-theme) .form-group input,
body.dark-mode .form-group textarea,
body:not(.light-theme) .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    transition: var(--transition);
}

.social-link.facebook {
    background-color: #3b5998;
}

.social-link.linkedin {
    background-color: #0077b5;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* FAQ Section */
.faq-items {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--white);
}

.faq-question h3 {
    font-size: 18px;
    margin-bottom: 0;
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: var(--light-color);
    color: var(--text-primary);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* CTA Section */
.cta {
    background: var(--gradient-hero);
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(244, 63, 94, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 70px 0 24px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 44px;
    border-radius: 10px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.links-column {
    flex: 1;
    min-width: 200px;
}

.links-column h3 {
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.links-column ul li {
    margin-bottom: 10px;
}

.links-column ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    transition: var(--transition);
}

.links-column ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-social h3 {
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}


/* ================================================================
   RESPONSIVE STYLES – Mobile-first iOS & Android optimized (2026)
   ================================================================ */

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .benefits-content,
    .contact-content {
        flex-direction: column;
    }

    .benefits-image,
    .contact-info {
        margin-bottom: 30px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
}

/* ---- Tablet / small-desktop breakpoint ---- */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    /* ===== MOBILE HEADER ===== */
    .lang-toggle { display: none; }
    .header-cta-btn { display: none; }
    
    .header {
        padding: 10px 0;
        padding-top: calc(10px + env(safe-area-inset-top, 0px));
        z-index: 1100;
    }

    .header .container {
        padding: 0 16px;
        gap: 10px;
    }

    /* Reduce social icon sizes on mobile for better spacing */
    .header-social-actions {
        gap: 8px;
        margin-right: 8px;
    }

    .contact-social-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 16px;
    }

    .theme-toggle-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .mobile-menu-btn {
        z-index: 1101;
    }

    .logo img {
        height: 32px;
    }

    .logo span {
        font-size: 18px;
    }

    /* ===== MOBILE NAV OVERLAY ===== */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        padding: 0;
        padding-top: calc(80px + env(safe-area-inset-top, 0px));
        padding-bottom: env(safe-area-inset-bottom, 20px);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease,
            visibility 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Dark-mode nav overlay — prevent jarring white flash */
    body:not(.light-theme) .nav,
    body.dark-mode .nav {
        background: rgba(15, 20, 40, 0.98) !important;
    }

    .nav.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav ul {
        flex-direction: column;
        gap: 4px;
        padding: 20px 24px;
    }

    .nav ul li {
        width: 100%;
    }

    .nav ul li a {
        padding: 14px 20px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        font-size: 16px;
        font-weight: 500;
        min-height: 48px;
        color: var(--dark-color);
        transition: background 0.2s ease, color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .nav ul li a:hover,
    .nav ul li a:active {
        background: rgba(99, 102, 241, 0.08);
        color: var(--primary-color);
    }

    .nav ul li a::after {
        display: none;
    }

    .nav ul li .dashboard-link {
        justify-content: center;
        margin-top: 8px;
        padding: 14px 20px !important;
        font-size: 15px !important;
        border-radius: 12px !important;
        min-height: 52px;
    }

    .nav .language-switcher {
        margin-top: 12px;
        padding: 0 20px;
    }

    .nav .language-switcher select {
        width: 100%;
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        background: var(--light-color);
        min-height: 48px;
    }

    /* ===== MOBILE MENU BUTTON ===== */
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    /* ===== MOBILE HERO ===== */
    .hero {
        padding: 100px 0 50px;
        padding-top: calc(100px + env(safe-area-inset-top, 0px));
        text-align: center;
        min-height: auto;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-image {
        width: 100%;
        margin-top: 20px;
    }

    .hero-image img {
        max-height: 240px;
        animation: none;
    }

    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    /* ===== MOBILE STATS ===== */
    .stats-section {
        margin-top: 0;
        padding-top: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 16px;
    }

    .stat-item {
        padding: 24px 16px;
    }

    .stat-item:nth-child(even) {
        border-right: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--light-gray);
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* ===== OTHER MOBILE SECTIONS ===== */
    .demo-container {
        flex-direction: column;
    }

    .section-title {
        font-size: 28px;
    }

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

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 100%;
    }

    .testimonials-slider {
        padding: 15px 0;
        gap: 16px;
    }

    .testimonial-card {
        min-width: 85%;
    }

    .contact-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .links-column {
        min-width: 100%;
    }

    /* Reduce hero bottom padding and remove 100vh min-height to close gap to stats */
    .hero-minimal {
        min-height: auto;
        padding: 100px 5% 40px;
        padding-top: calc(100px + env(safe-area-inset-top, 0px));
    }
}

/* ---- Phone breakpoint ---- */
@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }

    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Smaller header on phones */
    .header {
        padding: 8px 0;
        padding-top: calc(8px + env(safe-area-inset-top, 0px));
    }

    .logo img {
        height: 28px;
    }

    .logo span {
        font-size: 16px;
    }

    .hero {
        padding: 90px 0 40px;
        padding-top: calc(90px + env(safe-area-inset-top, 0px));
    }

    .hero-content h1 {
        font-size: 26px;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .feature-card h3 {
        font-size: 17px;
    }

    .pricing-card {
        padding: 24px 16px;
    }

    .testimonial-card {
        min-width: 92%;
        padding: 24px 20px;
    }

    .contact-form {
        width: 100%;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 14px 16px;
        border-radius: 10px;
    }

    .footer {
        padding: 40px 0 20px;
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }

    .footer-content {
        gap: 30px;
    }

    .language-switcher select {
        font-size: 14px;
        padding: 6px 8px;
    }

    /* CTA section mobile */
    .cta h2 {
        font-size: 28px;
    }

    .cta p {
        font-size: 16px;
    }

    /* Sale banner mobile */
    .sale-banner h3 {
        font-size: 20px !important;
    }

    .sale-banner p {
        font-size: 14px !important;
    }

    /* Benefit items mobile */
    .benefit-item {
        gap: 12px;
    }

    .benefit-item h3 {
        font-size: 17px;
    }

    .benefit-item i {
        font-size: 20px;
    }

    /* FAQ mobile */
    .faq-question h3 {
        font-size: 15px;
    }
}

/* ---- Extra small devices (SE, Galaxy Fold etc.) ---- */
@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 23px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 10px;
    }

    .section-title {
        font-size: 22px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .nav ul {
        padding: 16px;
    }

    .nav ul li a {
        padding: 12px 16px;
        font-size: 15px;
    }

    /* Galaxy Fold testimonial fix */
    .testimonial-card {
        min-width: 98%;
        padding: 20px 16px;
    }
}

/* ---- Tablet features 2-column layout ---- */
@media (max-width: 768px) and (min-width: 481px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .links-column {
        min-width: 45%;
    }

    .footer-content {
        flex-wrap: wrap;
    }
}

/* Hide native scrollbar globally */
html, body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
html::-webkit-scrollbar, 
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* ================================================================
   iOS specific fixes
   ================================================================ */
@supports (-webkit-touch-callout: none) {

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important;
        /* Prevents zoom on iOS */
    }

    /* Fix dashboard modal input zoom on iOS */
    .modal .form-group input,
    .modal .form-group textarea,
    .modal .form-group select {
        font-size: 16px !important;
    }

    .hero {
        /* Fix for iOS viewport issues */
        min-height: auto;
    }

    /* Fix iOS momentum scrolling in nav */
    .nav {
        -webkit-overflow-scrolling: touch;
    }

    /* Fix iOS 100vh bug */
    @media (max-width: 768px) {
        .nav {
            height: -webkit-fill-available;
        }
    }

    /* Use dvh units for modals on iOS to avoid address bar clipping */
    .modal.active {
        height: 100dvh;
    }
    .modal-content {
        max-height: 88dvh;
    }
}

/* ================================================================
   Android specific fixes
   ================================================================ */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .hero-image img {
        /* Better rendering on Android */
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
}

/* ================================================================
   Landscape orientation on mobile
   ================================================================ */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 30px;
        padding-top: calc(80px + env(safe-area-inset-top, 0px));
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-image {
        display: none;
    }

    section {
        padding: 40px 0;
    }

    .nav {
        padding-top: calc(60px + env(safe-area-inset-top, 0px));
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-item {
        border-bottom: none !important;
    }

    .stat-item:nth-child(2) {
        border-right: 1px solid var(--light-gray);
    }
}

/* ================================================================
   Touch device optimizations (phones + tablets)
   ================================================================ */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 12px 24px;
        -webkit-tap-highlight-color: transparent;
    }

    .nav ul li a {
        min-height: 48px;
        -webkit-tap-highlight-color: transparent;
    }

    .feature-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    /* Disable hovers that cause stickiness on touch */
    .feature-card:hover {
        transform: none;
    }

    .feature-card:active {
        transform: scale(0.98);
        transition: transform 0.15s ease;
    }

    .testimonial-card:hover {
        transform: none;
    }

    .pricing-card:hover {
        transform: none;
    }

    .social-link:hover {
        transform: none;
    }

    /* Better scrollbar hiding for mobile */
    .testimonials-slider {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .testimonials-slider::-webkit-scrollbar {
        display: none;
    }
}

/* Modal Styles - Enhanced 2026 Design */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: auto;
    padding: 0;
    border-radius: 24px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    transform: translateY(-50px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a6bff 0%, #6b4aff 100%);
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    font-weight: 300;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    color: var(--danger-color);
    background: rgba(239, 68, 68, 0.1);
    transform: rotate(90deg) scale(1.1);
}

.modal-content h2 {
    color: var(--primary-color);
    margin: 0 0 30px 0;
    padding: 30px 30px 0 30px;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-content h2 i {
    font-size: 24px;
    background: linear-gradient(135deg, #4a6bff 0%, #6b4aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-body {
    padding: 0 30px 30px 30px;
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

.modal-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.modal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.modal-section h3 {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section h3 i {
    color: var(--primary-color);
    font-size: 18px;
}

.modal-section h4 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-section p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 15px;
}

.modal-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-section li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.modal-section li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--success-color);
    font-size: 16px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.05) 0%, rgba(107, 74, 255, 0.05) 100%);
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(74, 107, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 107, 255, 0.15);
    border-color: rgba(74, 107, 255, 0.2);
}

.contact-info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 4px;
}

.contact-info-item div {
    flex: 1;
}

.contact-info-item h4 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.contact-info-item p {
    margin: 0 0 4px 0;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
}

.contact-info-item small {
    color: var(--text-secondary);
    font-size: 13px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal.active {
        padding: 10px;
    }

    .modal-content {
        width: 95%;
        max-width: 100%;
        border-radius: 20px;
        max-height: 95vh;
    }

    .modal-content h2 {
        font-size: 24px;
        padding: 20px 20px 0 20px;
    }

    .modal-body {
        padding: 0 20px 20px 20px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .modal-section {
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    .modal-section h3 {
        font-size: 18px;
    }

    .contact-info-item {
        padding: 16px;
    }
}

/* PayPal Form Styles */
.paypal-form-container {
    margin-top: 20px;
}

.paypal-form-container .btn {
    width: 100%;
}

/* ─ Scroll-reveal: see consolidated rules in "Live Words & Ease of Sight" section below ─ */

/* =============================================================
   TYPING INDICATOR (Chatbot)
   ============================================================= */
.typing-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 18px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.4;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Quick-reply chips */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 20px 12px;
}

.quick-reply-chip {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.06);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.quick-reply-chip:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Message entrance animation */
.message {
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================================
   AI SCHEDULING SECTION
   ============================================================= */
.ai-scheduling-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 50%, #faf5ff 100%);
    position: relative;
    overflow: hidden;
}

.ai-scheduling-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.scheduling-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.scheduling-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%);
    color: #7c3aed;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.scheduling-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.25;
    margin-bottom: 16px;
}

.scheduling-content h2 strong {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scheduling-content>p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.scheduling-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sched-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(139, 92, 246, 0.08);
    transition: all 0.3s ease;
}

.sched-feature:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.1);
}

.sched-feature>i {
    font-size: 20px;
    color: #7c3aed;
    margin-top: 2px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.sched-feature>div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sched-feature strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
}

.sched-feature span {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Scheduling Visual Mockup */
.scheduling-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sched-mockup {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 420px;
    animation: floatUp 6s ease-in-out infinite;
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.sched-mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: #fff;
}

.sched-mockup-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sched-mockup-header .dot.red {
    background: #ef4444;
}

.sched-mockup-header .dot.yellow {
    background: #f59e0b;
}

.sched-mockup-header .dot.green {
    background: #10b981;
}

.sched-mockup-title {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    opacity: 0.9;
}

.sched-mockup-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sched-mock-meeting {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: #f8f9ff;
    border: 1px solid rgba(139, 92, 246, 0.08);
    transition: all 0.3s ease;
}

.sched-mock-meeting:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.sched-mock-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.sched-mock-meeting>div {
    flex: 1;
    min-width: 0;
}

.sched-mock-meeting strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e1b4b;
    margin-bottom: 2px;
}

.sched-mock-meeting>div>span {
    font-size: 12px;
    color: #64748b;
}

.sched-mock-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sched-mock-badge.confirmed {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.sched-mock-badge.upcoming {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.sched-mock-badge.high {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Scheduling Responsive */
@media (max-width: 768px) {
    .ai-scheduling-section {
        padding: 50px 0;
    }

    .scheduling-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .scheduling-content h2 {
        font-size: 26px;
    }

    .scheduling-visual {
        order: -1;
    }

    .sched-mockup {
        max-width: 100%;
    }
}

/* =============================================================
   INDUSTRY USE CASES SECTION
   ============================================================= */
.use-cases-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.use-case-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.use-case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(99, 102, 241, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

.use-case-card:hover::before {
    transform: scaleX(1);
}

.use-case-icon {
    font-size: 42px;
    margin-bottom: 16px;
    line-height: 1;
}

.use-case-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.use-case-card>p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.use-case-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.use-case-features li i {
    color: var(--success-color);
    font-size: 11px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .use-cases-section {
        padding: 50px 0;
    }

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

    .use-case-card {
        padding: 24px 20px;
    }

    .use-case-icon {
        font-size: 36px;
    }

    .use-case-card h3 {
        font-size: 18px;
    }
}

/* =============================================================
   DARK MODE SUPPORT
   ============================================================= */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1e1e2e;
        --light-color: #181825;
        --light-gray: #313244;
        --dark-color: #cdd6f4;
        --text-primary: #cdd6f4;
        --text-secondary: #a6adc8;
        --border-color: #45475a;
        --gray: #a6adc8;
        --dark-gray: #bac2de;
        --glass-bg: rgba(30, 30, 46, 0.85);
    }

    body {
        background: #181825;
        color: #cdd6f4;
    }



    .nav {
        background: rgba(30, 30, 46, 0.98);
    }

    .nav ul li a:hover,
    .nav ul li a:active {
        background: rgba(99, 102, 241, 0.15);
    }

    .nav .language-switcher select {
        background: #313244;
        border-color: #45475a;
        color: #cdd6f4;
    }

    .feature-card,
    .pricing-card,
    .testimonial-card {
        background: #1e1e2e;
        border-color: #45475a;
    }

    .feature-card:hover {
        box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    }

    .stats-grid {
        background: #1e1e2e;
    }

    .stat-item {
        border-color: #313244;
    }

    .section-title {
        color: #cdd6f4;
    }

    .modal-content {        background: linear-gradient(135deg, #1e1e2e 0%, #181825 100%);
    }

    .modal-content h2,
    .modal-section h3 {
        color: #cdd6f4;
    }

    .modal-section p {
        color: #a6adc8;
    }

    .contact-info-item {
        background: rgba(99, 102, 241, 0.08);
        border-color: rgba(99, 102, 241, 0.15);
    }
}

/* ═══════════════════════════════════════════════════════
   CONTRAST-AUDIT DARK-MODE OVERRIDES (March 2026)
   Fixes hardcoded light backgrounds that had no dark support
   ═══════════════════════════════════════════════════════ */

/* ── Mobile nav overlay dark mode ── */
@media (max-width: 768px) {
    body.dark-mode .nav,
    body:not(.light-theme) .nav {
        background: rgba(15, 15, 30, 0.98) !important;
    }

    body.dark-mode .nav ul li a,
    body:not(.light-theme) .nav ul li a {
        color: #e2e8f0;
    }

    body.dark-mode .nav ul li a:hover,
    body:not(.light-theme) .nav ul li a:hover {
        background: rgba(99, 102, 241, 0.12);
        color: var(--primary-light);
    }
}

/* ── AI scheduling section ── */
body.dark-mode .ai-scheduling-section,
body:not(.light-theme) .ai-scheduling-section {
    background: linear-gradient(135deg, #0f0f1e 0%, #151525 50%, #1a1a35 100%);
}

body.dark-mode .sched-feature,
body:not(.light-theme) .sched-feature {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .sched-feature:hover,
body:not(.light-theme) .sched-feature:hover {
    background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .sched-feature strong,
body:not(.light-theme) .sched-feature strong {
    color: #e2e8f0;
}

body.dark-mode .scheduling-content h2,
body:not(.light-theme) .scheduling-content h2 {
    color: #e2e8f0;
}

body.dark-mode .sched-mockup,
body:not(.light-theme) .sched-mockup {
    background: #1e1e2e;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

body.dark-mode .sched-mockup-body,
body:not(.light-theme) .sched-mockup-body {
    background: #1e1e2e;
}

body.dark-mode .sched-mock-meeting,
body:not(.light-theme) .sched-mock-meeting {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .sched-mock-meeting strong,
body:not(.light-theme) .sched-mock-meeting strong {
    color: #e2e8f0;
}

body.dark-mode .sched-mock-meeting>div>span,
body:not(.light-theme) .sched-mock-meeting>div>span {
    color: #94a3b8;
}

/* ── Use cases section ── */
body.dark-mode .use-cases-section,
body:not(.light-theme) .use-cases-section {
    background: linear-gradient(180deg, #0f0f1e 0%, #151525 100%);
}

body.dark-mode .use-case-card,
body:not(.light-theme) .use-case-card {
    background: #1e1e2e;
    border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .use-case-card:hover,
body:not(.light-theme) .use-case-card:hover {
    border-color: rgba(99, 102, 241, 0.15);
    box-shadow: 0 20px 48px rgba(99, 102, 241, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.08);
}

body.dark-mode .use-case-card h3,
body:not(.light-theme) .use-case-card h3 {
    color: #e2e8f0;
}

/* ── CTA always-white text ── */
.cta h2,
.cta p {
    color: #ffffff;
}

/* ── FAQ dark mode ── */
body.dark-mode .faq-question,
body:not(.light-theme) .faq-question {
    background-color: var(--card-bg);
}

body.dark-mode .faq-question h3,
body:not(.light-theme) .faq-question h3 {
    color: #e2e8f0;
}

body.dark-mode .faq-answer,
body:not(.light-theme) .faq-answer {
    background-color: rgba(15, 20, 40, 0.60);
    color: #cdd6f4;
}

/* ── Modal dark mode (M-6, M-7) ── */
body.dark-mode .modal-content {
    background: linear-gradient(135deg, #1e1e2e 0%, #181825 100%);
}

body.dark-mode .modal-content h2,
body.dark-mode .modal-section h3 {
    color: #cdd6f4;
}

body.dark-mode .modal-section p {
    color: #a6adc8;
}

body.dark-mode .modal-close {
    background: rgba(255, 255, 255, 0.08);
    color: #cdd6f4;
}

body.dark-mode .modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* ── Contact info item dark mode (M-8) ── */
body.dark-mode .contact-info-item {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

/* ── Scheduling badge dark mode (M-4) ── */
body.dark-mode .scheduling-badge,
body:not(.light-theme) .scheduling-badge {
    background: rgba(139, 92, 246, 0.2);
}

/* ── Scheduling mock badges dark mode (M-5) ── */
body.dark-mode .sched-mock-badge.confirmed,
body:not(.light-theme) .sched-mock-badge.confirmed {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

body.dark-mode .sched-mock-badge.upcoming,
body:not(.light-theme) .sched-mock-badge.upcoming {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

body.dark-mode .sched-mock-badge.high,
body:not(.light-theme) .sched-mock-badge.high {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

/* ═══════════════════════════════════════════════════════
   MINIMAL 2026 — Header, Lang Toggle, Hero, Start Button
   ═══════════════════════════════════════════════════════ */

/* ── Logo as link ── */
a.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

a.logo img {
    height: 36px;
    border-radius: 10px;
}

.logo-name {
    font-size: 18px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

/* ── Nav links — clean minimal ── */
.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary-color);
    transition: width 0.25s ease;
    border-radius: 1px;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* ── Flag language toggle ── */
.lang-toggle {
    position: relative;
    width: 34px;
    height: 34px;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
}

.lang-flag-current,
.lang-flag-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 50%;
    transition: opacity 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.lang-flag-hover {
    opacity: 0;
    transform: scale(0.7);
    background: rgba(99,102,241,0.1);
}

.lang-toggle:hover .lang-flag-current {
    opacity: 0;
    transform: scale(0.7);
}

.lang-toggle:hover .lang-flag-hover {
    opacity: 1;
    transform: scale(1);
}

/* ── Mobile hamburger — 3-line style ── */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:hover {
    background: rgba(99,102,241,0.08);
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero Minimal ── */
.hero-minimal {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 10% 60px;
    position: relative;
    overflow: visible;
}

.hero-minimal-inner {
    width: 100%;
    position: relative;
    z-index: 1;
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-headline {
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 24px;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

.hero-headline em {
    font-style: normal;
    /* Fallback gradient for when JS is disabled (no word-reveal spans) */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* When splitWords has run, gradient must be on the innermost text-bearing span.
   background-clip:text only clips to an element's own text, not child text. */
.hero-headline em .word-reveal > span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}




.hero-sub {
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 36px;
}

/* ── Hero CTA Buttons ── */
.hero-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-primary);
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 28px rgba(99, 102, 241, 0.35);
    position: relative;
    overflow: hidden;
}

.hero-cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.hero-cta-primary:hover::before {
    transform: translateX(100%);
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.45);
    color: #ffffff;
}

.hero-cta-primary:active {
    transform: translateY(0);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-primary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.hero-cta-secondary i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.hero-cta-secondary:hover i {
    transform: translateX(3px);
}

@media (max-width: 576px) {
    .hero-cta-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0 20px;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-cta-primary {
        padding: 14px 24px;
    }

    .hero-cta-secondary {
        padding: 12px 20px;
    }
}

/* ── Start Button + dropdown ── */
.start-btn-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.start-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-primary);
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 6px 28px rgba(99,102,241,0.35),
                0 0 0 0 rgba(99,102,241,0.3);
    position: relative;
    z-index: 2;
}

.start-btn:hover,
.start-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99,102,241,0.45),
                0 0 0 6px rgba(99,102,241,0.1);
}

.start-chevron {
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.start-btn.active .start-chevron,
.start-btn-wrap:hover .start-chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.start-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 260px;
    background: var(--card-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.start-btn-wrap:hover .start-dropdown,
.start-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.auth-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
    text-decoration: none;
}

.auth-option:hover {
    background: rgba(99,102,241,0.07);
}

.auth-option-email {
    color: var(--text-secondary);
    font-size: 13px;
}

.start-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 8px;
}

/* ── Trust line ── */
.hero-trust {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
    letter-spacing: 0.01em;
}

/* ─ data-reveal children: consolidated below ─ */


/* ═══════════════════════════════════════════════════════
   LIVE WORDS & EASE OF SIGHT — Animaciones Bi-direccionales
   ═══════════════════════════════════════════════════════ */

/* Word-by-word reveal animation — uses clip-path to avoid descender clipping */
.word-reveal {
    display: inline-block;
    vertical-align: top;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.01s 0.9s; /* expand clip after reveal animation */
}

.word-reveal span {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed .word-reveal {
    clip-path: inset(-20% -5% -20% -5%); /* open clip so descenders/ascenders are never cut */
}

.revealed .word-reveal span {
    transform: translateY(0);
    opacity: 1;
}


/* Bi-directional reveal (fade in/out on scroll) */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(4px);
    will-change: transform, opacity, filter;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Out animation (when leaving viewport) */
[data-reveal].exited {
    opacity: 0.3;
    transform: translateY(-20px);
    filter: blur(2px);
}

/* Staggered children */
[data-reveal-children]>* {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal-children].revealed>* {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-children].revealed>*:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-children].revealed>*:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-children].revealed>*:nth-child(3) { transition-delay: 0.19s; }
[data-reveal-children].revealed>*:nth-child(4) { transition-delay: 0.26s; }
[data-reveal-children].revealed>*:nth-child(5) { transition-delay: 0.33s; }
[data-reveal-children].revealed>*:nth-child(n+6) { transition-delay: 0.4s; }

/* Mobile: skip expensive blur filter — forces compositing on low-end GPUs */
@media (max-width: 768px) {
    [data-reveal] {
        filter: none;
        will-change: transform, opacity;
    }
    [data-reveal].exited {
        filter: none;
    }
}

/* Ease of Sight — Legibilidad mejorada */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.section-title {
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-subtitle {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
}

/* Clean subtle text-shadow — light mode only, hero excluded */
.section-title,
.nav-link,
.cta h2,
.cta p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}


/* ═══════════════════════════════════════════════════════
   CUSTOM CURSOR & DARK MODE TOGGLE
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   DARK MODE TOGGLE
   ═══════════════════════════════════════════════════════ */

/* NOTE: First .theme-toggle definition removed (m-5 audit fix).
   Consolidated into the single definition below at line ~3889. */

/* Global Dark Mode Overrides (m-6 audit: consolidated with L150 block) */
body.dark-mode {
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --border-color: rgba(255,255,255,0.09);
    --card-bg: rgba(15, 20, 40, 0.80);
    --header-bg: rgba(5, 5, 16, 0.0);
    --header-bg-scrolled: rgba(10, 10, 28, 0.88);
    --dark-color: #e2e8f0;
    --dark-gray: #94a3b8;
    --gray: #94a3b8;
    --light-color: #0d0d1e;
    --light-gray: rgba(255,255,255,0.05);
    --white: #0f0f1e;
    --glass-bg: rgba(15, 20, 40, 0.70);
    --glass-border: rgba(255, 255, 255, 0.07);
}

body.light-mode {
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: #e2e8f0;
    --card-bg: rgba(255, 255, 255, 0.82);
    --header-bg-scrolled: rgba(248, 250, 252, 0.88);
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

/* Engraved Theme Toggle */
.theme-toggle {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 1px 2px rgba(255,255,255,0.1);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: 12px; /* Square-ish with rounded corners for refined look */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 18px;
    margin-left: 14px;
    backdrop-filter: blur(10px);
}

body.dark-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.4), 0 1px 1px rgba(255,255,255,0.05);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Dynamic Cursor Sync */
.custom-cursor {
    border: 2.5px solid var(--primary-color);
    mix-blend-mode: normal; /* Better for theme sync */
}
body.dark-mode .custom-cursor { border-color: #a78bfa; }
body.light-mode .custom-cursor { border-color: #4f46e5; }

.custom-cursor-dot {
    background: var(--primary-color);
}
body.dark-mode .custom-cursor-dot { background: #ffffff; }
body.light-mode .custom-cursor-dot { background: #4f46e5; }

/* =========================================================================
   DEEP TOP BAR AUDIT: FORCE CLEAN STATE (NO BACKGROUNDS)
   m-7 audit fix: exclude .header.scrolled so glassmorphism works on scroll
   ========================================================================= */
.header:not(.scrolled),
.header .container,
#mainHeader:not(.scrolled),
.nav,
#mainNav,
.nav ul,
.nav ul li {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Eliminate pseudo-elements that could act as hidden layers */
.header::before,
.header::after,
.header.scrolled::before,
.header.scrolled::after,
.nav::before,
.nav::after,
#mainHeader::before,
#mainHeader::after,
.nav ul::before,
.nav ul::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Firefox-specific overrides for backdrop-filter fallbacks and color fills */
@-moz-document url-prefix() {
    .header,
    .header.scrolled,
    #mainHeader,
    .nav,
    #mainNav,
    .nav ul {
        background: transparent !important;
        background-color: transparent !important;
        backdrop-filter: none !important; 
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }
}

/* (Removed orphaned .scroll-dir-indicator — consolidated into .smooth-scroll-indicator) */

/* =========================================================================
   MICRO-INTERACTIONS & MOTION PHYSICS
   ========================================================================= */

/* Scroll Direction Flow Energy Logic Moved to Physics Engine Core */

/* Chatbot Hypercharge State (On Scroll) */
.chatbot-hypercharge .logo-core {
    animation-duration: 0.8s !important;
    filter: brightness(1.6) !important;
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.9) !important;
}

.chatbot-hypercharge .logo-shard {
    filter: brightness(1.8) !important;
    border-color: var(--primary-color) !important;
}

.chatbot-hypercharge .shard-1 { animation-duration: 1.5s !important; }
.chatbot-hypercharge .shard-2 { animation-duration: 2s !important; }
.chatbot-hypercharge .shard-3 { animation-duration: 2.5s !important; }

/* ═══════════════════════════════════════════════════════════
   LIGHT THEME — Landing Page Contrast Overrides
   Ensures all hardcoded dark-mode text colors become readable
   on the light (#f0f2f8) background.
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Variable overrides ── */
body.light-theme {
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --dark-color: #0f172a;
    --dark-gray: #334155;
    --gray: #475569;
    --border-color: #e2e8f0;
    --card-bg: rgba(255, 255, 255, 0.85);
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.06);
    color: #0f172a;
}

/* ── Navigation ── */
body.light-theme .nav ul li a {
    color: #334155;
}

body.light-theme .nav ul li a:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.06);
}

body.light-theme .mobile-menu-btn {
    color: #334155;
}

body.light-theme .mobile-menu-btn span {
    background: #334155;
}

/* ── Hero Section (transparent bg — canvas is light in light mode) ── */
body.light-theme .hero-content h1,
body.light-theme .hero-headline {
    color: #0f172a;
}

body.light-theme .hero-content p,
body.light-theme .hero-sub,
body.light-theme .hero-eyebrow {
    color: #475569;
}

/* ── Section Headers & Titles ── */
body.light-theme .section-title {
    color: #0f172a;
}

body.light-theme .section-subtitle {
    color: #475569;
}

body.light-theme .f-section-header h2 {
    color: #0f172a;
}

body.light-theme .f-section-header p {
    color: #64748b;
}

/* ── Feature Cards ── */
body.light-theme .f-feature-card h3 {
    color: #0f172a;
}

body.light-theme .f-feature-card p {
    color: #475569;
}

/* ── Social Proof / Stats ── */
body.light-theme .f-stat {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(99, 102, 241, 0.1);
}

body.light-theme .f-stat-label {
    color: #64748b;
}

/* ── Benefits Section ── */
body.light-theme .benefits .section-title,
body.light-theme .benefits h2 {
    color: #0f172a;
}

body.light-theme .benefit-item {
    color: #334155;
}

body.light-theme .benefit-item i {
    color: #6366f1;
}

/* ── Use Cases Section ── */
body.light-theme .use-cases-section .section-title {
    color: #0f172a;
}

body.light-theme .use-cases-section .section-subtitle {
    color: #475569 !important;
}

/* ── Logo name in header ── */
body.light-theme .logo-name,
body.light-theme .logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Theme Toggle ── */
body.light-theme .theme-toggle-btn {
    color: #334155;
}

/* ── Scroll Indicator ── */
body.light-theme .smooth-scroll-indicator {
    opacity: 0.5;
}

/* ── Footer ── */
body.light-theme .footer {
    color: #334155;
}

body.light-theme .footer a {
    color: #475569;
}

body.light-theme .footer a:hover {
    color: #6366f1;
}

/* ── WhatsApp Showcase badge text on light ── */
body.light-theme .f-badge {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

/* =========================================================================
   SMOOTH SCROLL WRAPPER (extracted from inline <style> in index.html)
   ========================================================================= */
body {
    height: 100%;
    overflow-x: hidden;
}

#smooth-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: clip;
}

/* Mobile CSS safety net: disable fixed-position momentum scroll wrapper.
   The JS in smooth-scroll.js does this too, but CSS ensures it works
   even before JS executes (prevents blank-page flash on mobile). */
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
    #smooth-wrapper {
        position: static !important;
        overflow: visible !important;
        height: auto !important;
    }

    #smooth-content {
        will-change: auto !important;
        transform: none !important;
    }
}

#smooth-content {
    width: 100%;
    will-change: transform;
}

/* =========================================================================
   USE-CASE CARDS (replaces 27 identical inline styles + 48 onmouseenter/leave)
   ========================================================================= */
.use-case-card-item {
    text-align: center;
    padding: 18px 10px;
    background: var(--card-bg, #fff);
    border-radius: 14px;
    border: 1px solid var(--border-color, #e2e8f0);
    transition: transform 0.2s, box-shadow 0.2s;
}

.use-case-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.use-case-icon {
    font-size: 26px;
    margin-bottom: 8px;
    display: block;
}

.use-case-label {
    font-weight: 600;
    font-size: 13px;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}

/* =========================================================================
   CHANNEL BADGES (replaces 3 inline-styled spans)
   ========================================================================= */
.channel-badges-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.channel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.channel-badge--web {
    background: rgba(99,102,241,0.08);
    color: #6366f1;
    border: 1px solid rgba(99,102,241,0.15);
}

.channel-badge--whatsapp {
    background: rgba(37,211,102,0.08);
    color: #25D366;
    border: 1px solid rgba(37,211,102,0.15);
}

.channel-badge--telegram {
    background: rgba(0,136,204,0.08);
    color: #0088cc;
    border: 1px solid rgba(0,136,204,0.15);
}

/* =========================================================================
   SECTION SUBTITLE (replaces repeated inline styling)
   ========================================================================= */
.section-subtitle--centered {
    max-width: 650px;
    margin: 0 auto 16px;
    color: var(--text-secondary);
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
}

/* =========================================================================
   CTA BUTTONS HOVER (replaces inline onmouseenter/onmouseleave)
   ========================================================================= */
a[style*="border-radius:50px"]:hover,
.cta-btn-gradient:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}


