/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 50%, #0a1628 0%, #0a0a0a 70%);
    padding: 100px 20px 60px;
}

/* ===== Particle Canvas ===== */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ===== Hero Container ===== */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ===== Hero Content ===== */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    color: #00D4FF;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: fit-content;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    display: inline-block;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

/* Title */
.hero-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.greeting {
    font-size: 20px;
    color: #888;
    font-weight: 300;
    letter-spacing: 2px;
}

.name {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(135deg, #00D4FF, #FF6B00, #00D4FF);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 4s ease-in-out infinite;
    line-height: 1.1;
    font-family: 'Orbitron', sans-serif;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.typing-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 32px;
    color: #ccc;
    font-weight: 400;
    margin-top: 5px;
}

.static-text {
    color: #aaa;
    font-weight: 300;
}

.typing-text {
    color: #00D4FF;
    font-weight: 600;
    min-width: 10px;
}

.cursor {
    color: #00D4FF;
    font-weight: 300;
    animation: blink 0.8s step-end infinite;
    font-size: 40px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Description */
.hero-description {
    font-size: 18px;
    color: #aaa;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00D4FF, #0088cc);
    color: #fff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
}

.btn-primary::before {
    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.6s;
}

.btn-primary:hover::before {
    transform: scale(1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00D4FF;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

/* Social Icons */
.hero-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00D4FF;
    color: #00D4FF;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #555;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease 1s both;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, rgba(0,212,255,0.3), transparent);
    position: relative;
    border-radius: 10px;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: #00D4FF;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { top: 0; opacity: 1; }
    50% { top: 80%; opacity: 0.3; }
}

/* ===== Floating Cards ===== */
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    animation: fadeInRight 1s ease 0.4s both;
}

.float-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.float-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,212,255,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.float-card:hover::before {
    opacity: 1;
}

.float-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.float-card i {
    font-size: 36px;
    color: #00D4FF;
}

.float-card span {
    color: #eee;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.card-1 { animation: floatCard 6s ease-in-out infinite; }
.card-2 { animation: floatCard 6s ease-in-out infinite 0.5s; }
.card-3 { animation: floatCard 6s ease-in-out infinite 1s; }
.card-4 { animation: floatCard 6s ease-in-out infinite 1.5s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ===== Floating Shapes Background ===== */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #00D4FF, transparent);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #FF6B00, transparent);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #ff00ff, transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #00ff88, transparent);
    top: 20%;
    right: 20%;
    animation-delay: -15s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 50px) scale(0.9); }
    75% { transform: translate(30px, -20px) scale(1.05); }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-badge {
        margin: 0 auto;
    }
    
    .hero-title {
        align-items: center;
    }
    
    .name {
        font-size: 56px;
    }
    
    .typing-wrapper {
        font-size: 26px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .hero-cards {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .name {
        font-size: 40px;
    }
    
    .typing-wrapper {
        font-size: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 280px;
    }
    
    .float-card {
        padding: 18px 12px;
    }
    
    .float-card i {
        font-size: 28px;
    }
    
    .float-card span {
        font-size: 12px;
    }
    
    .greeting {
        font-size: 16px;
    }
}