/* ═══════════════════════════════════════════════════════════════
   WKC Homepage — matches official design mockup
   ═══════════════════════════════════════════════════════════════ */

:root {
    --wkc-navy: #0C3260;
    --wkc-navy-dark: #082848;
    --wkc-blue: #1A4F8C;
    --wkc-blue-mid: #2B6CB0;
    --wkc-green: #2DB84E;
    --wkc-green-bright: #32CD32;
    --wkc-bg: #E8F4FC;
    --wkc-bg-light: #F4FAFF;
    --wkc-white: #FFFFFF;
    --wkc-text: #0C3260;
    --wkc-text-muted: #3D5A80;
    --wkc-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --wkc-container: 1180px;
    --wkc-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.wkc-home {
    font-family: var(--wkc-font);
    background: var(--wkc-bg);
    color: var(--wkc-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.wkc-container {
    max-width: var(--wkc-container);
    margin: 0 auto;
    padding: 0 24px;
}

.wkc-green { color: var(--wkc-green); }

/* ─── HEADER ─────────────────────────────────────────────────── */
.wkc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--wkc-white);
    box-shadow: 0 1px 0 rgba(12, 50, 96, 0.08);
}

.wkc-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    height: var(--wkc-header-h);
    display: flex;
    align-items: center;
    gap: 24px;
}

.wkc-logo {
    flex-shrink: 0;
    text-decoration: none;
}

.wkc-logo__img {
    height: 62px;
    width: auto;
    display: block;
}

.wkc-logo__fallback .wkc-logo__circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(180deg, #1A4F8C, #0C3260);
    border: 3px solid var(--wkc-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    color: #fff;
}

.wkc-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.wkc-nav__drawer-head {
    display: none;
}

.wkc-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.wkc-nav__drawer-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--wkc-navy);
}

.wkc-nav-close {
    width: 40px;
    height: 40px;
    border: none;
    background: #F0F6FB;
    border-radius: 50%;
    color: var(--wkc-navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wkc-nav__chev {
    transition: transform 0.2s;
}

.wkc-nav__dropdown.is-expanded .wkc-nav__chev {
    transform: rotate(180deg);
}

.wkc-nav__link {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--wkc-navy);
    text-decoration: none;
    padding: 8px 12px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
    white-space: nowrap;
}

.wkc-nav__link:hover,
.wkc-nav__link.is-active {
    color: var(--wkc-green);
}

.wkc-nav__link.is-active {
    border-bottom: 2px solid var(--wkc-green);
    padding-bottom: 6px;
}

.wkc-nav__dropdown {
    position: relative;
}

.wkc-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--wkc-white);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(12, 50, 96, 0.15);
    padding: 8px 0;
    min-width: 200px;
    z-index: 100;
}

.wkc-nav__menu a {
    display: block;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--wkc-navy);
    text-decoration: none;
}

.wkc-nav__menu a:hover {
    background: var(--wkc-bg);
    color: var(--wkc-green);
}

.wkc-nav__dropdown:hover .wkc-nav__menu {
    display: block;
}

.wkc-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.wkc-header__toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.wkc-search-btn {
    background: none;
    border: none;
    color: var(--wkc-navy);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
}

.wkc-btn-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: var(--wkc-green);
    color: var(--wkc-white);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s, transform 0.15s;
    white-space: nowrap;
}

.wkc-btn-join:hover {
    background: #25a342;
    transform: translateY(-1px);
}

.wkc-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.wkc-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--wkc-navy);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
    margin: 0 auto;
}

.wkc-nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.wkc-nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.wkc-nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay + drawer */
.wkc-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 50, 96, 0.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.wkc-nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

body.nav-open {
    overflow: hidden;
}

/* ─── HERO ─────────────────────────────────────────────────────── */
.wkc-hero {
    position: relative;
    padding: 48px 0 32px;
    overflow: hidden;
    background: linear-gradient(180deg, #D6EBFA 0%, var(--wkc-bg) 40%, var(--wkc-bg-light) 100%);
}

.wkc-hero__map {
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400' opacity='0.06'%3E%3Cpath fill='%230C3260' d='M120 180c40-60 120-80 200-60s160 80 200 40 80-100 160-80-40 120-80 160-120 40-200 20-160-80-120-20z'/%3E%3C/svg%3E") center 30% / 70% no-repeat;
    pointer-events: none;
}

.wkc-hero__dots {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    pointer-events: none;
    opacity: 0.35;
    background-image: radial-gradient(circle, #7EB8E0 1.5px, transparent 1.5px);
    background-size: 14px 14px;
}

.wkc-hero__dots--left { left: 0; }
.wkc-hero__dots--right { right: 0; }

.wkc-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 480px;
}

.wkc-hero__eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--wkc-green);
    margin-bottom: 8px;
}

.wkc-hero__title {
    font-size: clamp(1.75rem, 3.5vw, 2.65rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--wkc-navy);
    margin-bottom: 12px;
}

.wkc-hero__star-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.wkc-hero__line {
    flex: 1;
    max-width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--wkc-green), transparent);
}

.wkc-hero__tagline {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--wkc-green);
    margin-bottom: 32px;
}

.wkc-hero__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wkc-hero__feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.wkc-hero__feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--wkc-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wkc-hero__feature strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--wkc-blue);
    margin-bottom: 2px;
}

.wkc-hero__feature span {
    font-size: 12.5px;
    color: var(--wkc-text-muted);
    line-height: 1.5;
}

/* ─── PYRAMID ────────────────────────────────────────────────── */
.wkc-pyramid-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.wkc-pyramid {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.wkc-pyramid__glow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(100, 180, 255, 0.45) 0%, transparent 70%);
    border-radius: 50%;
}

.wkc-pyramid__level {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.wkc-pyramid__shape {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wkc-pyramid__shape--top {
    width: 130px;
    height: 95px;
    background: var(--wkc-blue-mid);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 18px;
    margin-left: 65px;
}

.wkc-pyramid__shape--mid {
    width: 200px;
    height: 72px;
    background: var(--wkc-green);
    clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
    margin-left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wkc-pyramid__shape--base {
    width: 260px;
    height: 80px;
    background: var(--wkc-navy);
    clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wkc-pyramid__info {
    flex: 1;
    min-width: 0;
}

.wkc-pyramid__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--wkc-green);
    margin-bottom: 2px;
}

.wkc-pyramid__info h3 {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--wkc-navy);
    margin-bottom: 2px;
}

.wkc-pyramid__info p {
    font-size: 11.5px;
    color: var(--wkc-text-muted);
    line-height: 1.4;
}

.wkc-pyramid__level--3 { margin-bottom: 4px; }
.wkc-pyramid__level--2 { margin-bottom: 4px; }

/* ─── STATS CARD ─────────────────────────────────────────────── */
.wkc-stats {
    padding: 0 0 40px;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.wkc-stats__card {
    background: var(--wkc-white);
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(12, 50, 96, 0.1);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}

.wkc-stats__item {
    padding: 36px 28px;
    text-align: center;
    border-right: 1px solid #E8EEF4;
}

.wkc-stats__item:last-child {
    border-right: none;
}

.wkc-stats__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--wkc-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.wkc-stats__number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--wkc-navy);
    line-height: 1;
    margin-bottom: 4px;
}

.wkc-stats__label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--wkc-green);
    margin-bottom: 8px;
}

.wkc-stats__item p {
    font-size: 12px;
    color: var(--wkc-text-muted);
    line-height: 1.5;
    max-width: 220px;
    margin: 0 auto;
}

/* ─── SOCIAL SECTION ─────────────────────────────────────────── */
.wkc-social-section {
    padding: 48px 0 32px;
    background: linear-gradient(180deg, var(--wkc-bg-light) 0%, #D6EBFA 100%);
    position: relative;
}

.wkc-social-section::before,
.wkc-social-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    background-image: radial-gradient(circle, #7EB8E0 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.3;
    pointer-events: none;
}

.wkc-social-section::before { left: 0; }
.wkc-social-section::after { right: 0; }

.wkc-social-heading {
    text-align: center;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--wkc-navy);
    margin-bottom: 8px;
}

.wkc-social-heading__star {
    text-align: center;
    margin-bottom: 28px;
}

.wkc-social__card {
    background: var(--wkc-white);
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(12, 50, 96, 0.1);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    overflow: hidden;
}

.wkc-social__item {
    padding: 28px 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border-right: 1px solid #E8EEF4;
    transition: background 0.15s;
}

.wkc-social__item:last-child {
    border-right: none;
}

.wkc-social__item:hover {
    background: var(--wkc-bg);
}

.wkc-social__logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.wkc-social__logo--youtube { background: #FF0000; }
.wkc-social__logo--facebook { background: #1877F2; }
.wkc-social__logo--instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.wkc-social__logo--tiktok { background: #000; border: 1px solid #ddd; }
.wkc-social__logo--x { background: #000; }
.wkc-social__logo--linkedin { background: #0A66C2; }

.wkc-social__item strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--wkc-navy);
    margin-bottom: 6px;
}

.wkc-social__item span {
    display: block;
    font-size: 10.5px;
    color: var(--wkc-text-muted);
    line-height: 1.45;
}

/* ─── BOTTOM TAGLINE ───────────────────────────────────────────── */
.wkc-bottom-tagline {
    padding: 56px 24px 72px;
    text-align: center;
    background: linear-gradient(180deg, #D6EBFA 0%, var(--wkc-bg) 100%);
}

.wkc-bottom-tagline h2 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--wkc-green);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .wkc-nav__link { padding: 8px 8px; font-size: 10.5px; }
    .wkc-social__card { grid-template-columns: repeat(3, 1fr); }
    .wkc-social__item:nth-child(3) { border-right: none; }
    .wkc-social__item:nth-child(4),
    .wkc-social__item:nth-child(5),
    .wkc-social__item:nth-child(6) { border-top: 1px solid #E8EEF4; }
}

@media (max-width: 900px) {
    :root {
        --wkc-header-h: 64px;
    }

    .wkc-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
    }

    .wkc-hero__feature { text-align: left; }
    .wkc-hero__star-row { justify-content: center; }

    .wkc-pyramid-wrap { order: -1; }
    .wkc-pyramid { max-width: 360px; margin: 0 auto; }

    .wkc-stats__card { grid-template-columns: 1fr; }
    .wkc-stats__item {
        border-right: none;
        border-bottom: 1px solid #E8EEF4;
    }
    .wkc-stats__item:last-child { border-bottom: none; }

    .wkc-header__inner {
        padding: 0 12px;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .wkc-logo__img {
        height: 48px;
    }

    .wkc-header__toolbar {
        gap: 6px;
    }

    .wkc-nav-toggle {
        display: flex;
        order: 1;
    }

    .wkc-search-btn {
        order: 2;
        padding: 6px;
        width: 36px;
        height: 36px;
        justify-content: center;
    }

    .wkc-btn-join {
        order: 3;
        padding: 8px 12px;
        font-size: 10px;
        border-radius: 5px;
    }

    .wkc-header__signin {
        display: none;
    }

    .wkc-header__actions {
        gap: 8px;
    }

    /* Slide-in drawer from left */
    .wkc-nav {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(300px, 86vw);
        max-width: 320px;
        z-index: 1200;
        background: var(--wkc-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        margin: 0;
        box-shadow: 4px 0 32px rgba(12, 50, 96, 0.18);
        transform: translateX(-100%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wkc-nav.is-open {
        transform: translateX(0);
    }

    .wkc-nav__drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #E8EEF4;
        flex-shrink: 0;
    }

    .wkc-nav__links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        flex: 1;
        justify-content: flex-start;
        padding: 8px 0 24px;
    }

    .wkc-nav__link {
        padding: 14px 24px;
        justify-content: flex-start;
        font-size: 12px;
        border-bottom: 1px solid #F0F4F8;
        width: 100%;
    }

    .wkc-nav__link.is-active {
        border-bottom: 1px solid #F0F4F8;
        background: #F4FAFF;
        color: var(--wkc-green);
        border-left: 3px solid var(--wkc-green);
        padding-left: 21px;
    }

    .wkc-nav__dropdown {
        width: 100%;
    }

    .wkc-nav__dropdown .wkc-nav__link--drop {
        width: 100%;
        justify-content: space-between;
    }

    .wkc-nav__dropdown:hover .wkc-nav__menu {
        display: none;
    }

    .wkc-nav__dropdown.is-expanded .wkc-nav__menu {
        display: block;
    }

    .wkc-nav__menu {
        position: static;
        box-shadow: none;
        display: none;
        padding: 0 0 8px;
        background: #F8FAFC;
        border-bottom: 1px solid #E8EEF4;
    }

    .wkc-nav__menu a {
        padding: 12px 24px 12px 36px;
        font-size: 11px;
        border-bottom: 1px solid #EEF2F6;
    }

    .wkc-nav__menu a:last-child {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .wkc-header__inner { padding: 0 10px; gap: 8px; }
    .wkc-logo__img { height: 44px; }
    .wkc-btn-join { padding: 7px 10px; font-size: 9px; letter-spacing: 0.04em; }
    .wkc-nav-toggle { width: 36px; height: 36px; padding: 6px; }
    .wkc-search-btn { width: 32px; height: 32px; }
    .wkc-social__card { grid-template-columns: repeat(2, 1fr); }
    .wkc-social__item { border-bottom: 1px solid #E8EEF4; }
    .wkc-social__item:nth-child(2n) { border-right: none; }
    .wkc-pyramid__shape--base { width: 200px; }
    .wkc-pyramid__shape--mid { width: 160px; margin-left: 30px; }
    .wkc-pyramid__shape--top { margin-left: 60px; }
}
