/* yongjoon.xyz - Retro-Futuristic Portfolio */
/* Colors: #1a1a2e (deep base), #4a90d9 (primary blue), #f5f0e8 (warm off-white), #e8b84b (accent gold), #6c757d (muted gray) */
/* Fonts: Space Grotesk (display), Inter (body) */

:root {
    --deep-base: #1a1a2e;
    --primary-blue: #4a90d9;
    --warm-white: #f5f0e8;
    --accent-gold: #e8b84b;
    --muted-gray: #6c757d;
    --font-display: "Space Grotesk", sans-serif;
    --font-body: "Inter", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--deep-base);
    color: var(--warm-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Starfield Canvas */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#nature-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    transition: all 0.4s ease;
}

#main-nav.nav-scrolled {
    background: rgba(26, 26, 46, 0.92);
    backdrop-filter: blur(12px);
    padding: 1rem 3rem;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warm-white);
    letter-spacing: 0.05em;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-gray);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--warm-white);
}

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

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--warm-white);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 46, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-nav.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 1.5rem 0;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--warm-white);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--accent-gold);
}

/* Sections */
.section {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 3rem;
    width: 100%;
}

.section-heading {
    margin-bottom: 2.5rem;
}

.heading-accent {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.5rem;
}

.heading-text {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.center-heading {
    text-align: center;
}

/* Hero Section */
.hero-section {
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 3;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-line {
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
    animation: expandLine 1s ease-out 0.3s both;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 40px; }
}

.hero-greeting-text {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--muted-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeIn 0.8s ease-out 0.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-name {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.kinetic-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(40deg);
    color: var(--warm-white);
}

.kinetic-letter.animate {
    animation: kineticReveal 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes kineticReveal {
    0% { opacity: 0; transform: translateY(40px) rotateX(40deg); }
    100% { opacity: 1; transform: translateY(0) rotateX(0); }
}

.hero-roles {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    min-height: 2rem;
}

.role-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 500;
}

.role-cursor {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--accent-gold);
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--muted-gray);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 440px;
    animation: fadeIn 0.8s ease-out 1s both;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    animation: fadeIn 0.8s ease-out 1.2s both;
}

.cta-primary {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--deep-base);
    background: var(--accent-gold);
    padding: 0.875rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    background: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 184, 75, 0.3);
}

.cta-secondary {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--warm-white);
    padding: 0.875rem 2rem;
    border: 1px solid rgba(245, 240, 232, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-orb {
    position: relative;
    width: 300px;
    height: 300px;
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--accent-gold) 0%, var(--primary-blue) 70%, transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(232, 184, 75, 0.4), 0 0 120px rgba(74, 144, 217, 0.2);
}

.orb-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orb-ring-1 {
    width: 150px;
    height: 150px;
    border-color: rgba(74, 144, 217, 0.3);
    animation: orbitSpin 8s linear infinite;
}

.orb-ring-2 {
    width: 220px;
    height: 220px;
    border-color: rgba(232, 184, 75, 0.2);
    animation: orbitSpin 12s linear infinite reverse;
}

.orb-ring-3 {
    width: 290px;
    height: 290px;
    border-color: rgba(108, 117, 125, 0.15);
    animation: orbitSpin 16s linear infinite;
}

@keyframes orbitSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.orb-ring-1::after, .orb-ring-2::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: -4px;
    left: 50%;
}

.orb-ring-1::after {
    background: var(--primary-blue);
    box-shadow: 0 0 12px rgba(74, 144, 217, 0.6);
}

.orb-ring-2::after {
    background: var(--accent-gold);
    box-shadow: 0 0 12px rgba(232, 184, 75, 0.6);
    width: 6px;
    height: 6px;
    top: -3px;
}

/* Hero Leaves */
.hero-leaf {
    position: absolute;
    z-index: 2;
    opacity: 0.6;
}

.hero-leaf-1 {
    top: -20px;
    right: -40px;
    width: 60px;
    animation: floatLeaf 6s ease-in-out infinite;
}

.hero-leaf-2 {
    bottom: -30px;
    left: -20px;
    width: 50px;
    animation: floatLeaf 8s ease-in-out infinite reverse;
}

@keyframes floatLeaf {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
    transition: opacity 0.4s ease;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.scroll-text {
    font-family: var(--font-display);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted-gray);
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 46, 0.5) 100%);
}

.z-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.0625rem;
    color: var(--muted-gray);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--muted-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* About Card */
.about-card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-3d {
    width: 280px;
    height: 360px;
    perspective: 800px;
}

.card-face {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(74, 144, 217, 0.12) 0%, rgba(232, 184, 75, 0.08) 100%);
    border: 1px solid rgba(74, 144, 217, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s ease;
}

.card-face:hover {
    transform: rotateY(5deg) rotateX(3deg);
}

.card-portrait {
    text-align: center;
}

.portrait-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    margin: 0 auto 2rem;
    opacity: 0.6;
}

.portrait-lines span {
    display: block;
    height: 3px;
    margin: 0.75rem auto;
    border-radius: 2px;
    background: rgba(245, 240, 232, 0.15);
}

.portrait-lines span:nth-child(1) { width: 120px; }
.portrait-lines span:nth-child(2) { width: 80px; }
.portrait-lines span:nth-child(3) { width: 100px; }

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

/* Work / Portfolio Section */
.work-section {
    min-height: auto;
    padding: 4rem 0;
}

.work-section .section-container {
    padding: 4rem 3rem;
}

.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.portfolio-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.portfolio-item.z-right {
    direction: rtl;
}

.portfolio-item.z-right > * {
    direction: ltr;
}

/* Project Preview */
.project-preview {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(74, 144, 217, 0.15);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.zoom-focus:hover .project-preview {
    transform: scale(1.03);
}

.project-3d-scene {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.9) 0%, rgba(74, 144, 217, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.scene-grid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(transparent 0%, rgba(74, 144, 217, 0.05) 100%);
    background-image: 
        linear-gradient(rgba(74, 144, 217, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 217, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: perspective(400px) rotateX(45deg);
    transform-origin: bottom;
}

.scene-shape {
    position: absolute;
    border-radius: 50%;
}

.shape-sphere {
    width: 80px;
    height: 80px;
    top: 25%;
    left: 30%;
    background: radial-gradient(circle at 35% 35%, var(--primary-blue), rgba(74, 144, 217, 0.3));
    box-shadow: 0 0 40px rgba(74, 144, 217, 0.3);
    animation: floatShape 5s ease-in-out infinite;
}

.shape-ring {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 20%;
    border: 2px solid rgba(232, 184, 75, 0.3);
    background: transparent;
    animation: floatShape 7s ease-in-out infinite reverse;
}

.shape-cube {
    width: 70px;
    height: 70px;
    top: 30%;
    left: 25%;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(232, 184, 75, 0.4), rgba(232, 184, 75, 0.1));
    border: 1px solid rgba(232, 184, 75, 0.3);
    animation: floatShape 6s ease-in-out infinite;
}

.shape-torus {
    width: 100px;
    height: 40px;
    top: 25%;
    right: 25%;
    border: 2px solid rgba(74, 144, 217, 0.4);
    border-radius: 50%;
    animation: floatShape 8s ease-in-out infinite reverse;
}

.shape-pyramid {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(232, 184, 75, 0.25);
    border-radius: 0;
    top: 25%;
    left: 30%;
    animation: floatShape 6s ease-in-out infinite;
}

.shape-disc {
    width: 100px;
    height: 30px;
    top: 35%;
    right: 20%;
    background: linear-gradient(to bottom, rgba(74, 144, 217, 0.3), transparent);
    border-radius: 50%;
    animation: floatShape 7s ease-in-out infinite reverse;
}

.shape-helix {
    width: 60px;
    height: 100px;
    top: 20%;
    left: 30%;
    border: 2px solid rgba(74, 144, 217, 0.3);
    border-radius: 50% / 30%;
    animation: floatShape 5s ease-in-out infinite;
}

.shape-leaf-geo {
    width: 50px;
    height: 70px;
    top: 25%;
    right: 25%;
    background: rgba(232, 184, 75, 0.15);
    border-radius: 50% 0 50% 0;
    border: 1px solid rgba(232, 184, 75, 0.25);
    animation: floatShape 8s ease-in-out infinite reverse;
}

.scene-alt { background: linear-gradient(145deg, rgba(26, 26, 46, 0.9) 0%, rgba(232, 184, 75, 0.08) 100%); }
.scene-warm { background: linear-gradient(145deg, rgba(26, 26, 46, 0.9) 0%, rgba(232, 184, 75, 0.12) 100%); }
.scene-nature { background: linear-gradient(145deg, rgba(26, 26, 46, 0.9) 0%, rgba(74, 144, 217, 0.08) 100%); }

@keyframes floatShape {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.zoom-focus:hover .project-overlay {
    opacity: 1;
}

.project-view {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-view:hover {
    background: var(--accent-gold);
    color: var(--deep-base);
}

/* Project Info */
.project-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.75rem;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--warm-white);
    margin-bottom: 0.75rem;
}

.project-desc {
    font-size: 0.9375rem;
    color: var(--muted-gray);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-blue);
    border: 1px solid rgba(74, 144, 217, 0.3);
    padding: 0.375rem 0.75rem;
    border-radius: 3px;
}

/* Skills Section */
.skills-section {
    min-height: auto;
    padding: 2rem 0;
}

.skills-section .z-left {
    display: block;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background: linear-gradient(145deg, rgba(74, 144, 217, 0.06) 0%, rgba(232, 184, 75, 0.04) 100%);
    border: 1px solid rgba(74, 144, 217, 0.12);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.skill-category:hover {
    border-color: rgba(74, 144, 217, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
}

.skill-icon svg {
    width: 100%;
    height: 100%;
}

.skill-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--warm-white);
    margin-bottom: 1rem;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    font-size: 0.875rem;
    color: var(--muted-gray);
    padding: 0.375rem 0;
    border-bottom: 1px solid rgba(108, 117, 125, 0.1);
}

.skill-list li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact-section {
    min-height: auto;
    padding: 4rem 0;
}

.contact-intro {
    font-size: 1.125rem;
    color: var(--muted-gray);
    text-align: center;
    max-width: 500px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--muted-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
}

.contact-value {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--warm-white);
}

.contact-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74, 144, 217, 0.25);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    border-color: var(--accent-gold);
    background: rgba(232, 184, 75, 0.1);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--warm-white);
    background: rgba(245, 240, 232, 0.04);
    border: 1px solid rgba(108, 117, 125, 0.25);
    border-radius: 6px;
    padding: 0.875rem 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(108, 117, 125, 0.6);
}

.form-input:focus {
    border-color: var(--primary-blue);
    background: rgba(74, 144, 217, 0.05);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.4s ease;
    border-radius: 0 0 6px 6px;
}

.form-input:focus ~ .input-line {
    width: 100%;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--deep-base);
    background: var(--accent-gold);
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.form-submit:hover {
    background: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 184, 75, 0.3);
}

.form-submit.submitted {
    background: var(--primary-blue);
    color: var(--warm-white);
}

.submit-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
}

.submit-arrow svg {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(108, 117, 125, 0.15);
    padding: 2rem 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--warm-white);
}

.footer-dot {
    width: 5px;
    height: 5px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.footer-domain {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--muted-gray);
}

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(108, 117, 125, 0.6);
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Kinetic Heading Animation */
.kinetic-heading .heading-text {
    display: inline-block;
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-section {
        flex-direction: column;
        padding: 6rem 1.5rem 3rem;
    }

    .hero-name {
        font-size: 3.5rem;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .hero-orb {
        width: 200px;
        height: 200px;
    }

    .orb-ring-1 { width: 100px; height: 100px; }
    .orb-ring-2 { width: 150px; height: 150px; }
    .orb-ring-3 { width: 195px; height: 195px; }
    .orb-core { width: 50px; height: 50px; }

    .z-left, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio-item {
        grid-template-columns: 1fr;
    }

    .portfolio-item.z-right {
        direction: ltr;
    }

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

    .section-container {
        padding: 4rem 1.5rem;
    }

    .heading-text {
        font-size: 2.25rem;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    #main-nav {
        padding: 1rem 1.5rem;
    }

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