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

:root {
    --bg-primary: #08090a;
    --bg-panel: #0f1011;
    --bg-elevated: #191a1b;
    --bg-secondary: #28282c;
    
    --text-primary: #f7f8f8;
    --text-secondary: #d0d6e0;
    --text-tertiary: #8a8f98;
    --text-muted: #62666d;
    
    --accent-teal: #0d9488;
    --accent-cyan: #06b6d4;
    --accent-blue: #0ea5e9;
    --accent-deep: #0c4a6e;
    --accent-glow: rgba(6, 182, 212, 0.5);
    --accent-hover: #22d3ee;
    
    --border-primary: #23252a;
    --border-secondary: #34343a;
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-standard: rgba(255, 255, 255, 0.08);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-korean: 'Noto Sans KR', sans-serif;
    
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-full: 9999px;
    
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
}

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

body {
    font-family: var(--font-korean), var(--font-primary);
    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.lang-en [data-ko],
body.lang-ko [data-en] {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

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

.lang-switcher {
    display: flex;
    gap: var(--space-xs);
    align-items: center;
    margin-left: var(--space-md);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-tertiary);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

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

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background-color: rgba(8, 9, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--border-subtle);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    color: var(--text-primary);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    align-items: center;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
    transition: color var(--transition-fast);
}

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

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

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-4xl) var(--space-lg);
    background: var(--bg-primary);
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 30%, rgba(8, 9, 10, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(8, 9, 10, 0.24) 0%, rgba(8, 9, 10, 0.56) 58%, rgba(8, 9, 10, 0.92) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-scene {
    position: absolute;
    inset: -12% -6%;
    z-index: 0;
    pointer-events: none;
}

.hero-scene::before,
.hero-scene::after {
    content: '';
    position: absolute;
}

.hero-scene::before {
    inset: 2% 16% 24%;
    background: conic-gradient(from 180deg at 50% 50%, rgba(6, 182, 212, 0) 0deg, rgba(6, 182, 212, 0.18) 72deg, rgba(14, 165, 233, 0.22) 164deg, rgba(6, 182, 212, 0.08) 230deg, rgba(6, 182, 212, 0) 360deg);
    filter: blur(72px);
    opacity: 0.5;
    animation: auroraSweep 20s ease-in-out infinite;
}

.hero-scene::after {
    left: 50%;
    bottom: 8%;
    width: 86%;
    height: 28%;
    transform: translateX(-50%);
    border-radius: 9999px;
    background:
        radial-gradient(ellipse at center, rgba(6, 182, 212, 0.18) 0%, rgba(14, 165, 233, 0.12) 26%, rgba(8, 9, 10, 0) 66%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 18px);
    mask-image: linear-gradient(180deg, transparent 0%, black 42%, black 78%, transparent 100%);
    opacity: 0.28;
}

.hero-mesh,
.hero-radial,
.hero-grid,
.hero-wave,
.hero-orbit,
.hero-spark {
    position: absolute;
}

.hero-mesh {
    width: 44rem;
    height: 44rem;
    border-radius: 9999px;
    filter: blur(28px);
    opacity: 0.68;
    mix-blend-mode: screen;
}

.hero-mesh-a {
    top: -4rem;
    left: -8rem;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.34) 0%, rgba(13, 148, 136, 0.16) 38%, transparent 72%);
    animation: heroFloatA 16s ease-in-out infinite;
}

.hero-mesh-b {
    right: -10rem;
    bottom: -8rem;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.28) 0%, rgba(13, 148, 136, 0.14) 42%, transparent 72%);
    animation: heroFloatB 19s ease-in-out infinite;
}

.hero-radial {
    inset: 10% 18% 18%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 0%, rgba(6, 182, 212, 0.1) 16%, rgba(8, 9, 10, 0) 54%);
    filter: blur(8px);
    opacity: 1;
}

.hero-grid {
    inset: 8% 4% auto;
    height: 78%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(circle at 50% 42%, black 0%, black 38%, transparent 74%);
    opacity: 0.28;
    transform: perspective(900px) rotateX(76deg) translateY(14%);
    animation: heroGridPulse 12s ease-in-out infinite;
}

.hero-wave {
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(208, 214, 224, 0.12);
    transform: translateX(-50%);
    opacity: 0.5;
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.06);
}

.hero-wave-a {
    bottom: -18rem;
    width: 96rem;
    height: 34rem;
    border-color: rgba(6, 182, 212, 0.3);
    animation: waveDrift 16s ease-in-out infinite;
}

.hero-wave-b {
    bottom: -14rem;
    width: 78rem;
    height: 27rem;
    border-color: rgba(14, 165, 233, 0.24);
    animation: waveDrift 13s ease-in-out infinite reverse;
}

.hero-wave-c {
    bottom: -9rem;
    width: 56rem;
    height: 20rem;
    border-color: rgba(247, 248, 248, 0.14);
    animation: waveDrift 10s ease-in-out infinite;
}

.hero-orbit {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.015) inset;
}

.hero-orbit-a {
    top: 14%;
    right: 18%;
    width: 16rem;
    height: 16rem;
    transform: rotate(18deg);
    animation: orbitTilt 18s linear infinite;
}

.hero-orbit-b {
    top: 18%;
    right: 22%;
    width: 11rem;
    height: 11rem;
    border-color: rgba(6, 182, 212, 0.16);
    animation: orbitTilt 11s linear infinite reverse;
}

.hero-spark {
    width: 9px;
    height: 9px;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(247, 248, 248, 0.92) 0%, rgba(6, 182, 212, 0.7) 45%, transparent 78%);
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.35);
}

.hero-spark-a {
    top: 20%;
    left: 18%;
    animation: sparkDrift 8s ease-in-out infinite;
}

.hero-spark-b {
    top: 34%;
    right: 26%;
    animation: sparkDrift 6.5s ease-in-out infinite reverse;
}

.hero-spark-c {
    bottom: 24%;
    left: 62%;
    animation: sparkDrift 9s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(15, 16, 17, 0.48) 0%, rgba(15, 16, 17, 0.72) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.015) inset,
        0 18px 60px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(18px);
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    color: var(--text-primary);
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(6, 182, 212, 0.18));
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-tertiary);
    margin-bottom: var(--space-2xl);
    font-weight: 400;
    line-height: 1.6;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-teal);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border-standard);
}

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

.btn-large {
    padding: 14px 28px;
    font-size: 15px;
}

.btn-icon {
    width: 16px;
    height: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 11px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 1.5px solid var(--text-muted);
    border-radius: 11px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(6px); }
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.section-desc {
    font-size: 16px;
    color: var(--text-tertiary);
    font-weight: 400;
}

.about {
    padding: var(--space-4xl) 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-text {
    max-width: 520px;
}

.about-lead {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.about-body {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.about-stats {
    display: flex;
    gap: var(--space-2xl);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--accent-cyan);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

.about-visual {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.art-circle {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid var(--border-standard);
}

.art-1 {
    width: 280px;
    height: 280px;
    border-color: var(--accent-teal);
    opacity: 0.4;
}

.art-2 {
    width: 200px;
    height: 200px;
    border-color: var(--accent-cyan);
    opacity: 0.5;
}

.art-3 {
    width: 120px;
    height: 120px;
    border-color: var(--text-tertiary);
    opacity: 0.3;
}

.art-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0.5;
}

.line-1 {
    width: 160px;
    top: 35%;
    left: 5%;
    transform: rotate(-12deg);
}

.line-2 {
    width: 120px;
    bottom: 35%;
    right: 5%;
    transform: rotate(12deg);
}

.projects {
    padding: var(--space-4xl) 0;
    background: var(--bg-panel);
    border-top: 1px solid var(--border-subtle);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.project-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-base);
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-standard);
    background: var(--bg-secondary);
}

.project-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-lg);
    color: var(--accent-cyan);
}

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

.project-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.project-desc {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.project-status {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-primary);
    color: var(--text-tertiary);
    font-size: 11px;
    font-weight: 500;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--border-subtle);
}

.event {
    padding: var(--space-4xl) 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.event-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.event-info .section-tag {
    margin-bottom: var(--space-md);
}

.event-title {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: var(--space-md);
    line-height: 1.3;
    color: var(--text-primary);
}

.event-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.event-desc strong {
    color: var(--accent-cyan);
    font-weight: 600;
}

.event-detail {
    font-size: 15px;
    color: var(--text-tertiary);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.event-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.event-image-link {
    display: block;
    width: 100%;
    max-width: 360px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--transition-base);
    border: 1px solid var(--border-subtle);
}

.event-image-link:hover {
    transform: translateY(-4px);
    border-color: var(--border-standard);
}

.event-image {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--bg-panel);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.event-image-link:hover .event-image img {
    transform: scale(1.03);
}

.contact {
    padding: var(--space-4xl) 0;
    background: var(--bg-panel);
    border-top: 1px solid var(--border-subtle);
}

.contact-content {
    max-width: 480px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.contact-item:hover {
    border-color: var(--border-standard);
    background: var(--bg-secondary);
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    color: var(--accent-cyan);
    border: 1px solid var(--border-subtle);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-link {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-link:hover {
    color: var(--accent-cyan);
}

.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-icon {
    width: 24px;
    height: 24px;
}

.footer-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-tertiary);
}

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

.footer-link {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-subtle);
}

.copyright {
    font-size: 12px;
    color: var(--text-muted);
}

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-panel);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-3xl) var(--space-lg);
        gap: var(--space-md);
        transition: right var(--transition-base);
        border-left: 1px solid var(--border-subtle);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .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);
    }
    
    .lang-switcher {
        margin-left: 0;
        margin-top: var(--space-md);
    }
    
    .about-content,
    .event-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero {
        padding-top: 8rem;
    }
    
    .hero-content {
        padding: 1.75rem;
        border-radius: 24px;
    }
    
    .hero-grid {
        background-size: 60px 60px;
        opacity: 0.16;
    }
    
    .hero-wave-a {
        width: 72rem;
        height: 26rem;
    }
    
    .hero-wave-b {
        width: 56rem;
        height: 20rem;
    }
    
    .hero-wave-c {
        width: 40rem;
        height: 15rem;
    }
    
    .hero-orbit-a {
        top: 10%;
        right: 8%;
        width: 11rem;
        height: 11rem;
    }
    
    .hero-orbit-b {
        top: 14%;
        right: 12%;
        width: 7rem;
        height: 7rem;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .about-visual {
        order: -1;
        height: 240px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .event-visual {
        order: -1;
    }
    
    .event-image-link {
        max-width: 280px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-content {
        padding: 1.35rem;
    }
    
    .hero-title {
        font-size: clamp(34px, 12vw, 52px);
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .project-card {
        padding: var(--space-xl);
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .hero-mesh {
        width: 28rem;
        height: 28rem;
    }
    
    .hero-spark-c {
        left: 72%;
    }
    
    .event-image-link {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

@keyframes heroFloatA {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(3%, 4%, 0) scale(1.08);
    }
}

@keyframes heroFloatB {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-4%, -3%, 0) scale(1.06);
    }
}

@keyframes heroGridPulse {
    0%, 100% {
        opacity: 0.18;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes waveDrift {
    0%, 100% {
        transform: translateX(-50%) scaleX(1) translateY(0);
    }
    50% {
        transform: translateX(-50%) scaleX(1.04) translateY(-10px);
    }
}

@keyframes orbitTilt {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes sparkDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(0.8);
        opacity: 0.45;
    }
    50% {
        transform: translate3d(10px, -12px, 0) scale(1.15);
        opacity: 1;
    }
}

@keyframes auroraSweep {
    0%, 100% {
        transform: rotate(-10deg) scale(1);
        opacity: 0.38;
    }
    50% {
        transform: rotate(8deg) scale(1.08);
        opacity: 0.62;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-rotate {
    opacity: 0;
    transform: rotateX(15deg) translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-rotate.visible {
    opacity: 1;
    transform: rotateX(0) translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.project-card {
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(6, 182, 212, 0.15),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

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

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(6, 182, 212, 0.1) inset,
        0 0 30px rgba(6, 182, 212, 0.1);
}

.contact-item {
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(6, 182, 212, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
}

.btn:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}

.particles-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(6, 182, 212, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.particle:nth-child(3n) {
    background: rgba(13, 148, 136, 0.6);
    box-shadow: 0 0 10px rgba(13, 148, 136, 0.5);
}

.particle:nth-child(5n) {
    background: rgba(14, 165, 233, 0.6);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

.typing-text {
    overflow: hidden;
    border-right: 3px solid var(--accent-cyan);
    white-space: nowrap;
    animation: typing 3s steps(30, end), blink-caret 0.75s step-end infinite;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-cyan); }
}

.section-header {
    perspective: 1000px;
}

.section-tag {
    position: relative;
    display: inline-block;
}

.section-tag::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    transition: width 0.6s ease;
}

.section-header.visible .section-tag::after {
    width: 100%;
}

.stat-number {
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.event-image-link {
    position: relative;
}

.event-image-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(13, 148, 136, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: var(--radius-xl);
}

.event-image-link:hover::before {
    opacity: 1;
}

.event-image-link:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(6, 182, 212, 0.15);
}

.footer-link {
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.footer-link:hover::after {
    width: 100%;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-teal));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

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

.logo-icon {
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.6));
    }
}
