:root {
    --bg-main: #060608;
    --bg-secondary: rgba(25, 25, 30, 0.4);
    --bg-tertiary: rgba(35, 35, 45, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #b0b0ba;
    --accent-primary: #ff8c00;
    --accent-secondary: #0088ff;
    --accent-gradient: linear-gradient(135deg, #ff8c00, #ffb347);
    --border-color: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1100px;
    --glass-blur: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ─── Dynamic Background ─────────────────────────────────────── */

.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #0d0d12 0%, #060608 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: move 20s infinite alternate linear;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 700px;
    height: 700px;
    background: var(--accent-secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: #8000ff;
    top: 40%;
    left: 30%;
    opacity: 0.1;
    animation-duration: 30s;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(100px, 50px) scale(1.1); }
}

/* ─── Reveal Animation ───────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ─── Typography ─────────────────────────────────────────────── */

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ─── Navigation ─────────────────────────────────────────────── */

.navbar {
    padding: 2rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    z-index: 100;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 1.2rem 0;
    background: rgba(6, 6, 8, 0.7);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ─── Hamburger ──────────────────────────────────────────────── */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 101;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Hero ───────────────────────────────────────────────────── */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.badge {
    background: rgba(255, 140, 0, 0.15);
    color: var(--accent-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 140, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    display: inline-block;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(255, 140, 0, 0.2));
}

.hero h2 {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.summary {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    padding: 1rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.2);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 140, 0, 0.4);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.15);
}

/* ─── Hero Image ─────────────────────────────────────────────── */

.hero-image-container {
    flex-shrink: 0;
}

.image-wrapper {
    position: relative;
    width: 380px;
    height: 470px;
    border-radius: 30px;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    filter: brightness(1.1) contrast(1.05);
}

.image-glow {
    position: absolute;
    inset: -20px;
    background: var(--accent-gradient);
    filter: blur(40px);
    opacity: 0.2;
    z-index: -1;
    border-radius: 40px;
}

/* ─── Ticker ─────────────────────────────────────────────────── */

.ticker {
    font-size: 1.1rem;
    padding: 1.5rem 0;
    background: rgba(255, 140, 0, 0.05);
    border-top: 1px solid rgba(255, 140, 0, 0.1);
    border-bottom: 1px solid rgba(255, 140, 0, 0.1);
    color: var(--text-secondary);
    font-weight: 500;
}

.ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    animation: ticker 25s linear infinite;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ─── Sections ───────────────────────────────────────────────── */

.section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-primary);
    margin-top: 15px;
    border-radius: 2px;
}

/* ─── Cards ──────────────────────────────────────────────────── */

.card {
    background: var(--bg-secondary);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.card:hover {
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ─── Skills ─────────────────────────────────────────────────── */

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.15);
}

/* ─── Timeline ───────────────────────────────────────────────── */

.timeline {
    position: relative;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--accent-primary),
        var(--accent-secondary),
        transparent
    );
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 1.8rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: 3px solid var(--bg-main);
    box-shadow: 0 0 20px var(--accent-primary);
    z-index: 1;
}

.timeline-content {
    /* inherits .card styles */
}

/* ─── Job Details ────────────────────────────────────────────── */

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.job-date {
    background: rgba(255, 140, 0, 0.12);
    color: var(--accent-primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 140, 0, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
}

.company-name {
    color: var(--accent-secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.company-name:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.job-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.job-details li {
    padding-left: 1.4rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.job-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

/* ─── Footer ─────────────────────────────────────────────────── */

.footer {
    padding: 6rem 0 3rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent-primary),
        var(--accent-secondary),
        transparent
    );
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-info {
    max-width: 500px;
}

.footer-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.footer-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.email-link,
.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 0.8rem;
}

.email-link:hover,
.phone-link:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.email-link i,
.phone-link i {
    width: 16px;
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    align-self: flex-start;
    padding-top: 0.5rem;
}

.social-btn {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.2);
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* ─── Utilities ──────────────────────────────────────────────── */

.text-secondary {
    color: var(--text-secondary);
}

.mb-3 {
    margin-bottom: 1.5rem;
}

/* ─── Responsive: ≤900px ─────────────────────────────────────── */

@media (max-width: 900px) {
    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Full-screen nav overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 6, 8, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        font-size: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.4rem;
        color: var(--text-primary);
    }

    /* Hero: single column */
    .hero {
        padding: 8rem 0 5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-image-container {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .action-buttons {
        justify-content: center;
    }

    .summary {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .image-wrapper {
        width: 260px;
        height: 320px;
    }

    /* Timeline */
    .timeline {
        padding-left: 1.8rem;
    }

    .timeline-dot {
        left: -1.8rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
    }

    .footer-info {
        max-width: 100%;
    }

    .footer-info h2 {
        font-size: 2rem;
    }

    .social-links {
        padding-top: 0;
    }
}

/* ─── Responsive: ≤480px ─────────────────────────────────────── */

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.3rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .image-wrapper {
        width: 220px;
        height: 270px;
    }

    .card {
        padding: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 5rem 0;
    }

    .footer {
        padding: 4rem 0 2rem;
    }

    .footer-info h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 0.85rem 1.6rem;
        font-size: 0.9rem;
    }
}
