/* ========================================
   RESET
======================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
    background:var(--bg);
    color:var(--text);
    transition:.4s ease;

    font-size:14px;
}

/* ========================================
   LIGHT MODE
======================================== */

:root{

    --primary:#0ea5e9;
    --secondary:#2563eb;

    --bg:#f8fafc;
    --card:#ffffff;

    --text:#111827;
    --text-light:#64748b;

    --border:#e2e8f0;

    --gradient:
    linear-gradient(
        135deg,
        #0ea5e9,
        #2563eb
    );

    --shadow:
    0 6px 20px rgba(0,0,0,.07);
}

/* ========================================
   DARK MODE
======================================== */

body.dark-mode{

    --bg:#0f172a;

    --card:#1e293b;

    --text:#ffffff;

    --text-light:#cbd5e1;

    --border:#334155;

    --shadow:
    0 6px 20px rgba(0,0,0,.30);
}


/* ========================================
   GLOBAL
======================================== */

.container{

    width:94%;

    max-width:1350px;

    margin:auto;
}


section{

    padding:18px 0;
}


a{
    text-decoration:none;
}


ul{
    list-style:none;
}



h1,h2,h3,h4,h5,h6{

    color:var(--text);

    line-height:1.25;
}


p{

    color:var(--text-light);

    line-height:1.55;

    font-size:.82rem;
}


/* ========================================
   FLOATING BACKGROUND
======================================== */


.blob{

    position:fixed;

    border-radius:50%;

    filter:blur(100px);

    z-index:-1;

    opacity:.10;
}


.blob1{

    width:250px;

    height:250px;

    background:#0ea5e9;

    top:-80px;

    left:-80px;
}


.blob2{

    width:220px;

    height:220px;

    background:#2563eb;

    top:220px;

    right:-80px;
}


.blob3{

    width:200px;

    height:200px;

    background:#38bdf8;

    bottom:-80px;

    left:35%;
}


/* ========================================
   STARS
======================================== */


.stars{

    position:fixed;

    inset:0;

    z-index:-2;

    opacity:.03;


    background-image:
    radial-gradient(
        #ffffff 1px,
        transparent 1px
    );


    background-size:
    35px 35px;
}


body:not(.dark-mode) .stars{

    opacity:.015;
}


/* ========================================
   NAVBAR
======================================== */


.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;


    backdrop-filter:blur(18px);


    background:
    rgba(255,255,255,.85);


    border-bottom:
    1px solid rgba(255,255,255,.2);


    transition:.3s;
}


body.dark-mode .navbar{


    background:
    rgba(15,23,42,.92);


    border-bottom:
    1px solid rgba(255,255,255,.05);

}


.navbar-scroll{

    box-shadow:
    0 6px 18px rgba(0,0,0,.07);
}



/* ========================================
   NAV WRAPPER
======================================== */


.nav-wrapper{

    min-height:58px;

    display:flex;

    align-items:center;

    justify-content:space-between;
}



/* ========================================
   LOGO
======================================== */


.logo{

    display:flex;

    align-items:center;

    gap:10px;
}


.logo-icon{


    width:38px;

    height:38px;


    border-radius:12px;


    background:var(--gradient);


    display:flex;

    align-items:center;

    justify-content:center;


    color:white;


    font-size:15px;
}



.logo h2{

    font-size:.9rem;

    font-weight:700;
}


.logo span{

    font-size:.65rem;

    color:var(--text-light);
}


/* ========================================
   MENU
======================================== */


nav{

    display:flex;

    align-items:center;

    gap:12px;
}


nav a{


    color:var(--text);


    font-size:.8rem;


    font-weight:500;


    transition:.3s;
}


nav a:hover{

    color:var(--primary);
}



/* ========================================
   NAV BUTTON
======================================== */


.nav-btn{


    padding:7px 13px;


    border-radius:9px;


    font-size:.78rem;


    font-weight:600;
}



.login{

    border:1px solid var(--primary);

    color:var(--primary);
}


.login:hover{


    background:var(--primary);


    color:white;
}



.register{


    background:var(--gradient);


    color:white !important;
}



/* ========================================
   THEME TOGGLE
======================================== */


.theme-toggle{

    position:fixed;


    right:18px;

    bottom:18px;


    width:42px;

    height:42px;


    border:none;


    border-radius:50%;


    background:var(--gradient);


    color:white;


    font-size:15px;


    cursor:pointer;


    z-index:999;


    box-shadow:
    0 6px 18px rgba(0,0,0,.15);


    transition:.3s;
}


.theme-toggle:hover{

    transform:translateY(-3px);
}



/* ========================================
   RESPONSIVE NAVBAR
======================================== */


@media(max-width:768px){


    .nav-wrapper{


        flex-direction:column;


        padding:10px 0;
    }


    nav{


        flex-wrap:wrap;


        justify-content:center;


        gap:8px;
    }


    nav a{


        font-size:.75rem;
    }

}
/* ========================================
   HERO SECTION
======================================== */

.hero{

    min-height:78vh;

    display:flex;

    align-items:center;

    padding-top:75px;

    padding-bottom:30px;
}

.hero-grid{

    display:grid;

    grid-template-columns:1.2fr 1fr;

    gap:50px;

    align-items:center;
}


/* ========================================
   HERO TEXT
======================================== */

.hero-text{

    position:relative;

    z-index:2;
}


.badge{

    display:inline-flex;

    align-items:center;

    gap:7px;

    padding:8px 14px;

    border-radius:999px;

    background:
    rgba(14,165,233,.10);

    color:var(--primary);

    font-size:.75rem;

    font-weight:600;

    margin-bottom:14px;
}


.badge i{

    font-size:.75rem;
}


.hero-text h1{

    font-size:2.35rem;

    font-weight:800;

    line-height:1.15;

    margin-bottom:14px;

    color:var(--text);
}


.hero-text h1 span{

    background:var(--gradient);

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

    background-clip:text;
}


.hero-text p{

    max-width:520px;

    font-size:.85rem;

    line-height:1.6;

    color:var(--text-light);

    margin-bottom:22px;
}


/* ========================================
   HERO BUTTON
======================================== */

.hero-buttons{

    display:flex;

    gap:10px;

    flex-wrap:wrap;
}


.btn-primary,
.btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:11px 20px;

    border-radius:10px;

    font-size:.82rem;

    font-weight:600;

    transition:.3s;
}


.btn-primary{

    background:var(--gradient);

    color:white;
}


.btn-secondary{

    background:var(--card);

    border:1px solid var(--border);

    color:var(--text);
}


.btn-primary:hover,
.btn-secondary:hover{

    transform:translateY(-3px);
}


/* ========================================
   HERO RIGHT
======================================== */

.hero-dashboard{

    display:flex;

    align-items:center;

    justify-content:center;
}


.dashboard-window{

    width:100%;

    max-width:520px;

    background:var(--card);

    border:1px solid var(--border);

    border-radius:20px;

    overflow:hidden;

    box-shadow:
    0 15px 40px rgba(0,0,0,.12);

    animation:
    floating 5s ease-in-out infinite;
}


/* ========================================
   WINDOW TOP
======================================== */

.window-top{

    display:flex;

    gap:7px;

    padding:12px 16px;

    border-bottom:
    1px solid var(--border);
}


.window-top span{

    width:9px;

    height:9px;

    border-radius:50%;
}


.window-top span:nth-child(1){

    background:#ef4444;
}


.window-top span:nth-child(2){

    background:#f59e0b;
}


.window-top span:nth-child(3){

    background:#22c55e;
}


/* ========================================
   HERO ILLUSTRATION
======================================== */

.window-body{

    padding:35px 25px;
}


.hero-illustration{

    text-align:center;
}


.hero-illustration i{

    font-size:70px;

    margin-bottom:14px;

    background:var(--gradient);

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

    background-clip:text;
}


.hero-illustration h2{

    font-size:1.25rem;

    margin-bottom:8px;

    color:var(--text);
}


.hero-illustration p{

    max-width:320px;

    margin:auto;

    font-size:.8rem;

    line-height:1.6;

    color:var(--text-light);
}


/* ========================================
   FLOAT ANIMATION
======================================== */

@keyframes floating{

    0%{

        transform:translateY(0);
    }

    50%{

        transform:translateY(-8px);
    }

    100%{

        transform:translateY(0);
    }
}


/* ========================================
   RESPONSIVE HERO
======================================== */

@media(max-width:992px){

    .hero-grid{

        grid-template-columns:1fr;

        text-align:center;
    }


    .hero-buttons{

        justify-content:center;
    }


    .hero-dashboard{

        margin-top:15px;
    }
}


@media(max-width:768px){

    .hero{

        padding-top:105px;
    }


    .hero-text h1{

        font-size:1.8rem;
    }


    .hero-text p{

        font-size:.78rem;
    }


    .hero-buttons{

        flex-direction:column;
    }


    .btn-primary,
    .btn-secondary{

        width:100%;
    }


    .dashboard-window{

        max-width:360px;
    }


    .window-body{

        padding:28px 18px;
    }


    .hero-illustration i{

        font-size:55px;
    }


    .hero-illustration h2{

        font-size:1.1rem;
    }
}
/* ========================================
   SECTION HEADER
======================================== */

.section-header{

    text-align:center;

    margin-bottom:20px;
}

.section-badge{

    display:inline-flex;

    align-items:center;

    gap:7px;

    padding:8px 14px;

    border-radius:999px;

    background:
    rgba(99,102,241,.10);

    color:var(--primary);

    font-size:.75rem;

    font-weight:600;

    margin-bottom:12px;
}

.section-header h2{

    font-size:1.65rem;

    color:var(--text);

    margin-bottom:8px;
}

.section-header p{

    max-width:600px;

    margin:auto;

    font-size:.82rem;

    line-height:1.6;

    color:var(--text-light);
}


/* ========================================
   ABOUT SECTION
======================================== */

.about-section{

    padding:15px 0;
}

.about-grid{

    display:grid;

    grid-template-columns:
    1fr 1fr;

    gap:50px;

    align-items:center;
}


/* ========================================
   ABOUT IMAGE
======================================== */

.about-image{

    display:flex;

    justify-content:center;
}


.image-box{

    width:240px;

    height:240px;

    border-radius:22px;

    background:var(--gradient);

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:
    0 15px 35px
    rgba(99,102,241,.20);
}


.image-box i{

    font-size:4rem;

    color:#fff;
}



/* ========================================
   ABOUT CONTENT
======================================== */

.about-content{

    display:flex;

    flex-direction:column;

    gap:12px;
}


.about-card{

    display:flex;

    align-items:flex-start;

    gap:12px;


    background:var(--card);


    border:
    1px solid var(--border);


    border-radius:15px;


    padding:16px;


    box-shadow:var(--shadow);


    transition:.3s;
}


.about-card:hover{

    transform:
    translateX(5px);


    border-color:
    var(--primary);
}


.about-icon{

    width:45px;

    height:45px;


    border-radius:12px;


    background:
    rgba(99,102,241,.10);


    display:flex;

    align-items:center;

    justify-content:center;


    flex-shrink:0;
}


.about-icon i{


    color:var(--primary);


    font-size:1rem;
}


.about-card h3{

    font-size:.9rem;

    color:var(--text);

    margin-bottom:5px;
}


.about-card p{

    font-size:.78rem;

    line-height:1.55;

    color:var(--text-light);
}


/* ========================================
   FEATURES SECTION
======================================== */

.features-section{

    padding:18px 0;
}


.features-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:15px;
}


.feature-card{

    background:var(--card);

    border:
    1px solid var(--border);


    border-radius:16px;


    padding:22px 16px;


    text-align:center;


    box-shadow:
    var(--shadow);


    transition:.3s;
}


.feature-card:hover{


    transform:
    translateY(-6px);


    border-color:
    var(--primary);
}


/* ========================================
   FEATURE ICON
======================================== */


.feature-icon{


    width:55px;

    height:55px;


    margin:auto;

    margin-bottom:14px;


    border-radius:15px;


    background:
    rgba(99,102,241,.10);


    display:flex;


    align-items:center;


    justify-content:center;


    transition:.3s;
}


.feature-card:hover .feature-icon{


    background:
    var(--gradient);
}


.feature-icon i{


    font-size:1.25rem;


    color:var(--primary);


    transition:.3s;
}


.feature-card:hover .feature-icon i{


    color:#fff;
}


.feature-card h3{


    font-size:.9rem;


    margin-bottom:8px;


    color:var(--text);
}


.feature-card p{


    font-size:.78rem;


    line-height:1.55;


    color:var(--text-light);
}


/* ========================================
   SCROLL REVEAL
======================================== */

.hidden{

    opacity:0;

    transform:
    translateY(25px);

    transition:
    opacity .7s ease,
    transform .7s ease;
}


.show{

    opacity:1;

    transform:
    translateY(0);
}



/* ========================================
   RESPONSIVE TABLET
======================================== */


@media(max-width:992px){


    .about-grid{


        grid-template-columns:1fr;
    }


    .features-grid{


        grid-template-columns:
        repeat(2,1fr);
    }


    .about-image{


        order:-1;
    }
}


/* ========================================
   RESPONSIVE MOBILE
======================================== */


@media(max-width:768px){


    .section-header h2{


        font-size:1.4rem;
    }


    .section-header p{


        font-size:.78rem;
    }


    .features-grid{


        grid-template-columns:1fr;
    }


    .image-box{


        width:200px;


        height:200px;
    }


    .image-box i{


        font-size:3.5rem;
    }


    .about-card{


        flex-direction:column;


        text-align:center;
    }


    .about-icon{


        margin:auto;
    }
}
/* ========================================
   WORKFLOW SECTION
======================================== */

.workflow-section{

    padding:18px 0;
}


.timeline{

    max-width:780px;

    margin:auto;
}


.timeline-item{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:15px;
}


.timeline-icon{

    width:50px;

    height:50px;


    border-radius:50%;


    background:var(--gradient);


    color:#fff;


    display:flex;

    align-items:center;

    justify-content:center;


    font-size:18px;


    flex-shrink:0;
}


.timeline-content{

    flex:1;


    background:var(--card);


    border:
    1px solid var(--border);


    border-radius:15px;


    padding:16px;


    box-shadow:var(--shadow);


    transition:.3s;
}


.timeline-content:hover{

    transform:
    translateY(-4px);

    border-color:
    var(--primary);
}


.timeline-content span{

    color:var(--primary);

    font-size:.7rem;

    font-weight:700;
}


.timeline-content h3{

    margin:6px 0;

    font-size:.9rem;

    color:var(--text);
}


.timeline-content p{

    font-size:.78rem;

    line-height:1.55;

    color:var(--text-light);
}


/* ========================================
   FAQ SECTION
======================================== */

.faq-section{

    padding:18px 0;
}


.faq-container{

    max-width:780px;

    margin:auto;
}


.faq-item{

    background:var(--card);


    border:
    1px solid var(--border);


    border-radius:14px;


    overflow:hidden;


    margin-bottom:10px;


    box-shadow:var(--shadow);
}


.faq-question{

    width:100%;


    background:none;


    border:none;


    padding:15px 18px;


    cursor:pointer;


    display:flex;


    justify-content:space-between;


    align-items:center;


    color:var(--text);


    font-size:.82rem;


    font-weight:600;
}


.faq-question i{

    transition:.3s;
}


.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:max-height .4s ease;
}


.faq-answer p{

    padding:0 18px 18px;


    font-size:.78rem;


    line-height:1.55;


    color:var(--text-light);
}


.faq-item.active .faq-answer{

    max-height:220px;
}


.faq-item.active .faq-question i{

    transform:rotate(45deg);
}



/* ========================================
   CTA SECTION
======================================== */

.cta-section{

    padding:18px 0;
}


.cta-box{


    background:var(--gradient);


    border-radius:22px;


    padding:38px 25px;


    text-align:center;


    color:#fff;


    box-shadow:
    0 15px 40px
    rgba(99,102,241,.25);
}


.cta-icon{

    width:60px;

    height:60px;


    margin:auto auto 15px;


    border-radius:50%;


    background:
    rgba(255,255,255,.15);


    display:flex;

    align-items:center;

    justify-content:center;


    font-size:24px;
}


.cta-box h2{


    font-size:1.55rem;


    margin-bottom:10px;


    color:white;
}


.cta-box p{


    max-width:600px;


    margin:0 auto 20px;


    font-size:.82rem;


    line-height:1.6;


    color:white;
}


.cta-buttons{


    display:flex;


    justify-content:center;


    gap:10px;


    flex-wrap:wrap;
}


.cta-box .btn-primary{


    background:white;


    color:var(--primary);
}


.cta-box .btn-secondary{


    background:
    rgba(255,255,255,.15);


    border:
    1px solid rgba(255,255,255,.2);


    color:white;
}



/* ========================================
   FOOTER
======================================== */

.footer{

    background:var(--card);


    border-top:
    1px solid var(--border);


    padding-top:30px;
}


.footer-grid{


    display:grid;


    grid-template-columns:
    2fr 1fr 1fr;


    gap:25px;
}


.footer-logo{

    display:flex;

    align-items:center;

    gap:8px;


    margin-bottom:10px;
}


.footer-logo i{


    color:var(--primary);


    font-size:20px;
}


.footer-logo h3{


    font-size:.9rem;


    color:var(--text);
}


.footer-box h4{


    font-size:.9rem;


    margin-bottom:12px;


    color:var(--text);
}


.footer-box p{


    font-size:.78rem;


    line-height:1.6;


    color:var(--text-light);
}


.footer-box ul li{


    margin-bottom:8px;
}


.footer-box ul li a{


    font-size:.78rem;


    color:var(--text-light);


    transition:.3s;
}


.footer-box ul li a:hover{


    color:var(--primary);
}



/* ========================================
   FOOTER BOTTOM
======================================== */


.footer-bottom{


    text-align:center;


    margin-top:25px;


    padding:15px 0;


    border-top:
    1px solid var(--border);
}


.footer-bottom p{


    font-size:.75rem;


    color:var(--text-light);
}



/* ========================================
   RESPONSIVE
======================================== */


@media(max-width:992px){


    .footer-grid{


        grid-template-columns:
        repeat(2,1fr);
    }

}


@media(max-width:768px){


    .timeline-item{


        flex-direction:column;


        text-align:center;
    }


    .cta-box{


        padding:30px 18px;
    }


    .cta-box h2{


        font-size:1.3rem;
    }


    .footer-grid{


        grid-template-columns:1fr;


        text-align:center;
    }


    .footer-logo{


        justify-content:center;
    }

}