/* Core Design System & Variables */
:root {
    /* Colors */
    --bg-base: #0a0a0c;
    --bg-surface: #121217;
    --bg-surface-elevated: #1a1a23;
    
    /* Strong Accent: Flutter/Dart inspired blue/cyan but darker/more elegant */
    --accent-primary: #00e5ff;
    --accent-secondary: #007bb5;
    --accent-glow: rgba(0, 229, 255, 0.15);
    
    /* Typography Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --text-muted: #6b6b76;
    
    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing System (8px based) */
    --space-1: 0.25rem; /* 4px */
    --space-2: 0.5rem;  /* 8px */
    --space-3: 0.75rem; /* 12px */
    --space-4: 1rem;    /* 16px */
    --space-6: 1.5rem;  /* 24px */
    --space-8: 2rem;    /* 32px */
    --space-12: 3rem;   /* 48px */
    --space-16: 4rem;   /* 64px */
    --space-24: 6rem;   /* 96px */
    --space-32: 8rem;   /* 128px */
    
    /* Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px var(--accent-glow);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    /* Subtile Grid Pattern Background */
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Global Glow Effect behind everything */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(0, 229, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 123, 181, 0.05) 0%, transparent 50%);
    filter: blur(100px);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-24) 0;
}

.section-header {
    margin-bottom: var(--space-16);
}

.section-num {
    font-family: var(--font-mono);
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-4);
    display: block;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    position: relative;
    display: inline-block;
}

/* HEADER & NAV */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all var(--transition-normal);
    padding: var(--space-6) 0;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    padding: var(--space-4) 0;
    background: var(--bg-surface-elevated);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-accent {
    color: var(--accent-primary);
    font-weight: 800;
}

.nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-8);
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
    position: relative;
    padding: var(--space-2) 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-primary);
    transition: width var(--transition-normal);
}

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

.lang-switch {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: var(--bg-surface);
    padding: 4px 8px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--text-primary);
    background: var(--border-color);
}

.lang-switch .divider {
    width: 1px;
    height: 12px;
    background-color: var(--border-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 20px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    position: absolute;
    transition: all var(--transition-normal);
    left: 0;
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

/* ANIMATIONS */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: fixed;
        top: 0; right: -100%;
        width: 100vw; height: 100vh;
        background: rgba(18, 18, 23, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        transition: right var(--transition-normal);
        z-index: 99;
    }
    .nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: var(--space-8);
    }
    .nav-link {
        font-size: 1.5rem;
    }
    .mobile-menu-btn {
        display: block;
        z-index: 100;
    }
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .lang-switch {
        display: none;
    }
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-surface);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
    color: var(--bg-base);
}

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

.btn-secondary:hover {
    border-color: var(--border-highlight);
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--space-32); /* Offset for header */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--accent-primary);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    letter-spacing: 0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a0a0ab 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    text-wrap: balance;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    max-width: 500px;
    line-height: 1.7;
    text-wrap: pretty;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
}

/* CODE CARD */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.code-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
}

.code-card:hover {
    transform: rotateY(0) rotateX(0);
}

.code-header {
    background: rgba(0, 0, 0, 0.4);
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.window-controls {
    display: flex;
    gap: 8px;
}

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

.control.close { background-color: #ff5f56; }
.control.minimize { background-color: #ffbd2e; }
.control.expand { background-color: #27c93f; }

.file-name {
    margin: 0 auto;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.code-content {
    padding: var(--space-6);
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-primary);
}

/* SYNTAX HIGHLIGHTING (Dart inspired) */
.keyword { color: #ff7b72; }           /* pink/red */
.class-name { color: #79c0ff; }        /* blue */
.type { color: #79c0ff; }              /* blue */
.string { color: #a5d6ff; }            /* light blue */
.function { color: #d2a8ff; }          /* purple */
.method { color: #d2a8ff; }            /* purple */

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
}

/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.text-lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.highlight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.highlight-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-primary);
}

.highlight-icon {
    color: var(--accent-primary);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.stat-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-6);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--border-highlight);
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.03);
}

.stat-icon {
    font-size: 2rem;
    background: rgba(0, 229, 255, 0.05);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.2;
    margin-top: 4px;
}

/* SKILLS SECTION */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.skill-category {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--transition-normal);
}

.skill-category:hover {
    border-color: var(--border-highlight);
    background: var(--bg-surface-elevated);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.skill-category-title {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--space-4);
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    transition: all var(--transition-fast);
}

.skill-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: var(--border-highlight);
}

.chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    background: var(--accent-primary);
}

/* PROJECTS SECTION */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.project-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, -100%), rgba(255,255,255,0.04), transparent 40%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.project-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    background: linear-gradient(135deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    border: 1px solid rgba(39, 201, 63, 0.2);
    margin-bottom: var(--space-6);
}

.status-badge.pulse::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #27c93f;
    border-radius: 50%;
    box-shadow: 0 0 8px #27c93f;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.status-badge.dev {
    background: rgba(255, 189, 46, 0.1);
    color: #ffbd2e;
    border-color: rgba(255, 189, 46, 0.2);
}

.project-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-4);
}

.project-desc {
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.tech-chip {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
    margin-top: auto;
}

.project-link .arrow {
    transition: transform var(--transition-fast);
}

.project-link:hover .arrow {
    transform: translateX(4px);
}

/* MOCKUP VISUAL */
.project-visual {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mockup-placeholder {
    width: 200px;
    height: 400px;
    background: #000;
    border-radius: 30px;
    border: 8px solid #2a2a30;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    position: relative;
    transform: rotate(-5deg) translateY(10px);
    transition: transform var(--transition-normal);
}

.project-card.featured:hover .mockup-placeholder {
    transform: rotate(0deg) translateY(0);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: var(--bg-base);
    position: relative;
}

.mockup-app {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mockup-nav {
    height: 60px;
    background: var(--bg-surface-elevated);
    border-bottom: 1px solid var(--border-color);
}

.mockup-content {
    flex: 1;
    background: var(--bg-surface);
    margin: 10px;
    border-radius: 12px;
}

.project-image {
    margin-top: var(--space-6);
    width: 100%;
    height: 220px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-placeholder {
    font-family: var(--font-mono);
    opacity: 0.5;
}

/* CONTACT & FOOTER */
.footer {
    padding-top: var(--space-16);
    padding-bottom: var(--space-8);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.contact-box {
    background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.03) 0%, var(--bg-surface-elevated) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-12);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    margin-bottom: var(--space-16);
    position: relative;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-6);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--space-8);
    max-width: 480px;
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: 1rem;
}

.contact-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.social-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    transition: all var(--transition-normal);
}

.social-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-primary);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.social-name {
    font-weight: 500;
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: var(--space-6);
}

.footer-logo {
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: var(--space-6);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-family: var(--font-mono);
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    .hero {
        padding-top: var(--space-24);
        padding-bottom: var(--space-12);
        min-height: auto;
    }
    .hero-content {
        align-items: center;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .code-card {
        transform: none;
    }
    .code-card:hover {
        transform: none;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    .stat-card:hover {
        transform: none;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .project-card.featured {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    .project-visual {
        min-height: 250px;
        order: -1;
    }
    .contact-box {
        grid-template-columns: 1fr;
        padding: var(--space-8);
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

