:root {
    --primary-blue: #2563eb;
    --primary-dark: #0f172a;
    --primary-accent: #6366f1;
    --secondary-accent: #a855f7;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary-dark);
    overflow-x: hidden;
    background: #ffffff;
}

/* --- Navigation --- */
.main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    z-index: 1000;
}

.main-header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-weight: 600;
    color: var(--primary-dark) !important;
    margin: 0 15px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

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

/* --- Hero Section --- */
.hero-section {
    background: #0b0f1a;
    padding: 180px 0 140px !important;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Mesh Gradient Background */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    animation: meshRotate 20s linear infinite;
    z-index: 0;
}

@keyframes meshRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-img-wrapper {
    position: relative;
    perspective: 1000px;
}

.hero-img {
    border-radius: 24px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.hero-img-wrapper:hover .hero-img {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

/* --- Stats Section --- */
.stats-container {
    margin-top: -70px;
    position: relative;
    z-index: 10;
}

.stat-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    background: white;
}

.stat-box h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

#small-text-home {
    font-size: 14px;
    color: #f4f4f4;
    margin-bottom: 5px !important;

}

/* --- Feature Cards --- */
.section-title {
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: -0.02em;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 50px 40px;
    border-radius: 32px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-blue);
}

.feature-card:hover::before {
    opacity: 1;
}

.icon-square {
    width: 70px;
    height: 70px;
    background: #eff6ff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 30px;
    font-size: 1.8rem;
    transition: var(--transition);
}

.feature-card:hover .icon-square {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

/* --- Pricing --- */
.pricing-card {
    background: #fff;
    padding: 60px 40px;
    border-radius: 32px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    position: relative;
}

.pricing-card.popular {
    background: #0f172a;
    color: white;
    border: none;
    transform: scale(1.08);
    z-index: 2;
    box-shadow: 0 50px 100px rgba(15, 23, 42, 0.2);
}

.pricing-card.popular .text-muted {
    color: #94a3b8 !important;
}

.pricing-card.popular .price {
    color: white;
}

.badge-popular {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

/* --- CTA Section --- */
.cta-section {
    background: #0f172a;
    position: relative;
    padding: 120px 0;
    border-radius: 48px;
    overflow: hidden;
    color: white;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.2), transparent 40%),
        radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.2), transparent 40%);
}

.btn-primary {
    background: var(--primary-blue);
    border: none;
    padding: 16px 36px;
    border-radius: 16px;
    font-weight: 700;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
    background: #1d4ed8;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .pricing-card.popular {
        transform: scale(1);
        margin: 30px 0;
    }

    .hero-img {
        transform: none !important;
    }
}