﻿:root {
    --primary: #ED8936;
    --secondary: #9F7AEA;
}

body {
    background-color: #0D1219;
    color: #E2E8F0;
    overflow-x: hidden;
}

.hero-bg {
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.95), rgba(13, 18, 25, 0.85)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ED8936" fill-opacity="0.2" d="M0,160L60,144C120,128,240,96,360,106.7C480,117,600,171,720,197.3C840,224,960,224,1080,197.3C1200,128,1320,96,1380,80L1440,64L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    position: relative;
}

    .hero-bg::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 10rem;
        background: linear-gradient(to top, #0D1219, transparent);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.card {
    transition: all 0.3s ease;
    border: 1px solid rgba(237, 137, 54, 0.1);
    position: relative;
    overflow: hidden;
}

    .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(to right, var(--primary), var(--secondary));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

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

        .card:hover::before {
            transform: scaleX(1);
        }

.gradient-text {
    background: linear-gradient(90deg, #ED8936, #9F7AEA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

    .gradient-text::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, #ED8936, #9F7AEA);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease;
    }

    .gradient-text:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }

.mobile-menu {
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

    .mobile-menu.hidden {
        transform: translateX(100%);
        opacity: 0;
    }

.carousel-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .carousel-container::-webkit-scrollbar {
        display: none;
    }

.carousel-item {
    scroll-snap-align: start;
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    .carousel-item {
        flex: 0 0 33.333%;
    }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

.bg-grid-pattern {
    background-image: linear-gradient(rgba(13, 18, 25, 0.9) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 18, 25, 0.9) 1px, transparent 1px);
    background-size: 30px 30px;
}

.bg-dots-pattern {
    background-image: radial-gradient(rgba(237, 137, 54, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.3;
}

.nav-link {
    position: relative;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        transition: width 0.3s ease;
    }

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

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: all 0.6s ease;
    }

    .btn-primary:hover::before {
        left: 100%;
    }

    .btn-primary:hover {
        box-shadow: 0 5px 15px rgba(237, 137, 54, 0.4);
        transform: translateY(-2px);
    }

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.feature-icon {
    transition: all 0.3s ease;
    position: relative;
}

    .feature-icon::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        opacity: 0.1;
        transform: scale(1.2);
        z-index: -1;
    }

.card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.template-card {
    position: relative;
    overflow: hidden;
}

    .template-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, transparent, rgba(13, 18, 25, 0.8));
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

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

    .template-card .overlay-content {
        position: absolute;
        bottom: -50px;
        left: 0;
        width: 100%;
        padding: 1rem;
        transition: all 0.3s ease;
        z-index: 2;
    }

    .template-card:hover .overlay-content {
        bottom: 0;
    }

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .stats-number {
        font-size: 3rem;
    }
}

.testimonial-card {
    position: relative;
}

    .testimonial-card::before {
        content: '"';
        position: absolute;
        top: -20px;
        left: 20px;
        font-size: 6rem;
        color: rgba(237, 137, 54, 0.1);
        font-family: Georgia, serif;
        line-height: 1;
    }
