:root {
    --primary: #4f46e5;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --bg-dark: #0f172a;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Noto Sans KR', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Background Blobs */
.blob-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    filter: blur(80px);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
}

.logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

/* Common Section Styles */
.section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
}

.highlight {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.2);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #a5b4fc;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 .sub-text {
    font-size: 1.5rem;
    color: var(--text-dim);
    font-weight: 400;
}

.hero h1 .highlight {
    font-size: 4rem;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
}

.btn.primary {
    background: var(--primary);
}

.btn.secondary {
    border: 1px solid var(--glass-border);
    background: var(--glass);
}

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

.circle-box {
    width: 300px;
    height: 300px;
    position: relative;
}

.inner-circle {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.floating-icons i {
    position: absolute;
    font-size: 2rem;
    color: var(--text-main);
    animation: float 4s ease-in-out infinite;
}

.floating-icons i:nth-child(1) { top: 0; left: 0; animation-delay: 0s; }
.floating-icons i:nth-child(2) { bottom: 0; right: 0; animation-delay: 1s; }
.floating-icons i:nth-child(3) { top: 50%; left: 100%; animation-delay: 2s; }

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

/* About Grid */
.about-grid.centralized {
    display: flex;
    justify-content: center;
}

.about-grid.centralized .intro-box {
    max-width: 800px;
    text-align: center;
}

.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.keyword-tag {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
}

.keyword-tag:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.keyword-tag.active {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
}

.tag-description-area {
    grid-column: 1 / -1;
    margin-top: 20px;
    height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.tag-description-area.show {
    height: auto;
    opacity: 1;
    padding: 20px;
}

.description-content {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--secondary);
    padding: 15px 20px;
    border-radius: 0 12px 12px 0;
    font-size: 1rem;
    color: var(--text-main);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.skill-category h3 {
    margin-bottom: 20px;
    color: var(--accent);
}

.skill-item {
    margin-bottom: 15px;
}

.bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin-top: 5px;
}

.bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-item .date {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.timeline-item .content small {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text-main);
}

.timeline-item .content p {
    font-size: 0.95rem;
    color: var(--text-dim);
}

.content.mkt {
    border-left: 4px solid var(--secondary);
}

.content.ds {
    border-right: 4px solid var(--primary);
}

/* Awards */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.highlight-card {
    border: 2px solid var(--secondary);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.2);
}

/* Footer */
.glass-footer {
    padding: 50px 5%;
    background: var(--glass);
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.5rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    max-width: 450px;
    width: 90%;
    position: relative;
    padding: 50px 30px 40px;
    text-align: center;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.show .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.modal-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.modal-content h3 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--text-dim);
    margin-bottom: 30px;
    line-height: 1.8;
}

.modal-content strong {
    color: var(--text-main);
    font-size: 1.1rem;
}

#copy-email-btn {
    width: 100%;
    margin-bottom: 10px;
}

.copy-success-msg {
    display: block;
    font-size: 0.9rem;
    color: var(--accent);
    opacity: 0;
    transition: 0.3s;
}

.copy-success-msg.show {
    opacity: 1;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .glass-nav { padding: 0 20px; }
    .nav-links { display: none; }
    .hero { flex-direction: column; padding-top: 120px; text-align: center; height: auto; }
    .hero h1 { font-size: 2.5rem; }
    .hero h1 .highlight { font-size: 3rem; }
    .hero-visual { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.right { left: 0; }
}
