:root {
    --bg-main: #030712;
    --bg-card: rgba(15, 23, 42, 0.75);
    --border-glass: rgba(255, 255, 255, 0.12);
    --gradient-antigravity: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --accent-purple: #c084fc;
    --accent-cyan: #22d3ee;
    --accent-green: #34d399;
    --text-main: #ffffff;
    --text-muted: #e2e8f0;
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; scroll-behavior: smooth; }
h1, h2, h3, h4, .font-heading { font-family: 'Space Grotesk', sans-serif; }
code, pre, .font-code { font-family: 'Fira Code', monospace; }

body { background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }

/* Screen Reader Only (WCAG Accessibility) */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ESN Expressive Preloader Overlay */
.app-preloader {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: #030712; z-index: 9999; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}
.app-preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-content { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; max-width: 500px; padding: 2rem; }
.preloader-logo img { height: 42px; width: auto; filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.6)); }

.esn-loader-ring { position: relative; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.esn-icon-box {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(168, 85, 247, 0.4); display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--accent-cyan); box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
    transition: all 0.3s ease;
}
.esn-ring-orbit {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%;
    border: 2px dashed rgba(168, 85, 247, 0.5); animation: spin 4s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.esn-step-badge {
    background: rgba(168, 85, 247, 0.12); border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc; font-size: 0.85rem; font-weight: 600; padding: 0.4rem 1.2rem;
    border-radius: 30px; backdrop-filter: blur(10px); transition: all 0.3s ease;
    display: inline-flex; align-items: center; gap: 0.5rem;
}

.preloader-terminal {
    background: rgba(15, 23, 42, 0.85); border: 1px solid var(--border-glass);
    border-radius: 12px; padding: 0.8rem 1.2rem; width: 100%; max-width: 400px;
    color: #34d399; font-size: 0.82rem; text-align: left; overflow: hidden;
}

.preloader-bar { width: 240px; height: 4px; background: rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden; }
.preloader-fill { width: 0%; height: 100%; background: var(--gradient-antigravity); transition: width 0.25s ease; }

/* Interactive Constellation Canvas */
#bg-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }

/* Glassmorphic Vertical Sidebar Navigation (Desktop Layout) */
aside.sidebar-nav {
    position: fixed; top: 0; left: 0; width: var(--sidebar-width); height: 100vh;
    background: rgba(3, 7, 18, 0.92); backdrop-filter: blur(25px);
    border-right: 1px solid var(--border-glass); z-index: 100;
    padding: 2.2rem 1.4rem; display: flex; flex-direction: column; justify-content: space-between;
    box-shadow: 10px 0 40px rgba(0,0,0,0.5);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
}

/* Sidebar Collapse Toggle Button */
.sidebar-collapse-toggle {
    position: absolute; top: 1.8rem; right: -14px;
    width: 28px; height: 28px; border-radius: 50%;
    background: #0f172a; border: 1px solid var(--accent-purple);
    color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 105; box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    transition: transform 0.3s ease, background 0.3s;
}
.sidebar-collapse-toggle:hover { background: var(--accent-purple); transform: scale(1.1); }
.sidebar-collapse-toggle i { transition: transform 0.3s ease; }

/* Retractable Sidebar Collapsed State */
aside.sidebar-nav.collapsed {
    width: var(--sidebar-collapsed-width); padding: 2.2rem 0.6rem;
}
aside.sidebar-nav.collapsed .sidebar-collapse-toggle i { transform: rotate(180deg); }

aside.sidebar-nav.collapsed .sidebar-logo { justify-content: center; margin-bottom: 2rem; width: 100%; }
aside.sidebar-nav.collapsed .sidebar-logo .logo-full { display: none !important; }
aside.sidebar-nav.collapsed .sidebar-logo .logo-icon-compact { display: flex !important; }

aside.sidebar-nav.collapsed .sidebar-menu a {
    justify-content: center; padding: 0.8rem 0; gap: 0;
}
aside.sidebar-nav.collapsed .sidebar-menu a span,
aside.sidebar-nav.collapsed .btn-antigravity span,
aside.sidebar-nav.collapsed .btn-outline span {
    display: none;
}

aside.sidebar-nav.collapsed .sidebar-menu a i {
    font-size: 1.3rem; margin: 0;
}

aside.sidebar-nav.collapsed .btn-antigravity,
aside.sidebar-nav.collapsed .btn-outline {
    padding: 0.8rem 0; justify-content: center; width: 100%; border-radius: 50px;
}

aside.sidebar-nav.collapsed .lang-switch {
    flex-direction: column; gap: 0.3rem; padding: 0.3rem 0.1rem;
}
aside.sidebar-nav.collapsed .lang-btn {
    padding: 0.3rem 0; font-size: 0.72rem; text-align: center;
}

.sidebar-logo { text-decoration: none; display: flex; align-items: center; margin-bottom: 2.2rem; transition: margin 0.3s; }
.sidebar-logo .logo-full { height: 38px; width: auto; object-fit: contain; display: block; }
.sidebar-logo .logo-icon-compact {
    display: none; width: 40px; height: 40px; border-radius: 12px;
    background: var(--gradient-antigravity); color: #fff;
    align-items: center; justify-content: center; font-size: 1.3rem;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5); border: 1px solid rgba(255,255,255,0.2);
}

.sidebar-menu { display: flex; flex-direction: column; gap: 0.5rem; list-style: none; overflow-y: auto; overflow-x: hidden; }
.sidebar-menu a {
    color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.92rem;
    padding: 0.75rem 0.9rem; border-radius: 14px; transition: all 0.3s ease;
    display: flex; align-items: center; gap: 0.9rem; border: 1px solid transparent; white-space: nowrap;
}
.sidebar-menu a i { font-size: 1.1rem; color: var(--accent-purple); width: 20px; text-align: center; flex-shrink: 0; }
.sidebar-menu a:hover {
    color: #fff; background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-glass); transform: translateX(4px);
}
.sidebar-menu a:hover i { color: var(--accent-cyan); }

.sidebar-footer-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--border-glass); }

/* Language Switcher Pill */
.lang-switch {
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-glass);
    border-radius: 30px; padding: 0.25rem; display: flex; gap: 0.2rem; justify-content: center;
}
.lang-btn {
    background: transparent; border: none; color: var(--text-muted);
    padding: 0.35rem 0.8rem; border-radius: 20px; font-weight: 700; font-size: 0.82rem;
    cursor: pointer; transition: 0.3s; flex: 1; text-align: center;
}
.lang-btn.active { background: var(--gradient-antigravity); color: #fff; box-shadow: 0 0 15px rgba(168, 85, 247, 0.4); }

.btn-antigravity {
    background: var(--gradient-antigravity); color: #fff;
    padding: 0.8rem 1.8rem; border-radius: 50px; text-decoration: none;
    font-weight: 700; font-size: 0.95rem; box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
    transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.6rem;
    border: 1px solid rgba(255,255,255,0.2); cursor: pointer; white-space: nowrap;
}
.btn-antigravity:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 40px rgba(168, 85, 247, 0.7); }

.btn-outline {
    background: rgba(255, 255, 255, 0.05); color: #fff;
    border: 1px solid var(--border-glass);
    padding: 0.8rem 1.8rem; border-radius: 50px; text-decoration: none;
    font-weight: 600; font-size: 0.95rem; transition: 0.3s;
    display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer; white-space: nowrap;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }

/* Main Content Area Offset for Sidebar */
main, footer { margin-left: var(--sidebar-width); transition: margin 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
main.sidebar-collapsed, footer.sidebar-collapsed { margin-left: var(--sidebar-collapsed-width); }

/* Mobile Navbar (Hidden on Desktop, Visible <= 1024px) */
header.mobile-header {
    display: none; position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(3, 7, 18, 0.9); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass); z-index: 100;
    padding: 1rem 1.5rem; justify-content: space-between; align-items: center;
}
.mobile-toggle {
    display: none; background: transparent; border: none; color: #fff;
    font-size: 1.5rem; cursor: pointer; padding: 0.5rem; z-index: 102;
}

/* Mobile Drawer Overlay */
.mobile-drawer {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
    background: rgba(3, 7, 18, 0.98); backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-glass); z-index: 101;
    padding: 6rem 2rem 2rem; display: flex; flex-direction: column; gap: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-drawer.open { right: 0; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 1.5rem; list-style: none; }
.mobile-nav-links a { color: var(--text-main); text-decoration: none; font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 0.8rem; }
.drawer-backdrop {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 100;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.drawer-backdrop.active { opacity: 1; pointer-events: auto; }

/* Hero Section */
.hero {
    position: relative; min-height: 90vh; padding: 6rem 5% 4rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.8rem;
    background: rgba(168, 85, 247, 0.1); border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 0.6rem 1.4rem; border-radius: 40px; font-size: 0.9rem; font-weight: 600; color: #c084fc;
    margin-bottom: 2rem; backdrop-filter: blur(10px);
    animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero h1 { font-size: 3.8rem; font-weight: 800; line-height: 1.15; max-width: 1000px; margin-bottom: 1.5rem; letter-spacing: -1px; }
.gradient-text { background: var(--gradient-antigravity); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.typing-container { font-size: 1.3rem; color: var(--accent-cyan); font-weight: 600; min-height: 2rem; margin-bottom: 2rem; }

.hero-cta-group { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }

/* Trust Badges Row */
.trust-badges {
    display: flex; gap: 1.5rem; justify-content: center; align-items: center; flex-wrap: wrap;
    margin-bottom: 3rem; opacity: 0.9;
}
.trust-item {
    display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted);
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-glass);
    padding: 0.4rem 1rem; border-radius: 30px; backdrop-filter: blur(10px);
}
.trust-item i { color: var(--accent-cyan); }

/* Terminal Box */
.terminal-box {
    width: 100%; max-width: 850px; background: #090d16;
    border: 1px solid var(--border-glass); border-radius: 16px;
    text-align: left; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    backdrop-filter: blur(16px);
}
.terminal-header { background: #0f172a; padding: 0.8rem 1.2rem; display: flex; align-items: center; gap: 0.6rem; border-bottom: 1px solid var(--border-glass); }
.term-dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ef4444; } .yellow { background: #f59e0b; } .green { background: #10b981; }
.term-title { font-size: 0.85rem; color: var(--text-muted); font-family: 'Fira Code', monospace; margin-left: auto; }
.terminal-body { padding: 1.5rem; font-family: 'Fira Code', monospace; font-size: 0.95rem; color: #38bdf8; line-height: 1.8; }
.term-cmd { color: #a855f7; } .term-res { color: #34d399; }

/* Tech Marquee */
.marquee-wrapper { width: 100%; overflow: hidden; white-space: nowrap; background: rgba(15, 23, 42, 0.4); border-y: 1px solid var(--border-glass); padding: 1.5rem 0; margin: 3.5rem 0; }
.marquee-content { display: inline-flex; gap: 3rem; animation: marquee 25s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-item { font-size: 1.1rem; font-weight: 700; color: var(--text-muted); display: flex; align-items: center; gap: 0.8rem; }
.marquee-item i { color: var(--accent-purple); }

/* Stats Counters Bar */
.stats-bar {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem; max-width: 1000px; margin: 0 auto 4rem; padding: 2rem;
    background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: 24px;
    text-align: center; backdrop-filter: blur(16px);
}
.stat-item .stat-number { font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 0.2rem; }
.stat-item p { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Sections */
section { padding: 5.5rem 5%; position: relative; z-index: 1; }
.section-tag { color: var(--accent-cyan); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 0.6rem; display: block; text-align: center; }
.section-title { font-size: 2.7rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; text-align: center; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; max-width: 750px; margin: 0 auto 4rem; text-align: center; }

/* Interactive Scoping Estimator */
.estimator-box {
    max-width: 900px; margin: 0 auto;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(3, 7, 18, 0.95) 100%);
    border: 1px solid var(--border-glass); border-radius: 28px; padding: 3rem;
    backdrop-filter: blur(20px); box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.estimator-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-bottom: 2.5rem; }
.estimator-group-title { font-size: 1.1rem; color: #fff; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.estimator-chips { display: flex; flex-direction: column; gap: 0.6rem; }
.est-chip {
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-glass);
    padding: 0.9rem 1.2rem; border-radius: 14px; color: var(--text-muted);
    font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: 0.3s;
    display: flex; justify-content: space-between; align-items: center;
}
.est-chip:hover, .est-chip.selected { background: rgba(6, 182, 212, 0.15); border-color: var(--accent-cyan); color: #fff; }
.est-chip.selected i { color: var(--accent-cyan); }

.estimator-result {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border: 1px solid rgba(168, 85, 247, 0.3); border-radius: 20px; padding: 2rem;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem;
}
.result-info h3 { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.result-val { font-size: 2.2rem; font-weight: 800; color: #fff; font-family: 'Space Grotesk', sans-serif; }

/* Strategic Redirection Hub Cards */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.8rem; max-width: 1100px; margin: 0 auto; }
.hub-card {
    background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: 24px;
    padding: 2.2rem 1.8rem; backdrop-filter: blur(16px); transition: 0.3s;
    display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: inherit;
}
.hub-card:hover { transform: translateY(-5px); border-color: rgba(168, 85, 247, 0.5); box-shadow: 0 15px 35px rgba(168, 85, 247, 0.2); }
.hub-icon { font-size: 2rem; color: var(--accent-purple); margin-bottom: 1.2rem; }
.hub-card h3 { font-size: 1.3rem; color: #fff; margin-bottom: 0.6rem; }
.hub-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; flex-grow: 1; }
.hub-link-text { color: var(--accent-cyan); font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; }

/* 3D Tilt Cards */
.spotlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; perspective: 1000px; }
.spotlight-card {
    position: relative; background: var(--bg-card); border: 1px solid var(--border-glass);
    border-radius: 24px; padding: 2.8rem 2.2rem; backdrop-filter: blur(16px);
    transition: transform 0.2s ease, border-color 0.4s ease; transform-style: preserve-3d; overflow: hidden;
}
.spotlight-card:hover { border-color: rgba(168, 85, 247, 0.5); }
.spotlight-thumb {
    width: 100%;
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-glass);
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.spotlight-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.spotlight-card:hover .spotlight-thumb img {
    transform: scale(1.06);
}
.card-icon-antigrav {
    width: 65px; height: 65px; border-radius: 20px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: #c084fc; margin-bottom: 1.8rem;
}
.spotlight-card h3 { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.spotlight-card p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 1.8rem; line-height: 1.7; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill-item { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-glass); padding: 0.3rem 0.8rem; border-radius: 30px; font-size: 0.8rem; color: #e2e8f0; }

/* Products Showcase Section */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.product-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(3, 7, 18, 0.9) 100%);
    border: 1px solid var(--border-glass); border-radius: 24px; padding: 2.5rem 2rem;
    position: relative; overflow: hidden; backdrop-filter: blur(16px);
    transition: all 0.3s ease; display: flex; flex-direction: column; justify-content: space-between;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(6, 182, 212, 0.5); box-shadow: 0 15px 35px rgba(6, 182, 212, 0.15); }
.product-badge {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent-cyan); font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 20px;
}
.product-icon {
    width: 60px; height: 60px; border-radius: 16px; background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass); display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--accent-cyan); margin-bottom: 1.5rem;
}
.product-card h3 { font-size: 1.4rem; color: #fff; margin-bottom: 0.8rem; }
.product-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }
.product-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.product-tag { font-size: 0.75rem; background: rgba(255,255,255,0.04); border: 1px solid var(--border-glass); color: #cbd5e1; padding: 0.25rem 0.6rem; border-radius: 8px; }

/* Gateway Banner */
.gateway-banner {
    max-width: 1000px; margin: 4rem auto 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border: 1px solid rgba(168, 85, 247, 0.3); border-radius: 24px; padding: 3rem;
    text-align: center; backdrop-filter: blur(16px);
}
.gateway-banner h3 { font-size: 1.8rem; color: #fff; margin-bottom: 0.8rem; }
.gateway-banner p { color: var(--text-muted); max-width: 700px; margin: 0 auto 1.8rem; font-size: 1.05rem; }

/* Comparison Table */
.comparison-wrapper { max-width: 950px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: 24px; padding: 3rem; backdrop-filter: blur(16px); overflow-x: auto; }
.comp-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 580px; }
.comp-table th, .comp-table td { padding: 1.2rem; border-bottom: 1px solid var(--border-glass); }
.comp-table th { font-size: 1.05rem; color: #fff; font-weight: 700; }
.check-yes { color: #10b981; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.check-no { color: #fca5a5; font-weight: 500; opacity: 1; }

/* Process Steps */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.step-card { background: var(--bg-card); border: 1px solid var(--border-glass); padding: 2.2rem 1.8rem; border-radius: 20px; position: relative; }
.step-num { font-size: 3rem; font-weight: 800; background: var(--gradient-antigravity); -webkit-background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.35; position: absolute; top: 1rem; right: 1.5rem; }
.step-card h3 { font-size: 1.3rem; color: #fff; margin-bottom: 0.7rem; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Scope Form & Notice Banner */
.scope-box {
    max-width: 850px; margin: 0 auto;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(3, 7, 18, 0.95) 100%);
    border: 1px solid var(--border-glass); border-radius: 28px; padding: 3.5rem 3rem;
    backdrop-filter: blur(20px); box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.scope-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 2rem 0; }
.option-chip {
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-glass);
    padding: 1.1rem; border-radius: 16px; text-align: center; cursor: pointer; transition: 0.3s;
    font-weight: 600; color: var(--text-muted); font-size: 0.92rem; user-select: none;
}
.option-chip:hover, .option-chip.selected { background: rgba(168, 85, 247, 0.15); border-color: var(--accent-purple); color: #fff; }

.form-grid-antigrav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.input-group { display: flex; flex-direction: column; gap: 0.4rem; }
.input-antigrav {
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-glass);
    padding: 1rem 1.3rem; border-radius: 14px; color: #fff; font-size: 1rem; outline: none; transition: 0.3s; width: 100%;
}
.input-antigrav:focus { border-color: var(--accent-purple); background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 15px rgba(168, 85, 247, 0.2); }

/* Form Success/Error Banner */
.form-notice {
    display: none; padding: 1.2rem 1.5rem; border-radius: 16px; margin-top: 1.5rem;
    align-items: center; gap: 1rem; font-weight: 600; font-size: 1rem; backdrop-filter: blur(10px);
}
.form-notice.success { display: flex; background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); color: #34d399; }
.form-notice.error { display: flex; background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.4); color: #f87171; }

/* Sticky Conversion Bar (Bottom Floating Action Bar) */
.sticky-cta-bar {
    position: fixed; bottom: 1.5rem; left: calc(50% + (var(--sidebar-width) / 2)); transform: translateX(-50%) translateY(120%);
    width: 85%; max-width: 800px; background: rgba(3, 7, 18, 0.92);
    border: 1px solid var(--accent-purple); border-radius: 50px;
    padding: 0.8rem 1.8rem; z-index: 99; backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.3);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), left 0.35s ease;
}
.sticky-cta-bar.visible { transform: translateX(-50%) translateY(0%); }
.sticky-cta-bar.sidebar-collapsed { left: calc(50% + (var(--sidebar-collapsed-width) / 2)); }
.sticky-text { font-size: 0.95rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 0.6rem; }
.sticky-text i { color: var(--accent-cyan); }
.sticky-close { background: transparent; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.1rem; padding: 0.2rem; }

/* Exit-Intent Glassmorphic Modal Overlay */
.exit-modal-backdrop {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(3, 7, 18, 0.85); backdrop-filter: blur(20px);
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
}
.exit-modal-backdrop.active { opacity: 1; pointer-events: auto; }
.exit-modal-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(3, 7, 18, 0.98) 100%);
    border: 1px solid var(--accent-purple); border-radius: 28px;
    padding: 3rem 2.5rem; max-width: 580px; width: 100%; position: relative;
    box-shadow: 0 25px 60px rgba(168, 85, 247, 0.35); text-align: center;
    transform: scale(0.9); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.exit-modal-backdrop.active .exit-modal-card { transform: scale(1); }
.exit-modal-close {
    position: absolute; top: 1.2rem; right: 1.5rem; background: transparent;
    border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer; transition: 0.3s;
}
.exit-modal-close:hover { color: #fff; transform: rotate(90deg); }
.exit-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171; font-size: 0.85rem; font-weight: 700; padding: 0.4rem 1rem;
    border-radius: 30px; margin-bottom: 1.2rem;
}

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.2rem; }
.faq-card { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: 18px; padding: 1.6rem 2rem; cursor: pointer; transition: 0.3s; }
.faq-q { font-size: 1.15rem; font-weight: 700; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.faq-a { margin-top: 1rem; color: var(--text-muted); font-size: 1rem; display: none; line-height: 1.7; }
.faq-card.active .faq-a { display: block; }
.faq-card.active .faq-icon { transform: rotate(180deg); color: var(--accent-purple); }

/* Footer */
footer { background: #010308; border-top: 1px solid var(--border-glass); padding: 5rem 6% 2rem; text-align: center; color: var(--text-muted); }

/* Responsive Adjustments for Mobile & Tablets (<= 1024px) */
@media (max-width: 1024px) {
    aside.sidebar-nav { display: none; }
    header.mobile-header { display: flex; }
    .mobile-toggle { display: block; }
    main, footer { margin-left: 0 !important; margin-right: 0 !important; }
    .sticky-cta-bar { left: 50% !important; width: 90%; }
    .hero { padding-top: 8rem; }
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .hero { padding-top: 7.5rem; }
    .hero h1 { font-size: 2.2rem; }
    .form-grid-antigrav { grid-template-columns: 1fr; }
    .scope-box { padding: 2rem 1.5rem; }
    .comparison-wrapper { padding: 1.5rem; }
    .sticky-cta-bar { flex-direction: column; text-align: center; border-radius: 24px; padding: 1rem; bottom: 1rem; }
    .sticky-text { font-size: 0.85rem; }
    .exit-modal-card { padding: 2rem 1.5rem; }
}

/* RTL Support for Arabic Layout */
[dir="rtl"] aside.sidebar-nav { left: auto; right: 0; border-right: none; border-left: 1px solid var(--border-glass); box-shadow: -10px 0 40px rgba(0,0,0,0.5); }
[dir="rtl"] .sidebar-collapse-toggle { right: auto; left: -14px; }
[dir="rtl"] main, [dir="rtl"] footer { margin-left: 0; margin-right: var(--sidebar-width); }
[dir="rtl"] main.sidebar-collapsed, [dir="rtl"] footer.sidebar-collapsed { margin-right: var(--sidebar-collapsed-width); margin-left: 0; }
[dir="rtl"] .sidebar-menu a { transform: none; }
[dir="rtl"] .sidebar-menu a:hover { transform: translateX(-4px); }
[dir="rtl"] .term-title { margin-left: 0; margin-right: auto; }
[dir="rtl"] .terminal-header { flex-direction: row-reverse; }
[dir="rtl"] .step-num { right: auto; left: 1.5rem; }
[dir="rtl"] .mobile-drawer { right: auto; left: -100%; border-left: none; border-right: 1px solid var(--border-glass); transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
[dir="rtl"] .mobile-drawer.open { left: 0; right: auto; }

/* Floating WhatsApp Action Button for Morocco B2B Conversion */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 99999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    text-decoration: none;
}
.floating-whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
    color: #ffffff !important;
}
.floating-whatsapp-btn .whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(37, 211, 102, 0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.floating-whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}
[dir="rtl"] .floating-whatsapp-btn { right: auto; left: 25px; }
[dir="rtl"] .floating-whatsapp-btn .whatsapp-tooltip { right: auto; left: 70px; transform: translateX(-10px); }
[dir="rtl"] .floating-whatsapp-btn:hover .whatsapp-tooltip { transform: translateX(0); }

@media (max-width: 768px) {
    .floating-whatsapp-btn {
        bottom: 85px;
        right: 18px;
        width: 54px;
        height: 54px;
        font-size: 28px;
    }
    .floating-whatsapp-btn .whatsapp-tooltip { display: none; }
}
