* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --primary-color: #9c27b0;
    --secondary-color: #3f51b5;
    --dark-bg: rgba(13, 14, 23, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-color: #fff;
    --shadow-color: rgba(138, 43, 226, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #000 url("https://images.unsplash.com/photo-1462331940025-496dfbfc7564?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2022&q=80") no-repeat fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: -1;
    position: fixed;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle var(--duration) infinite ease-in-out;
    opacity: var(--opacity);
}

@keyframes twinkle {
    0%, 100% {
        opacity: var(--opacity);
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.3);
    }
}

/* Navbar */
.navbar {
    background-color: rgba(13, 14, 23, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-logo {
    height: 30px;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px var(--shadow-color));
}

.navbar-brand {
    font-weight: 600;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px var(--shadow-color);
    display: flex;
    align-items: center;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--shadow-color);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    height: clamp(60px, 15vw, 100px);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--shadow-color));
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px var(--shadow-color));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.9));
    }
}

.hero-content {
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), 
                0 0 60px rgba(138, 43, 226, 0.2), 
                inset 0 0 15px rgba(138, 43, 226, 0.1);
    border-radius: 16px;
    padding: clamp(20px, 5vw, 50px);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    max-width: 90%;
    width: 800px;
    margin: 0 auto;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    pointer-events: none;
}

.hero-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6), 
                0 0 80px rgba(138, 43, 226, 0.3), 
                inset 0 0 15px rgba(138, 43, 226, 0.2);
}

.hero-title {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px var(--shadow-color);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 30px 0;
    border: none;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

/* Buttons */
.btn-hero-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    font-weight: 500;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    flex: 0 1 auto;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

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

.btn-hero-primary:hover {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    font-weight: 500;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s;
    flex: 0 1 auto;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    color: white;
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    flex: 1 1 250px;
    min-width: 250px;
    max-width: 100%;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
}

.feature-icon {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-title {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-bottom: 15px;
    color: #fff;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.9rem, 3vw, 1rem);
}

/* Footer */
.footer {
    background-color: rgba(13, 14, 23, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    padding: 1rem 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--shadow-color);
    color: #fff;
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 80px;
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><circle cx="40" cy="40" r="40" fill="rgba(138, 43, 226, 0.1)"/></svg>') no-repeat;
    pointer-events: none;
    animation: float 15s infinite linear;
    opacity: 0.5;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .features {
        gap: 15px;
    }
    
    .feature-card {
        flex: 1 1 calc(50% - 15px);
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-content {
        padding: 30px 20px;
        max-width: 95%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        max-width: 250px;
        margin: 5px 0;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card {
        width: 100%;
        max-width: 350px;
    }
    
    .particle {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-content {
        padding: 25px 15px;
    }
    
    .hero-title {
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        margin-bottom: 20px;
    }
    
    .hero-divider {
        margin: 20px 0;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
} 