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

img, svg {
    max-width: 100%;
    height: auto;
}

body {
    --mobile-app-banner-height: 76px;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    line-height: 1.8;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

body:not(.has-app-banner) .app-banner {
    display: none !important;
}

.page-content {
    flex: 1;
}

/* App Banner */
.app-banner {
    display: none;
}

.app-banner-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
}

.app-banner-copy {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 2px;
}

.app-banner-title,
.app-banner-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-banner-title {
    color: #111;
    font-size: 17px;
    font-weight: 760;
    line-height: 1.2;
}

.app-banner-subtitle {
    color: #86868b;
    font-size: 13px;
    font-weight: 520;
    line-height: 1.2;
}

.app-banner-action {
    display: inline-flex;
    min-width: 68px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #00704A;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 17px;
    font-weight: 780;
    line-height: 1;
}

.app-banner-close {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: #6e6e73;
    cursor: pointer;
    font-size: 30px;
    font-weight: 320;
    line-height: 1;
}

.app-banner-action:focus-visible,
.app-banner-close:focus-visible {
    outline: 3px solid rgba(0, 112, 74, 0.28);
    outline-offset: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #000;
    text-decoration: none;
}

.logo span {
    color: #00704A;
}

.app-icon-link {
    margin-left: 8px;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.nav-links a .logo-icon {
    margin-right: 4px;
}

.nav-links .icon-link {
    margin-right: 0;
    padding-right: 4px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #00704A;
}

.nav-subscription-menu {
    position: relative;
}

.nav-subscription-menu summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
}

.nav-subscription-menu summary::-webkit-details-marker {
    display: none;
}

.nav-subscription-menu summary::after {
    content: '▾';
    color: #00704A;
    font-size: 11px;
    line-height: 1;
    transition: transform 0.2s;
}

.nav-subscription-menu[open] summary,
.nav-subscription-menu summary:hover {
    color: #00704A;
}

.nav-subscription-menu[open] summary::after {
    transform: rotate(180deg);
}

.nav-subscription-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 210px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    z-index: 1100;
}

.nav-subscription-panel a {
    display: block;
    padding: 10px 18px;
    white-space: nowrap;
}

.nav-subscription-panel a:hover {
    background: #f5faf5;
}

.header-mobile-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

.mobile-lang-switch {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #00704A;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

/* More Menu (≡) */
.more-menu-wrapper {
    position: relative;
}

.more-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    padding: 6px;
    gap: 3px;
    transition: border-color 0.2s, background 0.2s;
}

.more-menu-btn:hover {
    border-color: #00704A;
    background: #f5faf5;
}

.more-menu-btn span {
    display: block;
    width: 14px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 1px;
    transition: background 0.2s;
}

.more-menu-btn:hover span {
    background: #00704A;
}

.more-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    min-width: 240px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 1100;
}

.more-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.more-dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.more-dropdown a:hover {
    background: #f5faf5;
    color: #00704A;
}

/* Hero Section */
.hero {
    --hero-stage-start: 70vh;
    --hero-stage-height: clamp(520px, 48vw, 740px);
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 120px 40px calc(var(--hero-stage-start) + var(--hero-stage-height) - 40px) 40px;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 68%);
    overflow: hidden;
}

.hero-content {
    position: absolute;
    left: 50%;
    top: calc(var(--hero-stage-start) * 0.5);
    transform: translate(-50%, -50%);
    width: min(980px, calc(100% - 48px));
    padding: 0 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
}

.hero h1 span {
    background: linear-gradient(135deg, #00704A 0%, #005A3B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.hero-copy-block {
    width: min(960px, 100%);
    margin: 8px auto 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-copy {
    max-width: 920px;
    margin: 0 auto;
    color: #595959;
    font-size: clamp(19px, 1.45vw, 28px);
    font-weight: 600;
    line-height: 1.45;
}

.hero-copy--en {
    color: #4f4f4f;
    max-width: 100%;
}

.hero-rank-strip {
    --rank-scale: 2;
    position: absolute;
    left: clamp(16px, 3.2vw, 54px);
    top: calc(var(--hero-stage-start) * 0.5);
    transform: translateY(-50%) scale(var(--rank-scale));
    transform-origin: left center;
    z-index: 3;
    width: clamp(116px, 12vw, 164px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: clamp(3px, 0.35vw, 5px);
    gap: clamp(10px, 1.2vw, 16px);
}

.hero-rank-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    width: 100%;
}

.hero-rank-icon {
    width: clamp(52px, 4.9vw, 72px);
    height: clamp(52px, 4.9vw, 72px);
    border-radius: 12px;
    margin-bottom: clamp(-15px, -1.1vw, -11px);
}

.hero-rank-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    align-items: center;
}

.hero-rank-text {
    font-size: clamp(4.5px, 0.34vw, 5.5px);
    font-weight: 700;
    color: #151515;
    line-height: 1.15;
}

.hero-rank-note {
    margin-top: 1px;
    font-size: clamp(3.5px, 0.29vw, 4.5px);
    color: #777;
    line-height: 1.1;
}

.hero-screens-stage {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--hero-stage-start);
    bottom: auto;
    height: var(--hero-stage-height);
    background: linear-gradient(180deg, #161616 0%, #080808 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.hero-screens-stage::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -96px;
    height: 116px;
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.95) 0%, rgba(248, 250, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-screens-viewport {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 80px));
    height: calc(100% - 82px);
    margin: 26px auto 0;
    overflow: hidden;
}

.hero-screens-track {
    width: 100%;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    transition: transform 0.36s ease;
}

.hero-screens-page {
    flex: 0 0 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: clamp(12px, 1.4vw, 24px);
}

.hero-screen-frame {
    min-width: 0;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1600px) {
    .hero {
        flex-direction: column;
        align-items: center;
    }

    .hero-content {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: min(1100px, calc(100% - 48px));
        margin: 0 auto;
    }

    .hero-rank-strip {
        --rank-scale: 1;
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: min(1100px, calc(100% - 48px));
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: clamp(16px, 1.8vw, 28px);
        margin: 24px auto 0;
        padding-block: 0;
    }

    .hero-rank-item {
        width: auto;
    }

    .hero-rank-icon {
        width: clamp(104px, 9.8vw, 144px);
        height: clamp(104px, 9.8vw, 144px);
        margin-bottom: clamp(-30px, -2.2vw, -22px);
    }

    .hero-rank-text {
        font-size: clamp(9px, 0.68vw, 11px);
    }

    .hero-rank-note {
        font-size: clamp(7px, 0.58vw, 9px);
    }
}

.hero-screen {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 18px;
    box-shadow: 0 28px 48px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0d0d0d;
    object-fit: contain;
}

.hero-screens-dots {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.hero-screens-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-screens-dot.is-active {
    background: #fff;
    transform: scale(1.16);
}

.hero-screens-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.hero-screen--left {
    transform: translateY(0);
}

.hero-screen--mid-left {
    transform: translateY(0);
}

.hero-screen--mid-right {
    transform: translateY(0);
}

.hero-screen--right {
    transform: translateY(0);
}

.hero-under-copy {
    background: #fff;
    padding: 44px 24px 30px;
}

.hero-under-copy-inner {
    width: min(1080px, 100%);
    margin: 0 auto;
    text-align: center;
}

.hero-under-copy h2 {
    margin: 0;
    color: #1a1a1a;
    font-weight: 800;
    font-size: clamp(36px, 6vw, 56px);
    line-height: 1.3;
    margin-bottom: 24px;
}

.hero-under-copy h2 span {
    background: linear-gradient(135deg, #00704A 0%, #005A3B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-under-copy p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Legacy badge layout (used by screenshot.html) */
.badges-section {
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge-icon {
    width: 240px;
    height: 240px;
    margin-bottom: -50px;
}

.badge-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-text {
    font-size: 3px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.badge-note {
    font-size: 2.25px;
    color: #999;
    margin-top: 2px;
}

@media (max-width: 900px) {
    .badges-section {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 24px;
        margin-top: 40px;
    }

    .badge-icon {
        width: 100px;
        height: 100px;
        margin-bottom: -20px;
    }

    .badge-text {
        font-size: 2.5px;
    }

    .badge-note {
        font-size: 2px;
    }

    .hero {
        flex-direction: column;
        align-items: center;
    }

    .hero-content {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: min(760px, 100%);
        padding: 0;
    }

    .hero-rank-strip {
        --rank-scale: 1;
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        padding-block: 0;
        gap: 24px;
        margin-top: 40px;
    }

    .hero-rank-item {
        width: auto;
    }

    .hero-rank-icon {
        width: 100px;
        height: 100px;
        border-radius: 16px;
        margin-bottom: -19px;
    }

    .hero-rank-text {
        font-size: 5px;
    }

    .hero-rank-note {
        font-size: 4px;
    }
}

/* Section Common */
.section {
    width: min(980px, 100%);
    padding: 100px 40px;
    margin: 0 auto;
}

.section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.section h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section p {
    font-size: 16px;
    color: #444;
    margin-bottom: 16px;
}

.section ul {
    list-style: none;
    margin-bottom: 24px;
}

.section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #444;
}

.section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #00704A, #005A3B);
    border-radius: 50%;
}

.highlight {
    color: #00704A;
    font-weight: 600;
}

.goal {
    font-size: 18px;
    font-weight: 600;
    color: #00704A;
    margin: 24px 0;
}

/* Features Section */
.features {
    background: #fff;
    padding: 100px 40px;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.features-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 40px;
}

.features-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.features-content p {
    font-size: 16px;
    color: #444;
    margin-bottom: 16px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #dedede;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #111;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Quote */
blockquote {
    border-left: 4px solid #00704A;
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: #666;
}

/* Divider */
hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 60px 0;
}

/* Mission Section */
.mission {
    background: linear-gradient(180deg, #161616 0%, #080808 100%);
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mission h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 16px;
}

.mission p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content (for sub pages) */
.page-content {
    width: min(980px, 100%);
    padding: 140px 40px 100px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.page-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.page-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.page-content p {
    font-size: 16px;
    color: #444;
    margin-bottom: 16px;
}

.page-content ul {
    list-style: none;
    margin-bottom: 24px;
}

.page-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #444;
    font-size: 16px;
}

.page-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #00704A, #005A3B);
    border-radius: 50%;
}

.page-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.page-content ol li {
    margin-bottom: 8px;
    color: #444;
    font-size: 16px;
}

.page-content a {
    color: #00704A;
    text-decoration: none;
    font-weight: 500;
}

.page-content a:hover {
    text-decoration: underline;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.page-content table th,
.page-content table td {
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    text-align: left;
}

.page-content table th {
    background: #f5faf5;
    font-weight: 600;
    color: #1a1a1a;
}

.page-content table td {
    color: #444;
}

.page-content hr {
    margin: 40px 0;
}

/* Info Box */
.info-box {
    margin: 24px 0;
}

.info-box p {
    margin-bottom: 8px;
}

/* Download Section */
.download-section {
    display: flex;
    align-items: center;
    gap: 48px;
    margin: 24px 0;
}

.app-download-section {
    justify-content: center;
    gap: 0;
    margin: 24px 0 0;
}

.app-download-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #111;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 780;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}

.app-download-button img {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.app-download-button:hover {
    background: #242426;
    transform: translateY(-1px);
}

.app-download-button:focus-visible {
    outline: 3px solid rgba(0, 112, 74, 0.28);
    outline-offset: 3px;
}

.download-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.48);
}

.download-modal[hidden] {
    display: none !important;
}

.download-modal-card {
    position: relative;
    display: grid;
    width: min(360px, 100%);
    justify-items: center;
    gap: 18px;
    padding: 38px 24px 24px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
    text-align: center;
}

.download-modal-card h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 820;
    line-height: 1.25;
}

.download-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: #6e6e73;
    cursor: pointer;
    font-size: 26px;
    font-weight: 320;
    line-height: 1;
}

.download-qr-wrap {
    display: grid;
    width: 248px;
    height: 248px;
    place-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background: #fff;
}

.download-qr {
    width: 224px;
    height: 224px;
    object-fit: contain;
}

.download-modal-link {
    color: #00704A;
    font-size: 14px;
    font-weight: 760;
    text-decoration: none;
}

.download-modal-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .download-section {
        flex-direction: column;
        gap: 24px;
    }

    .app-download-section {
        gap: 0;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 16px;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer p {
    color: #666;
    font-size: 13px;
}

.footer-logo {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-logo:hover {
    color: #00704A;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    padding: 80px 24px 24px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

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

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: #00704A;
}

.mobile-menu a .logo-icon {
    width: 24px;
    height: 24px;
    margin-right: 0;
}

.mobile-submodule {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-submodule summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.mobile-submodule summary::-webkit-details-marker {
    display: none;
}

.mobile-submodule summary::after {
    content: '+';
    color: #00704A;
    font-weight: 700;
}

.mobile-submodule[open] summary::after {
    content: '-';
}

.mobile-submodule a {
    padding-left: 16px;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    .header-mobile-actions {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 100px 20px 56px;
        flex-direction: column;
        align-items: center;
    }

    .hero-content {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: min(760px, 100%);
        padding: 0;
        text-align: center;
        margin: 0 auto;
    }

    .hero h1 {
        text-align: center;
    }

    .hero p {
        font-size: 16px;
        max-width: 460px;
        text-align: center;
    }

    .hero-copy-block {
        gap: 14px;
        margin-top: 4px;
    }

    .hero-copy {
        font-size: clamp(16px, 4.2vw, 22px);
        line-height: 1.5;
    }

    .hero-rank-strip {
        --rank-scale: 1;
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: min(560px, 100%);
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
        margin-top: 28px;
    }

    .hero-rank-item {
        flex: 1 1 0;
        width: auto;
        max-width: 132px;
        min-width: 0;
    }

    .hero-rank-icon {
        width: 64px;
        height: 64px;
        border-radius: 12px;
        margin-bottom: -8px;
    }

    .hero-rank-text {
        font-size: 6px;
        line-height: 1.2;
    }

    .hero-rank-note {
        font-size: 5px;
        line-height: 1.1;
    }

    .hero-screens-stage {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100vw;
        height: clamp(280px, 70vw, 430px);
        margin-top: 28px;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        overflow: hidden;
        border-radius: 0;
    }

    .hero-screens-stage::before {
        display: none;
    }

    .hero-screens-viewport {
        width: min(760px, calc(100% - 40px));
        height: calc(100% - 64px);
        margin-top: 18px;
    }

    .hero-screens-page {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .hero-screens-track {
        height: 100%;
    }

    .hero-screen {
        width: 100%;
        max-height: 100%;
        border-radius: 12px;
    }

    .hero-screens-dots {
        margin-top: 14px;
    }

    .hero-screen--left,
    .hero-screen--mid-left,
    .hero-screen--mid-right,
    .hero-screen--right {
        transform: translateY(0);
    }

    .hero-under-copy {
        padding: 32px 20px 18px;
    }

    .hero-under-copy h2 {
        margin-bottom: 20px;
    }

    .hero-under-copy p {
        font-size: 16px;
        max-width: 460px;
    }

    .section {
        padding: 60px 20px;
    }

    .features {
        padding: 60px 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .mission {
        padding: 60px 20px;
    }

    .page-content {
        padding: 100px 20px 60px;
    }

    .page-content table {
        font-size: 12px;
    }

    .page-content table th,
    .page-content table td {
        padding: 8px;
    }

    .features-content {
        padding: 0;
    }

    .footer-links a {
        display: block;
        margin: 8px 0;
    }
}

@media (max-width: 820px) {
    body.has-app-banner {
        padding-top: var(--mobile-app-banner-height);
    }

    body.has-app-banner .app-banner {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: var(--mobile-app-banner-height);
        padding: max(12px, env(safe-area-inset-top)) 14px 12px;
        background: rgba(255, 255, 255, 0.96);
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
        backdrop-filter: blur(18px);
    }

    body.has-app-banner .header {
        top: var(--mobile-app-banner-height);
    }

    body.has-app-banner .mobile-menu {
        top: var(--mobile-app-banner-height);
        height: calc(100vh - var(--mobile-app-banner-height));
    }
}

@media (max-width: 520px) {
    .hero {
        padding: 96px 16px 48px;
    }

    .hero-copy-block {
        gap: 12px;
    }

    .hero-copy {
        font-size: clamp(15px, 4.5vw, 19px);
        line-height: 1.5;
    }

    .hero-rank-strip {
        gap: 6px;
        margin-top: 20px;
    }

    .hero-rank-item {
        max-width: 116px;
    }

    .hero-rank-icon {
        width: 52px;
        height: 52px;
        border-radius: 10px;
        margin-bottom: -5px;
    }

    .hero-rank-text {
        font-size: 5px;
    }

    .hero-rank-note {
        font-size: 4px;
    }

    .hero-screens-stage {
        height: auto;
        margin-top: 20px;
        padding: 18px 0 22px;
        border-radius: 0;
    }

    .hero-screens-viewport {
        width: min(300px, calc(100% - 54px));
        height: auto;
        margin-top: 0;
    }

    .hero-screens-page {
        height: auto;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero-screens-track {
        height: auto;
        align-items: flex-start;
    }

    .hero-screen-frame {
        height: auto;
    }

    .hero-screen {
        width: 100%;
        max-height: none;
        border-radius: 14px;
    }

    .hero-screens-dots {
        margin-top: 16px;
    }

    .hero-under-copy {
        padding: 26px 16px 14px;
    }

    .hero-under-copy h2 {
        margin-bottom: 16px;
    }

    .hero-under-copy p {
        font-size: 15px;
        max-width: 430px;
    }

}

/* Org Chart Styles */
.org-chart-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 20px 0;
    margin-bottom: 40px;
}

.org-chart {
    display: flex;
    justify-content: center;
    min-width: 600px;
}

.org-chart ul {
    padding-top: 20px;
    position: relative;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
}

.org-chart ul li {
    flex: 1;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
    margin-bottom: 0;
    color: inherit;
    transition: all 0.5s;
}

.org-chart ul li::before, .org-chart ul li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    left: auto;
    border-top: 1px solid #ccc;
    width: 50%;
    height: 20px;
    background: none;
    border-radius: 0;
}

.org-chart ul li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid #ccc;
}

.org-chart ul li:only-child::after, .org-chart ul li:only-child::before {
    display: none;
}

.org-chart ul li:only-child {
    padding-top: 0;
}

.org-chart ul li:first-child::before, .org-chart ul li:last-child::after {
    border: 0 none;
}

.org-chart ul li:last-child::before {
    border-right: 1px solid #ccc;
}

.org-chart ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid #ccc;
    width: 0;
    height: 20px;
}

/* Node Styling */
.org-node {
    display: inline-block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    min-width: 120px;
}

.org-node:hover {
    box-shadow: 0 8px 16px rgba(76, 176, 80, 0.15);
    border-color: #00704A;
    transform: translateY(-2px);
}

/* Specific Node Styles */
.org-root {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #00704A, #005A3B);
    border: none;
    padding: 14px 24px;
}

.org-dept {
    font-weight: 600;
    color: #005A3B;
    background: #f5faf5;
    border-color: #c8e6c9;
}

.org-role {
    font-size: 13px;
    color: #555;
}

/* Mobile Responsive Styles for Org Chart */
@media (max-width: 768px) {
    .org-chart-wrapper {
        overflow: visible;
        padding-left: 5px;
    }

    .org-chart {
        display: block;
        min-width: auto;
    }

    .org-chart ul {
        display: block;
        padding-top: 0;
        padding-left: 20px;
        margin-bottom: 0;
    }

    .org-chart ul li {
        float: none;
        text-align: left;
        padding: 10px 0 0 20px;
        border-left: 1px solid #ccc;
    }

    .org-chart ul li::before, 
    .org-chart ul li::after,
    .org-chart ul ul::before {
        display: none;
    }

    .org-chart ul li::before {
        display: block;
        content: '';
        position: absolute;
        top: 25px;
        left: 0;
        width: 20px;
        height: 1px;
        border-top: 1px solid #ccc;
        border-right: none;
        border-radius: 0;
        background: none;
    }

    .org-chart ul li:last-child {
        border-left: 1px solid transparent;
    }
    
    .org-chart ul li:last-child::after {
        display: block;
        content: '';
        position: absolute;
        top: 0;
        left: -1px;
        width: 1px;
        height: 25px;
        background: #ccc;
        border: none;
        border-radius: 0;
    }

    .org-node {
        display: block;
        width: 100%;
        margin-bottom: 5px;
        min-width: auto;
    }
    
    .org-chart > ul {
        padding-left: 0;
    }
    
    .org-chart > ul > li {
        padding-left: 0;
        border-left: none;
    }
    
    .org-chart > ul > li::before,
    .org-chart > ul > li::after {
        display: none;
    }
}
