/* ========================================
   INDEX.CSS — Home Page Specific
   ======================================== */

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 8rem 3rem 5rem;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.25);
    border-radius: 30px;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    color: var(--green);
    letter-spacing: 1px;
    margin-bottom: 1.4rem;
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,136,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(0,255,136,0); }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--blue-bright);
    margin-bottom: 1.3rem;
    min-height: 1.8em;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.typed-cursor {
    color: var(--green);
    animation: blink 0.85s step-end infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.3rem 1.8rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    width: fit-content;
}
.stat-item { text-align: center; }
.stat-num {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}
.stat-plus { font-family: 'Orbitron', monospace; font-size: 1.2rem; color: var(--blue-bright); vertical-align: top; margin-top: 0.1rem; }
.stat-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.3rem;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

/* ── HERO VISUAL ── */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.hero-avatar-ring {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0,168,255,0.4);
    box-shadow: 0 0 50px rgba(0,102,255,0.3), 0 0 100px rgba(0,102,255,0.1);
    position: relative;
    z-index: 3;
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Orbitron', monospace; font-size: 4rem; font-weight: 900;
    color: var(--blue-bright);
    background: linear-gradient(135deg, rgba(0,102,255,0.15), rgba(0,255,136,0.08));
}

.ring {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
    animation: spin-ring linear infinite;
}
.ring-1 {
    width: 230px; height: 230px;
    border-width: 1px;
    border-color: rgba(0,168,255,0.3) transparent rgba(0,168,255,0.3) transparent;
    animation-duration: 8s;
}
.ring-2 {
    width: 260px; height: 260px;
    border-width: 1px;
    border-color: transparent rgba(0,255,136,0.2) transparent rgba(0,255,136,0.2);
    animation-duration: 12s;
    animation-direction: reverse;
}
.ring-3 {
    width: 290px; height: 290px;
    border-width: 1px;
    border-color: rgba(0,102,255,0.15) transparent rgba(0,102,255,0.15) transparent;
    animation-duration: 16s;
}
@keyframes spin-ring { to { transform: rotate(360deg); } }

.orb {
    position: absolute;
    border-radius: 50%;
    animation: orbit linear infinite;
}
.orb-1 {
    width: 10px; height: 10px;
    background: var(--blue-bright);
    box-shadow: 0 0 12px var(--blue-bright);
    animation-duration: 8s;
    top: 15px; left: 50%;
    transform-origin: 0 100px;
}
.orb-2 {
    width: 8px; height: 8px;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
    animation-duration: 12s;
    animation-direction: reverse;
    bottom: 15px; left: 50%;
    transform-origin: 0 -110px;
}
.orb-3 {
    width: 6px; height: 6px;
    background: #7c3aed;
    box-shadow: 0 0 8px #7c3aed;
    animation-duration: 16s;
    top: 50%; right: 10px;
    transform-origin: -125px 0;
}
@keyframes orbit { to { transform: rotate(360deg); } }

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    max-width: 300px;
}
.chip {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    transition: all 0.3s;
    animation: float-chip ease-in-out infinite;
}
.chip:hover { border-color: var(--blue-bright); color: var(--blue-bright); transform: translateY(-3px); }
.chip-1 { animation-duration: 3s; animation-delay: 0s; }
.chip-2 { animation-duration: 3.5s; animation-delay: 0.5s; }
.chip-3 { animation-duration: 4s; animation-delay: 1s; }
.chip-4 { animation-duration: 3.2s; animation-delay: 1.5s; }
@keyframes float-chip {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ── ABOUT SECTION ── */
.about-section {
    position: relative;
    z-index: 10;
    padding: 6rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
    align-items: start;
}
.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}
.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}
.skill-category h4 {
    font-family: 'Orbitron', monospace;
    font-size: 0.72rem;
    color: var(--blue-bright);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.skill-tags span {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
    background: var(--surface-1);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    color: var(--text-secondary);
    transition: all 0.25s;
}
.skill-tags span:hover { border-color: var(--blue-bright); color: var(--blue-bright); }

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.about-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 1.4rem;
    transition: all 0.3s;
}
.about-card:hover {
    border-color: rgba(0,168,255,0.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,102,255,0.12);
}
.about-card-icon { font-size: 1.8rem; margin-bottom: 0.7rem; }
.about-card h4 {
    font-family: 'Orbitron', monospace;
    font-size: 0.78rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    letter-spacing: 1px;
}
.about-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }

/* ── PROJECTS PREVIEW ── */
.projects-section {
    position: relative;
    z-index: 10;
    padding: 6rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.projects-inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 2rem;
}
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

/* ── REVIEWS SECTION ── */
.reviews-section-wrap {
    position: relative;
    z-index: 10;
    padding: 2rem 0 6rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(180deg, transparent, rgba(0,102,255,0.02));
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 8rem 2rem 4rem;
        gap: 3rem;
    }
    .hero-desc { margin: 0 auto 2rem; }
    .hero-btns { justify-content: center; }
    .hero-stats { margin: 0 auto; }
    .hero-visual { order: -1; }
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-inner { padding: 0 2rem; }
    .section-header-left { text-align: center; }
    .section-header-left .section-line { margin: 0 auto 1.5rem; }
}

@media (max-width: 768px) {
    .hero { padding: 7rem 1.5rem 3rem; }
    .featured-grid { grid-template-columns: 1fr; }
    .about-cards { grid-template-columns: 1fr; }
    .hero-avatar-ring { width: 220px; height: 220px; }
    .hero-avatar { width: 160px; height: 160px; }
    .ring-1 { width: 180px; height: 180px; }
    .ring-2 { width: 200px; height: 200px; }
    .ring-3 { width: 220px; height: 220px; }
    .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 1rem; justify-content: center; }
    .stat-divider { display: none; }
    .projects-inner { padding: 0 1.2rem; }
}

@media (max-width: 480px) {
    .hero-badge { font-size: 0.65rem; }
    .hero-title { font-size: 2rem; }
    .about-cards { grid-template-columns: 1fr 1fr; }
}
