:root {
    --bg: #030812;
    --bg-soft: #071120;
    --panel: rgba(12, 22, 39, 0.9);
    --panel-solid: #0d1728;
    --panel-2: #111c30;
    --line: rgba(132, 164, 214, 0.2);
    --line-bright: rgba(34, 223, 238, 0.48);
    --cyan: #08d3de;
    --cyan-light: #72f7ff;
    --blue: #0876ff;
    --text: #f5f8ff;
    --muted: #a9b7cf;
    --green: #31e48b;
    --danger: #ff6273;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
    --radius: 22px;
    --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 11% 7%, rgba(0, 105, 255, 0.2), transparent 31rem),
        radial-gradient(circle at 88% 30%, rgba(0, 227, 239, 0.1), transparent 30rem),
        linear-gradient(180deg, #020610 0%, var(--bg) 44%, #07101d 100%);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .17;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.container { width: min(calc(100% - 38px), var(--max)); margin-inline: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid rgba(132, 164, 214, .15);
    background: rgba(2, 7, 17, .84);
    backdrop-filter: blur(18px);
}
.nav {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 225px; height: auto; }
.nav-toggle {
    display: none;
    width: 44px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #fff;
    background: var(--panel-solid);
    cursor: pointer;
}
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.nav-links a {
    padding: 11px 15px;
    color: #c8d3e7;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 750;
    text-decoration: none;
    transition: .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; background: rgba(255,255,255,.07); }
.nav-links .login-link {
    margin-left: 5px;
    color: #031017;
    background: linear-gradient(135deg, var(--cyan-light), var(--cyan));
    box-shadow: 0 10px 28px rgba(0, 217, 229, .2);
}
.nav-links .login-link:hover { color: #031017; background: linear-gradient(135deg, #a8fbff, #10dce7); transform: translateY(-1px); }

.hero { position: relative; padding: 76px 0 60px; isolation: isolate; }
.hero::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    top: 20px;
    right: -220px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 111, 255, .26), transparent 67%);
    filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .95fr); gap: 58px; align-items: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    padding: 8px 13px;
    border: 1px solid rgba(35, 221, 235, .31);
    border-radius: 999px;
    color: var(--cyan-light);
    background: rgba(10, 191, 206, .08);
    font-size: .79rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(2.8rem, 5.5vw, 5.7rem); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.gradient-text { color: transparent; background: linear-gradient(100deg, #fff 6%, #69f5ff 48%, #1682ff 92%); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 690px; margin-bottom: 27px; color: #b9c6da; font-size: clamp(1.03rem, 1.5vw, 1.23rem); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(15, 28, 49, .76); color: #dce7f8; font-size: .86rem; font-weight: 650; }
.pill::before { content: "✓"; color: var(--green); font-weight: 900; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: .93rem;
    font-weight: 850;
    letter-spacing: .035em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s ease;
}
.btn-primary { color: #031017; background: linear-gradient(135deg, var(--cyan-light), var(--cyan)); box-shadow: 0 14px 35px rgba(0, 214, 226, .22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 214, 226, .3); }
.btn-secondary { color: #eef5ff; border-color: var(--line); background: rgba(14, 25, 43, .76); }
.btn-secondary:hover { border-color: var(--line-bright); background: rgba(16, 31, 53, .95); transform: translateY(-2px); }
.btn-muted { color: #fff; background: #303b51; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.visual-ring { position: absolute; width: 460px; height: 460px; border: 1px solid rgba(57, 220, 255, .2); border-radius: 50%; box-shadow: 0 0 80px rgba(0, 112, 255, .18), inset 0 0 60px rgba(0, 166, 255, .08); }
.software-icon { position: relative; z-index: 2; width: min(100%, 490px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.version-badge { position: absolute; right: 2%; bottom: 8%; z-index: 3; padding: 12px 16px; border: 1px solid rgba(92, 242, 255, .36); border-radius: 13px; background: rgba(4, 14, 28, .89); box-shadow: var(--shadow); color: #dffcff; font-size: .84rem; font-weight: 750; backdrop-filter: blur(12px); }
.version-badge strong { display: block; color: var(--cyan-light); font-size: 1rem; }

.trust-strip { padding: 0 0 34px; }
.trust-panel { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 17px; background: rgba(12, 22, 39, .7); overflow: hidden; }
.trust-item { padding: 22px 20px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 4px; color: #fff; font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .84rem; }

.section { padding: 82px 0; }
.section-soft { border-block: 1px solid rgba(132, 164, 214, .11); background: rgba(6, 14, 27, .48); }
.section-heading { max-width: 770px; margin: 0 auto 42px; text-align: center; }
.kicker { margin-bottom: 10px; color: var(--cyan); font-size: .8rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.06; letter-spacing: -.035em; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 230px; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(17, 30, 50, .92), rgba(9, 18, 33, .92)); box-shadow: 0 18px 45px rgba(0,0,0,.18); transition: .22s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--line-bright); box-shadow: 0 24px 55px rgba(0,0,0,.3); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid rgba(71, 234, 244, .29); border-radius: 13px; color: var(--cyan-light); background: rgba(0, 209, 221, .09); font-size: 1.35rem; font-weight: 900; }
.feature-card h3 { margin-bottom: 9px; font-size: 1.16rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .93rem; }

.showcase { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.showcase-copy p { color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 25px 0 30px; }
.check-item { display: flex; gap: 11px; color: #d9e5f8; }
.check-item::before { content: "✓"; flex: 0 0 auto; width: 23px; height: 23px; display: grid; place-items: center; margin-top: 1px; border-radius: 50%; color: #02130d; background: var(--green); font-size: .78rem; font-weight: 900; }
.screen-frame { padding: 10px; border: 1px solid rgba(73, 223, 255, .28); border-radius: 20px; background: #050b16; box-shadow: var(--shadow), 0 0 50px rgba(0, 98, 255, .12); }
.screen-frame img { border-radius: 12px; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-solid); box-shadow: 0 20px 55px rgba(0,0,0,.22); }
.gallery-card img { width: 100%; aspect-ratio: 16 / 9.7; object-fit: cover; object-position: top center; transition: .32s ease; }
.gallery-card:hover img { transform: scale(1.015); }
.gallery-caption { padding: 17px 19px; }
.gallery-caption strong { display: block; margin-bottom: 3px; }
.gallery-caption span { color: var(--muted); font-size: .88rem; }

.cta { padding: 72px 0 86px; }
.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; padding: 42px; border: 1px solid rgba(71, 228, 244, .32); border-radius: 24px; background: linear-gradient(120deg, rgba(10, 28, 52, .96), rgba(7, 17, 33, .96)); box-shadow: var(--shadow); }
.cta-panel::before { content: ""; position: absolute; width: 380px; height: 380px; right: -130px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 190, 255, .24), transparent 67%); }
.cta-panel h2 { max-width: 750px; margin-bottom: 10px; }
.cta-panel p { margin: 0; color: var(--muted); }
.cta-panel .actions { position: relative; z-index: 2; }

.banner-wrap { padding-top: 18px; }
.banner { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #050b15; box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.banner img { width: 100%; }

.site-footer { padding: 34px 0; border-top: 1px solid rgba(132, 164, 214, .14); color: var(--muted); background: rgba(2, 7, 16, .7); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-brand img { width: 190px; opacity: .9; }
.footer-copy { text-align: right; font-size: .84rem; }

.auth-page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.auth-main { display: grid; place-items: center; padding: 55px 19px; }
.auth-card { width: min(100%, 520px); padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: rgba(12, 22, 39, .92); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.auth-logo { width: 250px; margin: 0 auto 25px; }
.auth-card h1 { margin-bottom: 10px; font-size: clamp(2rem, 7vw, 3rem); text-align: center; }
.auth-subtitle { margin-bottom: 28px; color: var(--muted); text-align: center; }
.form-row { margin-bottom: 17px; }
.form-row label { display: block; margin-bottom: 7px; color: #dce7f7; font-size: .88rem; font-weight: 700; }
.form-control { width: 100%; height: 50px; padding: 0 14px; border: 1px solid rgba(132, 164, 214, .27); border-radius: 10px; outline: 0; color: #fff; background: #0a1424; transition: .2s ease; }
.form-control:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(8, 211, 222, .12); }
.auth-card .btn { width: 100%; }
.alert { margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; font-size: .9rem; }
.alert-error { border: 1px solid rgba(255, 98, 115, .36); color: #ffd9de; background: rgba(255, 98, 115, .09); }
.alert-success { border: 1px solid rgba(49, 228, 139, .36); color: #d6ffeb; background: rgba(49, 228, 139, .09); }
.auth-back { margin-top: 20px; text-align: center; }
.auth-back a { color: var(--cyan-light); text-decoration: none; }

.dashboard { min-height: calc(100vh - 180px); padding: 70px 0; }
.dashboard-panel { padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); }
.dashboard-panel h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.dashboard-panel p { color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 30px; }
.dashboard-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel-2); }
.dashboard-card h3 { margin-bottom: 8px; }
.dashboard-card p { margin-bottom: 0; font-size: .9rem; }

@media (max-width: 1040px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 850px; }
    .hero-visual { min-height: 460px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase { grid-template-columns: 1fr; }
    .showcase-copy { max-width: 820px; }
    .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .nav-toggle { display: grid; place-items: center; }
    .nav-links { position: absolute; top: 80px; left: 19px; right: 19px; display: none; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(6, 14, 27, .98); box-shadow: var(--shadow); }
    .nav-links.open { display: grid; }
    .nav-links a { width: 100%; text-align: center; }
    .nav-links .login-link { margin-left: 0; }
    .trust-panel { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: 0; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .gallery-grid { grid-template-columns: 1fr; }
    .cta-panel { grid-template-columns: 1fr; }
    .footer-grid { align-items: flex-start; flex-direction: column; }
    .footer-copy { text-align: left; }
}
@media (max-width: 620px) {
    .container { width: min(calc(100% - 28px), var(--max)); }
    .brand img { width: 190px; }
    .hero { padding-top: 50px; }
    h1 { font-size: clamp(2.55rem, 15vw, 4rem); }
    .hero-visual { min-height: 350px; }
    .visual-ring { width: 330px; height: 330px; }
    .version-badge { right: 0; bottom: 3%; }
    .trust-panel, .feature-grid { grid-template-columns: 1fr; }
    .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-item:last-child { border-bottom: 0; }
    .section { padding: 64px 0; }
    .feature-card { min-height: 0; }
    .cta-panel, .auth-card, .dashboard-panel { padding: 26px 21px; }
    .actions .btn { width: 100%; }
}

/* Login-only homepage */
.login-homepage {
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 8%, rgba(0, 119, 255, .24), transparent 34rem),
        radial-gradient(circle at 50% 94%, rgba(0, 220, 238, .12), transparent 28rem),
        linear-gradient(180deg, #020610 0%, #040b17 54%, #07101d 100%);
}
.login-homepage::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0 42%, rgba(0, 145, 255, .035) 50%, transparent 58% 100%);
}
.login-home-main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 18px;
}
.login-home-card {
    position: relative;
    width: min(100%, 480px);
    padding: 39px 40px 27px;
    overflow: hidden;
    border: 1px solid rgba(113, 166, 237, .24);
    border-radius: 24px;
    background: linear-gradient(150deg, rgba(14, 26, 45, .96), rgba(7, 15, 29, .98));
    box-shadow:
        0 34px 90px rgba(0, 0, 0, .58),
        0 0 55px rgba(0, 105, 255, .12),
        inset 0 1px 0 rgba(255, 255, 255, .04);
}
.login-home-card::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 160px;
    left: 50%;
    top: -115px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(0, 146, 255, .23);
    filter: blur(48px);
}
.login-logo-wrap {
    position: relative;
    margin: -2px auto 25px;
}
.login-home-logo {
    width: min(100%, 315px);
    margin: 0 auto;
    filter: drop-shadow(0 12px 22px rgba(0, 74, 255, .3));
}
.login-home-card h1 {
    margin: 0 0 7px;
    color: #fff;
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    line-height: 1.12;
    text-align: center;
    letter-spacing: -.025em;
}
.login-home-subtitle {
    margin: 0 0 27px;
    color: var(--muted);
    font-size: .95rem;
    text-align: center;
}
.login-home-card .form-row {
    margin-bottom: 16px;
}
.login-home-card .form-control {
    height: 52px;
    background: rgba(3, 11, 23, .86);
}
.login-submit {
    width: 100%;
    height: 50px;
    margin-top: 4px;
    border: 0;
    cursor: pointer;
    letter-spacing: .05em;
}
.login-home-footer {
    margin-top: 25px;
    padding-top: 19px;
    border-top: 1px solid rgba(132, 164, 214, .14);
    color: #7889a4;
    font-size: .78rem;
    text-align: center;
}
@media (max-width: 560px) {
    .login-home-card {
        padding: 32px 23px 23px;
        border-radius: 20px;
    }
    .login-home-logo {
        width: min(100%, 270px);
    }
}

/* Protected software homepage */
.software-homepage,
.software-detail-page {
    min-height: 100vh;
}
.member-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}
.signed-in-label {
    color: #70829e;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .12em;
}
.logout-button,
.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 15px;
    border-radius: 10px;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-decoration: none;
    transition: .2s ease;
}
.logout-button {
    color: #061119;
    background: linear-gradient(135deg, var(--cyan-light), var(--cyan));
}
.logout-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 214, 226, .2);
}
.back-button {
    color: #dce8fa;
    border: 1px solid var(--line);
    background: rgba(13, 24, 42, .8);
}
.back-button:hover {
    border-color: var(--line-bright);
    background: rgba(17, 32, 54, .95);
}
.software-dashboard {
    min-height: calc(100vh - 174px);
    padding: 70px 0 88px;
}
.software-dashboard-heading {
    max-width: 760px;
    margin-bottom: 35px;
}
.software-dashboard-heading h1 {
    margin-bottom: 13px;
    font-size: clamp(2.7rem, 6vw, 5rem);
}
.software-dashboard-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
}
.software-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.software-product-card {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 520px;
    flex-direction: column;
    border: 1px solid rgba(89, 157, 238, .27);
    border-radius: 24px;
    color: inherit;
    background: linear-gradient(150deg, rgba(14, 27, 48, .97), rgba(7, 15, 29, .98));
    box-shadow: 0 26px 70px rgba(0, 0, 0, .35);
    text-decoration: none;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.software-product-card::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    top: -170px;
    right: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 116, 255, .34), transparent 68%);
}
.software-product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(80, 229, 247, .57);
    box-shadow: 0 34px 82px rgba(0, 0, 0, .48), 0 0 45px rgba(0, 112, 255, .12);
}
.software-product-image {
    position: relative;
    min-height: 320px;
    display: grid;
    place-items: center;
    padding: 30px 30px 5px;
}
.software-product-image::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(0, 105, 255, .14);
    filter: blur(35px);
}
.software-product-image img {
    position: relative;
    z-index: 2;
    width: min(100%, 310px);
    filter: drop-shadow(0 25px 30px rgba(0, 0, 0, .45));
    transition: transform .28s ease;
}
.software-product-card:hover .software-product-image img {
    transform: scale(1.025);
}
.software-product-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 27px 28px;
    border-top: 1px solid rgba(132, 164, 214, .15);
    background: rgba(5, 13, 26, .38);
}
.software-status {
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .12em;
}
.software-status.available {
    color: #05160e;
    background: var(--green);
    box-shadow: 0 0 18px rgba(49, 228, 139, .18);
}
.software-product-content h2 {
    margin-bottom: 10px;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
}
.software-product-content p {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: .94rem;
}
.software-open-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(132, 164, 214, .14);
    color: var(--cyan-light);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .075em;
}
.software-open-button span {
    font-size: 1.35rem;
    line-height: 1;
    transition: transform .2s ease;
}
.software-product-card:hover .software-open-button span {
    transform: translateX(5px);
}
.software-footer {
    margin-top: auto;
}

/* VY Cluster Programming detail page */
.product-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 76px;
}
.product-detail-hero::after {
    content: "";
    position: absolute;
    width: 680px;
    height: 680px;
    top: -170px;
    right: -220px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 107, 255, .26), transparent 68%);
}
.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .8fr);
    align-items: center;
    gap: 60px;
}
.product-detail-copy h1 {
    font-size: clamp(3rem, 6.5vw, 6.1rem);
}
.product-detail-intro {
    max-width: 760px;
    margin-bottom: 27px;
    color: #b9c6da;
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}
.product-detail-icon {
    position: relative;
    min-height: 500px;
    display: grid;
    place-items: center;
}
.product-detail-icon img {
    position: relative;
    z-index: 2;
    width: min(100%, 470px);
    filter: drop-shadow(0 30px 45px rgba(0, 0, 0, .5));
}
.product-icon-glow {
    position: absolute;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(80, 226, 249, .18);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 108, 255, .13), transparent 67%);
    box-shadow: 0 0 75px rgba(0, 104, 255, .14), inset 0 0 70px rgba(0, 166, 255, .05);
}
.product-main-screen {
    max-width: 1180px;
    margin: 0 auto 24px;
}
.product-gallery {
    margin-top: 24px;
}

@media (max-width: 1050px) {
    .software-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .product-detail-copy {
        max-width: 850px;
    }
    .product-detail-icon {
        min-height: 440px;
    }
}
@media (max-width: 720px) {
    .site-header .nav {
        min-height: 72px;
    }
    .member-nav {
        gap: 7px;
    }
    .signed-in-label {
        display: none;
    }
    .back-button {
        display: none;
    }
    .logout-button {
        min-height: 38px;
        padding: 8px 12px;
        font-size: .72rem;
    }
    .software-dashboard {
        padding: 48px 0 65px;
    }
    .software-product-grid {
        grid-template-columns: 1fr;
    }
    .software-product-card {
        min-height: 0;
    }
    .software-product-image {
        min-height: 280px;
    }
    .product-detail-hero {
        padding: 52px 0 62px;
    }
    .product-detail-icon {
        min-height: 340px;
    }
    .product-icon-glow {
        width: 290px;
        height: 290px;
    }
}

/* Protected programming menu */
.programming-dashboard-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.member-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.signed-in-user {
    color: #8393ad;
    font-size: .82rem;
}
.signed-in-user strong {
    color: #dce8fa;
    font-weight: 700;
}
.logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 17px;
    border: 1px solid rgba(73, 223, 255, .28);
    border-radius: 10px;
    color: #eaf9ff;
    background: rgba(14, 27, 48, .82);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-decoration: none;
    text-transform: uppercase;
    transition: .2s ease;
}
.logout-button:hover {
    border-color: rgba(85, 245, 255, .65);
    background: rgba(18, 39, 66, .95);
    transform: translateY(-1px);
}
.programming-dashboard {
    flex: 1;
    padding: 68px 0 86px;
}
.programming-intro {
    max-width: 850px;
    margin-bottom: 38px;
}
.programming-intro h1 {
    margin-bottom: 16px;
    font-size: clamp(2.55rem, 5.4vw, 5rem);
}
.programming-intro-copy {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.05rem;
}
.programming-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.program-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        linear-gradient(150deg, rgba(17, 30, 51, .96), rgba(7, 16, 30, .98));
    box-shadow: 0 22px 55px rgba(0, 0, 0, .24);
    color: inherit;
    text-decoration: none;
}
.program-card-featured {
    grid-column: span 2;
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(270px, .82fr) minmax(0, 1.18fr);
    align-items: center;
    border-color: rgba(42, 210, 239, .33);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, .42),
        0 0 55px rgba(0, 106, 255, .09);
}
.program-card-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    left: -120px;
    top: -110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 128, 255, .28), transparent 68%);
    pointer-events: none;
}
.program-card-image-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    align-self: stretch;
    min-height: 430px;
    padding: 28px 8px 28px 28px;
}
.program-card-image {
    width: min(100%, 355px);
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5));
    transition: transform .25s ease;
}
.program-card-featured:hover .program-card-image {
    transform: translateY(-4px) scale(1.01);
}
.program-card-content {
    position: relative;
    z-index: 2;
    padding: 42px 42px 42px 28px;
}
.program-card-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 19px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.program-card-status.available {
    padding: 7px 11px;
    border: 1px solid rgba(49, 228, 139, .32);
    color: #9ff8c9;
    background: rgba(49, 228, 139, .08);
}
.program-card-status.available span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
}
.program-card-type {
    margin-bottom: 7px;
    color: var(--cyan);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.program-card-featured h2 {
    margin-bottom: 15px;
    font-size: clamp(2rem, 3.5vw, 3.35rem);
}
.program-card-featured .program-card-content > p:not(.program-card-type) {
    max-width: 610px;
    color: var(--muted);
}
.program-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 26px;
}
.program-card-tags span {
    padding: 7px 10px;
    border: 1px solid rgba(132, 164, 214, .22);
    border-radius: 999px;
    color: #dbe7f8;
    background: rgba(12, 26, 46, .72);
    font-size: .76rem;
    font-weight: 700;
}
.program-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 19px;
    border-radius: 11px;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .045em;
}
.active-button {
    color: #021218;
    background: linear-gradient(135deg, var(--cyan-light), var(--cyan));
    box-shadow: 0 13px 30px rgba(0, 211, 222, .2);
}
.active-button span {
    margin-left: 10px;
    font-size: 1.15rem;
    transition: transform .2s ease;
}
.program-card-featured:hover .active-button span {
    transform: translateX(4px);
}
.program-card-coming-soon {
    min-height: 300px;
    padding: 26px;
    opacity: .86;
    transition: .22s ease;
}
.program-card-coming-soon:hover {
    opacity: 1;
    border-color: rgba(132, 164, 214, .34);
    transform: translateY(-3px);
}
.coming-soon-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid rgba(83, 159, 255, .28);
    border-radius: 17px;
    color: #82b6ff;
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 157, 255, .18), transparent 70%),
        rgba(11, 26, 46, .8);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .04em;
}
.program-card-status.coming-soon {
    margin-bottom: 17px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    color: #8f9db3;
    background: rgba(255, 255, 255, .035);
}
.program-card-coming-soon h3 {
    margin-bottom: 11px;
    font-size: 1.35rem;
}
.program-card-coming-soon > p:last-child {
    margin-bottom: 0;
    color: #8f9db3;
    font-size: .91rem;
}
.programming-footer {
    margin-top: auto;
}
@media (max-width: 1030px) {
    .programming-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .program-card-featured {
        grid-column: span 2;
    }
}
@media (max-width: 760px) {
    .signed-in-user {
        display: none;
    }
    .programming-dashboard {
        padding-top: 48px;
    }
    .programming-grid {
        grid-template-columns: 1fr;
    }
    .program-card-featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    .program-card-image-wrap {
        min-height: 0;
        padding: 28px 24px 0;
    }
    .program-card-image {
        width: min(100%, 330px);
    }
    .program-card-content {
        padding: 25px 25px 31px;
    }
    .program-card-featured h2 {
        font-size: clamp(1.9rem, 9vw, 2.7rem);
    }
}
@media (max-width: 500px) {
    .brand img {
        width: 165px;
    }
    .logout-button {
        min-height: 38px;
        padding: 8px 12px;
        font-size: .72rem;
    }
    .programming-intro h1 {
        font-size: clamp(2.3rem, 13vw, 3.5rem);
    }
    .program-card-coming-soon {
        min-height: 0;
    }
}

/* Database login / initial setup additions */
.login-security-note {
    margin-top: 18px;
    color: #71839f;
    font-size: .78rem;
    text-align: center;
}
.setup-home-main {
    padding-top: 34px;
    padding-bottom: 34px;
}
.setup-card {
    width: min(100%, 650px);
}
.setup-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.setup-login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.alert-success {
    margin-bottom: 20px;
    border: 1px solid rgba(41, 220, 141, .32);
    background: rgba(21, 137, 91, .13);
    color: #8cf0bf;
}
@media (max-width: 620px) {
    .setup-two-column {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
