.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #111;
    padding: .5rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar button {
    all: unset;
    background: #111111;
    color: rgb(90, 90, 90);
    padding: 0.25rem 1rem;
    cursor: pointer;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
    clip-path: polygon(15% 0%, 85% 0%, 100% 50%, 85% 100%, 15% 100%, 0% 50%);
}

.navbar button:disabled {
    background: #0ff;
    color: #000000;
    cursor: default;
}

.navbar #left {
    display: flex;
    gap: 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
    align-items: center;
    justify-content: center;
}

.navbar #center {
    display: flex;
    gap: 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
    align-items: center;
    justify-content: center;
}

.navbar #center a {
    text-decoration: none;
    display: flex;
}


.navbar #right {
    display: flex;
    gap: 1rem;
    padding-right: 2rem;
    padding-left: 1rem;
    align-items: center;
    justify-content: center;
}

.navbar #right label {
    font-weight: 100;
    color: antiquewhite;
    font-size: small;
}

#right label.free {
    color: #0ff;
    text-shadow: 0 0 6px #0ff7;
}

#right label.premium {
    color: gold;
    text-shadow: 0 0 6px gold;
}

#right label.pro {
    color: lime;
    text-shadow: 0 0 6px lime;
}

#center .logo {
    height: 42px;
    width: auto;
    display: block;
}

#center .logo.active {
    filter: brightness(0) saturate(100%) invert(67%) sepia(96%) saturate(748%) hue-rotate(158deg) brightness(101%) contrast(101%);
}

/* OVERLAY */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    /* initially hidden */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.upgrade-modal-personal {
    width: 80%;
    /* max-width: 1300px; */
    background: #111;
    padding: 40px;
    border-radius: 16px;
    position: relative;
}

.upgrade-modal-business {
    display: none;
    width: 80%;
    /* max-width: 1300px; */
    background: #111;
    padding: 40px;
    border-radius: 16px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.plans {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.plan {
    flex: 1;
    min-width: 240px;
    background: #191919;
    padding: 30px;
    border-radius: 12px;
}


/* PLANS */
.foot {
    position: absolute;
    bottom: 21px;
    /* pushes it all the way down */
}

.plan_stella,
.plan_xin,
.plan_okean,
.plan_kali {
    background: #111;
    /* same dark as screenshot */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.plan_stella:hover,
.plan_xin:hover,
.plan_okean:hover,
.plan_kali:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.plan_stella h2,
.plan_xin h2,
.plan_okean h2,
.plan_kali h2 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
}

.plan_kaizen,
.plan_takumi,
.plan_shunya {
    background: #111;
    /* same dark as screenshot */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.plan_kaizen:hover,
.plan_takumi:hover,
.plan_shunya:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.plan_kaizen h2,
.plan_takumi h2,
.plan_shunya h2 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
}


.price {
    font-size: 14px;
    font-weight: 400;
    color: white;
    margin-bottom: 28px;
    line-height: 1.2;
}

.priceNumber {
    font-size: xx-large;
    font-weight: 800;
}

.subtitle {
    font-size: 14px;
    color: #b8b8b8;
    margin-bottom: 28px;
}

.current-btn {
    width: 100%;
    padding: 12px;
    border-radius: 100px;
    /* pill-shaped like screenshot */
    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 14px;
    text-align: center;
    margin-bottom: 32px;
    cursor: default;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features li {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li::before {
    content: "★";
    /* temporary placeholder — I can replace with exact icon set next */
    opacity: 0.6;
    font-size: 14px;
}

.TAC {
    margin-top: 28px;
    font-size: 12px;
    color: #999;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

.TAC a {
    color: #4aa8ff;
    text-decoration: none;
}

/* TOGGLE */
.plan-toggle {
    position: absolute;
    top: 100px;
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: fit-content;
    margin: 0 auto 30px auto;
    font-family: 'Inter', sans-serif;
}

.toggle-btn {
    padding: 8px 22px;
    background: transparent;
    border: none;
    font-size: 14px;
    color: #b5b5b5;
    cursor: pointer;
    border-radius: 999px;
    transition: all .2s ease;
}

.toggle-btn.active {
    background: white;
    color: black;
    font-weight: 600;
}

.toggle-btn:hover:not(.active) {
    color: white;
}

/* Tag */
.tag {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 600;
    margin-left: 6px;
    display: inline-block;
    vertical-align: super;
}

.tag-white {
    background: rgb(255, 253, 253);
    color: rgb(155, 155, 155);
}

.tag-raft {
    background: rgb(0, 162, 255);
    /* light premium blue tint */
    color: #ffffff;
    border: 1px solid rgba(100, 149, 237, 0.25);
}

.tag-grey {
    background: rgb(128, 128, 128);
    color: rgb(54, 54, 54);
    border: 1px solid rgb(0, 0, 0);
}

.tag-boat {
    background: rgb(0, 81, 255);
    color: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.tag-black {
    background: rgb(0, 0, 0);
    /* light premium blue tint */
    color: #ffffff;
    border: 1px solid rgb(119, 119, 119);
}

.tag-ship {
    background: rgb(0, 17, 255);
    color: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.tag-deluxe {
    background: rgb(255, 255, 255);
    /* light premium blue tint */
    color: #c90075;
    border: 1px solid rgb(255, 255, 255);
}