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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    background: #fff;
}

/* í—¤ë” ìŠ¤íƒ€ì¼ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: transform 0.3s ease;
}

.main-header.hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
}

.logo {
    z-index: 1001;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: color 0.3s ease;
}

/* ë©”ë‰´ê°€ ì—´ë ¸ì„ ë•Œ ë¡œê³  ìƒ‰ìƒ ë³€ê²½ */
.main-header.menu-open .logo a {
    color: #333;
    text-shadow: none;
}

/* í–„ë²„ê±° ë©”ë‰´ ë²„íŠ¼ */
.menu-toggle {
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    position: fixed; /* relativeì—ì„œ fixedë¡œ ë³€ê²½ */
    right: 60px; /* ìœ„ì¹˜ ê³ ì • */
    top: 33px; /* í—¤ë”ì™€ ê°™ì€ ë†’ì´ */
    z-index: 1002; /* ë©”ë‰´ë³´ë‹¤ ìœ„ì— í‘œì‹œ */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ë©”ë‰´ê°€ ì—´ë ¸ì„ ë•Œ Xë¡œ ë³€í™˜ */
.menu-toggle.active .hamburger-line {
    background: #333; /* ë©”ë‰´ê°€ ì—´ë¦¬ë©´ ê²€ì€ìƒ‰ìœ¼ë¡œ ë³€ê²½ */
    box-shadow: none;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ì‚¬ì´ë“œ ë©”ë‰´ */
.side-menu {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.side-menu.active {
    right: 0;
}

.side-menu-header {
    padding: 30px 60px;
    display: flex;
    justify-content: flex-end;
}

.menu-close {
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.menu-close span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #333;
    left: 0;
    transition: all 0.3s ease;
}

.menu-close span:first-child {
    transform: rotate(45deg);
}

.menu-close span:last-child {
    transform: rotate(-45deg);
}

/* ë©”ë‰´ ë„¤ë¹„ê²Œì´ì…˜ */
.side-menu-nav {
    padding: 60px 60px 60px;
    min-height: 89vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.menu-item {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(30px);
}

/* ë©”ë‰´ê°€ í™œì„±í™”ë  ë•Œë§Œ ì• ë‹ˆë©”ì´ì…˜ ì ìš© */
.side-menu.active .menu-item {
    animation: slideInMenu 0.5s ease forwards;
}

.side-menu.active .menu-item:nth-child(1) { animation-delay: 0.1s; }
.side-menu.active .menu-item:nth-child(2) { animation-delay: 0.15s; }
.side-menu.active .menu-item:nth-child(3) { animation-delay: 0.2s; }
.side-menu.active .menu-item:nth-child(4) { animation-delay: 0.25s; }
.side-menu.active .menu-item:nth-child(5) { animation-delay: 0.3s; }

@keyframes slideInMenu {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.menu-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.menu-link:hover {
    transform: translateX(10px);
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #333;
    transition: width 0.3s ease;
}

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

.menu-number {
    font-size: 0.85rem;
    color: #999;
    margin-right: 20px;
    font-weight: 300;
}

.menu-text {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ë©”ë‰´ í‘¸í„° */
.menu-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.menu-social {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.menu-social a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.menu-social a:hover {
    color: #333;
}

.menu-info {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ë©”ë‰´ ì˜¤ë²„ë ˆì´ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ë©”ì¸ ì»¨í…Œì´ë„ˆ ì´í•˜ ê¸°ì¡´ ìŠ¤íƒ€ì¼ ìœ ì§€ */
.main-container {
    width: 100vw;
    min-height: 100vh;
}

/* ì²«ë²ˆì§¸ ì„¹ì…˜ */
.section-one {
    display: flex;
    width: 100%;
    position: relative;
}

/* ì¢Œì¸¡ ì˜ì—­ - ê³ ì • */
.left-fixed {
    width: 50%;
    position: sticky;
    top: 0;
    height: 100vh;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.left-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.left-content,
.right-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    color: white;
    z-index: 10;
}

.left-content h1,
.right-content h1{
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.left-content p,
.right-content p{
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ìš°ì¸¡ ì˜ì—­ - ìŠ¤í¬ë¡¤ ê°€ëŠ¥ */
.right-scrollable {
    width: 50%;
    padding: 40px;
    background-color: #4ADE80;
}

/* ì¹´ë“œ ì»¨í…Œì´ë„ˆ - 2ì—´ êµ¬ì¡° */
.cards-container {
    display: flex;
    gap: 30px;
    position: relative;
}

/* ì¹´ë“œ ì»¬ëŸ¼ */
.card-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ì¢Œì¸¡ ì»¬ëŸ¼ - ê¸°ë³¸ ìœ„ì¹˜ */
.left-column {
    transform: translateY(0);
    transition: transform 0.1s linear;
}

/* ìš°ì¸¡ ì»¬ëŸ¼ - ì´ˆê¸° ì˜¤í”„ì…‹ ì ìš© */
.right-column {
    padding-top: 80px;
    transform: translateY(0);
    transition: transform 0.1s linear;
}

/* ì¹´ë“œ ìŠ¤íƒ€ì¼ */
.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ì¹´ë“œ ì´ë¯¸ì§€ - ë™ì¼í•œ í¬ê¸°ë¡œ í†µì¼ */
.card-image {
    width: 100%;
    height: 400px;
    background: #e9e9e9;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #222;
}

.card-author {
    font-size: 0.95rem;
    color: #666;
}

/* ë‘ë²ˆì§¸ ì„¹ì…˜ - ì¢Œìš° ë°˜ëŒ€ */
.section-two {
    display: flex;
    width: 100%;
    position: relative;
}

.section-two .left-scrollable {
    width: 50%;
    padding: 40px;
}

.section-two .right-fixed {
    width: 50%;
    position: sticky;
    top: 0;
    height: 100vh;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-two .right-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* í‘¸í„° */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 60px 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4ADE80;
}

.footer-brand p {
    color: #888;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #666;
}

/* ë°˜ì‘í˜• ë””ìžì¸ */
@media (max-width: 1024px) {
    .header-container {
        padding: 20px 30px;
    }

    .menu-toggle {
        right: 30px;
        top: 23px;
    }

    .side-menu {
        width: 70%;
        right: -70%;
    }

    .section-one,
    .section-two {
        flex-direction: column;
    }

    .left-fixed,
    .right-scrollable,
    .section-two .left-scrollable,
    .section-two .right-fixed {
        width: 100%;
        position: relative;
        height: auto;
        min-height: 500px;
    }

    .cards-container {
        flex-direction: column;
    }

    .left-column,
    .right-column {
        padding-top: 0;
        transform: translateY(0) !important;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }

    .menu-toggle {
        right: 20px;
        top: 18px;
    }

    .logo a {
        font-size: 1.2rem;
    }

    .side-menu {
        width: 100%;
        right: -100%;
    }

    .side-menu-nav {
        padding: 100px 40px 40px;
    }

    .menu-text {
        font-size: 1.5rem;
    }

    .left-content h1 {
        font-size: 2.5rem;
    }

    .right-scrollable,
    .section-two .left-scrollable {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .card-image {
        height: 300px;
    }
}

/* ìŠ¤í¬ë¡¤ ì• ë‹ˆë©”ì´ì…˜ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }

/* 이메일 팝업 스타일 */
.email-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.email-popup {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.email-popup-overlay.active .email-popup {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.popup-close:hover {
    background: #f5f5f5;
}

.popup-close svg {
    width: 20px;
    height: 20px;
    stroke: #666;
    stroke-width: 2;
}

.popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.popup-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4ADE80, #22C55E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.popup-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

.popup-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.popup-subtitle {
    font-size: 1rem;
    color: #666;
}

.email-display {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.email-text {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
    word-break: break-all;
}

.copy-button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #4ADE80, #22C55E);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 222, 128, 0.3);
}

.copy-button:active {
    transform: translateY(0);
}

.copy-button svg {
    width: 18px;
    height: 18px;
}

.copy-button.copied {
    background: linear-gradient(135deg, #22C55E, #16A34A);
}

.copy-button.copied svg {
    animation: checkmark 0.4s ease;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.popup-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

.popup-footer p {
    color: #999;
    font-size: 0.9rem;
}

/* 반응형 */
@media (max-width: 768px) {
    .email-popup {
        padding: 30px 20px;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .email-display {
        flex-direction: column;
    }
    
    .copy-button {
        width: 100%;
        justify-content: center;
    }
}