:root {
    --bg: #050c17;
    --bg-soft: #081426;
    --panel: rgba(12, 27, 48, 0.82);
    --panel-hover: rgba(15, 35, 61, 0.96);
    --line: rgba(147, 190, 236, 0.14);
    --text: #f7fbff;
    --muted: #9fb0c5;
    --blue: #50a8ff;
    --blue-bright: #72c2ff;
    --cyan: #67e2e7;
    --green: #68d7ae;
    --radius: 28px;
    --container: 1180px;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 75% 5%, rgba(47, 126, 205, 0.14), transparent 30rem),
        var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: rgba(5, 12, 23, 0.78);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    color: var(--blue-bright);
    filter: drop-shadow(0 0 14px rgba(80, 168, 255, .23));
}

.brand-mark svg circle:first-child {
    fill: rgba(80,168,255,.08);
    stroke: rgba(114,194,255,.25);
}

.brand-mark svg path:first-of-type {
    fill: currentColor;
    stroke: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    font-size: 18px;
    letter-spacing: -.02em;
}

.brand-text small {
    margin-top: 5px;
    color: #7f94ab;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

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

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease;
}

.nav a:hover {
    color: #fff;
}

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

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

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-one {
    width: 460px;
    height: 460px;
    right: 7%;
    top: 8%;
    background: rgba(43, 126, 211, .13);
}

.hero-glow-two {
    width: 320px;
    height: 320px;
    right: 28%;
    bottom: -18%;
    background: rgba(58, 215, 218, .07);
}

.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    align-items: center;
    gap: 64px;
    padding-block: 72px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 23px;
    color: #a8c9e8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 15px var(--cyan);
}

.hero h1 {
    max-width: 710px;
    margin: 0;
    font-size: clamp(46px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 750;
}

.hero h1 span {
    display: block;
    margin-top: 7px;
    background: linear-gradient(100deg, #ffffff 0%, #92c7ff 48%, #68dfe3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 610px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.72;
}

.hero-actions {
    margin-top: 34px;
}

.button {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button-primary {
    background: #f5f9ff;
    color: #071426;
    box-shadow: 0 14px 40px rgba(0,0,0,.24);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(0,0,0,.35);
}

.hero-meta {
    display: flex;
    gap: 42px;
    margin-top: 56px;
}

.hero-meta > div {
    display: flex;
    flex-direction: column;
}

.hero-meta strong {
    font-size: 23px;
    letter-spacing: -.04em;
}

.hero-meta span {
    margin-top: 4px;
    color: #768ba1;
    font-size: 12px;
}

.hero-visual {
    position: relative;
    width: min(100%, 500px);
    aspect-ratio: 1;
    justify-self: end;
}

.planet {
    position: absolute;
    width: 49%;
    height: 49%;
    left: 26%;
    top: 26%;
    border-radius: 50%;
    overflow: hidden;
    background:
        radial-gradient(circle at 34% 30%, rgba(255,255,255,.24), transparent 7%),
        radial-gradient(circle at 68% 65%, rgba(31,121,170,.55), transparent 20%),
        linear-gradient(135deg, #153a67, #0a1e36 48%, #06101d);
    box-shadow:
        inset -28px -25px 50px rgba(0,0,0,.48),
        inset 12px 10px 32px rgba(101,192,255,.12),
        0 0 85px rgba(62,151,240,.13);
}

.planet::before,
.planet::after {
    content: "";
    position: absolute;
    border-radius: 55% 45% 60% 40%;
    background: rgba(79, 153, 177, .24);
    filter: blur(.5px);
}

.planet::before {
    width: 46%;
    height: 19%;
    left: 7%;
    top: 34%;
    transform: rotate(-18deg);
}

.planet::after {
    width: 35%;
    height: 23%;
    right: 4%;
    bottom: 25%;
    transform: rotate(22deg);
}

.planet-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(147,205,255,.18);
}

.orbit {
    position: absolute;
    border: 1px solid rgba(112,183,247,.12);
    border-radius: 50%;
    transform: rotate(-24deg);
}

.orbit-one {
    inset: 14%;
}

.orbit-two {
    inset: 2%;
    border-color: rgba(112,183,247,.07);
}

.star {
    position: absolute;
    color: #b7e7ff;
    text-shadow: 0 0 25px rgba(105,197,255,.8);
}

.star-main {
    right: 16%;
    top: 14%;
    font-size: 47px;
}

.star-small-one {
    left: 8%;
    bottom: 30%;
    font-size: 14px;
    opacity: .64;
}

.star-small-two {
    right: 8%;
    bottom: 18%;
    font-size: 9px;
    opacity: .46;
}

.projects-section {
    padding: 100px 0 110px;
}

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

.section-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--blue-bright);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -.045em;
}

.section-heading > p {
    max-width: 460px;
    margin: 0 0 3px;
    color: var(--muted);
    line-height: 1.65;
}

.project-card {
    overflow: hidden;
    padding: 36px;
    border: 1px solid rgba(132,185,232,.16);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 0 0, rgba(73,153,232,.10), transparent 30%),
        linear-gradient(145deg, rgba(13,30,52,.92), rgba(7,18,33,.92));
    box-shadow: 0 24px 70px rgba(0,0,0,.24);
}

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.project-identity {
    display: flex;
    gap: 20px;
    align-items: center;
}

.join2fly-logo {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    padding: 10px;
    color: var(--blue-bright);
    border: 1px solid rgba(107,184,247,.22);
    border-radius: 21px;
    background: rgba(42,112,177,.09);
}

.join2fly-logo svg circle {
    fill: rgba(73,160,235,.05);
}

.project-status {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #8cbba9;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(104,215,174,.6);
}

.project-card h3 {
    margin: 0;
    font-size: 35px;
    letter-spacing: -.04em;
}

.project-subtitle {
    margin: 5px 0 0;
    color: var(--muted);
}

.project-version {
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #7f93aa;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-description {
    max-width: 780px;
    margin: 28px 0 30px;
    color: #aab9c9;
    line-height: 1.7;
}

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

.platform-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    grid-template-rows: auto auto;
    gap: 0 13px;
    padding: 19px;
    border: 1px solid rgba(133,177,218,.12);
    border-radius: 19px;
    background: rgba(5,14,26,.58);
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.platform-card:hover {
    border-color: rgba(125,190,245,.22);
    background: rgba(11,27,47,.82);
    transform: translateY(-2px);
}

.platform-active {
    border-color: rgba(94,180,255,.24);
}

.platform-icon {
    grid-row: 1;
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 12px;
    color: #9acfff;
    background: rgba(78,156,226,.10);
}

.platform-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.platform-label {
    color: #7990a7;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.platform-info strong {
    margin-top: 2px;
    font-size: 15px;
}

.platform-info small {
    margin-top: 4px;
    color: #71859b;
    font-size: 11px;
}

.platform-button {
    grid-column: 1 / -1;
    min-height: 39px;
    margin-top: 16px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 11px;
    background: rgba(75,164,245,.11);
    color: #a9d8ff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 750;
    transition: background .2s ease, color .2s ease;
}

a.platform-button:hover {
    background: rgba(75,164,245,.19);
    color: #fff;
}

.platform-button-disabled {
    color: #66798c;
    background: rgba(255,255,255,.035);
    cursor: default;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: #73879c;
    font-size: 11px;
}

.project-footer > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.security-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}

.project-footer a {
    color: #8daac4;
    text-decoration: none;
}

.future-project {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 24px;
    padding: 25px;
    border: 1px dashed rgba(129,174,212,.16);
    border-radius: 20px;
    color: #7890a8;
    text-align: left;
}

.future-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255,255,255,.04);
    font-size: 21px;
}

.future-project strong,
.future-project span {
    display: block;
}

.future-project strong {
    color: #91a5b9;
    font-size: 13px;
}

.future-project span {
    margin-top: 3px;
    font-size: 11px;
}

.site-footer {
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(3,9,17,.75);
}

.footer-inner {
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand span {
    color: var(--blue-bright);
}

.footer-brand strong {
    font-size: 14px;
}

.footer-inner p,
.footer-domain {
    color: #687c90;
    font-size: 11px;
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 25px;
        padding-block: 70px 48px;
    }

    .hero-copy {
        text-align: center;
    }

    .eyebrow {
        justify-content: center;
    }

    .hero h1,
    .hero-description {
        margin-inline: auto;
    }

    .hero-actions {
        display: flex;
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-visual {
        width: min(76vw, 430px);
        justify-self: center;
    }

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

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        height: 70px;
    }

    .nav {
        display: none;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .hero-grid {
        padding-top: 52px;
    }

    .hero h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-meta {
        gap: 26px;
    }

    .hero-visual {
        width: min(90vw, 360px);
    }

    .projects-section {
        padding: 72px 0 76px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .project-card {
        padding: 22px;
        border-radius: 22px;
    }

    .project-top {
        flex-direction: column;
    }

    .project-identity {
        align-items: flex-start;
    }

    .join2fly-logo {
        width: 58px;
        height: 58px;
        border-radius: 17px;
    }

    .project-card h3 {
        font-size: 29px;
    }

    .project-version {
        display: none;
    }

    .project-description {
        margin-top: 22px;
    }

    .project-footer {
        flex-direction: column;
        gap: 9px;
    }

    .future-project {
        justify-content: flex-start;
    }

    .footer-inner {
        min-height: 120px;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }

    .footer-inner p {
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
.brand-mark-image {
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 0 18px rgba(80, 168, 255, .20);
}

.brand-mark-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
/* SiriusStar compact brand mark */
.brand-mark.brand-mark-image {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    padding: 2px;
    overflow: hidden;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 0 18px rgba(80, 168, 255, .20);
}

.brand-mark.brand-mark-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

@media (max-width: 640px) {
    .brand-mark.brand-mark-image {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 11px;
    }
}
.footer-mark {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
    padding: 1px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(80, 168, 255, .16);
}
/* Join2fly logo image */
.join2fly-logo.join2fly-logo-image {
    overflow: hidden;
    padding: 0;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(48, 115, 214, .18);
}

.join2fly-logo.join2fly-logo-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Join2fly app logo on platform cards */
.platform-icon.platform-icon-app {
    padding: 4px;
    overflow: hidden;
    background: #ffffff;
    color: inherit;
    box-shadow: 0 0 14px rgba(48, 115, 214, .14);
}

.platform-icon.platform-icon-app img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}