/* Root Variables */
:root {
    --primary-color: #0066FF;
    --secondary-color: #001F4D;
    --accent-color: #00CCFF;
    --gradient-start: #0066FF;
    --gradient-end: #00CCFF;
    --text-primary: #2D3748;
    --text-secondary: #4A5568;
}

/* Hero Wrapper */
.hero-wrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    background-color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0;
    margin-top: -76px;
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    pointer-events: auto; /* Make content clickable */
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

    /* Hero CTA Buttons */
.btn-glow {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    pointer-events: auto; /* Ensure button is clickable */
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-glow:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    pointer-events: auto; /* Make stats clickable */
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Hero Image */
.hero-image {
    position: relative;
    pointer-events: auto; /* Make image clickable */
}

.image-wrapper {
    position: relative;
    padding: 2rem;
}

.main-pc {
    width: 80%;
    height: auto;
    position: relative;
    z-index: 2;
    margin-left: 10%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

/* Floating Components */
.floating-components {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.float-component {
    position: absolute;
    width: 100px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.gpu {
    top: 20%;
    left: -50px;
    animation: float 6s ease-in-out infinite;
}

.cpu {
    top: 40%;
    right: -30px;
    animation: float 5s ease-in-out infinite 1s;
}

.ram {
    bottom: 30%;
    left: -20px;
    animation: float 7s ease-in-out infinite 0.5s;
}

/* Glow Effect */
.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    top: 0;
    left: 0;
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

/* Hero Shapes */
.hero-shapes .shape {
    position: absolute;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat-item {
        flex: 1 1 calc(33.333% - 1rem);
    }

    .floating-components {
        display: none;
    }
    .hero-section {
        padding-top: 180px; ;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 190px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .stat-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .hero-image {
        margin-top: 3rem;
    }
}

/* AOS Animation Styles */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateX(0);
}