/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #11111b;
    --bg-card: #16162a;
    --bg-card-hover: #1c1c38;
    --text-primary: #e4e4ef;
    --text-secondary: #9494a8;
    --text-muted: #6b6b80;
    --accent: #6c63ff;
    --accent-light: #8b83ff;
    --accent-glow: rgba(108, 99, 255, 0.15);
    --accent-glow-strong: rgba(108, 99, 255, 0.3);
    --border: #1e1e35;
    --border-light: #2a2a45;
    --tag-bg: rgba(108, 99, 255, 0.1);
    --tag-border: rgba(108, 99, 255, 0.25);
    --success: #4ade80;
    --gradient-start: #6c63ff;
    --gradient-end: #b44aff;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container-width: 1100px;
    --nav-height: 64px;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: border-color var(--transition), background var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    background: rgba(10, 10, 15, 0.95);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-logo .accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 24px;
}

.hero-greeting {
    font-size: 1rem;
    color: var(--accent-light);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 20px;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow-strong);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-strong);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: var(--accent-glow);
}

/* ===== Hero Social ===== */
.hero-social {
    display: flex;
    gap: 16px;
}

.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.hero-social a:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

/* ===== Code Block (Hero Visual) ===== */
.hero-visual {
    display: flex;
    justify-content: center;
}

.code-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.code-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    gap: 8px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }

.code-filename {
    margin-left: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.code-content {
    padding: 20px;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.82rem;
    line-height: 1.9;
    overflow-x: auto;
    color: var(--text-secondary);
}

.code-content code {
    font-family: inherit;
}

.code-content .kw { color: #c678dd; }
.code-content .cls { color: #e5c07b; }
.code-content .type { color: #61afef; }
.code-content .str { color: #98c379; }
.code-content .num { color: #d19a66; }
.code-content .fn { color: #61afef; }

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 48px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: -32px;
    margin-bottom: 48px;
}

.subsection-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 60px;
    margin-bottom: 24px;
    text-align: center;
    color: var(--text-secondary);
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== Timeline (Experience) ===== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

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

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent);
    z-index: 1;
}

.timeline-item:first-child .timeline-marker {
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow-strong);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
}

.timeline-content:hover {
    border-color: var(--border-light);
    transform: translateX(4px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-role {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-company a {
    color: var(--accent-light);
    font-weight: 500;
    font-size: 0.95rem;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--accent-glow);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--tag-border);
    white-space: nowrap;
}

.timeline-details {
    list-style: none;
    margin-bottom: 16px;
}

.timeline-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.timeline-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--tag-bg);
    color: var(--accent-light);
    border: 1px solid var(--tag-border);
}

.timeline-links {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.timeline-links a {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.timeline-links a::before {
    content: '\2192';
}

/* ===== Skills Grid ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition);
}

.skill-category:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-glow);
    color: var(--accent-light);
    margin-bottom: 16px;
}

.skill-category h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tags span {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* ===== Education ===== */
.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.education-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
}

.education-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.education-year {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    background: var(--accent-glow);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--tag-border);
    margin-bottom: 12px;
}

.education-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.education-degree {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.education-field {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Languages ===== */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.language-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.language-name {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 4px;
}

.language-level {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 12px;
}

.language-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.language-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
    transition: width 1s ease;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
    display: block;
    color: var(--text-primary);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-glow);
    color: var(--accent-light);
    margin: 0 auto 16px;
}

.contact-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    word-break: break-all;
}

.contact-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

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

.footer-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-light);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-greeting,
.hero-name,
.hero-title,
.hero-subtitle,
.hero-actions,
.hero-social {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.hero-greeting { animation-delay: 0.1s; }
.hero-name { animation-delay: 0.2s; }
.hero-title { animation-delay: 0.3s; }
.hero-subtitle { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.5s; }
.hero-social { animation-delay: 0.6s; }

.hero-visual {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

/* ===== Global overflow protection ===== */
html, body {
    overflow-x: hidden;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 32px 0;
        gap: 28px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 20px);
        padding-bottom: 40px;
    }

    .hero::before {
        width: 400px;
        height: 400px;
        top: -20%;
        right: -40%;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px 16px;
        gap: 32px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-name {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
    }

    .hero-social {
        justify-content: center;
    }

    .code-block {
        max-width: 100%;
        margin: 0 auto;
    }

    .code-content {
        font-size: 0.72rem;
        padding: 16px;
        line-height: 1.7;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }

    .section-title::after {
        margin-top: 12px;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-top: -20px;
        margin-bottom: 32px;
    }

    .subsection-title {
        margin-top: 40px;
        font-size: 1.15rem;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-text p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 18px 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    /* Timeline */
    .timeline {
        padding-left: 24px;
    }

    .timeline::before {
        left: 5px;
    }

    .timeline-marker {
        left: -24px;
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .timeline-item {
        margin-bottom: 24px;
    }

    .timeline-content {
        padding: 20px 16px;
    }

    .timeline-content:hover {
        transform: none;
    }

    .timeline-header {
        flex-direction: column;
        gap: 8px;
    }

    .timeline-role {
        font-size: 1.05rem;
    }

    .timeline-company a {
        font-size: 0.85rem;
    }

    .timeline-date {
        font-size: 0.72rem;
        align-self: flex-start;
    }

    .timeline-details li {
        font-size: 0.82rem;
        padding-left: 16px;
        margin-bottom: 6px;
    }

    .timeline-details li::before {
        width: 5px;
        height: 5px;
        top: 8px;
    }

    .timeline-tags {
        gap: 6px;
    }

    .tag {
        font-size: 0.68rem;
        padding: 3px 10px;
    }

    .timeline-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .timeline-links a {
        font-size: 0.8rem;
    }

    /* Skills */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .skill-category {
        padding: 18px 14px;
    }

    .skill-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .skill-icon svg {
        width: 22px;
        height: 22px;
    }

    .skill-category h3 {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .skill-tags span {
        font-size: 0.68rem;
        padding: 2px 8px;
    }

    /* Education */
    .education-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .education-card {
        padding: 20px;
    }

    .education-card h3 {
        font-size: 1rem;
    }

    /* Languages */
    .languages-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .language-card {
        padding: 16px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .contact-card {
        padding: 20px 14px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .contact-card h3 {
        font-size: 0.82rem;
    }

    .contact-card p {
        font-size: 0.72rem;
    }

    /* Footer */
    .footer {
        padding: 24px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-content p {
        font-size: 0.78rem;
    }

    .footer-links {
        gap: 16px;
    }

    .footer-links a {
        font-size: 0.78rem;
    }
}

@media (max-width: 380px) {
    .hero-name {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 1.05rem;
    }

    .hero-greeting {
        font-size: 0.85rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 14px 8px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .code-content {
        font-size: 0.65rem;
        padding: 12px;
    }
}
