* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

body {
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #111;
    font-weight: 800;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #111;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown::after {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 10px;
    content: "";
}

.nav-dropdown-label {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border: 1px solid #cfe0ca;
    border-radius: 999px;
    background: rgba(238, 245, 236, 0.86);
    color: #3f6244;
    font-size: 13px;
    font-weight: 700;
    cursor: default;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-label,
.nav-dropdown:focus-within .nav-dropdown-label {
    background: #e3efe0;
    border-color: #a8c4a2;
    transform: translateY(-1px);
}

.nav-dropdown-label::after {
    content: "⌄";
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-label::after,
.nav-dropdown:focus-within .nav-dropdown-label::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 150px;
    padding: 8px;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    border: 1px solid #e0e9de;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(34, 45, 37, 0.12);
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.nav-dropdown-menu .nav-link {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-dropdown-menu .nav-link:hover {
    background: #eef5ec;
}

.home-nav-link {
    padding: 8px 12px;
    border: 1px solid #d8e6d3;
    border-radius: 8px;
    background: #edf5ed;
    color: #49604a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.home-nav-link:hover {
    background: #e3efe3;
}

.language-switcher {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #cfe0ca;
    border-radius: 999px;
    background: #f5f9f3;
    color: #49604a;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn-home,
.back-btn,
.back-home-btn,
.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px !important;
    padding: 0 16px !important;
    border: 1px solid #d8e6d3 !important;
    border-radius: 12px !important;
    background: #edf5ed !important;
    color: #49604a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.btn-home:hover,
.back-btn:hover,
.back-home-btn:hover,
.back-link:hover {
    background: #e3efe3 !important;
    transform: translateY(-1px) !important;
}

footer {
    padding: 30px;
    color: #aaa;
    font-size: 14px;
    text-align: center;
}

:focus-visible {
    outline: 3px solid #709b6b;
    outline-offset: 3px;
}
