/* =========================================================
   INFOMAP360 — COMPLETE PREMIUM SAAS CSS
   Enterprise Smart Home SaaS UI
   Mobile + Desktop Optimized
   ========================================================= */

/* =========================================================
   GOOGLE FONTS
   ========================================================= */
/*
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Lexend:wght@500;600;700;800&display=swap" rel="stylesheet">
*/

/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root{

    --bg:#060816;
    --bg-secondary:#0b1120;

    --card:#0f172a;
    --card-hover:#162033;

    --text:#f8fafc;
    --soft:#94a3b8;
    --muted:#64748b;

    --primary:#38bdf8;
    --primary2:#818cf8;
    --primary3:#c084fc;

    --success:#22c55e;
    --danger:#ef4444;

    --border:rgba(255,255,255,.07);
    --border-light:rgba(255,255,255,.12);

    --radius:26px;

    --shadow-sm:
    0 5px 15px rgba(0,0,0,.15);

    --shadow:
    0 15px 40px rgba(0,0,0,.25);

    --shadow-lg:
    0 30px 80px rgba(0,0,0,.45);
}

/* =========================================================
   BASE
   ========================================================= */

html{
    scroll-behavior:smooth;
}

body{

    background:var(--bg);

    color:var(--text);

    font-family:'Inter',sans-serif;

    overflow-x:hidden;

    line-height:1.6;

    position:relative;

    -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4,h5,h6{

    font-family:'Lexend',sans-serif;

    font-weight:800;

    letter-spacing:-0.03em;

    color:#fff;
}

a{
    text-decoration:none;
    transition:.3s ease;
}

img{
    max-width:100%;
}

.container{
    max-width:1200px;
}

/* =========================================================
   BACKGROUND EFFECTS
   ========================================================= */

.bg-gradient{

    position:fixed;

    inset:0;

    z-index:-2;

    background:
    radial-gradient(circle at top left,
    rgba(56,189,248,.12) 0%,
    transparent 28%),

    radial-gradient(circle at bottom right,
    rgba(129,140,248,.10) 0%,
    transparent 28%),

    radial-gradient(circle at center,
    rgba(192,132,252,.05) 0%,
    transparent 35%),

    linear-gradient(
    180deg,
    #060816 0%,
    #0b1120 100%);
}

/* Optional subtle texture */

.bg-noise{

    position:fixed;

    inset:0;

    z-index:-1;

    opacity:.03;

    pointer-events:none;

    background-image:
    url("https://www.transparenttextures.com/patterns/asfalt-light.png");
}

/* =========================================================
   GLOBAL UTILITIES
   ========================================================= */

.section{
    padding:110px 0;
    position:relative;
}

.section-divider::after{

    content:"";

    position:absolute;

    bottom:0;
    left:50%;

    transform:translateX(-50%);

    width:90%;

    height:1px;

    background:
    linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.06),
    transparent
    );
}

.text-soft{
    color:var(--soft);
}

.text-muted-custom{
    color:var(--muted);
}

.gradient-text{

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--primary2),
    var(--primary3)
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* =========================================================
   NAVBAR
   ========================================================= */

.navbar{

    padding:18px 0;

    backdrop-filter:blur(12px);

    background:rgba(6,8,22,.75)!important;

    border-bottom:1px solid rgba(255,255,255,.05);

    transition:.3s ease;

    z-index:999;
}

.navbar-brand{

    font-size:1.3rem;

    font-weight:800;

    color:#fff!important;

    letter-spacing:-0.02em;
}

.nav-link{

    color:rgba(255,255,255,.75)!important;

    margin:0 12px;

    font-weight:500;

    transition:.3s;
}

.nav-link:hover{
    color:#fff!important;
}

.navbar-toggler{
    border:none;
    box-shadow:none!important;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-main{

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--primary2)
    );

    color:#fff;

    border:none;

    padding:15px 34px;

    border-radius:16px;

    font-weight:700;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    transition:.35s ease;

    box-shadow:
    0 10px 25px rgba(56,189,248,.25);
}

.btn-main:hover{

    transform:translateY(-3px);

    color:#fff;

    box-shadow:
    0 20px 40px rgba(56,189,248,.35);
}

.btn-outline-modern{

    border:1px solid rgba(255,255,255,.08);

    background:rgba(255,255,255,.03);

    color:#fff;

    padding:15px 32px;

    border-radius:16px;

    font-weight:600;

    transition:.3s;
}

.btn-outline-modern:hover{

    background:rgba(255,255,255,.06);

    transform:translateY(-2px);

    color:#fff;
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero{

    padding:170px 0 110px;

    position:relative;
}

.badge-modern{

    display:inline-flex;

    align-items:center;

    gap:10px;

    background:rgba(56,189,248,.08);

    border:1px solid rgba(56,189,248,.18);

    color:var(--primary);

    padding:12px 22px;

    border-radius:999px;

    font-weight:700;

    margin-bottom:35px;
}

.hero-title{

    font-size:clamp(3rem,7vw,6rem);

    line-height:1;

    max-width:980px;

    margin:auto;
}

.hero-sub{

    max-width:760px;

    margin:auto;

    margin-top:28px;

    font-size:1.18rem;

    color:var(--soft);

    line-height:1.8;
}

.hero-actions{

    display:flex;

    justify-content:center;

    gap:18px;

    margin-top:45px;

    flex-wrap:wrap;
}

/* =========================================================
   HERO UI
   ========================================================= */

.hero-ui{

    position:relative;

    margin-top:80px;

    border-radius:34px;

    overflow:hidden;

    padding:16px;

    background:
    linear-gradient(
    180deg,
    rgba(255,255,255,.04),
    rgba(255,255,255,.015)
    );

    border:1px solid rgba(255,255,255,.06);

    box-shadow:var(--shadow-lg);
}

.hero-ui::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
    180deg,
    rgba(255,255,255,.05),
    transparent
    );

    pointer-events:none;
}

.hero-ui img{

    border-radius:24px;

    display:block;
}

/* Floating mobile preview */

.mobile-ui-card{

    position:absolute;

    right:-40px;

    bottom:-40px;

    width:240px;

    border-radius:26px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.08);

    background:#111827;

    box-shadow:var(--shadow-lg);
}

/* =========================================================
   LOGO STRIP
   ========================================================= */

.logo-strip{
    opacity:.55;
}

.logo-item{

    font-size:.95rem;

    font-weight:800;

    letter-spacing:4px;

    color:#fff;

    transition:.3s;
}

.logo-item:hover{

    opacity:1;

    transform:translateY(-2px);
}

/* =========================================================
   CARDS
   ========================================================= */

.card-modern{

    background:
    linear-gradient(
    180deg,
    rgba(255,255,255,.03),
    rgba(255,255,255,.015)
    );

    border:1px solid rgba(255,255,255,.06);

    border-radius:var(--radius);

    padding:40px;

    height:100%;

    transition:.35s ease;

    position:relative;

    overflow:hidden;
}

.card-modern:hover{

    transform:translateY(-8px);

    border-color:rgba(56,189,248,.2);

    background:var(--card-hover);

    box-shadow:var(--shadow);
}

/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature-card h3{

    margin-bottom:18px;

    font-size:1.45rem;
}

.feature-card p{

    color:var(--soft);

    line-height:1.8;
}

.feature-icon{

    width:76px;

    height:76px;

    border-radius:22px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:28px;

    font-size:30px;

    color:var(--primary);

    background:
    linear-gradient(
    135deg,
    rgba(56,189,248,.12),
    rgba(129,140,248,.12)
    );

    border:1px solid rgba(255,255,255,.05);
}

/* =========================================================
   PROBLEM LIST
   ========================================================= */

.problem-list{

    list-style:none;

    padding:0;

    margin:0;
}

.problem-list li{

    padding:16px 0;

    border-bottom:1px solid rgba(255,255,255,.05);

    color:var(--soft);

    font-size:1.05rem;
}

.problem-list li:last-child{
    border-bottom:none;
}

/* =========================================================
   STATS
   ========================================================= */

.stat-box{
    text-align:center;
}

.stat-box h2{

    font-size:4rem;

    font-weight:900;

    margin-bottom:10px;
}

.stat-box p{
    color:var(--soft);
}

/* =========================================================
   PRICING
   ========================================================= */

.pricing-card{

    background:
    linear-gradient(
    180deg,
    rgba(255,255,255,.03),
    rgba(255,255,255,.015)
    );

    border:1px solid rgba(255,255,255,.06);

    border-radius:34px;

    padding:55px;

    height:100%;

    position:relative;

    transition:.35s;
}

.pricing-card:hover{

    transform:translateY(-8px);

    border-color:rgba(56,189,248,.2);
}

.pricing-card.active{

    border:1px solid rgba(56,189,248,.35);

    box-shadow:
    0 20px 50px rgba(56,189,248,.12);
}

.pricing-badge{

    position:absolute;

    top:-14px;
    left:50%;

    transform:translateX(-50%);

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--primary2)
    );

    color:#fff;

    padding:8px 18px;

    border-radius:999px;

    font-size:.8rem;

    font-weight:700;
}

.price{

    font-size:4rem;

    font-weight:900;

    line-height:1;
}

.price small{

    font-size:1rem;

    color:var(--soft);
}

.pricing-card ul{

    list-style:none;

    padding:0;

    margin:35px 0;
}

.pricing-card li{

    margin-bottom:16px;

    color:var(--soft);
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta{

    position:relative;

    overflow:hidden;

    background:
    linear-gradient(
    135deg,
    #0f172a,
    #172554
    );

    border-radius:40px;

    padding:90px 70px;

    border:1px solid rgba(255,255,255,.06);

    box-shadow:var(--shadow-lg);
}

.final-cta::before{

    content:"";

    position:absolute;

    width:500px;
    height:500px;

    background:rgba(56,189,248,.08);

    border-radius:50%;

    top:-220px;
    right:-220px;

    filter:blur(50px);
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-item{

    background:rgba(255,255,255,.02);

    border:1px solid rgba(255,255,255,.06);

    border-radius:22px;

    padding:30px;

    margin-bottom:20px;
}

.faq-item h5{
    margin-bottom:15px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer{

    padding:80px 0 40px;

    border-top:1px solid rgba(255,255,255,.05);
}

.footer a{

    color:var(--soft);
}

.footer a:hover{
    color:#fff;
}

/* =========================================================
   MOBILE STICKY CTA
   ========================================================= */

.mobile-sticky-cta{

    position:fixed;

    left:0;
    bottom:0;

    width:100%;

    padding:12px;

    background:rgba(6,8,22,.92);

    backdrop-filter:blur(12px);

    z-index:9999;

    border-top:1px solid rgba(255,255,255,.06);

    display:none;
}

.mobile-sticky-cta .btn-main{
    width:100%;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

.fade-up{

    opacity:0;

    transform:translateY(30px);

    animation:fadeUp .8s ease forwards;
}

@keyframes fadeUp{

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

/* =========================================================
   TABLETS
   ========================================================= */

@media(max-width:992px){

    .section{
        padding:90px 0;
    }

    .hero{
        padding:140px 0 80px;
    }

    .hero-title{
        font-size:4rem;
    }

    .pricing-card,
    .card-modern{
        padding:35px;
    }

    .final-cta{
        padding:60px 35px;
    }

    .mobile-ui-card{
        display:none;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:768px){

    .section{
        padding:75px 0;
    }

    .hero{
        padding:120px 0 60px;
    }

    h1{
        font-size:2.5rem!important;
    }

    h2{
        font-size:2rem!important;
    }

    h3{
        font-size:1.35rem!important;
    }

    .hero-title{
        font-size:2.5rem!important;
        line-height:1.05;
    }

    .hero-sub{

        font-size:1rem;

        line-height:1.7;

        margin-top:20px;
    }

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

    .hero-actions .btn-main,
    .hero-actions .btn-outline-modern{
        width:100%;
    }

    .hero-ui{

        margin-top:45px;

        border-radius:22px;

        padding:10px;
    }

    .hero-ui img{
        border-radius:16px;
    }

    .card-modern,
    .pricing-card{
        padding:26px;
        border-radius:22px;
    }

    .feature-icon{

        width:64px;
        height:64px;

        font-size:24px;
    }

    .price{
        font-size:3rem;
    }

    .stat-box h2{
        font-size:3rem;
    }

    .logo-item{

        font-size:.8rem;

        letter-spacing:2px;
    }

    .final-cta{

        padding:55px 24px;

        border-radius:28px;
    }

    .mobile-sticky-cta{
        display:block;
    }

    body{
        padding-bottom:90px;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media(max-width:480px){

    .hero-title{
        font-size:2.1rem!important;
    }

    .btn-main,
    .btn-outline-modern{
        padding:14px 20px;
    }

    .badge-modern{
        font-size:.8rem;
    }
}