/* ==========================================================================
    1. DESIGN TOKENS & RESET
   ========================================================================== */
:root {
    --primary-sellio: #76c043;
    --primary-dark: #5ba32d;
    --secondary-sellio: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-dark: #0f172a;
    --border-light: rgba(0,0,0,0.06);
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Urbanist', sans-serif;
    --ease-snap: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow-premium: 0 10px 30px -5px rgba(0,0,0,0.05);
    --shadow-executive: 0 30px 60px -12px rgba(0,0,0,0.12);
}

[data-theme="dark"] {
    --white: #0f172a;
    --bg-light: #1e293b;
    --bg-alt: #0f172a;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --secondary-sellio: #ffffff;
    --border-light: rgba(255,255,255,0.1);
    --shadow-premium: 0 10px 30px -5px rgba(0,0,0,0.3);
    --glass-nav: rgba(15, 23, 42, 0.85);
    --card-bg: #1e293b;
}

/* Theme Aware Global Adjustments */
[data-theme="dark"] .bg-white, 
[data-theme="dark"] .card,
[data-theme="dark"] .dashboard-mockup,
[data-theme="dark"] .step-card,
[data-theme="dark"] .review-card { 
    background-color: var(--bg-light) !important; 
    border-color: var(--border-light) !important; 
    color: var(--text-main) !important;
}

[data-theme="dark"] .text-dark { color: var(--text-main) !important; }
[data-theme="dark"] .btn-outline-dark { color: var(--text-main); border-color: var(--border-light); }
[data-theme="dark"] .btn-outline-dark:hover { background: var(--primary-sellio); border-color: var(--primary-sellio); color: white; }
[data-theme="dark"] .bg-light { background-color: rgba(255,255,255,0.05) !important; }
[data-theme="dark"] .border { border-color: var(--border-light) !important; }

.bg-dark-executive {
    --white: #0f172a;
    --bg-light: #1e293b;
    --bg-alt: #0f172a;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --secondary-sellio: #ffffff;
    --border-light: rgba(255,255,255,0.08);
    background-color: var(--bg-alt) !important;
    color: var(--text-main);
}
.bg-dark-executive h1, .bg-dark-executive h2, .bg-dark-executive h3, .bg-dark-executive h4, .bg-dark-executive h5, .bg-dark-executive h6 {
    color: #ffffff !important;
}
.bg-dark-executive .card, .bg-dark-executive .feature-card, .bg-dark-executive .step-card, .bg-dark-executive .accordion-item {
    background-color: var(--bg-light) !important;
    border-color: var(--border-light) !important;
}
.bg-dark-executive .text-muted { color: var(--text-muted) !important; }
.bg-dark-executive .bg-light { background-color: rgba(255,255,255,0.05) !important; }
.bg-card-footer { background-color: #f8fafc; }
.bg-dark-executive .bg-card-footer { background-color: rgba(255,255,255,0.02) !important; }

.bg-dark-executive .review-card { background-color: rgba(255,255,255,0.03) !important; }
.bg-dark-executive .review-card.highlighted { background-color: rgba(255,255,255,0.08) !important; border-color: var(--primary-sellio) !important; }

body { 
    transition: background-color 0.4s ease, color 0.4s ease;
}





html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body { 
    font-family: var(--font-body); 
    background: var(--white);
    color: var(--text-main);
    padding-top: 100px; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(#76c04308 1px, transparent 1px);
    background-size: 30px 30px;
}

.py-100 { padding: 100px 0; }

.fw-800 { font-weight: 800; }

/* ==========================================================================
    2. TYPOGRAPHY & GRADIENTS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--secondary-sellio);
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.text-sellio { color: var(--primary-sellio) !important; font-weight: 800; }
.bg-sellio-solid { background: var(--primary-sellio) !important; color: white !important; }

.display-3 { font-size: 4.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.display-5 { font-size: 3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: 1.25rem; font-weight: 400; line-height: 1.6; color: var(--text-main); opacity: 0.8; }

/* ==========================================================================
    3. NAVIGATION & BUTTONS
   ========================================================================== */
.navbar { 
    background: var(--glass-nav, rgba(255, 255, 255, 0.9)); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light); 
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--white);
    box-shadow: var(--shadow-premium);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-main) !important;
}

.navbar-brand span {
    background: linear-gradient(135deg, var(--primary-sellio), var(--primary-dark));
    color: var(--white);
    padding: 4px 12px;
    border-radius: 10px;
    margin-right: 10px;
    display: inline-block;
}

.btn-main, .btn-sellio-solid { 
    background: var(--text-main); 
    color: var(--white) !important; 
    padding: 14px 32px; 
    border-radius: 12px; 
    text-decoration: none; 
    font-weight: 700; 
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    border: none;
}

.btn-sellio-solid { background: var(--primary-sellio); }
.btn-sellio-solid:hover { 
    background: var(--primary-dark); 
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(118, 192, 67, 0.2);
}
.btn-main:hover { transform: translateY(-2px); background: #000; box-shadow: var(--shadow-premium); }

.btn-premium-outline {
    border: 2px solid var(--text-main);
    color: var(--text-main);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-premium-outline:hover {
    background: var(--text-main);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================================
    4. SECTION BACKGROUNDS
   ========================================================================== */
.bg-hero { background: radial-gradient(circle at 90% 10%, rgba(118, 192, 67, 0.08) 0%, var(--white) 50%); }
.bg-automation { background-color: var(--bg-light); }
.bg-modules { background-color: var(--white); }
.bg-comparison { background-color: var(--bg-alt); }
.bg-features { background-color: var(--white); }
.bg-reviews { background-color: var(--bg-light); }

.bg-demos { 
    background: linear-gradient(180deg, #020617 0%, #0f172a 100%); 
    padding: 120px 0;
    position: relative;
}

.bg-demos::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}


.bg-tech-stack {
    background-color: var(--bg-alt);
    background-image: radial-gradient(#cbd5e1 0.5px, transparent 0.5px);
    background-size: 20px 20px;
}

.bg-cta { 
    background: linear-gradient(135deg, var(--primary-sellio) 0%, var(--primary-dark) 100%); 
    color: var(--white);
}

/* ==========================================================================
    5. HERO WHEEL SYSTEM
   ========================================================================== */
.wheel-container { height: 550px; perspective: 2000px; margin-top: 40px; }
.card-stack { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.card-3d { 
    position: absolute; width: 100%; max-width: 480px; left: 50%;
    background: var(--white); border-radius: 16px; overflow: hidden; 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12); border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.6s var(--ease-snap), opacity 0.5s ease;
}

.pos-1 { transform: translate3d(-50%, 0, 150px); z-index: 100; opacity: 1; }
.pos-2 { transform: translate3d(-50%, -50px, 0px) scale(0.94); z-index: 50; opacity: 0.8; }
.pos-3 { transform: translate3d(-50%, -100px, -150px) scale(0.88); z-index: 20; opacity: 0.5; }

.sinking { transform: translate3d(-50%, 300px, 100px) rotateX(-15deg); opacity: 0; }
.preparing { transition: none !important; transform: translate3d(-50%, -100px, -150px) scale(0.88); opacity: 0; }

.browser-chrome { height: 38px; background: #f8fafc; display: flex; align-items: center; padding: 0 15px; border-bottom: 1px solid #e2e8f0; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.dot-red { background: #ff5f56; } .dot-yellow { background: #ffbd2e; } .dot-green { background: #27c93f; }
.browser-address { flex-grow: 1; background: var(--white); height: 24px; border-radius: 6px; margin-left: 10px; font-size: 11px; color: #94a3b8; display: flex; align-items: center; padding-left: 12px; }
.window-content { height: 350px; width: 100%; overflow: hidden; position: relative; }
.window-content img { width: 100%; height: auto; display: block; will-change: transform; }

.pos-1 .window-content img { animation: holdAndScrollToBottom 1.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) forwards; }
@keyframes holdAndScrollToBottom { 0%, 50% { transform: translateY(0); } 100% { transform: translateY(calc(-100% + 350px)); } }

/* ==========================================================================
    6. DEMO GRID & FILTERING
   ========================================================================== */
.filter-btn {
    border: 1px solid #e2e8f0; background: var(--white); padding: 10px 24px;
    border-radius: 100px; font-weight: 600; transition: all 0.3s ease;
}
.bg-demos .filter-btn { background: rgba(255, 255, 255, 0.05); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.1); }
.filter-btn.active, .bg-demos .filter-btn.active { background: var(--primary-sellio); color: var(--white); border-color: var(--primary-sellio); }

.badge-count { font-size: 0.7rem; background: rgba(0,0,0,0.05); padding: 2px 6px; border-radius: 6px; margin-left: 5px; }
.filter-btn.active .badge-count { background: rgba(255,255,255,0.2); color: white; }

.demo-card-v2 { background: var(--white); border-radius: 20px; border: 1px solid rgba(0, 0, 0, 0.08); overflow: hidden; transition: all 0.3s ease; position: relative; }
.demo-card-v2:not(.coming-soon):hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1); }
.demo-img-wrapper { position: relative; height: 300px; overflow: hidden; background: #f1f5f9; }

.scroll-img { width: 100%; height: auto; transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1) !important; }
.demo-card-v2:not(.coming-soon):hover .scroll-img { transform: translateY(calc(-100% + 300px)); }

.demo-card-v2::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 0 0 0 rgba(118, 192, 67, 0.2);
    transition: all 0.3s ease;
    pointer-events: none;
}

.demo-card-v2:hover::after {
    box-shadow: inset 0 0 0 3px var(--primary-sellio);
}

.soon-badge { position: absolute; top: 15px; right: 15px; background: #000; color: #fff; padding: 4px 12px; border-radius: 50px; font-size: 10px; font-weight: 800; z-index: 10; }
.coming-soon { opacity: 0.7; }

/* ==========================================================================
    7. UI BLOCKS (FAQ, STEPS, REVIEWS, TECH)
   ========================================================================== */
.lead-sm { font-size: 1.1rem; line-height: 1.6; }

.feature-card { 
    transition: all 0.3s ease; 
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover { 
    transform: translateY(-8px); 
    border-color: var(--primary-sellio) !important; 
    box-shadow: var(--shadow-executive) !important; 
}

.feature-card h3 { transition: color 0.3s ease; }
.feature-card:hover h3 { color: var(--primary-sellio); }

.step-card { background: var(--white); padding: 40px 30px; border-radius: 24px; border: 1px solid rgba(0,0,0,0.05); position: relative; transition: all 0.3s ease; height: 100%; }
.step-card:hover { transform: translateY(-8px); border-color: var(--primary-sellio); box-shadow: var(--shadow-executive); }
.step-card.active { border-color: var(--primary-sellio); box-shadow: 0 20px 40px rgba(118, 192, 67, 0.1); }
.step-number { position: absolute; top: 10px; right: 20px; font-size: 4rem; font-weight: 900; color: rgba(118, 192, 67, 0.05); line-height: 1; pointer-events: none; }
.step-icon { font-size: 2.5rem; margin-bottom: 20px; display: inline-block; transition: transform 0.3s ease; }
.step-card:hover .data-font {
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: -1px;
}

.pulsate-dot {
    width: 8px;
    height: 8px;
    background: #ff4d4d;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(255, 77, 77, 0.4);
    animation: pulsate 1.5s infinite;
}

@keyframes pulsate {
    0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

.pulsate-bar {
    animation: bar-pulse 2s infinite ease-in-out;
}

@keyframes bar-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.opacity-05 { opacity: 0.05; }

.dashboard-mockup {
    background: var(--white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.dashboard-mockup:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.1) !important;
    transform: scale(1.02);
}

.chart-bar {
    transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.step-card:hover .step-icon { transform: scale(1.1) rotate(5deg); }

.review-card { background: var(--bg-light); padding: 35px; border-radius: 24px; border: 1px solid rgba(0,0,0,0.05); height: 100%; transition: all 0.3s ease; }
.review-card:hover { transform: translateY(-8px); background: var(--white); border-color: var(--primary-sellio); box-shadow: var(--shadow-executive); }
.review-card.highlighted { background: var(--white); border-color: var(--primary-sellio); box-shadow: 0 15px 40px rgba(0,0,0,0.05); }

.table-hover tbody tr:hover { background-color: rgba(118, 192, 67, 0.02); }
.bg-comparison thead th { background: #f8fafc; padding: 20px !important; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; }

/* ==========================================================================
    8. FLOATING UI & POPUPS
   ========================================================================== */
/* ==========================================================================
    8. FLOATING UI & POPUPS
   ========================================================================== */
.floating-buy-bar {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 320px;
    max-width: 650px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    z-index: 9999;
    padding: 10px 24px;
    display: none; /* Controlled via JS */
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.floating-buy-bar:hover {
    transform: translateX(-50%) translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.98);
}

.exit-popup-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(10px); 
    z-index: 10000; display: none; align-items: center; justify-content: center; 
}

.exit-popup-content { 
    background: var(--white); width: 95%; max-width: 700px; 
    border-radius: 40px; position: relative; overflow: hidden; 
    box-shadow: 0 50px 100px rgba(0,0,0,0.3);
}

.close-exit { 
    position: absolute; top: 20px; right: 25px; 
    background: rgba(0,0,0,0.05); border: none; width: 40px; height: 40px; 
    border-radius: 50%; font-size: 1.2rem; color: var(--text-muted); 
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
}
.close-exit:hover { background: rgba(0,0,0,0.1); color: var(--secondary-sellio); transform: rotate(90deg); }

/* Typewriter */
#typewriter { border-right: 3px solid var(--primary-sellio); animation: blink 0.8s step-end infinite; }
@keyframes blink { 50% { border-color: transparent; } }

/* ==========================================================================
    9. RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 991px) {
    h1 { font-size: 3.5rem; }
    .display-3 { font-size: 3.5rem; }
    .py-100 { padding: 70px 0; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    .display-3 { font-size: 2.8rem; }
    .display-5 { font-size: 2.2rem; }
    .py-100 { padding: 80px 0; }
    .bg-hero { padding-top: 120px !important; padding-bottom: 100px; }
    .floating-buy-bar { 
        bottom: 20px; 
        width: 92%; 
        border-radius: 24px; 
        flex-direction: column; 
        gap: 8px; 
        padding: 12px; 
    }
    .floating-buy-bar .d-md-flex { display: none !important; }
    body { padding-bottom: 180px !important; }
    .wheel-container { height: 420px; margin-top: 30px; }
    .card-3d { max-width: 100%; }
}

/* ==========================================================================
    10. ADVANCED UTILITIES & POLISH
   ========================================================================== */
.bg-sellio-solid { 
    background-color: var(--primary-sellio) !important; 
    color: var(--white) !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.custom-shape-divider-bottom-1715541814 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1715541814 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}



.bg-light-pattern { 
    background-color: #f8fafc; 
    background-image: radial-gradient(var(--primary-sellio) 0.5px, transparent 0.5px); 
    background-size: 20px 20px; 
    opacity: 0.1; 
}

.card-luxury {
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-premium);
    transition: all 0.3s ease;
}
.card-luxury:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-executive); 
}

.shadow-premium-sm { box-shadow: 0 10px 25px -5px rgba(0,0,0,0.03); }
.hover-translate-y:hover { transform: translateY(-8px); }
.feature-card { 
    transition: all 0.3s ease; 
    border: 1px solid rgba(0,0,0,0.05);
    background: var(--white);
    z-index: 1;
}

.feature-card:hover { 
    transform: translateY(-8px); 
    border-color: var(--primary-sellio) !important; 
    box-shadow: var(--shadow-executive) !important; 
}

.ambient-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.05;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.feature-card:hover .ambient-glow {
    opacity: 0.15;
}

.feature-pill {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(0,0,0,0.03);
    color: var(--text-muted);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-pill {
    background: var(--white);
    border-color: var(--primary-sellio);
    color: var(--primary-sellio);
}

.hover-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary-sellio);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(118, 192, 67, 0.3);
}

.feature-card:hover .hover-arrow {
    transform: translateX(0);
}

.nexus-container { background: var(--white); }

.persona-node { 
    background: var(--white);
    position: relative;
    z-index: 2;
    cursor: crosshair;
}

.persona-node:hover, .persona-node.active-nexus {
    border-color: var(--primary-sellio) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.persona-node:hover .icon-circle, .persona-node.active-nexus .icon-circle {
    transform: scale(1.1);
    background: var(--primary-sellio) !important;
    color: white !important;
}


.nexus-line {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    z-index: 1;
    transform: translateY(-50%);
}

.role-detail-box {
    transition: all 0.3s ease;
}

[data-theme="dark"] .persona-node { background: var(--bg-light); }

