@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #020711;
    --bg2: #050d18;
    --panel: rgba(7, 20, 34, .78);
    --panel2: rgba(10, 27, 45, .9);
    --line: rgba(77, 161, 225, .20);
    --line2: rgba(77, 161, 225, .32);
    --text: #f4f8ff;
    --muted: #7e99b6;
    --blue: #2aa7ff;
    --blue2: #0b7dce;
    --cyan: #39d6ff;
    --green: #27e8a7;
    --pink: #ff4d9d;
    --danger: #ff5470;
    --radius: 18px;
    --shadow: 0 25px 80px rgba(0,0,0,.35);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 70% -10%, rgba(0,139,255,.14), transparent 35%),
        radial-gradient(circle at 20% 40%, rgba(0,91,160,.07), transparent 30%),
        #020711;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

/* ---------------------------------------------------------
   LOGIN
--------------------------------------------------------- */

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 30%, rgba(0,145,255,.14), transparent 28%),
        radial-gradient(circle at 15% 90%, rgba(0,81,145,.12), transparent 35%),
        #01050b;
}

.login-shell {
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.login-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .28;
    background-image:
        linear-gradient(rgba(45,142,207,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45,142,207,.07) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.login-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .2;
}

.glow-a {
    background: #007bff;
    top: -250px;
    left: -180px;
}

.glow-b {
    background: #00d9ff;
    bottom: -300px;
    right: -150px;
}

.login-card {
    position: relative;
    z-index: 2;
    width: min(520px, calc(100% - 36px));
    padding: 42px;
    border: 1px solid var(--line2);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(9,26,43,.94), rgba(2,9,18,.96));
    box-shadow:
        0 40px 100px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,.04);
}

.login-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(48,177,255,.12),
        transparent 30%,
        transparent 70%,
        rgba(25,114,190,.08)
    );
}

.login-brand {
    text-align: center;
    position: relative;
    margin-bottom: 34px;
}

.logo-ring {
    width: 112px;
    height: 112px;
    margin: 0 auto 18px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, #42d9ff, #006fff);
    box-shadow:
        0 0 0 1px rgba(48,176,255,.35),
        0 0 45px rgba(0,137,255,.25);
}

.logo-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #020711;
}

.brand-word {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: .16em;
}

.brand-word span,
.main-footer strong span,
.sidebar-brand > span > span {
    color: var(--blue);
}

.brand-subtitle {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .25em;
    color: var(--muted);
}

.login-copy {
    position: relative;
    margin-bottom: 25px;
}

.eyebrow {
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

.login-copy h1 {
    margin: 8px 0 12px;
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.login-copy h1 span {
    color: #7fcfff;
}

.login-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.discord-login,
.discord-main-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px;
    margin-top: 12px;
    border-radius: 14px;
    border: 1px solid var(--line2);
    transition: .2s ease;
}

.discord-login {
    background: linear-gradient(135deg, #087ad1, #1553a6);
    box-shadow: 0 15px 35px rgba(0,117,220,.2);
}

.discord-main-link {
    background: rgba(255,255,255,.025);
}

.discord-login:hover,
.discord-main-link:hover {
    transform: translateY(-2px);
    border-color: rgba(91,194,255,.5);
}

.discord-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.14);
}

.discord-login strong,
.discord-main-link strong {
    display: block;
    font-size: 14px;
}

.discord-login small,
.discord-main-link small {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.62);
    font-size: 11px;
}

.discord-login b,
.discord-main-link b {
    margin-left: auto;
    font-size: 18px;
}

.login-footer {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 25px;
    color: #49647f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

/* ---------------------------------------------------------
   APP
--------------------------------------------------------- */

.app {
    min-height: 100vh;
    display: flex;
}

.sidebar {
    position: fixed;
    z-index: 20;
    top: 0;
    bottom: 0;
    left: 0;
    width: 248px;
    padding: 24px 14px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(76,150,205,.18);
    background:
        linear-gradient(180deg, rgba(4,13,23,.98), rgba(2,8,15,.98));
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 10px 28px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .14em;
}

.sidebar-brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 25px rgba(0,143,255,.2);
}

.sidebar-label {
    padding: 0 10px 9px;
    color: #66839f;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
}

.admin-label {
    margin-top: 24px;
    color: #ff7eb7;
}

.nav {
    display: grid;
    gap: 4px;
}

.nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 43px;
    padding: 0 12px;
    border-radius: 11px;
    color: #91abc4;
    font-size: 13px;
    font-weight: 600;
    transition: .18s ease;
}

.nav a i {
    width: 18px;
    text-align: center;
    color: #72a8d3;
    font-style: normal;
}

.nav a:hover {
    color: #fff;
    background: rgba(38,133,203,.08);
}

.nav a.active {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(23,130,205,.24), rgba(21,75,117,.13));
    box-shadow: inset 2px 0 0 var(--blue);
}

.nav a.active i {
    color: var(--cyan);
}

.nav a.admin-active {
    box-shadow: inset 2px 0 0 #ff4d9d;
}

.sidebar-bottom {
    margin-top: auto;
}

.discord-sidebar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 13px;
    border: 1px solid rgba(76,150,205,.16);
    background: rgba(13,34,53,.42);
}

.discord-sidebar-icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: linear-gradient(135deg,#159ce9,#1553b9);
}

.discord-sidebar strong,
.discord-sidebar small,
.user-mini strong,
.user-mini small {
    display: block;
}

.discord-sidebar strong,
.user-mini strong {
    font-size: 11px;
}

.discord-sidebar small,
.user-mini small {
    margin-top: 2px;
    color: #6885a1;
    font-size: 9px;
}

.discord-sidebar > span {
    margin-left: auto;
    color: #6c9ec5;
}

.user-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.user-mini img {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    object-fit: cover;
    border: 1px solid var(--line2);
}

.main {
    width: calc(100% - 248px);
    margin-left: 248px;
    min-height: 100vh;
    padding: 26px 32px 35px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.topbar h1 {
    margin: 4px 0 0;
    font-size: 30px;
    letter-spacing: -.04em;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px 7px 7px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(8,24,39,.65);
}

.topbar-user img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.topbar-user strong,
.topbar-user small {
    display: block;
}

.topbar-user strong {
    font-size: 12px;
}

.topbar-user small {
    color: var(--muted);
    font-size: 9px;
    margin-top: 2px;
}

/* ---------------------------------------------------------
   DASHBOARD
--------------------------------------------------------- */

.hero-panel {
    min-height: 270px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 38px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 80% 40%, rgba(0,145,255,.17), transparent 30%),
        linear-gradient(135deg, rgba(8,29,48,.95), rgba(3,12,22,.96));
    box-shadow: var(--shadow);
}

.hero-panel::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -180px;
    top: -230px;
    border-radius: 50%;
    border: 1px solid rgba(47,173,255,.12);
    box-shadow:
        0 0 0 40px rgba(48,174,255,.025),
        0 0 0 80px rgba(48,174,255,.02);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h2 {
    margin: 9px 0 12px;
    max-width: 700px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.03;
    letter-spacing: -.05em;
}

.hero-content h2 span {
    display: block;
    color: #58c9ff;
}

.hero-content p {
    max-width: 600px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 13px;
}

.hero-actions {
    display: flex;
    gap: 9px;
    margin-top: 23px;
}

.hero-logo {
    position: relative;
    z-index: 1;
    width: 220px;
    height: 220px;
    margin-right: 55px;
    border-radius: 50%;
    opacity: .92;
    filter: drop-shadow(0 0 40px rgba(0,136,255,.28));
}

.hero-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
    margin-bottom: 34px;
}

.stat-card {
    min-height: 110px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(8,27,44,.76), rgba(4,14,25,.82));
}

.stat-card > span {
    display: block;
    color: #6d8dab;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.stat-card strong {
    display: block;
    margin-top: 12px;
    font-size: 26px;
}

.stat-card small {
    display: block;
    margin-top: 4px;
    color: #607b96;
    font-size: 9px;
}

.status-card strong {
    display: flex;
    align-items: center;
    gap: 7px;
}

.status-dot,
.server-status b,
.license-status b {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px rgba(39,232,167,.7);
}

/* ---------------------------------------------------------
   SECTIONS
--------------------------------------------------------- */

.section-heading,
.page-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 17px;
}

.page-intro {
    display: block;
    margin-bottom: 25px;
}

.section-heading h2,
.page-intro h2 {
    margin: 4px 0 4px;
    font-size: 22px;
    letter-spacing: -.03em;
}

.section-heading p,
.page-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.section-heading.compact {
    margin-top: 28px;
}

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 10px;
    border: 1px solid var(--line2);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: .18s ease;
}

.btn.primary {
    color: #fff;
    border-color: rgba(53,181,255,.45);
    background: linear-gradient(135deg,#138bd5,#1161ad);
    box-shadow: 0 8px 25px rgba(0,114,205,.18);
}

.btn.ghost {
    color: #a6c7e2;
    background: rgba(255,255,255,.025);
}

.btn.danger {
    color: #ff8297;
    border-color: rgba(255,84,112,.25);
    background: rgba(255,84,112,.05);
}

.btn:hover {
    transform: translateY(-1px);
    border-color: rgba(83,192,255,.55);
}

/* ---------------------------------------------------------
   SERVER CARDS
--------------------------------------------------------- */

.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
}

.server-card {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(8,28,46,.94), rgba(3,13,23,.96));
    transition: .22s ease;
}

.server-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56,182,255,.42);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.server-cover {
    height: 55px;
    background:
        radial-gradient(circle at 90% 20%, rgba(42,167,255,.22), transparent 30%),
        linear-gradient(90deg, rgba(21,90,142,.12), rgba(2,12,23,.3));
}

.server-body {
    position: relative;
    padding: 0 18px 17px;
}

.server-icon-wrap {
    position: relative;
    margin-top: -29px;
    margin-bottom: 10px;
}

.server-icon {
    width: 58px;
    height: 58px;
    padding: 3px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(87,185,255,.35);
    background: #061320;
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

.server-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.server-top h3 {
    margin: 0;
    font-size: 14px;
}

.server-top span:not(.plan-badge) {
    display: block;
    margin-top: 4px;
    color: #6c89a5;
    font-size: 9px;
}

.plan-badge,
.license-badge,
.module-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    color: #79b5dd;
    background: rgba(38,147,211,.08);
    border: 1px solid rgba(38,147,211,.24);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
}

.plan-badge.pro {
    color: #51ceff;
    background: rgba(22,151,225,.11);
}

.server-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
}

.license-badge {
    color: var(--green);
    border-color: rgba(39,232,167,.2);
    background: rgba(39,232,167,.06);
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-size: 9px;
}

.server-open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(72,141,193,.12);
    color: #8fb4d3;
    font-size: 10px;
    font-weight: 800;
}

.server-open span {
    color: var(--cyan);
    font-size: 15px;
}

/* ---------------------------------------------------------
   DETAIL
--------------------------------------------------------- */

.server-detail-hero {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(8,29,48,.92), rgba(3,12,22,.92));
}

.detail-server-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    object-fit: cover;
    border: 1px solid var(--line2);
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

.server-detail-hero h2 {
    margin: 6px 0;
    font-size: 27px;
}

.server-detail-hero p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 11px;
}

.detail-badges {
    display: flex;
    gap: 8px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.feature-card,
.admin-card,
.info-card,
.redeem-card,
.empty-card,
.profile-card {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(8,27,44,.78), rgba(3,12,22,.88));
    border-radius: 18px;
}

.feature-card {
    padding: 23px;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(28,153,224,.1);
    color: var(--cyan);
}

.feature-card h3 {
    margin: 17px 0 6px;
}

.feature-card p {
    min-height: 42px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.feature-card a {
    color: #63c9ff;
    font-size: 10px;
    font-weight: 800;
}

.coming {
    color: #708ca5;
    font-size: 10px;
}

/* ---------------------------------------------------------
   LICENSE
--------------------------------------------------------- */

.license-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 190px;
    padding: 30px;
    border: 1px solid rgba(52,185,255,.28);
    border-radius: 20px;
    background:
        radial-gradient(circle at 80% 40%, rgba(30,167,255,.18), transparent 28%),
        linear-gradient(135deg, rgba(8,31,50,.95), rgba(3,12,22,.96));
}

.license-hero h2 {
    margin: 7px 0 12px;
    font-size: 40px;
    letter-spacing: .08em;
}

.license-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
}

.license-mark {
    font-size: 100px;
    color: rgba(57,214,255,.2);
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 13px;
    margin-top: 14px;
}

.info-card {
    padding: 20px;
}

.info-card span {
    color: #6e8ca9;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.info-card strong {
    display: block;
    margin-top: 10px;
    font-size: 22px;
}

.mini-server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(270px,1fr));
    gap: 10px;
}

.mini-server {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(8,26,42,.58);
}

.mini-server img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
}

.mini-server strong,
.mini-server small {
    display: block;
}

.mini-server strong {
    font-size: 11px;
}

.mini-server small {
    color: var(--cyan);
    margin-top: 3px;
    font-size: 8px;
}

.mini-server > span {
    margin-left: auto;
    color: var(--cyan);
}

/* ---------------------------------------------------------
   REDEEM
--------------------------------------------------------- */

.redeem-card {
    max-width: 650px;
    padding: 35px;
    text-align: center;
}

.redeem-icon {
    display: grid;
    place-items: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 17px;
    border-radius: 18px;
    color: var(--cyan);
    background: rgba(34,167,239,.1);
    font-size: 28px;
}

.redeem-card h2 {
    margin: 0 0 8px;
}

.redeem-card p {
    max-width: 470px;
    margin: 0 auto 25px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 12px;
}

.redeem-card form {
    display: flex;
    gap: 8px;
}

.redeem-card input {
    flex: 1;
    min-width: 0;
    padding: 0 14px;
    height: 43px;
    border-radius: 10px;
    border: 1px solid var(--line2);
    outline: none;
    color: #fff;
    background: rgba(0,0,0,.22);
}

.redeem-card input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(42,167,255,.08);
}

/* ---------------------------------------------------------
   MODULES
--------------------------------------------------------- */

.module-server-select {
    padding: 18px;
    margin-bottom: 15px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(7,23,38,.65);
}

.module-server-select > span {
    display: block;
    margin-bottom: 10px;
    color: #6f8ca7;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
}

.select-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.select-grid a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 200px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255,255,255,.015);
}

.select-grid a.selected,
.select-grid a:hover {
    border-color: rgba(49,181,255,.5);
    background: rgba(26,143,207,.08);
}

.select-grid img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    object-fit: cover;
}

.select-grid strong,
.select-grid small {
    display: block;
}

.select-grid strong {
    font-size: 10px;
}

.select-grid small {
    margin-top: 3px;
    color: var(--cyan);
    font-size: 8px;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
}

.module-card {
    display: flex;
    gap: 15px;
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(8,27,44,.75), rgba(3,12,22,.85));
}

.module-icon {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(36,158,223,.09);
    font-size: 21px;
}

.module-content {
    flex: 1;
}

.module-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.module-head h3 {
    margin: 0;
    font-size: 13px;
}

.module-head p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 10px;
}

.module-status.enabled {
    color: var(--green);
    border-color: rgba(39,232,167,.2);
    background: rgba(39,232,167,.06);
}

.module-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 17px;
    min-height: 38px;
    padding: 0 16px !important;
    border: 1px solid rgba(39,232,167,.35) !important;
    border-radius: 10px;
    background: rgba(39,232,167,.08) !important;
    color: var(--cyan) !important;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: .18s ease;
}

.module-action:hover {
    background: rgba(39,232,167,.16) !important;
    border-color: var(--cyan) !important;
    transform: translateY(-1px);
}

button.module-action {
    appearance: none;
    -webkit-appearance: none;
}


/* ---------------------------------------------------------
   LANGUAGE SWITCH
--------------------------------------------------------- */

.lang-switch,
.language-switch,
.language-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    margin: 10px 10px 18px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(7,23,38,.65);
}

.lang-switch a,
.language-switch a,
.language-toggle a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    border-radius: 7px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: .08em;
    transition: .18s ease;
}

.lang-switch a:hover,
.language-switch a:hover,
.language-toggle a:hover {
    color: var(--text);
    background: rgba(255,255,255,.04);
}

.lang-switch a.active,
.language-switch a.active,
.language-toggle a.active {
    color: #fff;
    background: rgba(72,86,180,.35);
}

/* ---------------------------------------------------------
   MAIN FOOTER
--------------------------------------------------------- */

.main-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.main-footer strong {
    display: block;
    color: var(--text);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

.main-footer small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
}

.main-footer a {
    color: var(--blue);
    font-size: 9px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: .08em;
}

.main-footer a:hover {
    color: var(--cyan);
}

@media (max-width: 700px) {
    .main-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ---------------------------------------------------------
   SIDEBAR LANGUAGE SWITCH
--------------------------------------------------------- */

.sidebar-language {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 18px 10px 16px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(7,23,38,.55);
}

.sidebar-language > span {
    flex: 1;
    padding-left: 7px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
}

.sidebar-language a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 25px;
    padding: 0 8px;
    border-radius: 7px;
    color: #49647f;
    font-size: 8px;
    font-weight: 900;
    text-decoration: none;
    transition: .15s ease;
}

.sidebar-language a:hover {
    color: var(--text);
    background: rgba(39,232,167,.06);
}

.sidebar-language a.active {
    color: #fff;
    background: rgba(72,82,190,.35);
    box-shadow: inset 0 0 0 1px rgba(72,82,190,.45);
}

@media (max-width: 700px) {
    .sidebar-language {
        margin-left: 8px;
        margin-right: 8px;
    }
}



/* =========================================================
   ANTI CHANNEL SPAM SETTINGS
   ========================================================= */

.module-settings-card {
    margin-top: 24px;
    padding: 28px;
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 18px;
    background: rgba(4, 18, 32, 0.82);
}

.module-settings-head {
    margin-bottom: 24px;
}

.module-settings-head h3 {
    margin: 6px 0 8px;
    font-size: 22px;
}

.module-settings-head p {
    margin: 0;
    color: rgba(180, 205, 225, 0.72);
}

.module-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.module-setting-full {
    grid-column: 1 / -1;
}

.module-settings-card label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8fb5d3;
}

.module-settings-card input,
.module-settings-card select,
.module-settings-card textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(91, 145, 181, 0.25);
    border-radius: 10px;
    background: rgba(2, 12, 24, 0.9);
    color: #eef8ff;
    padding: 12px 14px;
    font: inherit;
    outline: none;
}

.module-settings-card textarea {
    resize: vertical;
    min-height: 150px;
}

.module-settings-card input:focus,
.module-settings-card select:focus,
.module-settings-card textarea:focus {
    border-color: rgba(0, 174, 255, 0.75);
}

.module-settings-card small {
    display: block;
    margin-top: 7px;
    color: rgba(160, 190, 215, 0.62);
}

.module-color-row {
    display: flex;
    gap: 10px;
}

.module-color-row input[type="color"] {
    width: 54px;
    min-width: 54px;
    height: 46px;
    padding: 4px;
    cursor: pointer;
}

.module-color-row input[type="text"] {
    flex: 1;
}

.module-settings-actions {
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 800px) {
    .module-settings-grid {
        grid-template-columns: 1fr;
    }

    .module-setting-full {
        grid-column: auto;
    }
}

/* Anti Channel Spam: settings unterhalb der Modulkarte */
.module-grid:has(.module-settings-card) {
    grid-template-columns: minmax(0, 1fr) !important;
}

.module-grid:has(.module-settings-card) .module-card {
    width: 100%;
    box-sizing: border-box;
}

.module-settings-card {
    width: 100%;
    box-sizing: border-box;
}


/* =========================================================
   EXPANDABLE MODULE SETTINGS
   ========================================================= */

.module-settings-card.is-collapsed .module-settings-head {
    margin-bottom: 0;
    cursor: pointer;
}

.module-settings-card.is-collapsed form {
    display: none;
}

.module-settings-head {
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease;
}

.module-settings-head:hover {
    opacity: 0.86;
}

.module-settings-head::after {
    content: '⌃';
    float: right;
    font-size: 20px;
    color: rgba(180, 220, 245, 0.65);
    transition: transform 0.2s ease;
}

.module-settings-card.is-collapsed .module-settings-head::after {
    content: '⌄';
}


/* Expandable module cards */
.module-expandable {
    overflow: hidden;
}

.module-card-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.module-card-toggle:hover {
    color: inherit;
}

.module-head-right {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.module-expand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    transition: transform .2s ease;
}

.module-expandable.is-expanded .module-expand-icon {
    transform: rotate(180deg);
}

.module-expand-content {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.module-module-action {
    margin-bottom: 24px;
}

.module-settings-inner {
    padding-top: 2px;
}


/* Fix: expandable module uses one vertical column */
.module-card.module-expandable {
    display: block;
    width: 100%;
}

.module-expandable .module-card-toggle {
    min-height: 90px;
}

.module-expandable .module-content {
    flex: 1;
    min-width: 0;
}

.module-expandable .module-head {
    width: 100%;
}

.module-expandable .module-expand-content {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.module-expandable .module-settings-inner {
    width: 100%;
    box-sizing: border-box;
}

.module-expandable .module-settings-grid {
    width: 100%;
    box-sizing: border-box;
}

.module-expandable .module-setting-full {
    width: 100%;
}

.module-expandable input,
.module-expandable select,
.module-expandable textarea {
    box-sizing: border-box;
    max-width: 100%;
}

.module-expandable textarea {
    width: 100%;
}

.module-expandable .module-settings-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.module-expandable .module-module-action {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 760px) {
    .module-expandable .module-card-toggle {
        align-items: flex-start;
    }

    .module-expandable .module-head-right {
        gap: 8px;
    }

    .module-expandable .module-settings-grid {
        grid-template-columns: 1fr;
    }
}


/* Remove legacy settings-card expand indicator */
.module-settings-head::after {
    display: none !important;
}


/* =========================================================
   STRYDE MODULE SETTINGS - CLEAN LAYOUT
   ========================================================= */

.module-expandable {
    overflow: hidden;
}

/* Module header */
.module-expandable .module-card-toggle {
    min-height: 88px;
    padding: 4px 0;
}

.module-expandable .module-icon {
    flex: 0 0 auto;
}

.module-expandable .module-content {
    min-width: 0;
    flex: 1;
}

.module-expandable .module-head {
    width: 100%;
    align-items: center;
}

.module-expandable .module-head-right {
    flex: 0 0 auto;
    margin-left: auto;
}

/* Expanded area */
.module-expandable .module-expand-content {
    margin-top: 20px;
    padding: 28px 0 4px;
    border-top: 1px solid rgba(255,255,255,.08);
}

/* Activate / deactivate */
.module-expandable .module-module-action {
    margin: 0 0 30px;
    display: flex;
    justify-content: flex-start;
}

/* Settings container */
.module-expandable .module-settings-inner {
    width: 100%;
    max-width: none;
    padding: 0;
}

/* Settings heading */
.module-expandable .module-settings-head {
    margin: 0 0 26px;
}

.module-expandable .module-settings-head .eyebrow {
    display: block;
    margin-bottom: 8px;
}

.module-expandable .module-settings-head h3 {
    margin: 0 0 7px;
}

.module-expandable .module-settings-head p {
    margin: 0;
}

/* Form grid */
.module-expandable .module-settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px 24px;
    width: 100%;
}

/* Every setting becomes a proper vertical field */
.module-expandable .module-settings-grid > div {
    min-width: 0;
}

.module-expandable .module-settings-grid label {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

/* Full width fields */
.module-expandable .module-setting-full {
    grid-column: 1 / -1;
}

/* Inputs */
.module-expandable .module-settings-grid input[type="text"],
.module-expandable .module-settings-grid select,
.module-expandable .module-settings-grid textarea {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
}

/* Textarea */
.module-expandable .module-settings-grid textarea {
    min-height: 130px;
    resize: vertical;
}

/* Channel hint */
.module-expandable .module-settings-grid small {
    display: block;
    margin-top: 7px;
    line-height: 1.45;
    opacity: .65;
}

/* Color picker */
.module-expandable .module-color-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.module-expandable .module-color-row input[type="color"] {
    width: 54px;
    height: 44px;
    padding: 4px;
    box-sizing: border-box;
    cursor: pointer;
}

.module-expandable .module-color-row input[type="text"] {
    width: 100%;
}

/* Save button */
.module-expandable .module-settings-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.07);
}

/* Mobile */
@media (max-width: 760px) {

    .module-expandable .module-settings-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .module-expandable .module-setting-full {
        grid-column: auto;
    }

    .module-expandable .module-card-toggle {
        min-height: 76px;
    }

    .module-expandable .module-head-right {
        gap: 8px;
    }

    .module-expandable .module-settings-actions {
        justify-content: stretch;
    }

    .module-expandable .module-settings-actions .module-action {
        width: 100%;
    }
}


/* =========================================================
   STRYDE - DARK FORM CONTROLS
   ========================================================= */

.module-expandable .module-settings-grid input[type="text"],
.module-expandable .module-settings-grid select,
.module-expandable .module-settings-grid textarea {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    box-sizing: border-box;

    background: #071522;
    background-color: #071522;

    color: #e8f1f8;

    border: 1px solid #1a3a50;
    border-radius: 10px;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color .18s ease,
        background-color .18s ease,
        box-shadow .18s ease;
}

/* Text inputs */
.module-expandable .module-settings-grid input[type="text"] {
    height: 46px;
    padding: 0 14px;
}

/* Select */
.module-expandable .module-settings-grid select {
    height: 46px;
    padding: 0 42px 0 14px;

    cursor: pointer;

    background-image:
        linear-gradient(45deg, transparent 50%, #6f8ca0 50%),
        linear-gradient(135deg, #6f8ca0 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 20px,
        calc(100% - 13px) 20px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

/* Dropdown options */
.module-expandable .module-settings-grid select option {
    background: #071522;
    color: #e8f1f8;
}

/* Textarea */
.module-expandable .module-settings-grid textarea {
    min-height: 130px;
    padding: 13px 14px;
    line-height: 1.55;

    resize: vertical;
}

/* Placeholder */
.module-expandable .module-settings-grid input::placeholder,
.module-expandable .module-settings-grid textarea::placeholder {
    color: #61798a;
}

/* Hover */
.module-expandable .module-settings-grid input[type="text"]:hover,
.module-expandable .module-settings-grid select:hover,
.module-expandable .module-settings-grid textarea:hover {
    border-color: #28536d;
    background-color: #091b2a;
}

/* Focus */
.module-expandable .module-settings-grid input[type="text"]:focus,
.module-expandable .module-settings-grid select:focus,
.module-expandable .module-settings-grid textarea:focus {
    border-color: #159bd7;
    background-color: #081a29;

    box-shadow:
        0 0 0 3px rgba(21, 155, 215, .10),
        0 0 18px rgba(21, 155, 215, .06);
}

/* Color picker */
.module-expandable .module-color-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
}

.module-expandable .module-color-row input[type="color"] {
    width: 54px;
    height: 46px;

    padding: 5px;

    background: #071522;
    border: 1px solid #1a3a50;
    border-radius: 10px;

    cursor: pointer;
    box-sizing: border-box;
}

.module-expandable .module-color-row input[type="color"]:hover {
    border-color: #28536d;
}

.module-expandable .module-color-row input[type="color"]:focus {
    outline: none;
    border-color: #159bd7;
    box-shadow: 0 0 0 3px rgba(21, 155, 215, .10);
}

/* Dark browser controls */
.module-expandable {
    color-scheme: dark;
}


/* Expand / collapse must respect the HTML hidden attribute */
.module-expandable .module-expand-content[hidden] {
    display: none !important;
}

.module-expandable .module-expand-content:not([hidden]) {
    display: block;
}


/* =========================================================
   STRYDE ADMIN CONTROL CENTER
   ========================================================= */

.admin-page {
    background: #050b11;
}

/* Main admin content */
.admin-page .app {
    min-height: 100vh;
}

.admin-page main,
.admin-page .main,
.admin-page .content {
    min-width: 0;
}

/* Page intro */
.admin-page .page-intro {
    margin-bottom: 28px;
}

.admin-page .page-intro h2 {
    margin: 6px 0 8px;
}

.admin-page .page-intro p {
    max-width: 720px;
    margin: 0;
    color: #7f96a8;
    line-height: 1.6;
}

/* =========================================================
   DASHBOARD GRID
   ========================================================= */

.admin-page .admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 24px;
}

.admin-page .admin-tile {
    display: flex;
    align-items: center;
    gap: 16px;

    min-height: 104px;
    padding: 20px;

    box-sizing: border-box;

    text-decoration: none;
    color: inherit;

    background:
        linear-gradient(
            145deg,
            rgba(16, 35, 49, .92),
            rgba(7, 18, 27, .96)
        );

    border: 1px solid rgba(83, 123, 148, .16);
    border-radius: 14px;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.admin-page .admin-tile:hover {
    transform: translateY(-2px);

    border-color: rgba(21, 155, 215, .42);

    background:
        linear-gradient(
            145deg,
            rgba(19, 42, 58, .98),
            rgba(8, 21, 31, .98)
        );

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .22);
}

.admin-page .admin-tile-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(21, 155, 215, .09);
    border: 1px solid rgba(21, 155, 215, .14);

    font-size: 20px;
}

.admin-page .admin-tile strong {
    display: block;

    color: #edf5fa;
    font-size: 15px;
    font-weight: 700;
}

.admin-page .admin-tile small {
    display: block;
    margin-top: 6px;

    color: #718b9d;
    font-size: 12px;
}

/* =========================================================
   CARDS
   ========================================================= */

.admin-page .card {
    width: 100%;
    box-sizing: border-box;

    margin-bottom: 20px;
    padding: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(13, 29, 41, .96),
            rgba(6, 16, 24, .98)
        );

    border: 1px solid rgba(83, 123, 148, .16);
    border-radius: 14px;

    box-shadow:
        0 8px 28px rgba(0, 0, 0, .14);
}

.admin-page .card:last-child {
    margin-bottom: 0;
}

.admin-page .card .label {
    margin-bottom: 16px;

    color: #7f9aac;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

/* =========================================================
   TEAM / INLINE FORMS
   ========================================================= */

.admin-page .admin-inline-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px auto;
    gap: 12px;
    align-items: center;

    width: 100%;
}

.admin-page .admin-inline-form input,
.admin-page .admin-inline-form select {
    width: 100%;
    min-width: 0;
    height: 44px;

    box-sizing: border-box;

    padding: 0 13px;

    color: #e8f1f8;
    background: #071522;

    border: 1px solid #1a3a50;
    border-radius: 9px;

    outline: none;

    font: inherit;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.admin-page .admin-inline-form input:hover,
.admin-page .admin-inline-form select:hover {
    border-color: #28536d;
    background: #091b2a;
}

.admin-page .admin-inline-form input:focus,
.admin-page .admin-inline-form select:focus {
    border-color: #159bd7;
    background: #081a29;

    box-shadow:
        0 0 0 3px rgba(21, 155, 215, .10);
}

.admin-page .admin-inline-form .btn {
    height: 44px;
    white-space: nowrap;
}

/* =========================================================
   TABLES
   ========================================================= */

.admin-page .admin-table-wrap {
    width: 100%;
    overflow-x: auto;

    border: 1px solid rgba(83, 123, 148, .13);
    border-radius: 10px;
}

.admin-page .admin-table {
    width: 100%;
    min-width: 680px;

    border-collapse: collapse;
    border-spacing: 0;
}

.admin-page .admin-table thead {
    background: rgba(255,255,255,.025);
}

.admin-page .admin-table th {
    padding: 13px 16px;

    color: #718b9d;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;

    text-align: left;

    border-bottom: 1px solid rgba(83, 123, 148, .13);
}

.admin-page .admin-table td {
    padding: 16px;

    color: #dbe7ee;
    font-size: 13px;

    border-bottom: 1px solid rgba(83, 123, 148, .09);
}

.admin-page .admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-page .admin-table tbody tr {
    transition: background .15s ease;
}

.admin-page .admin-table tbody tr:hover {
    background: rgba(21, 155, 215, .035);
}

.admin-page .admin-table td strong {
    color: #edf5fa;
    font-weight: 700;
}

/* =========================================================
   ADMIN BUTTONS
   ========================================================= */

.admin-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 16px;

    border-radius: 9px;

    border: 1px solid rgba(83, 123, 148, .22);

    color: #dceaf2;
    background: #0b1d2a;

    font: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.admin-page .btn:hover {
    transform: translateY(-1px);
    background: #102a3a;
    border-color: rgba(21, 155, 215, .35);
}

.admin-page .btn.primary {
    color: #ffffff;
    background: #087db0;
    border-color: #159bd7;
}

.admin-page .btn.primary:hover {
    background: #0991c9;
    border-color: #24aee4;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .admin-page .admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-page .admin-inline-form {
        grid-template-columns: minmax(0, 1fr) minmax(160px, .5fr);
    }

    .admin-page .admin-inline-form .btn {
        grid-column: 1 / -1;
        width: fit-content;
    }
}

@media (max-width: 700px) {
    .admin-page .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-page .card {
        padding: 18px;
    }

    .admin-page .admin-inline-form {
        grid-template-columns: 1fr;
    }

    .admin-page .admin-inline-form .btn {
        grid-column: auto;
        width: 100%;
    }
}

.public-body {
    margin: 0;
    min-height: 100vh;
    color: var(--stryde-text);
    background:
        radial-gradient(circle at 10% 0%, rgba(88,101,242,.18), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(139,92,246,.12), transparent 28%),
        linear-gradient(180deg, #05070c 0%, #070a10 48%, #05070c 100%);
    overflow-x: hidden;
}

.public-site {
    min-height: 100vh;
}

.public-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: rgba(5,7,12,.72);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -.8px;
}

.public-brand img {
    width: 39px;
    height: 39px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(88,101,242,.42));
}

.public-brand > span > span,
.public-footer-brand strong > span {
    color: var(--stryde-cyan);
}

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

.public-nav-links a {
    color: #aeb7c8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .2s ease;
}

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

.public-nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.language-switch {
    display: inline-flex;
    padding: 4px;
    gap: 2px;
    border: 1px solid var(--stryde-border);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
}

.language-switch a {
    min-width: 34px;
    padding: 7px 8px;
    text-align: center;
    color: #778195;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    border-radius: 8px;
    transition: .2s ease;
}

.language-switch a.active,
.language-switch a:hover {
    color: #fff;
    background: rgba(88,101,242,.24);
}

.public-login-btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 12px;
}

.public-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    padding: 80px 20px 100px;
}

.public-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.public-hero-grid {
    position: relative;
    z-index: 2;
    width: min(1240px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 70px;
    align-items: center;
}

.public-hero-copy {
    position: relative;
    z-index: 3;
}

.public-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(124,140,255,.22);
    border-radius: 999px;
    background: rgba(88,101,242,.08);
    color: #b9c2ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.public-pill span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--stryde-green);
    box-shadow: 0 0 14px rgba(69,229,154,.8);
}

.public-hero h1 {
    max-width: 760px;
    margin: 24px 0 22px;
    font-size: clamp(58px, 7vw, 104px);
    line-height: .91;
    letter-spacing: -5px;
    font-weight: 950;
}

.public-hero h1 span {
    display: block;
    background: linear-gradient(110deg, #fff 0%, #9ba8ff 48%, #7c8cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.public-hero-copy > p {
    max-width: 630px;
    margin: 0;
    color: #8f99ac;
    font-size: 17px;
    line-height: 1.75;
}

.public-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

.public-main-cta {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 14px;
}

.public-secondary-cta {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 14px;
}

.public-trust {
    display: flex;
    gap: 34px;
    margin-top: 55px;
}

.public-trust > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.public-trust strong {
    font-size: 18px;
    letter-spacing: -.5px;
}

.public-trust span {
    color: #687387;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

.public-hero-visual {
    position: relative;
    height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-hero-visual::before {
    content: "";
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: rgba(88,101,242,.18);
    filter: blur(100px);
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(124,140,255,.12);
    border-radius: 50%;
}

.orbit-one {
    width: 510px;
    height: 510px;
    animation: strydeSpin 26s linear infinite;
}

.orbit-two {
    width: 390px;
    height: 390px;
    animation: strydeSpinReverse 19s linear infinite;
}

@keyframes strydeSpin {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

@keyframes strydeSpinReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0); }
}

.public-logo-card {
    position: relative;
    z-index: 5;
    width: 285px;
    height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 38px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.025)),
        rgba(8,11,18,.8);
    box-shadow:
        0 45px 100px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(24px);
}

.public-logo-glow {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(88,101,242,.35);
    filter: blur(65px);
}

.public-logo-card img {
    position: relative;
    z-index: 2;
    width: 112px;
    height: 112px;
    object-fit: contain;
    filter: drop-shadow(0 0 35px rgba(88,101,242,.75));
}

.public-logo-word {
    position: relative;
    z-index: 2;
    margin-top: 24px;
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -1px;
}

.public-logo-word span {
    color: var(--stryde-cyan);
}

.public-logo-card small {
    position: relative;
    z-index: 2;
    margin-top: 8px;
    color: #687387;
    font-size: 8px;
    letter-spacing: 2px;
    font-weight: 900;
}

.floating-card {
    position: absolute;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 15px;
    background: rgba(11,15,24,.88);
    box-shadow: 0 22px 55px rgba(0,0,0,.35);
    backdrop-filter: blur(18px);
}

.floating-card > span {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(88,101,242,.15);
    color: #aab4ff;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 11px;
}

.floating-card small {
    margin-top: 3px;
    color: #6e788b;
    font-size: 9px;
}

.floating-card b {
    margin-left: 12px;
    color: var(--stryde-green);
    font-size: 9px;
}

.floating-card-one {
    top: 74px;
    right: -10px;
}

.floating-card-two {
    bottom: 88px;
    left: -4px;
}

.public-section {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 115px 0;
}

.public-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: end;
    margin-bottom: 48px;
}

.public-section-heading.centered {
    display: block;
    text-align: center;
}

.public-section-heading h2 {
    margin: 10px 0 0;
    font-size: clamp(35px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -2.5px;
}

.public-section-heading p {
    max-width: 500px;
    margin: 0;
    color: #778195;
    line-height: 1.7;
}

.public-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.public-feature-card {
    position: relative;
    min-height: 280px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--stryde-border);
    border-radius: var(--stryde-radius);
    background:
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015)),
        rgba(9,12,19,.75);
    transition: .25s ease;
}

.public-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124,140,255,.25);
    box-shadow: 0 28px 70px rgba(0,0,0,.3);
}

.public-feature-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -75px;
    bottom: -75px;
    border-radius: 50%;
    background: rgba(88,101,242,.13);
    filter: blur(35px);
}

.public-feature-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 42px;
    border-radius: 15px;
    background: rgba(88,101,242,.11);
    color: #a9b3ff;
    font-size: 20px;
}

.public-feature-card > span {
    position: absolute;
    top: 28px;
    right: 28px;
    color: #4d5769;
    font-size: 10px;
    font-weight: 900;
}

.public-feature-card h3 {
    margin: 0 0 11px;
    font-size: 19px;
}

.public-feature-card p {
    margin: 0;
    color: #717c90;
    font-size: 13px;
    line-height: 1.7;
}

.public-module-section {
    width: 100%;
    max-width: none;
    padding-left: max(20px, calc((100% - 1240px) / 2));
    padding-right: max(20px, calc((100% - 1240px) / 2));
    background: rgba(255,255,255,.015);
    border-top: 1px solid rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.public-module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.public-module {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--stryde-border);
    border-radius: 18px;
    background: rgba(255,255,255,.025);
}

.public-module > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 13px;
    background: rgba(88,101,242,.1);
    font-size: 19px;
}

.public-module strong,
.public-module small {
    display: block;
}

.public-module strong {
    font-size: 13px;
}

.public-module small {
    margin-top: 5px;
    color: #687387;
    font-size: 10px;
}

.public-pricing-grid {
    width: min(880px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pricing-card {
    position: relative;
    padding: 34px;
    border: 1px solid var(--stryde-border);
    border-radius: 27px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015)),
        rgba(9,12,19,.8);
}

.pricing-card-pro {
    border-color: rgba(88,101,242,.35);
    box-shadow: 0 35px 90px rgba(41,49,130,.18);
}

.pricing-popular {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 9px;
    border-radius: 8px;
    background: rgba(88,101,242,.15);
    color: #aeb8ff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.pricing-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-label {
    color: #8791a5;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.pricing-symbol {
    color: #414a5b;
    font-size: 10px;
    font-weight: 900;
}

.pricing-card h3 {
    margin: 25px 0 9px;
    font-size: 32px;
    letter-spacing: -1px;
}

.pricing-card > p {
    margin: 0;
    min-height: 48px;
    color: #778195;
    font-size: 13px;
    line-height: 1.65;
}

.pricing-price {
    margin: 28px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.pricing-price strong {
    display: block;
    font-size: 36px;
    letter-spacing: -1px;
}

.pricing-price span {
    display: block;
    margin-top: 5px;
    color: #687387;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card ul {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.pricing-card li {
    position: relative;
    margin: 11px 0;
    padding-left: 21px;
    color: #a4adbd;
    font-size: 12px;
}

.pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--stryde-green);
    font-weight: 900;
}

.pricing-btn {
    width: 100%;
    justify-content: center;
}

.pricing-note {
    margin: 22px auto 0;
    text-align: center;
    color: #596477;
    font-size: 10px;
}

.public-cta-section {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 80px 0 110px;
}

.public-cta-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 52px;
    overflow: hidden;
    border: 1px solid rgba(124,140,255,.2);
    border-radius: 30px;
    background:
        radial-gradient(circle at 90% 20%, rgba(88,101,242,.2), transparent 35%),
        linear-gradient(135deg, rgba(88,101,242,.1), rgba(255,255,255,.025));
}

.public-cta-card h2 {
    margin: 9px 0 8px;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -2px;
}

.public-cta-card p {
    margin: 0;
    color: #788397;
}

.public-footer {
    width: min(1240px, calc(100% - 40px));
    min-height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,.06);
    color: #505a6c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.public-footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #a7afbe;
    font-size: 13px;
}

.public-footer-brand img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.public-footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.public-footer-right > a {
    color: #687387;
    text-decoration: none;
}

.public-footer-right > a:hover {
    color: #fff;
}


/* ==========================================================================
   STRYDE 2.0 — AUTHENTICATED TOPBAR LANGUAGE
   ========================================================================== */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-language {
    display: inline-flex;
    gap: 3px;
    padding: 4px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
}

.topbar-language a {
    min-width: 30px;
    padding: 6px 5px;
    color: #667084;
    text-align: center;
    text-decoration: none;
    font-size: 9px;
    font-weight: 900;
    border-radius: 7px;
}

.topbar-language a.active,
.topbar-language a:hover {
    color: #fff;
    background: rgba(88,101,242,.2);
}

.sidebar-language {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 8px 0 22px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
}

.sidebar-language span {
    flex: 1;
    padding-left: 5px;
    color: #505a6c;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.sidebar-language a {
    min-width: 28px;
    padding: 6px 4px;
    border-radius: 6px;
    color: #626d80;
    text-decoration: none;
    text-align: center;
    font-size: 8px;
    font-weight: 900;
}

.sidebar-language a.active,
.sidebar-language a:hover {
    color: #fff;
    background: rgba(88,101,242,.2);
}


/* ==========================================================================
   STRYDE 2.0 — RESPONSIVE
   ========================================================================== */

@media (max-width: 1050px) {
    .public-nav-links {
        display: none;
    }

    .public-hero-grid {
        grid-template-columns: 1fr;
    }

    .public-hero {
        padding-top: 55px;
    }

    .public-hero-visual {
        height: 460px;
    }

    .public-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .public-module-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .public-nav {
        width: calc(100% - 24px);
        min-height: 70px;
    }

    .public-brand {
        font-size: 19px;
    }

    .public-nav-actions .public-login-btn {
        display: none;
    }

    .public-hero {
        min-height: auto;
        padding: 65px 12px 80px;
    }

    .public-hero-grid {
        gap: 35px;
    }

    .public-hero h1 {
        font-size: clamp(48px, 15vw, 76px);
        letter-spacing: -3px;
    }

    .public-hero-copy > p {
        font-size: 15px;
    }

    .public-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .public-main-cta,
    .public-secondary-cta {
        justify-content: center;
    }

    .public-trust {
        gap: 18px;
        justify-content: space-between;
    }

    .public-trust span {
        font-size: 8px;
    }

    .public-hero-visual {
        height: 390px;
    }

    .public-logo-card {
        width: 235px;
        height: 280px;
    }

    .public-logo-card img {
        width: 88px;
        height: 88px;
    }

    .orbit-one {
        width: 350px;
        height: 350px;
    }

    .orbit-two {
        width: 280px;
        height: 280px;
    }

    .floating-card-one {
        top: 20px;
        right: 0;
    }

    .floating-card-two {
        bottom: 15px;
        left: 0;
    }

    .public-section,
    .public-cta-section {
        width: calc(100% - 24px);
        padding: 75px 0;
    }

    .public-section-heading {
        display: block;
    }

    .public-section-heading p {
        margin-top: 18px;
    }

    .public-feature-grid,
    .public-module-grid,
    .public-pricing-grid {
        grid-template-columns: 1fr;
    }

    .public-feature-card {
        min-height: 230px;
    }

    .public-module-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .public-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
    }

    .public-footer {
        width: calc(100% - 24px);
        padding: 22px 0;
        flex-wrap: wrap;
    }

    .public-footer > span {
        display: none;
    }

    .public-footer-right {
        margin-left: auto;
    }

    .topbar-language {
        display: none;
    }
}


/* =========================================================
   STRYDE PUBLIC — HERO / CONTRAST FIX
   ========================================================= */

.public-body {
    color: #e8edf7;
}

.public-nav-links a {
    color: #aeb8cc;
}

.public-nav-links a:hover {
    color: #ffffff;
}

.public-login-btn {
    color: #dfe7f5;
}

.public-hero h1 {
    color: #f4f7ff;
}

.public-hero h1 span {
    color: #9aa8ff;
}

.public-hero-copy > p {
    color: #9aa5ba;
}

.public-hero-copy > p + p {
    color: #7f8ca3;
}

.public-hero-actions {
    color: #e8edf7;
}

.public-main-cta {
    color: #ffffff;
}

.public-hero-visual {
    color: #eef3ff;
}

.public-hero-visual strong,
.public-hero-visual h3 {
    color: #f5f7ff;
}

.public-hero-visual small,
.public-hero-visual span {
    color: #8995aa;
}

.public-hero-stats {
    color: #e8edf7;
}

.public-hero-stats strong {
    color: #f4f7ff;
}

.public-hero-stats span {
    color: #7f8ca3;
}

