
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', 'Noto Sans KR', Arial, sans-serif;
    background: #0f172a;
    color: #e5e7eb;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* NAV */
.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 22px;
    color: #38bdf8;
}

.nav-menu {
    display: flex;
    gap: 24px;
    font-size: 15px;
    color: #cbd5e1;
}

.nav-menu a:hover {
    color: #38bdf8;
}

/* HERO */
.hero {
    padding: 100px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #38bdf8;
}

.hero p {
    color: #cbd5e1;
    font-size: 18px;
    max-width: 650px;
}

.hero-buttons {
    margin-top: 32px;
    display: flex;
    gap: 14px;
}

.btn {
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.2s;
}

.btn-primary {
    background: #38bdf8;
    color: #020617;
}

.btn-primary:hover {
    background: #7dd3fc;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: #e5e7eb;
}

.btn-outline:hover {
    border-color: #38bdf8;
    color: #38bdf8;
}

.profile-card {
    background: linear-gradient(145deg, rgba(30,41,59,0.95), rgba(15,23,42,0.95));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    font-weight: 800;
}

.profile-card h3 {
    text-align: center;
    margin-bottom: 8px;
}

.profile-card p {
    text-align: center;
    color: #94a3b8;
    font-size: 15px;
}

/* SECTION */
section {
    padding: 70px 0;
}

.section-title {
    font-size: 32px;
    margin-bottom: 14px;
}

.section-desc {
    color: #94a3b8;
    margin-bottom: 34px;
}

/* ABOUT */
.about-card {
    background: rgba(30,41,59,0.7);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 34px;
}

/* SKILLS */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.skill-card {
    background: rgba(30,41,59,0.75);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 24px;
    border-radius: 20px;
    transition: 0.2s;
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56,189,248,0.5);
}

.skill-card h3 {
    color: #38bdf8;
    margin-bottom: 8px;
}

.skill-card p {
    color: #94a3b8;
    font-size: 14px;
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    background: rgba(30,41,59,0.75);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: 0.2s;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56,189,248,0.45);
}

.project-thumb {
    height: 180px;
    background: linear-gradient(135deg, #1e293b, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 42px;
}

.project-content {
    padding: 26px;
}

.project-content h3 {
    margin-bottom: 12px;
}

.project-content p {
    color: #cbd5e1;
    margin-bottom: 16px;
    font-size: 15px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(56,189,248,0.12);
    color: #7dd3fc;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
}

/* CONTACT */
.contact-card {
    background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(99,102,241,0.14));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 26px;
    padding: 36px;
    text-align: center;
}

.contact-card p {
    color: #cbd5e1;
    margin: 8px 0;
}

/* FOOTER */
footer {
    padding: 30px;
    text-align: center;
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 42px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nav-menu {
        display: none;
    }

    .hero {
        padding: 70px 0 50px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
    }
}
