@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=JetBrains+Mono:wght@400;700&display=swap');
:root {
    --bg-primary: #050506;
    --bg-secondary: #0a0a0c;
    --bg-card: #0d0d10;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a5;
    --text-muted: #66666a;
    --accent-copper: #ff6e27;
    --accent-red: #ff3333;
    --accent-cyan: #00f0ff;
    --border-chrome: rgba(255, 255, 255, 0.15);
    --border-glow: rgba(255, 110, 39, 0.4);
    --grad-copper: linear-gradient(135deg, #ff6e27 0%, #ff3333 100%);
    --grad-surface: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-body: 'Inter', -apple-system, sans-serif;
    --container-w: 1200px;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: auto;
    font-size: 16px;
    background-color: var(--bg-primary);
}
html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}
body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.lenis-scrolling {
    pointer-events: none;
}
body.lenis-scrolling * {
    pointer-events: auto;
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
img, svg {
    display: block;
    max-width: 100%;
}
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}
::selection {
    background: var(--accent-copper);
    color: #000;
}
.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 5vw;
}
.container-sm {
    max-width: 900px;
}
.section {
    padding: 15vh 0;
    position: relative;
    z-index: 2;
}
.mt-8 { margin-top: 2rem; }
.global-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
}
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    transition: background 0.3s ease, border 0.3s ease;
    border-bottom: 1px solid transparent;
}
#navbar.scrolled {
    background: rgba(5, 5, 6, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-chrome);
}
.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.nav-logo span {
    color: var(--accent-copper);
}
.nav-links {
    display: flex;
    gap: 3rem;
}
.nav-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}
.nav-link::before {
    content: '>';
    color: var(--accent-copper);
    opacity: 0;
    margin-right: 5px;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(-10px);
}
.nav-link:hover {
    color: #fff;
}
.nav-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}
#nav-toggle {
    display: none;
    flex-direction: column;
    gap: 8px;
    width: 30px;
    z-index: 10001;
    position: relative;
    align-items: flex-end;
}
#nav-toggle span {
    height: 2px;
    background-color: var(--accent-copper);
    transition: 0.3s ease;
    display: block;
}
#nav-toggle span:nth-child(1) {
    width: 100%;
}
#nav-toggle span:nth-child(2) {
    width: 60%;
}
#nav-toggle span:nth-child(3) {
    display: none;
}
#nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    width: 100%;
}
#nav-toggle.active span:nth-child(2) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 100%;
}
#mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(5, 5, 6, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-chrome);
    z-index: 9999;
    padding: 100px 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
#mobile-nav.active {
    right: 0;
}
#mobile-nav a {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}
#mobile-nav a:hover {
    color: var(--accent-copper);
    padding-left: 1rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary {
    background: var(--grad-copper);
    color: #050505;
    box-shadow: 0 0 20px rgba(255, 110, 39, 0.4);
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-primary);
    border-radius: 3px;
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}
.btn-primary:hover {
    box-shadow: 0 0 30px rgba(255, 110, 39, 0.6);
    transform: translateY(-2px);
}
.btn-outline {
    border: 1px solid var(--border-chrome);
    color: var(--text-primary);
    background: var(--bg-card);
}
.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2) inset;
}
.btn-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-link:hover {
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}
.section-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-copper);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}
.section-label::after {
    content: '';
    height: 1px;
    width: 60px;
    background: var(--accent-copper);
}
.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 4rem;
}
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 10vh;
    padding-bottom: 5vh;
    position: relative;
    will-change: transform;
}
.hero .container {
    width: 100%;
}
.hero-left,
.hero-right {
    will-change: transform;
}
.section {
    padding: 15vh 0;
    position: relative;
    z-index: 2;
    will-change: transform;
}
.section-heading,
.section-label {
    will-change: transform;
}
.wireframe-cube {
    will-change: transform;
}
.project-row {
    will-change: transform;
}
.skills-liquid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}
.liquid-skill {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border-chrome);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transform-origin: center;
}
.liquid-skill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(0, 240, 255, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.liquid-skill:hover::before {
    opacity: 1;
}
.liquid-skill:hover {
    transform: translateY(-12px) scale(1.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 50px rgba(0, 240, 255, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    z-index: 10;
}
.liquid-skill:nth-child(1) { transform: rotate(-8deg) translateY(25px) translateX(-15px); }
.liquid-skill:nth-child(2) { transform: rotate(12deg) translateY(-30px) translateX(20px); }
.liquid-skill:nth-child(3) { transform: rotate(-5deg) translateY(15px) translateX(-25px); }
.liquid-skill:nth-child(4) { transform: rotate(15deg) translateY(-20px) translateX(30px); }
.liquid-skill:nth-child(5) { transform: rotate(-12deg) translateY(35px) translateX(-10px); }
.liquid-skill:nth-child(6) { transform: rotate(8deg) translateY(-25px) translateX(15px); }
.liquid-skill:nth-child(7) { transform: rotate(-15deg) translateY(20px) translateX(-30px); }
.liquid-skill:nth-child(8) { transform: rotate(10deg) translateY(-35px) translateX(25px); }
.liquid-skill:nth-child(9) { transform: rotate(-10deg) translateY(30px) translateX(-20px); }
.liquid-skill:nth-child(10) { transform: rotate(6deg) translateY(-15px) translateX(10px); }
.liquid-skill svg,
.liquid-skill img {
    width: 48px;
    height: 48px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.3));
}
.liquid-skill:hover svg,
.liquid-skill:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.5));
}
.liquid-skill span {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #fff;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.liquid-skill:nth-child(odd) {
    animation: float 6s ease-in-out infinite;
}
.liquid-skill:nth-child(even) {
    animation: float 8s ease-in-out infinite;
}
.skill-group {
    will-change: transform;
}
.contact-box {
    will-change: transform;
}
.hero-bg-container {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}
.hero-base-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0.6;
}
.layer-rock {
    position: absolute;
    right: 5%;
    top: 20%;
    width: 40vw;
    max-width: 600px;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.8));
}
.layer-cache {
    position: absolute;
    left: 8%;
    bottom: -15%;
    width: 30vw;
    max-width: 500px;
    filter: drop-shadow(0 20px 40px rgba(0,240,255,0.2));
}
.hero-content {
    max-width: var(--container-w);
    z-index: 10;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: center;
}
.hero-left {
    text-align: left;
}
.hero-right {
    justify-self: end;
    width: 100%;
    margin-left: auto;
    margin-right: -5vw;
}
.hero-right .terminal-wire {
    background: rgba(5,5,6,0.8);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
    min-height: 420px;
    max-height: 420px;
}
.hero-right .terminal-header {
    font-size: 1rem;
    padding: 1rem 2rem;
    flex-shrink: 0;
}
.hero-right .terminal-header .dot {
    width: 12px;
    height: 12px;
}
.hero-right .terminal-body {
    font-size: 1rem;
    padding: 1.5rem 2rem;
    line-height: 1.9;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) transparent;
    max-height: 350px;
}
.hero-right .terminal-body::-webkit-scrollbar {
    width: 4px;
}
.hero-right .terminal-body::-webkit-scrollbar-track {
    background: transparent;
}
.hero-right .terminal-body::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 2px;
}
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    .hero-right {
        max-width: 600px;
        margin-top: 2rem;
    }
}
.hero-intro {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    margin-left: 0.3rem;
    display: block;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -4px;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.8);
    position: relative;
    margin-bottom: 1rem;
}
.hero-title::after {
    content: 'ARYAN';
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    -webkit-text-stroke: 0;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}
.hero-subtitle {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-copper);
    margin-top: 1rem;
    margin-bottom: 2rem;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 110, 39, 0.1);
    border: 1px solid var(--border-glow);
}
.hero-desc {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.tech-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-chrome);
    padding: 3rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.tech-panel::before,
.tech-panel::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-cyan);
}
.tech-panel::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.tech-panel::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}
.about-text p {
    margin-bottom: 1.5rem;
}
.about-text p strong {
    color: #fff;
    font-weight: normal;
}
.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wireframe-cube {
    width: 60%;
    aspect-ratio: 1;
    border: 1px solid var(--accent-copper);
    box-shadow: inset 0 0 40px rgba(255, 110, 39, 0.2);
    transform: rotateX(45deg) rotateZ(45deg);
    position: relative;
    background: rgba(255, 110, 39, 0.05);
    margin-top: 20%;
}
.project-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.project-row {
    background: var(--bg-card);
    border: 1px solid var(--border-chrome);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    transition: border-color 0.4s;
}
.project-row:hover {
    border-color: var(--accent-copper);
    box-shadow: 0 0 30px rgba(255, 110, 39, 0.1);
}
.project-row:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
}
.project-row:nth-child(even) .project-content { order: 2; border-right: none; border-left: 1px solid var(--border-chrome); }
.project-row:nth-child(even) .project-media { order: 1; }
.project-content {
    padding: 3rem;
    border-right: 1px solid var(--border-chrome);
    position: relative;
    background: var(--grad-surface);
}
.project-category {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    display: block;
}
.project-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.project-snippet {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}
.project-tech span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-chrome);
    color: var(--text-muted);
}
.project-media {
    position: relative;
    overflow: hidden;
    background: #000;
}
.project-media .parallax-img {
    width: 100%;
    height: 110%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.4s;
    transform-origin: center;
}
.terminal-wire {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-chrome);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.terminal-wire:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.15);
    border-color: var(--accent-cyan);
}
.terminal-header {
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border-chrome);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}
.terminal-header .dot {
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
}
.terminal-header .dot:nth-child(1) { background: #ff5f56; }
.terminal-header .dot:nth-child(2) { background: #ffbd2e; }
.terminal-header .dot:nth-child(3) { background: #27c93f; }
.terminal-body {
    padding: 1.5rem;
    font-size: 0.75rem;
    line-height: 1.8;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.term-line {
    display: block;
    margin-bottom: 4px;
}
.term-blink {
    animation: blinker 1s linear infinite;
    color: #fff;
}
.term-loader {
    width: 50%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}
.term-loader::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 30%;
    background: var(--accent-copper);
    animation: scanload 2s infinite ease-in-out alternate;
}
@keyframes scanload {
    0% { left: 0%; }
    100% { left: 70%; }
}
@keyframes blinker {
    50% { opacity: 0; }
}
.term-input-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.term-input-line input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    flex: 1;
    caret-color: var(--accent-cyan);
}
.project-row:hover .project-media .parallax-img {
    opacity: 1;
}
.skills {
    position: relative;
}
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-box {
    background: var(--bg-card);
    border: 1px solid var(--border-chrome);
    padding: 4rem;
    position: relative;
}
.contact-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-surface);
    pointer-events: none;
}
.terminal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.input-block {
    display: flex;
    flex-direction: column;
}
.input-block label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}
.input-block input,
.input-block textarea {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-chrome);
    padding: 15px;
    font-family: var(--font-body);
    color: #fff;
    transition: 0.3s;
    resize: none;
}
.input-block input:focus,
.input-block textarea:focus {
    outline: none;
    border-color: var(--accent-copper);
    background: rgba(255, 110, 39, 0.05);
}
.form-status {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    margin-top: 10px;
    opacity: 0;
}
.form-status.active { opacity: 1; }
.footer {
    border-top: 1px solid var(--border-chrome);
    padding: 2rem 0;
    background: var(--bg-secondary);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    gap: 2rem;
}
.footer-links a:hover {
    color: #fff;
}
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
}
@media (max-width: 1200px) {
    .hero-content { gap: 2rem; }
    .section { padding: 10vh 0; }
}
@media (max-width: 1024px) {
    .project-row,
    .project-row:nth-child(even) {
        grid-template-columns: 1fr;
    }
    .project-media { 
        height: 300px; 
        order: -1 !important;
    }
    .project-row:nth-child(even) .project-content { 
        border-left: none; 
        border-top: 1px solid var(--border-chrome);
        order: 2;
    }
    .project-content { 
        border-right: none; 
        border-top: 1px solid var(--border-chrome); 
        padding: 2rem; 
    }
    .skills-wrapper { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 2rem; }
}
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-left {
        text-align: left;
    }
    .hero-desc {
        margin-left: 0;
        margin-right: 0;
    }
    .hero-right {
        max-width: 100%;
        margin-right: 0;
        justify-self: center;
        width: 100%;
    }
    .hero-right .terminal-wire {
        min-height: 350px;
        max-height: 350px;
    }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    #nav-toggle { display: flex; }
    #navbar { padding: 1rem 5vw; }
    .nav-logo { font-size: 1.2rem; }
    .section { padding: 8vh 0; }
    .section-heading { margin-bottom: 2rem; }
    .hero { 
        padding-top: 12vh;
        min-height: auto;
    }
    .hero-left {
        text-align: left;
    }
    .hero-title { 
        font-size: clamp(3rem, 12vw, 5rem); 
        letter-spacing: -2px; 
    }
    .hero-desc { 
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .hero-right .terminal-wire { 
        min-height: 300px; 
        max-height: 300px; 
    }
    .hero-right .terminal-body { 
        padding: 1rem; 
        font-size: 0.85rem; 
    }
    .about-grid { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    .tech-panel { padding: 2rem; }
    .about-text { font-size: 1rem; }
    .wireframe-cube {
        width: 50%;
    }
    .project-name { font-size: 2rem; }
    .project-media { height: 250px; }
    .skills-wrapper { grid-template-columns: 1fr; }
    .skill-group { padding: 2rem; }
    .contact-box { padding: 2rem; }
    .footer-inner { 
        flex-direction: column; 
        gap: 1rem; 
        text-align: center; 
    }
    .footer-links { 
        flex-direction: column; 
        gap: 1rem; 
    }
}
@media (max-width: 480px) {
    .container { padding: 0 6vw; }
    #navbar { padding: 1rem 6vw; }
    .hero-intro { font-size: 0.85rem; }
    .hero-title { 
        font-size: clamp(2.5rem, 15vw, 4rem);
        -webkit-text-stroke: 1px rgba(255,255,255,0.8);
    }
    .hero-subtitle { 
        font-size: 0.75rem; 
        padding: 6px 12px;
        letter-spacing: 0.2em;
    }
    .hero-desc { font-size: 0.95rem; }
    .btn { 
        padding: 0.85rem 1.8rem; 
        font-size: 0.75rem;
        width: 100%;
        max-width: 300px;
    }
    .section-heading { font-size: clamp(2rem, 10vw, 3rem); }
    .section-label { font-size: 0.7rem; }
    .section-label::after { width: 40px; }
    .tech-panel { padding: 1.5rem; }
    .about-text { font-size: 0.95rem; }
    .wireframe-cube { width: 60%; }
    .project-content { padding: 1.5rem; }
    .project-name { font-size: 1.5rem; }
    .project-snippet { font-size: 0.9rem; }
    .project-media { height: 200px; }
    .btn-outline {
        width: 100%;
    }
    .skill-group { padding: 1.5rem; }
    .skill-title { font-size: 1rem; }
    .skill-list li { 
        font-size: 0.85rem;
        flex-wrap: wrap;
    }
    .bar-bg { 
        max-width: 100%;
        width: 100%;
    }
    .contact-box { padding: 1.5rem; }
    .input-block input, 
    .input-block textarea { 
        padding: 12px; 
        font-size: 0.9rem; 
    }
    .terminal-wire { border-radius: 12px; }
    .terminal-body { 
        font-size: 0.75rem; 
        padding: 1rem; 
    }
    .hero-right .terminal-wire { 
        min-height: 280px; 
        max-height: 280px; 
    }
}