/* ==========================================================================
   home.css - Premium Homepage (Classic Layout + Modern Aesthetics)
   ========================================================================== */

/* --- Hero Section Background --- */
.hero-section {
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
    z-index: 1;
}

/* Glowing radial gradient */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* --- Classic Two-Column Layout --- */
.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
}

.hero-text-column {
    flex: 1;
    max-width: 650px;
}

.hero-image-column {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* --- Hero Text & Elements --- */
.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(145deg, rgba(10, 15, 30, 0.8) 0%, rgba(3, 7, 18, 0.6) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--emerald-main, #10b981);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), inset 0 0 15px rgba(16, 185, 129, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4), inset 0 0 20px rgba(16, 185, 129, 0.2);
    border-color: var(--emerald-main);
}

.pulse-dot-small {
    width: 8px;
    height: 8px;
    background-color: var(--emerald-main);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--emerald-main);
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-name {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--text-bright, #fff);
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
}

.hero-name .highlight {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-roles {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 1.5rem;
}

.hero-bio {
    color: var(--text-soft, #a0aec0);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 2.5rem;
}

/* Modern Socials */
.hero-socials {
    display: flex;
    gap: 12px;
    margin-bottom: 3rem;
}

.hero-social-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-social-btn:hover {
    background: var(--emerald-main);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* Modern Glass Stats Chips */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stat-chip {
    padding: 8px 16px;
    background: linear-gradient(145deg, rgba(10, 15, 30, 0.8) 0%, rgba(3, 7, 18, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: var(--text-bright);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.stat-chip i {
    color: var(--emerald-main);
}

/* --- Premium Image Slider --- */
.hero-image-frame {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(145deg, rgba(10, 15, 30, 0.8) 0%, rgba(3, 7, 18, 0.6) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(16, 185, 129, 0.1);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(16, 185, 129, 0.2);
}

.slide-wrapper {
    position: absolute;
    top: 1rem; left: 1rem; right: 1rem; bottom: 1rem;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.slide-wrapper.active {
    opacity: 1;
    z-index: 2;
}

.slide-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.hero-image-frame:hover .slide-wrapper.active img {
    transform: scale(1.05);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.hero-image-frame:hover .slide-caption {
    transform: translateY(0);
    opacity: 1;
}

.slide-caption p {
    color: var(--emerald-main);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.slide-caption h4 a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

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

.slider-dot.active, .slider-dot:hover {
    background: var(--emerald-main);
    box-shadow: 0 0 10px var(--emerald-main);
}

/* --- Internal Tools Showcase --- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tool-item {
    background: linear-gradient(145deg, rgba(10, 15, 30, 0.8) 0%, rgba(3, 7, 18, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.tool-item:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-main);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tool-info h4 {
    color: var(--text-bright);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.tool-info p {
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tool-info a {
    font-size: 0.95rem;
    color: var(--emerald-main);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.tool-info a:hover {
    background: var(--emerald-main);
    color: #000;
}

/* --- Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text-column {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats, .hero-buttons, .hero-socials {
        justify-content: center;
    }
}
