@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #070b13;
    --bg2: #101827;
    --card: #111827;
    --text: #111827;
    --muted: #667085;
    --white: #ffffff;
    --soft: #f8fafc;
    --line: #e5e7eb;
    --gold: #f5c542;
    --gold2: #d69b10;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 11, 19, .88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.navbar {
    width: min(1180px, 92%);
    margin: auto;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
}
.brand-logo {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--gold);
    color: #0b1220;
    font-weight: 900;
}
.brand small { display: block; color: #cbd5e1; }
.nav-links { display: flex; gap: 24px; color: #e5e7eb; font-weight: 600; }
.nav-links a:hover { color: var(--gold); }
.menu-toggle { display: none; }

.hero {
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 60px;
    align-items: center;
    padding: 80px max(4%, calc((100% - 1180px)/2));
    color: white;
    background:
        radial-gradient(circle at 85% 15%, rgba(245,197,66,.24), transparent 32%),
        linear-gradient(135deg, #060914 0%, #111827 55%, #202b3f 100%);
}
.tag, .section-label {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
    font-size: .78rem;
    margin-bottom: 18px;
}
.hero h1 {
    font-size: clamp(3rem, 8vw, 6.7rem);
    line-height: .9;
    letter-spacing: -.07em;
    margin-bottom: 22px;
}
.hero h2 {
    max-width: 900px;
    color: #e5e7eb;
    font-size: clamp(1.25rem, 2vw, 2rem);
    line-height: 1.25;
    margin-bottom: 22px;
}
.hero-text {
    color: #cbd5e1;
    max-width: 760px;
    font-size: 1.15rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 14px;
    padding: 14px 22px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--gold); color: #111827; }
.btn.secondary { background: white; color: #111827; }
.btn.ghost { border: 1px solid rgba(255,255,255,.3); color: white; }
.dark-btn { background: #111827 !important; color: white !important; margin-top: 10px; }

.hero-card {
    padding: 34px;
    border-radius: 30px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
}
.avatar {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border-radius: 26px;
    background: var(--gold);
    color: #111827;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 24px;
}
.hero-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.hero-card p { color: #d1d5db; margin-bottom: 20px; }
.hero-card li {
    display: grid;
    gap: 2px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.12);
}
.hero-card strong { color: var(--gold); font-size: 1.25rem; }
.hero-card span { color: #e5e7eb; }

.stats {
    width: min(1180px, 92%);
    margin: -45px auto 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: white;
    border-radius: 28px;
    box-shadow: 0 26px 80px rgba(15,23,42,.16);
    overflow: hidden;
}
.stats div { padding: 28px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: none; }
.stats strong { display: block; font-size: 2rem; color: #0f172a; line-height: 1.1; }
.stats span { color: var(--muted); }

.section {
    padding: 105px max(4%, calc((100% - 1180px)/2));
}
.section.dark {
    background: var(--bg);
    color: white;
}
.split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
}
.section h2, .contact-hero h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}
.text-block p {
    color: var(--muted);
    font-size: 1.08rem;
    margin-bottom: 18px;
}
.section-heading { max-width: 850px; margin-bottom: 48px; }
.dark .section-heading h2 { color: white; }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.skill-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    padding: 26px;
}
.skill-card h3 { color: var(--gold); margin-bottom: 18px; }
.skill-card li {
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    color: #e5e7eb;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.cert-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: var(--soft);
}
.cert-card span {
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #111827;
    color: var(--gold);
    font-weight: 900;
}
.cert-card p { font-weight: 700; }

.timeline { display: grid; gap: 22px; }
.timeline-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 34px;
    padding: 30px;
    border-radius: 24px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
}
.timeline-date { color: var(--gold); font-weight: 900; }
.timeline-content h3 { font-size: 1.35rem; }
.company { color: #cbd5e1; margin: 6px 0 14px; font-weight: 700; }
.timeline-content li {
    color: #e5e7eb;
    padding: 6px 0;
}
.timeline-content li::before {
    content: "• ";
    color: var(--gold);
    font-weight: 900;
}

.value { background: #fff; }
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.value-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    background: var(--soft);
}
.value-card h3 { margin-bottom: 12px; }
.value-card p { color: var(--muted); }

.cta {
    padding: 110px max(4%, calc((100% - 1180px)/2));
    text-align: center;
    color: white;
    background:
        radial-gradient(circle at 50% 0%, rgba(245,197,66,.18), transparent 35%),
        linear-gradient(135deg, #070b13, #111827);
}
.cta h2 {
    max-width: 900px;
    margin: 0 auto 18px;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -.05em;
}
.cta p { color: #cbd5e1; margin-bottom: 28px; }

.contact-hero {
    padding: 95px max(4%, calc((100% - 1180px)/2));
    color: white;
    background: linear-gradient(135deg, #070b13, #111827);
}
.contact-hero p { color: #cbd5e1; margin-top: 16px; }
.contact-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 50px;
}
.contact-info, .contact-form {
    border-radius: 28px;
    background: var(--soft);
    border: 1px solid var(--line);
    padding: 34px;
}
.contact-info h2, .contact-form h2 { margin-bottom: 22px; }
.contact-info p { margin-bottom: 14px; color: var(--muted); }
.contact-info a { color: #111827; font-weight: 800; }
.download-box { margin-top: 28px; display: grid; gap: 8px; }
.contact-form label {
    display: block;
    font-weight: 800;
    margin: 16px 0 8px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    font: inherit;
}
.alert {
    padding: 14px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-weight: 800;
}
.alert.success { background: #dcfce7; color: #166534; }
.alert.error { background: #fee2e2; color: #991b1b; }

.footer {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 34px max(4%, calc((100% - 1180px)/2));
    background: #050812;
    color: white;
}
.footer p, .footer a { color: #cbd5e1; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: .65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1000px) {
    .hero, .split, .contact-layout {
        grid-template-columns: 1fr;
    }
    .skills-grid, .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats, .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 720px) {
    .menu-toggle {
        display: block;
        background: var(--gold);
        border: none;
        padding: 9px 13px;
        border-radius: 10px;
        font-size: 1.3rem;
    }
    .nav-links {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        background: #070b13;
        padding: 24px;
        border-top: 1px solid rgba(255,255,255,.1);
    }
    .nav-links.open { display: flex; }
    .hero {
        padding-top: 55px;
    }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .stats, .skills-grid, .cert-grid, .value-grid {
        grid-template-columns: 1fr;
    }
    .stats div { border-right: none; border-bottom: 1px solid var(--line); }
    .timeline-item { grid-template-columns: 1fr; }
    .footer { flex-direction: column; }
}
