/* ============================================
   Name: Syntax
   Author: WebOrbiton Team
   Colors: [Bg:#34d399, Fg:#c026d3, Accent:#7c3aed]
   ============================================ */

:root {
    --primary: #7c3aed;
    --secondary: #c026d3;
    --accent: #22d3ee;
    --success: #34d399;
    --warning: #fbbf24;

    --glass-1: rgba(15, 23, 42, 0.2);
    --glass-2: rgba(30, 41, 59, 0.4);
    --glass-3: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);

    --glow-primary: rgba(124, 58, 237, 0.5);
    --glow-secondary: rgba(192, 38, 211, 0.4);
    --glow-accent: rgba(34, 211, 238, 0.4);

    --gradient-1: linear-gradient(135deg, #8b5cf6 0%, #d946ef 50%, #22d3ee 100%);
    --gradient-2: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 100%);
    --gradient-3: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);

    --mesh-1: radial-gradient(at 10% 10%, rgba(124, 58, 237, 0.25) 0px, transparent 55%);
    --mesh-2: radial-gradient(at 90% 10%, rgba(192, 38, 211, 0.2) 0px, transparent 50%);
    --mesh-3: radial-gradient(at 90% 90%, rgba(34, 211, 238, 0.15) 0px, transparent 50%);
    --mesh-4: radial-gradient(at 10% 90%, rgba(16, 185, 129, 0.1) 0px, transparent 50%);
}

:root[data-theme="light"] {
    --primary: #6366f1;
    --secondary: #a855f7;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;

    --glass-1: rgba(255, 255, 255, 0.4);
    --glass-2: rgba(255, 255, 255, 0.6);
    --glass-3: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(99, 102, 241, 0.12);

    --glow-primary: rgba(99, 102, 241, 0.12);
    --glow-secondary: rgba(168, 85, 247, 0.1);
    --glow-accent: rgba(6, 182, 212, 0.12);

    --gradient-1: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
    --gradient-2: linear-gradient(135deg, #34d399 0%, #22d3ee 100%);
    --gradient-3: linear-gradient(135deg, #fbbf24 0%, #f87171 100%);

    --mesh-1: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.07) 0px, transparent 60%);
    --mesh-2: radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.05) 0px, transparent 60%);
    --mesh-3: radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.05) 0px, transparent 60%);
    --mesh-4: radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.04) 0px, transparent 60%);
}


body {
    background:
        var(--mesh-1),
        var(--mesh-2),
        var(--mesh-3),
        var(--mesh-4),
        var(--background);
    background-attachment: fixed;
    position: relative;
}


body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}


.navbar {
    background: var(--glass-1);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid var(--glass-border);
    border-left: none;
    border-right: none;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 20px 60px rgba(0, 0, 0, 0.05);
    position: relative;
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0.03;
    pointer-events: none;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gradient-1);
    filter: blur(4px);
    opacity: 0.5;
}

.logo {
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.logo:hover::after {
    opacity: 0.6;
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}


.nav-links a {
    position: relative;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a::before,
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a::before {
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a::after {
    right: 50%;
    transform: translateX(50%);
}

.nav-links a:hover::before {
    width: 100%;
    left: 0;
    transform: translateX(0);
}

.nav-links a:hover::after {
    width: 100%;
    right: 0;
    transform: translateX(0);
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}


.btn-primary {
    background: var(--gradient-1);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 8px 24px var(--glow-primary),
        0 4px 12px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    animation: shimmer 3s infinite;
    opacity: 0.5;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-1);
    border-radius: 10px;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::after {
    opacity: 0.8;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 16px 40px var(--glow-primary),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: var(--glass-1);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-1);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.5;
}

.btn-outline::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 6px;
}

.btn-outline:hover::after {
    opacity: 0.1;
}

.btn-outline:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px var(--glow-primary);
}


.hero {
    position: relative;
    overflow: hidden;
}


.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, var(--glow-primary) 1.5px, transparent 1.5px),
        radial-gradient(circle at 90% 15%, var(--glow-secondary) 2px, transparent 2px),
        radial-gradient(circle at 20% 80%, var(--glow-accent) 1px, transparent 1px),
        radial-gradient(circle at 85% 75%, var(--glow-primary) 1.5px, transparent 1.5px),
        radial-gradient(circle at 40% 45%, var(--glow-secondary) 2px, transparent 2px),
        radial-gradient(circle at 70% 60%, var(--glow-accent) 1px, transparent 1px),
        radial-gradient(circle at 30% 30%, var(--glow-primary) 1.5px, transparent 1.5px),
        radial-gradient(circle at 60% 85%, var(--glow-secondary) 2px, transparent 2px),
        radial-gradient(circle at 50% 10%, var(--glow-accent) 1px, transparent 1px),
        radial-gradient(circle at 15% 55%, var(--glow-primary) 1.5px, transparent 1.5px),
        radial-gradient(circle at 80% 40%, var(--glow-secondary) 2px, transparent 2px),
        radial-gradient(circle at 45% 70%, var(--glow-accent) 1px, transparent 1px);
    background-size:
        600px 600px, 550px 550px, 500px 500px, 650px 650px,
        580px 580px, 520px 520px, 560px 560px, 590px 590px,
        540px 540px, 620px 620px, 570px 570px, 610px 610px;
    background-position:
        0% 0%, 100% 0%, 0% 100%, 100% 100%,
        25% 25%, 75% 25%, 25% 75%, 75% 75%,
        50% 0%, 0% 50%, 100% 50%, 50% 100%;
    animation: particleOrbit 60s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes particleOrbit {

    0%,
    100% {
        background-position:
            0% 0%, 100% 0%, 0% 100%, 100% 100%,
            25% 25%, 75% 25%, 25% 75%, 75% 75%,
            50% 0%, 0% 50%, 100% 50%, 50% 100%;
    }

    25% {
        background-position:
            25% 25%, 75% 25%, 25% 75%, 75% 75%,
            50% 0%, 100% 50%, 50% 100%, 0% 50%,
            75% 25%, 25% 75%, 75% 75%, 25% 25%;
    }

    50% {
        background-position:
            50% 50%, 50% 50%, 50% 50%, 50% 50%,
            75% 25%, 25% 75%, 75% 75%, 25% 25%,
            100% 50%, 50% 100%, 0% 50%, 50% 0%;
    }

    75% {
        background-position:
            75% 75%, 25% 75%, 75% 25%, 25% 25%,
            100% 50%, 0% 50%, 100% 0%, 0% 100%,
            25% 75%, 75% 25%, 25% 25%, 75% 75%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-weight: 900;
    letter-spacing: -0.05em;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 4s ease-in-out infinite;
    position: relative;
}

@keyframes titleGlow {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 20px transparent);
    }

    50% {
        filter: brightness(1.2) drop-shadow(0 0 40px var(--glow-primary));
    }
}

.badge {
    background: var(--glass-2);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 8px 24px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0.05;
}

.badge-dot {
    background: var(--primary);
    box-shadow:
        0 0 12px var(--primary),
        0 0 24px var(--glow-primary);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}


.feature-card {
    background: var(--glass-1);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 12px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: -100px;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            var(--glow-primary),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::after {
    opacity: 0.5;
}

.feature-card:hover {
    background: var(--glass-2);
    border-color: var(--primary);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 24px 80px rgba(0, 0, 0, 0.12),
        0 0 60px var(--glow-primary);
    transform: translateY(-12px) rotateX(2deg) scale(1.02);
}

.feature-icon {
    background: var(--glass-2);
    border: 1px solid var(--glass-border);
    position: relative;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-1);
    border-radius: 14px;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.5s ease;
    z-index: -1;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-1);
    border-color: transparent;
    transform: scale(1.15) rotate(-5deg);
}

.feature-card:hover .feature-icon::before {
    opacity: 0.8;
}

.feature-card:hover .feature-icon svg {
    stroke: #fff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}


.stats {
    background: var(--glass-1);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0.02;
}

.stat-item h3 {
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.stat-item:hover h3 {
    animation: numberPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes numberPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}


.testimonials {
    background: var(--glass-1);
    backdrop-filter: blur(20px);
}

.testimonial-card {
    background: var(--background);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        0 12px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 40px var(--glow-primary);
    transform: translateY(-8px) scale(1.02);
}

.testimonial-avatar {
    background: var(--gradient-1);
    box-shadow:
        0 0 0 4px var(--background),
        0 0 0 5px var(--glass-border),
        0 8px 20px var(--glow-primary);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 0 0 4px var(--background),
        0 0 0 5px var(--primary),
        0 12px 30px var(--glow-primary);
}


.pricing-card {
    background: var(--glass-1);
    backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 12px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.pricing-card:hover {
    background: var(--glass-2);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 24px 80px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
    transform: translateY(-8px);
}

.pricing-card.featured {
    background: var(--glass-2);
    border: 2px solid var(--primary);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 32px 100px rgba(0, 0, 0, 0.15),
        0 0 80px var(--glow-primary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-1);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-12px);
}

.pricing-popular {
    background: var(--gradient-1);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 8px 20px var(--glow-primary);
    font-weight: 700;
    animation: popularFloat 3s ease-in-out infinite;
}

@keyframes popularFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-3px);
    }
}

.pricing-card .price {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.product-card {
    background: var(--glass-1);
    backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 12px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover {
    background: var(--glass-2);
    border-color: var(--primary);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 24px 80px rgba(0, 0, 0, 0.12),
        0 0 60px var(--glow-primary);
    transform: translateY(-8px) scale(1.02);
}


.footer {
    background: var(--glass-1);
    backdrop-filter: blur(32px);
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--gradient-1);
    filter: blur(4px);
    opacity: 0.4;
}

.social-links a {
    background: var(--glass-2);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover {
    border-color: transparent;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 8px 24px var(--glow-primary);
    transform: translateY(-4px) scale(1.1) rotate(5deg);
}

.social-links a:hover svg {
    fill: #fff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}


.theme-toggle {
    background: var(--glass-2);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle:hover {
    background: var(--primary);
    border-color: transparent;
    box-shadow: 0 8px 20px var(--glow-primary);
    transform: scale(1.1) rotate(10deg);
    color: #fff;
}


.image-section img {
    border: 1px solid var(--glass-border);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        text-align: left;
    }
}

.footer-bottom p {
    color: var(--muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--foreground);
}




@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .features-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr repeat(2, 1fr);
        gap: 48px;
    }
}


@media (max-width: 768px) {
    .navbar-inner {
        height: 64px;
    }

    
    .nav-links,
    .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 24px;
    }

    .footer-brand h3 {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}