:root {
    --primary: #3a86ff;
    --secondary: #8338ec;
    --accent: #ff006e;
    --dark: #222222;
--light: #f8f9fa;
    --text: #e9ecef;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

#vanta-bg {
    position: relative;
    min-height: 100vh;
    z-index: 0;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.primary-btn, .secondary-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}
.primary-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(58, 134, 255, 0.4);
}
.primary-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
}

.primary-btn:hover::after {
    transform: scale(1);
    opacity: 1;
}
.secondary-btn {
    border: 2px solid var(--primary);
    color: var(--text);
    background: rgba(34, 34, 34, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}
.secondary-btn:hover {
    background: rgba(34, 34, 34, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.2);
    border-color: var(--secondary);
}
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 3s infinite;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-scroll:hover {
    opacity: 1;
}
@keyframes bounce {
    0%, 30%, 60%, 100% { transform: translateY(0); }
    45% { transform: translateY(-20px); }
}
.features {
    padding: 8rem 2rem;
            background: rgba(34, 34, 34, 0.8);
backdrop-filter: blur(10px);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}
.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.cosmic-showcase {
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.cosmic-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(58, 134, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.showcase-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cosmic-showcase h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cosmic-showcase p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.cosmic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.cosmic-item {
    height: 300px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform: perspective(800px) rotateX(0) translateY(0);
}

.cosmic-item:hover {
    transform: perspective(800px) rotateX(5deg) translateY(-5px) scale(1.03);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
}
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem 1.5rem 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cosmic-item:hover .overlay {
    opacity: 1;
}

.nebula { background: url('http://static.photos/space/640x360/1') center/cover; }
.galaxy { background: url('http://static.photos/space/640x360/2') center/cover; }
.stars { background: url('http://static.photos/space/640x360/3') center/cover; }
.planet { background: url('http://static.photos/space/640x360/4') center/cover; }

.testimonials {
    padding: 8rem 2rem;
    background: rgba(34, 34, 34, 0.9);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonials h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
}

.testimonial-slider {
    position: relative;
    height: 300px;
}
.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(20px);
}

.testimonial.active {
    opacity: 1;
    transform: translateY(0);
}
padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.testimonial.active {
    opacity: 1;
}

.testimonial p {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn.active {
    background: var(--primary);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}