/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #07070a;
    color: #e4e4e7;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== GRADIENT ACCENT ===== */
.gradient-text {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(7,7,10,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(7,7,10,0.95);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
}
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #a1a1aa;
    transition: color 0.3s ease;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #e4e4e7;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 64px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99,102,241,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139,92,246,0.08) 0%, transparent 50%);
    pointer-events: none;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-text { animation: fadeUp 0.8s ease; }
.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    color: #a5b4fc;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}
.hero-sub {
    font-size: 1.15rem;
    color: #a1a1aa;
    max-width: 480px;
    margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99,102,241,0.4);
}
.btn-outline {
    background: transparent;
    color: #e4e4e7;
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-outline:hover {
    border-color: rgba(99,102,241,0.5);
    background: rgba(99,102,241,0.08);
    transform: translateY(-2px);
}

/* ===== HERO VISUAL ===== */
.hero-visual { display: flex; justify-content: center; animation: fadeUp 0.8s ease 0.2s both; }
.avatar-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
}
.avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(99,102,241,0.2);
    animation: spin 20s linear infinite;
}
.avatar-ring::before {
    content: '';
    position: absolute;
    top: -2px; left: 50%;
    width: 20px; height: 20px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(99,102,241,0.5);
}
.avatar-placeholder {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.1));
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(99,102,241,0.25);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #52525b;
    animation: float 2s ease-in-out infinite;
}
.scroll-indicator i { font-size: 0.75rem; }

/* ===== SECTION COMMON ===== */
section {
    padding: 100px 0;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 14px;
    border-radius: 100px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    color: #a5b4fc;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* ===== ABOUT ===== */
.about { background: #0b0b12; }
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.about-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.3s ease;
    text-align: center;
}
.about-card:hover {
    border-color: rgba(99,102,241,0.2);
    transform: translateY(-4px);
    background: rgba(99,102,241,0.03);
}
.card-icon {
    font-size: 2rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin: 0 auto 20px;
    background: rgba(99,102,241,0.08);
    color: #818cf8;
}
.about-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.about-card p {
    font-size: 0.9rem;
    color: #a1a1aa;
    line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}
.contact-desc {
    color: #a1a1aa;
    margin-bottom: 32px;
    font-size: 1rem;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}
.social-link {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #a1a1aa;
    transition: all 0.3s ease;
}
.social-link:hover {
    color: #fff;
    border-color: rgba(99,102,241,0.3);
    background: rgba(99,102,241,0.1);
    transform: translateY(-3px);
}
.email-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
}
.email-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #52525b;
}
.email-address {
    color: #818cf8;
    font-weight: 500;
    transition: color 0.3s;
}
.email-address:hover { color: #a5b4fc; }

/* ===== FOOTER ===== */
.footer {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer p {
    font-size: 0.85rem;
    color: #52525b;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-sub { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-visual { order: -1; }
    .avatar-wrapper { width: 180px; height: 180px; }
    .avatar-placeholder { font-size: 3rem; }
    .avatar-ring::before { width: 14px; height: 14px; }

    .about-grid { grid-template-columns: 1fr; gap: 16px; }
    .section-header h2 { font-size: 1.75rem; }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0; right: 0;
        background: rgba(7,7,10,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 24px 0;
        gap: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .hamburger { display: flex; }
}
