/* Original design from index.html – dark theme, Poppins, gradients, stats, floating animation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    /* Header ki height ke mutabik section ko automatic offset dega */
}

body {
    font-family: 'Poppins', sans-serif;
    /* background: #0f172a; */
    background: #090d16;
    /* Deeper cosmic dark for better contrast */
    color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Dynamic Glow Background Objects */
body::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    top: 10%;
    right: 0;
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    top: 40%;
    left: -15%;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Premium Header with Blur */
header {
    padding: 15px 0;
    position: sticky;
    top: 0;
    background: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #38bdf8;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #e2e8f0;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #38bdf8;
}

/* Navbar Styles */
.navbar-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: 0.2s;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #38bdf8;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #38bdf8;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #38bdf8;
    border-radius: 2px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e2e8f0;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        transition: 0.4s;
        z-index: 999;
        border-right: 1px solid rgba(56, 189, 248, 0.2);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 18px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-img {
        height: 35px;
    }
}

/* When menu open, prevent body scroll */
body.menu-open {
    overflow: hidden;
}

/* Advanced Hero Section */
.hero {
    position: relative;
    padding: 90px 0 120px;
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.1), transparent 40%);
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-left {
    flex: 1;
}

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.15), rgba(139, 92, 246, 0.15));
    color: #38bdf8;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.1);
}

.hero-left h1 {
    font-size: calc(1.5rem + 3vw);
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-left h1 span,
.logo-text {
    background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left p {
    color: #94a3b8;
    font-size: 19px;
    max-width: 550px;
    margin-bottom: 40px;
}

.hero-right {
    flex: 1;
    text-align: center;
}

/* Enhanced Floating Animation for Image */
.hero-right img {
    width: 100%;
    max-width: 520px;
    filter: drop-shadow(0 20px 40px rgba(56, 189, 248, 0.15));
    animation: premiumFloat 6s ease-in-out infinite;
}

/* Modernized Stat Boxes (Replaced plain white with Dark Glass) */
.hero-stats {
    position: relative;
    margin-top: -50px;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    z-index: 10;
}

.stat-box {
    background: rgba(30, 41, 59, 0.8);
    color: #f8fafc;
    padding: 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.05);
}

.stat-box h3 {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #38bdf8, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-box p {
    color: #94a3b8;
    font-size: 15px;
    font-weight: 500;
}

.card,
.stat-box {
    will-change: transform;
    /* Browser GPU ko high-performance animation ke liye ready rakhta hai */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Buttons */
.buttons {
    margin-top: 35px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 20;
}

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: #0f172a;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    /* transform: translateY(-2px); */
    box-shadow: 0 6px 25px rgba(56, 189, 248, 0.4);
}

.btn-primary.disabled {
    background: #38bdf8;
    color: #0f172a;
    cursor: not-allowed;
    pointer-events: none;
    border-color: #62ccfa;
    opacity: 0.65;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: calc(1.325rem + 2vw);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 60%, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: #94a3b8;
    font-size: 17px;
}

/* Glassmorphic Premium Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(30, 41, 59, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(56, 189, 248, 0.03);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #38bdf8;
    position: relative;
    z-index: 2;
}

.card p {
    color: #94a3b8;
    font-size: 15px;
    position: relative;
    z-index: 2;
}

.price {
    font-size: 34px;
    margin: 25px 0;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #fff, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features {
    list-style: none;
    padding-left: 0;
}

.features li {
    margin-bottom: 10px;
    color: #cbd5e1;

    list-style: none;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.features li i {
    flex-shrink: 0;
}

/* Project Images Glow */
.project-img {
    min-height: 180px;
    background: #1e293b;
    border-radius: 14px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .project-img img {
    transform: scale(1.06);
}

/* Process steps */
.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    text-align: center;
}

.process-box {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 30px 15px;
    border-radius: 16px;
    backdrop-filter: blur(5px);
    transition: 0.3s ease;
}

.process-box:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(139, 92, 246, 0.3);
}

.process-box span {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5cc0f6, #6366f1);
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* Floating contact button (additional but style consistent) */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.contact-float-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: 0.3s transform ease;
}

.contact-float-btn:hover {
    transform: scale(1.08) rotate(5deg);
}

.contact-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #1e293b;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-options a {
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 8px;
}

.contact-options a:hover {
    background: #38bdf8;
    color: #0f172a;
}

.btn-spinner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-spinner .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Footer */
footer {
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

/* Keyframe Animations */
@keyframes premiumFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Popup Overlay Styles (moved from inline) */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-container {
    width: 100%;
    max-width: 600px;
    margin: auto;
}

.popup-content {
    background: #1e293b;
    padding: 30px;
    border-radius: 16px;
    position: relative;
    color: #fff;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.2s;
}

.popup-close:hover {
    opacity: 1;
}

.popup-content h3 {
    margin-bottom: 20px;
    color: #38bdf8;
}

.popup-content p {
    margin-bottom: 15px;
    color: #cbd5e1;
}

.popup-content textarea {
    width: 100%;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    resize: vertical;
}

.send-wa-btn {
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #38bdf8;
    color: #0f172a;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 999;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
    background: #0ea5e9;
}

/* Project image fallback */
.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.table-responsive {
    overflow-x: auto;
}

.table-dark {
    background: #1e293b;
    color: #e2e8f0;
}

.table-dark td,
.table-dark th {
    border-color: #334155;
}

.features-list {
    list-style: none;
    padding-left: 0;
}

.features-list li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-left h1 {
        /* font-size: 44px; */
    }

    .hero-left p {
        margin: auto auto 35px;
    }

    .hero-right img {
        max-width: 400px;
    }

    .hero-stats {
        margin-top: -40px;
    }

    .buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        /* font-size: 38px; */
    }
}

/* ==========================================================================
   Popular Plan & Live Demo Badges Styling
   ========================================================================== */

/* Popular Card Extra Highlight */
.card-popular {
    border-color: rgba(139, 92, 246, 0.4) !important;
    background: linear-gradient(135deg, #1e293b, rgba(139, 92, 246, 0.05)) !important;
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.08) !important;
}

/* Popular Badge Pill */
.badge-popular {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    z-index: 10;
}

/* Live Demo Tag on Image */
.badge-live {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25d366;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    pointer-events: none;
    /* Image click ya stretch links ko block nahi karega */
}

/* Live Indicator Green Dot Grid */
.badge-live i {
    font-size: 7px;
    display: inline-block;
}

/* Smooth Blinking/Pulse Effect for Live Dot */
.animate-pulse {
    animation: livePulse 1.8s infinite ease-in-out;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}