@font-face {
    font-family: 'Logical';
    src: url('../fonts/Logical.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --hw-bg: #0f172a;
    --hw-panel: rgba(30, 41, 59, 0.4);
    --hw-header: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.95));
    --hw-cyan: #10b981;
    --hw-blue: #059669;
    --hw-purple: #8b5cf6;
    --hw-gold: #f59e0b;
    --cyan-glow: rgba(16, 185, 129, 0.3);
    --glass-border: rgba(16, 185, 129, 0.2);
    --font-main: 'Logical', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    /* Anti-Theft Protection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}


/* Ensure no font fallback */
input,
button,
select,
textarea,
span,
p,
div,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
}

body.saas-ui {
    background: var(--hw-bg);
    color: #fff;
    font-family: var(--font-main);
    overflow-x: hidden;
    height: 100vh;
    direction: rtl;
}

/* --- Background Layers (Billion Dollar Depth) --- */
.saas-background {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
}

.clean-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
}

.circuit-traces {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZD0iTTAgMzAgSCAzMCBWIDcwIEggMTAwIiBmaWxsPSJub25lIiBzdHJva2U9IiMxMGI5ODEiIHN0cm9rZS13aWR0aD0iMC41Ii8+PC9zdmc+');
    background-size: 300px 300px;
    z-index: 1;
}

/* --- Live Background Logs --- */
.bg-system-logs {
    position: absolute;
    top: 0;
    left: 20px;
    width: 300px;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    font-family: 'Courier New', Courier, monospace;
}

.log-line {
    font-size: 10px;
    color: var(--hw-cyan);
    opacity: 0.15;
    white-space: nowrap;
    margin-bottom: 5px;
    animation: scrollLogs 60s linear infinite;
    display: block;
}

@keyframes scrollLogs {
    from {
        transform: translateY(100vh);
    }

    to {
        transform: translateY(-100%);
    }
}

.glow-node {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    box-shadow: 0 0 20px 4px currentColor;
    opacity: 0.6;
}

/* --- Header & Branding --- */
.saas-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(1, 4, 9, 0.95), transparent);
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

.main-nav {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(1, 10, 25, 0.7);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(0, 242, 255, 0.3);
    backdrop-filter: blur(30px);
    position: relative;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 255, 0.1);
}

/* Highlight neon on menu */
.main-nav::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 242, 255, 0.4), transparent);
}

.nav-item {
    text-decoration: none;
    color: #8fa1b3;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 95px;
}

.nav-item svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    opacity: 0.7;
    transition: 0.3s;
}

.nav-item:hover {
    color: #fff;
    background: rgba(0, 242, 255, 0.1);
}

.nav-item.active {
    color: var(--hw-cyan);
    background: rgba(0, 242, 255, 0.15);
    box-shadow: inset 0 0 20px rgba(0, 242, 255, 0.2);
}

.nav-item.active svg {
    opacity: 1;
    filter: drop-shadow(0 0 10px var(--hw-cyan));
    transform: scale(1.1);
}

.nav-item span {
    font-size: 0.7rem;
    font-weight: 900;
}

@media (max-width: 768px) {
    .saas-header {
        height: 70px;
    }

    .header-container {
        padding: 0 20px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .btn-login-capsule {
        padding: 6px 15px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        display: block;
        font-size: 0.85rem;
    }

    .logo-area {
        gap: 8px;
    }

    .header-container {
        justify-content: space-between;
    }
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-logo {
    width: 32px;
    filter: drop-shadow(0 0 8px var(--hw-cyan));
}

.brand-name {
    font-family: var(--font-tech);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
}

.btn-login-capsule {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 30px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
}

.btn-login-capsule:hover {
    border-color: var(--hw-cyan);
    color: var(--hw-cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
}

/* --- Main Layout --- */
.saas-scroller {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
}

.saas-scroller::-webkit-scrollbar {
    display: none;
}

.saas-section {
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
}

/* The Million Dollar Card Container (Optimized for RTL) */
.card-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    padding: 0 40px;
}


/* --- Hero Section Styles --- */
.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    filter: blur(10px);
    transition: 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.saas-section.active .hero-content {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}

.badge-premium {
    background: rgba(0, 242, 255, 0.1);
    color: var(--hw-cyan);
    padding: 6px 20px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.2;
    font-weight: 900;
    margin: 0;
    color: #fff;
}

.text-gradient {
    background: linear-gradient(to right, var(--hw-cyan), var(--hw-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: #94a3b8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.btn-outline-capsule {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 16px 50px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.4s;
    letter-spacing: 1px;
}

.btn-outline-capsule:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .btn-outline-capsule {
        padding: 12px 35px;
        font-size: 0.85rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
}

/* Default Order (Odd Sections): Text on Right (Order 1), Image on Left (Order 2) */
.benefit-content {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    text-align: right;
    width: 100%;
}

.window-mockup {
    order: 2;
    width: 100%;
    flex-shrink: 0;
    background: var(--hw-panel);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(30px);
    box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.7);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

@media (min-width: 1025px) {

    /* Alternating Order for Odd Sections */
    /* Since Section 1 (Hero) is centric, this starts flipping from Section 3 */
    .saas-section:nth-child(odd) .benefit-content {
        order: 2;
    }

    .saas-section:nth-child(odd) .window-mockup {
        order: 1;
    }
}

@media (max-width: 1024px) {
    .card-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
        text-align: center;
        height: 100%;
        justify-content: center;
    }

    .saas-section {
        padding: 80px 20px 80px;
    }

    .benefit-content {
        align-items: center;
        text-align: center;
    }

    .window-mockup {
        max-width: 450px;
        margin: 0 auto;
        max-height: 40vh !important;
        flex-grow: 0;
    }

    .card-body-inner {
        height: auto !important;
        padding: 20px;
        aspect-ratio: 16/9;
    }
}

/* Card Body (Soul & Density) */
.window-mockup {
    background: var(--hw-panel);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(30px);
    box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.7);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* --- THE SER-BARG (Ultra Premium Header) --- */
.card-header {
    height: 52px;
    background: var(--hw-header);
    border-bottom: 1px solid rgba(0, 242, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
}

.header-id {
    font-family: var(--font-main);
    font-size: 0.8rem;
    color: var(--hw-cyan);
    font-weight: 900;
    text-shadow: 0 0 10px var(--cyan-glow);
    letter-spacing: 2px;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.led-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.led-dot.active {
    background: var(--hw-cyan);
    box-shadow: 0 0 12px var(--hw-cyan);
    animation: blink 1.2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.card-body-inner {
    padding: 40px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mock-visual {
    width: 100%;
    height: 100%;
    transition: 0.5s ease;
}

.card-body-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48Y2lyY2xlIGN4PSIyIiBjeT0iMiIgcj0iMSIgZmlsbD0icmdiYSgwLCAyNDIsIDI1NSwgMC4wNSkiLz48L3N2Zz4=');
    opacity: 0.5;
    pointer-events: none;
}

/* --- Dynamic Entrance Animations --- */

/* Default Initial States */
.benefit-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    opacity: 0;
    filter: blur(10px);
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.window-mockup {
    width: 100%;
    flex-shrink: 0;
    background: var(--hw-panel);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(30px);
    box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.7);
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    opacity: 0;
    filter: blur(10px);
}

/* Odd Sections (Image Right, Text Left Now) */
.saas-section:nth-child(odd) .benefit-content {
    transform: translateX(-60px);
}

.saas-section:nth-child(odd) .window-mockup {
    transform: translateX(60px);
}

/* Even Sections (Text Right, Image Left Now) */
.saas-section:nth-child(even) .benefit-content {
    transform: translateX(60px);
}

.saas-section:nth-child(even) .window-mockup {
    transform: translateX(-60px);
}

/* Reveal State */
.saas-section.active .benefit-content,
.saas-section.active .window-mockup {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

.saas-section.active .window-mockup {
    transition-delay: 0.1s;
}

.feature-tag {
    font-family: var(--font-main) !important;
    color: var(--hw-cyan);
    font-weight: 900;
    font-size: 0.95rem;
    border-right: 4px solid var(--hw-cyan);
    padding-right: 18px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

h2 {
    font-family: var(--font-main) !important;
    font-size: clamp(1.5rem, 3.5vw, 1.9rem);
    font-weight: 900;
    line-height: 1.3;
    color: #fff;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-family: var(--font-main) !important;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: #94a3b8;
    line-height: 1.7;
    max-width: 550px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .feature-tag {
        font-size: 0.8rem;
        padding-right: 12px;
    }

    .btn-neon-capsule {
        padding: 12px 35px;
        font-size: 0.85rem;
    }

    .card-body-inner {
        height: 280px;
    }

    .header-id {
        font-size: 0.65rem;
    }
}

.benefit-content p {
    font-family: var(--font-main) !important;
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    /* Re-scaled to be more subtle */
    color: #94a3b8;
    line-height: 1.8;
    /* Increased line-height for better "breathing" */
    max-width: 580px;
    font-weight: 500;
}

/* The Neon Capsule Button */
.btn-neon-capsule {
    background: transparent;
    border: 2.5px solid var(--hw-cyan);
    color: #fff;
    padding: 16px 50px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 25px var(--cyan-glow), inset 0 0 12px var(--cyan-glow);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 20px;
    letter-spacing: 1px;
}

.btn-neon-capsule:hover {
    background: var(--hw-cyan);
    color: #000;
    box-shadow: 0 0 40px var(--hw-cyan);
    transform: translateY(-3px);
}

.btn-gold {
    border-color: var(--hw-gold);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.btn-gold:hover {
    background: var(--hw-gold);
    box-shadow: 0 0 40px var(--hw-gold);
}

/* --- Simple Footer (Clean Look) --- */
.saas-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    z-index: 2000;
    background: linear-gradient(to top, rgba(1, 4, 9, 0.9), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.footer-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 50px;
}

.system-ticker {
    font-family: var(--font-main);
    font-size: 0.75rem;
    color: #64748b;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- Global Responsiveness & Section Stacking --- */
@media (max-width: 1024px) {
    .card-container {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }

    .saas-section {
        padding: 100px 20px 80px;
        height: auto;
        min-height: 100vh;
    }

    .benefit-content {
        align-items: center;
        order: 2;
    }

    .window-mockup {
        order: 1;
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .main-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 15px !important;
        left: 15px !important;
        right: 15px !important;
        width: calc(100% - 30px) !important;
        max-width: 500px !important;
        margin: 0 auto !important;
        z-index: 10000 !important;
        background: rgba(15, 23, 42, 0.95) !important;
        backdrop-filter: blur(30px) !important;
        border: 1px solid rgba(16, 185, 129, 0.5) !important;
        padding: 5px !important;
        border-radius: 20px !important;
        justify-content: space-around !important;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), inset 0 0 10px rgba(16, 185, 129, 0.2) !important;
    }

    .nav-item {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 12px 0 !important;
        min-width: unset !important;
        gap: 0 !important;
        background: transparent !important;
    }

    .nav-item span {
        display: none !important;
    }

    .nav-item svg {
        width: 28px !important;
        height: 28px !important;
        opacity: 0.6 !important;
        transition: 0.3s !important;
    }

    .nav-item.active svg {
        opacity: 1 !important;
        filter: drop-shadow(0 0 12px var(--hw-cyan)) !important;
        transform: scale(1.1) !important;
    }

    .nav-item.active {
        background: transparent !important;
        box-shadow: none !important;
    }

    .step1-bg,
    .step2-bg,
    .step3-bg,
    .step4-bg {
        background-size: 50% !important;
    }

    .saas-footer {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .benefit-content h2 {
        font-size: 1.5rem;
    }
}

/* Mock Visuals Base - Essential for all cards */
.mock-visual {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    opacity: 1;
}


/* --- Final CTA Section (The Closer) --- */
.final-cta-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.final-cta-container .feature-tag {
    border: none;
    padding: 0;
    margin-bottom: 5px;
}


.cta-shield-icon {
    width: 120px;
    height: 120px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--hw-cyan);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hw-cyan);
    filter: drop-shadow(0 0 30px var(--cyan-glow));
    transform: rotate(-10deg);
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0) rotate(-10deg);
    }

    50% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

.cta-shield-icon svg {
    width: 60px;
    height: 60px;
    fill: currentColor;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 25px;
    line-height: 1.4;
}

.cta-content p {
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}


.cta-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-gold-final {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border: none;
    color: #fff !important;
    padding: 20px 60px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.3);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}


.btn-gold-final:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 60px rgba(245, 49, 11, 0.6);
}

.cta-subtext {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}



@media (max-width: 1024px) {
    .btn-gold-final {
        width: 100%;
        padding: 18px 30px;
        font-size: 1.1rem;
    }

    .cta-shield-icon {
        width: 90px;
        height: 90px;
    }

    .cta-shield-icon svg {
        width: 45px;
        height: 45px;
    }

    .gallery-bg {
        background-size: 50% !important;
    }
}

.step1-bg {
    background-image: url("../img/step1.png"), radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75% auto, cover;
    filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.4));
}

.step2-bg {
    background-image: url("../img/step2.png"), radial-gradient(circle, rgba(255, 0, 234, 0.1) 0%, transparent 70%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70% auto, cover;
    filter: drop-shadow(0 0 30px rgba(255, 0, 234, 0.3));
}

.step3-bg {
    background-image: url("../img/step3.png"), radial-gradient(circle, rgba(0, 255, 10, 0.1) 0%, transparent 70%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65% auto, cover;
    filter: drop-shadow(0 0 30px rgba(0, 255, 10, 0.3));
}

.step4-bg {
    background-image: url("../img/step4.png"), radial-gradient(circle, rgba(255, 204, 0, 0.1) 0%, transparent 70%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65% auto, cover;
    filter: drop-shadow(0 0 30px rgba(255, 204, 0, 0.3));
}



/* Visual Interaction */
.window-mockup:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--hw-cyan);
}

.saas-section.active .window-mockup {
    transform: translateZ(50px);
}

/* --- Scroll To Top Button --- */
.btn-scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid var(--hw-cyan);
    border-radius: 50%;
    color: var(--hw-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 11000;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(15px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.btn-scroll-top svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.btn-scroll-top:hover {
    background: var(--hw-cyan);
    color: #000;
    box-shadow: 0 0 30px var(--hw-cyan);
    transform: translateY(-5px);
}

.btn-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

/*on mobile, it will be slightly higher or moved to avoid interfering with the dock */
@media (max-width: 1024px) {
    .btn-scroll-top {
        bottom: 110px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
}

/* --- Side Navigation (Desktop Only) --- */
.side-nav-indicator {
    position: fixed;
    right: 30px;
    /* Move slightly more to the edge */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px 10px;
    z-index: 999;
    align-items: center;
}

.nav-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: 0.4s;
}

.nav-dot.active {
    background: var(--hw-cyan);
    box-shadow: 0 0 15px var(--cyan-glow);
    transform: scale(1.3);
}

.dot-label {
    position: absolute;
    right: 18px;
    /* Closer to dots */
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: rgba(1, 10, 25, 0.9);
    padding: 3px 10px;
    /* Smaller size */
    border-radius: 6px;
    color: #fff;
    font-size: 0.7rem;
    /* Smaller font */
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 242, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-dot:hover .dot-label,
.nav-dot.active .dot-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.nav-progress-line {
    position: absolute;
    top: 25px;
    bottom: 25px;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

.nav-progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--hw-cyan), var(--hw-purple));
    transition: 0.4s;
}

@media (max-width: 1024px) {
    .side-nav-indicator {
        display: none;
    }

    .card-container {
        padding: 0 20px;
        gap: 30px;
    }
}