/* ================= ROOT VARIABLES ================= */
:root {
    --primary: #28c76f;
    --primary-dark: #22b965;
    --dark: #0b0b0b;
    --dark-soft: #141414;
    --light: #ffffff;
    --muted: #6c757d;
}

/* ================= BASE ================= */
* {
    box-sizing: border-box;
}

/* ================= TOP BAR ================= */
.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 36px;
    background: #000;
    color: #fff;
    z-index: 1052;
    font-size: 13px;
}

.topbar a {
    color: #fff;
    opacity: .7;
    transition: .2s;
}

.topbar a:hover {
    opacity: 1;
}

/* ================= NAVBAR FLOATING ================= */
.navbar {
    position: fixed;
    top: 36px;
    width: 100%;
    z-index: 1051;
    background: transparent;
}

/* Glass container */
.navbar-glass {
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 12px 22px;
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
    transition: .3s ease;
}

/* Scroll effect */
.navbar.scrolled .navbar-glass {
    background: rgba(0,0,0,.95);
    transform: translateY(-2px);
}

/* ================= NAV LINKS ================= */
.nav-link {
    border-radius: 14px;
    transition: all .25s ease;
}

.nav-link:hover {
    background: rgba(255,255,255,.08);
}

/* Active state */
.nav-link.active {
    background: rgba(40,199,111,.18);
}

/* CTA */
.nav-cta {
    box-shadow: 0 10px 30px rgba(40,199,111,.4);
}

/* ================= BODY OFFSET ================= */
body {
    padding-top: 130px;
}

/* ================= MODERN FEATURE ITEMS ================= */
.icon-box-sm {
    width: 44px;
    height: 44px;
    background: rgba(40,199,111,.15);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-item {
    transition: transform .25s ease;
}

.feature-item:hover {
    transform: translateX(6px);
}

/* ================= IMAGE CARD ================= */
.image-card {
    background: rgba(255,255,255,.6);
    backdrop-filter: blur(10px);
    padding: 14px;
    border-radius: 26px;
    box-shadow: 0 25px 50px rgba(0,0,0,.15);
}

/* ================= AI SECTION BG ================= */
.ai-section {
    background:
        radial-gradient(circle at 80% 20%, rgba(40,199,111,.15), transparent),
        #fff;
}

body.dark .ai-section {
    background:
        radial-gradient(circle at 80% 20%, rgba(40,199,111,.25), transparent),
        #0b0b0b;
}


/* ================= PRICING ================= */
.pricing-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(40,199,111,.12), transparent);
}

.pricing-card {
    border: 1px solid rgba(0,0,0,.05);
    border-radius: 24px;
    transition: transform .35s ease, box-shadow .35s ease;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,.15);
}

.pricing-popular {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px rgba(40,199,111,.25);
    transform: scale(1.03);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.pricing-features i {
    color: var(--primary);
    font-size: 16px;
}

/* Dark mode */
body.dark .pricing-card {
    background: var(--dark-soft);
    border-color: rgba(255,255,255,.08);
}
/* ================= MEGA MENU ================= */
.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    border-radius: 24px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(14px);
}

body.dark .mega-menu {
    background: rgba(20,20,20,.95);
}

/* Titles */
.mega-title {
    font-weight: 700;
    margin-bottom: 12px;
}

/* Links */
.mega-link {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    text-decoration: none;
    color: #111;
    transition: .25s ease;
}

body.dark .mega-link {
    color: #fff;
}

.mega-link small {
    display: block;
    color: #6c757d;
}

.mega-link i {
    font-size: 22px;
    color: var(--primary);
    min-width: 26px;
}

.mega-link:hover {
    background: rgba(40,199,111,.15);
    transform: translateX(6px);
}

/* CTA BOX */
.mega-cta {
    background: linear-gradient(135deg,
        rgba(40,199,111,.15),
        rgba(40,199,111,.05));
    padding: 24px;
    border-radius: 20px;
    height: 100%;
}

.pricing-card {
    border-radius: 24px;
    transition: transform .35s ease, box-shadow .35s ease;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,.15);
}

.pricing-popular {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px rgba(40,199,111,.25);
    transform: scale(1.03);
}

.pricing-features li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.pricing-features i {
    color: var(--primary);
}


/* Mobile fallback */
@media (max-width: 991px) {
    .mega-menu {
        position: static;
        box-shadow: none;
        background: transparent;
    }

    .mega-link {
        padding-left: 0;
    }
}


/* ================= FOOTER ================= */
.footer-modern {
    background: #000;
    color: #fff;
    padding: 80px 0 40px;
    position: relative;
}

/* Rounded top */
.footer-rounded {
    border-radius: 48px 48px 0 0;
    margin-top: 120px;
    overflow: hidden;
}

/* Glow shape */
.footer-bg-shape {
    position: absolute;
    top: -140px;
    left: 50%;
    width: 120%;
    height: 260px;
    background: radial-gradient(
        ellipse at center,
        rgba(40,199,111,.35),
        transparent 70%
    );
    transform: translateX(-50%);
    z-index: 0;
}

/* Content above glow */
.footer-modern .container {
    position: relative;
    z-index: 1;
}

/* CTA Card */
.footer-cta {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
    border-radius: 32px;
    padding: 60px 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,.35);
}

/* Divider */
.footer-divider {
    border-color: rgba(255,255,255,.12);
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
    opacity: .85;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Social icons */
.footer-social {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.footer-social:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-4px) scale(1.05);
}

/* Newsletter */
.footer-form input {
    border-radius: 999px;
    padding: 12px 18px;
    border: none;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-rounded {
        border-radius: 32px 32px 0 0;
    }
    .footer-cta {
        padding: 40px 25px;
    }
}


/* ================= HERO MODERN ================= */
.hero-modern {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(40,199,111,.25), transparent),
        linear-gradient(135deg, #000, #111);
    color: #fff;
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(90deg, #28c76f, #5cff9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badge */
.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(40,199,111,.15);
    color: #28c76f;
    font-weight: 600;
    backdrop-filter: blur(10px);
    animation: pulse 2.5s infinite;
}

/* Floating blobs */
.hero-blob {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(40,199,111,.35), transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.blob-1 {
    top: -80px;
    left: -80px;
}

.blob-2 {
    bottom: -100px;
    right: -100px;
}

/* Pulse animation */
@keyframes pulse {
    0% { transform: scale(1); opacity: .8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: .8; }
}

/* Buttons */
.hero-modern .btn-outline-light {
    border-color: rgba(255,255,255,.4);
}
.hero-modern .btn-outline-light:hover {
    background: rgba(255,255,255,.15);
}





/* ================= MOBILE ================= */
@media (max-width: 991px) {
    .navbar-glass {
        border-radius: 0 0 24px 24px;
    }

    .navbar-collapse {
        padding-top: 15px;
    }
}


body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #111;

    /* ✅ CORRECT OFFSET: topbar (36px) + navbar (~74px) */
    padding-top: 110px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================= DARK MODE ================= */
body.dark {
    background: var(--dark);
    color: var(--light);
}

body.dark .card,
body.dark footer {
    background: var(--dark-soft);
    color: var(--light);
}

body.dark .text-muted {
    color: #aaa !important;
}

/* ================= TOPBAR ================= */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 36px;
    background: #000;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    z-index: 1051;
}

.topbar a {
    color: #fff;
    opacity: .8;
}

.topbar a:hover {
    opacity: 1;
}

/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: 36px; /* 👈 BELOW TOPBAR */
    left: 0;
    width: 100%;
    z-index: 1050;

    backdrop-filter: blur(12px);
    background: rgba(0,0,0,.85);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    transition: all .3s ease;
}

.navbar.scrolled {
    background: rgba(0,0,0,.95);
}

.navbar-brand {
    font-weight: 800;
    color: white !important;
    letter-spacing: .5px;
}

/* ================= NAV LINKS ================= */
.nav-link {
    color: white !important;
    font-weight: 500;
    position: relative;
    padding: 8px 14px !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 14px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width .3s ease;
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary) !important;
}

/* ================= CTA ================= */
.nav-cta,
.btn-primary {
    background: var(--primary);
    border: none;
    color: #000 !important;
    border-radius: 50px;
    font-weight: 600;
}

.btn-primary:hover,
.nav-cta:hover {
    background: var(--primary-dark);
}

/* ================= TOGGLER ================= */
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* ================= HERO ================= */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(40,199,111,.25), transparent),
        linear-gradient(135deg, #000, #111);
    color: white;
    padding: 100px 0;
}

.hero span {
    color: var(--primary);
}

/* ================= SECTIONS ================= */
.section {
    padding: 70px 0;
}

.section-sm {
    padding: 40px 0;
}

.section-muted {
    background: #f8f9fa;
}

body.dark .section-muted {
    background: #111;
}

/* ================= TITLES ================= */
.section-title,
h2 {
    font-weight: 700;
}

/* ================= CARDS ================= */
.card {
    border: none;
    border-radius: 18px;
    transition: transform .35s ease, box-shadow .35s ease;
    background: #fff;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
}

body.dark .card {
    background: var(--dark-soft);
}

/* ================= ICON BOX ================= */
.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(40,199,111,.15);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 15px;
}

/* ================= PRICING ================= */
.pricing-card {
    border: 2px solid transparent;
}

.pricing-card.active {
    border-color: var(--primary);
    transform: scale(1.04);
}

/* ================= CTA SECTION ================= */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 30px;
    padding: 70px 40px;
}

/* ================= FOOTER ================= */
footer {
    background: #000;
    color: #fff;
    padding: 40px 0;
}

/* ================= WHATSAPP ================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }

    .hero {
        min-height: auto;
        padding: 80px 0;
    }

    .section {
        padding: 50px 0;
    }

    .cta {
        padding: 50px 25px;
    }
}


/* ================= FOOTER ================= */
.footer-modern {
    background: #000;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-divider {
    border-color: rgba(255,255,255,.1);
}

.footer-cta {
    max-width: 700px;
    margin: auto;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
    opacity: .8;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: .3s;
}

.footer-social:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-4px);
}

.footer-form input {
    border-radius: 50px;
    padding: 10px 15px;
}
