:root {
    --bg: #07080c;
    --bg-soft: #0c0e14;
    --card: rgba(16, 18, 27, 0.72);
    --card-strong: #11141d;
    --text: #f7f8fb;
    --muted: #9da3b4;
    --muted-2: #6f7585;
    --line: rgba(255, 255, 255, 0.09);
    --accent: #9c7cff;
    --accent-2: #5ee7ff;
    --accent-3: #d86cff;
    --radius: 24px;
    --shell: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% -20%, rgba(156, 124, 255, 0.14), transparent 34%),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.page-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: .14;
    z-index: -1;
}

.page-glow-one {
    background: var(--accent);
    top: 12%;
    right: -180px;
}

.page-glow-two {
    background: var(--accent-2);
    bottom: 4%;
    left: -220px;
    opacity: .08;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(7, 8, 12, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.nav-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.04em;
}

.brand-mark {
    width: 24px;
    height: 24px;
    display: inline-block;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent), var(--accent-3));
    box-shadow: 0 0 28px rgba(156, 124, 255, 0.35);
    transform: rotate(8deg);
}

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

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

.nav-links a:hover,
.footer-links a:hover {
    color: var(--text);
}

.hero {
    min-height: 720px;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    align-items: center;
    gap: 72px;
    padding-top: 72px;
    padding-bottom: 86px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c2c7d4;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 16px rgba(94, 231, 255, .75);
}

.hero h1,
.legal-hero h1,
.contact-copy h1 {
    margin: 20px 0 22px;
    font-size: clamp(60px, 7.4vw, 100px);
    line-height: .94;
    letter-spacing: -.075em;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(100deg, #f4f5ff 4%, #b4a4ff 40%, #6fe4ff 82%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    min-height: 50px;
    padding: 0 19px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #090a0e;
    background: linear-gradient(100deg, #e6e1ff, #81e8fb);
    box-shadow: 0 16px 45px rgba(123, 149, 255, 0.17);
}

.button-secondary {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .035);
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .055);
}

.hero-visual {
    position: relative;
    min-height: 480px;
    display: grid;
    place-items: center;
}


.hero-glow {
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(119, 113, 255, .20) 0%, rgba(94, 231, 255, .07) 42%, transparent 72%);
    filter: blur(22px);
    animation: glow-breathe 7s ease-in-out infinite;
}

.planet-wrap {
    position: absolute;
    width: 275px;
    height: 275px;
    animation: planet-float 7s ease-in-out infinite;
    will-change: transform;
}

.moon-orbit {
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    animation: moon-orbit 18s linear infinite;
    will-change: transform;
}

.moon-orbit .orb-small {
    top: 16px;
    right: 38px;
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(235, 241, 255, .9);
    box-shadow: 0 0 10px rgba(176, 202, 255, .65);
    animation: star-twinkle 3.8s ease-in-out infinite;
}

.star-one {
    left: 18%;
    top: 18%;
}

.star-two {
    right: 18%;
    top: 34%;
    width: 3px;
    height: 3px;
    animation-delay: -1.3s;
}

.star-three {
    left: 27%;
    bottom: 17%;
    width: 3px;
    height: 3px;
    animation-delay: -2.4s;
}

.star-four {
    right: 28%;
    bottom: 12%;
    width: 5px;
    height: 5px;
    animation-delay: -.7s;
}

.visual-grid {
    position: absolute;
    inset: 6%;
    border-radius: 40px;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle, #000 20%, transparent 72%);
}

.orb {
    position: absolute;
    border-radius: 50%;
}

.orb-main {
    position: relative;
    width: 275px;
    height: 275px;
    background:
        radial-gradient(circle at 32% 25%, rgba(255,255,255,.88), transparent 9%),
        radial-gradient(circle at 36% 34%, #80ebff 0%, #8a83ff 30%, #623ecb 58%, #12131b 76%);
    box-shadow:
        inset -28px -28px 60px rgba(0,0,0,.24),
        0 0 85px rgba(116, 114, 255, .22);
    animation: planet-light 9s ease-in-out infinite;
}

.orb-main::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 72px;
    left: 50%;
    top: 53%;
    transform: translate(-50%, -50%) rotate(-18deg);
    border: 2px solid rgba(185, 172, 255, .34);
    border-radius: 50%;
    box-shadow: 0 0 22px rgba(121, 211, 255, .08);
    animation: ring-drift 8s ease-in-out infinite;
}

.orb-small {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #d4c9ff, #5e5ee8);
    box-shadow: 0 0 38px rgba(125, 108, 255, .25);
}

.visual-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    background: rgba(13, 15, 22, .7);
    backdrop-filter: blur(18px);
    color: #d7dae5;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 16px 45px rgba(0,0,0,.22);
}

.visual-card-one {
    left: 5%;
    top: 28%;
}

.visual-card-two {
    right: 2%;
    bottom: 24%;
}

.mini-icon {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #d9d0ff;
    background: rgba(156,124,255,.12);
}

.apps-section {
    padding: 92px 0 108px;
}

.section-heading {
    max-width: 730px;
    margin-bottom: 42px;
}

.section-heading h2,
.workflow h2,
.cta h2 {
    margin: 15px 0 14px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.section-heading p,
.workflow-copy p,
.cta p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 16px;
    margin: 0;
}

.muted-heading {
    color: #777d8d;
}

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

.app-card {
    min-height: 340px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 85% 0%, rgba(134, 116, 255, .1), transparent 30%),
        linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
    box-shadow: 0 26px 80px rgba(0,0,0,.22);
    transition: transform .25s ease, border-color .25s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: rgba(164, 153, 255, .24);
}

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

.app-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #dcd5ff;
    border: 1px solid rgba(168, 154, 255, .18);
    background: linear-gradient(145deg, rgba(156, 124, 255, .18), rgba(94, 231, 255, .06));
}

.app-icon svg {
    width: 27px;
    height: 27px;
}

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

.app-card h3 {
    margin: 32px 0 12px;
    font-size: 28px;
    letter-spacing: -.035em;
}

.app-card p {
    max-width: 500px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.app-link {
    margin-top: auto;
    padding-top: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dcd8ff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.app-link span {
    transition: transform .2s ease;
}

.app-link:hover span {
    transform: translate(2px, -2px);
}

.workflow {
    margin-top: 12px;
    margin-bottom: 112px;
    padding: 46px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 58px;
    align-items: end;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
}

.workflow-copy h2 {
    font-size: clamp(36px, 4vw, 54px);
}

.steps {
    display: grid;
    gap: 10px;
}

.step {
    min-height: 64px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.065);
    background: rgba(255,255,255,.025);
}

.step span {
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
}

.step strong {
    font-size: 14px;
}

.cta {
    margin-bottom: 110px;
    padding: 40px 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    border-top: 1px solid var(--line);
}

.cta > div {
    max-width: 720px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #08090d;
}

.footer-wrap {
    padding: 44px 0 30px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.brand-footer {
    font-size: 18px;
}

.brand-footer .brand-mark {
    width: 21px;
    height: 21px;
    border-radius: 7px;
}

.footer-note {
    margin: 12px 0 0;
    color: var(--muted-2);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-bottom {
    padding: 22px 0 30px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,.055);
    color: var(--muted-2);
    font-size: 11px;
    line-height: 1.6;
}

.footer-bottom span:last-child {
    max-width: 660px;
    text-align: right;
}

.legal-hero {
    padding: 112px 0 54px;
}

.legal-hero h1,
.contact-copy h1 {
    font-size: clamp(50px, 7vw, 76px);
    margin-bottom: 14px;
}

.legal-hero p,
.contact-copy p {
    color: var(--muted);
    line-height: 1.7;
}

.legal-content {
    max-width: 850px;
    padding-bottom: 110px;
}

.legal-content h2 {
    margin: 42px 0 12px;
    font-size: 21px;
    letter-spacing: -.025em;
}

.legal-content p {
    margin: 0 0 14px;
    color: #b1b6c4;
    line-height: 1.82;
    font-size: 15px;
}

.legal-content a {
    color: #d3ccff;
}

.legal-callout {
    margin-top: 48px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(156,124,255,.18);
    background: rgba(156,124,255,.06);
}

.legal-callout strong {
    display: block;
    margin-bottom: 6px;
}

.legal-callout p {
    margin: 0;
    color: #a9adc0;
}

.contact-page {
    min-height: 680px;
    padding: 116px 0 110px;
}

.contact-copy {
    max-width: 760px;
}

.contact-copy p {
    max-width: 650px;
    font-size: 17px;
}

.contact-card {
    margin-top: 54px;
    max-width: 780px;
    min-height: 118px;
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    transition: transform .2s ease, border-color .2s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(156,124,255,.24);
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(156,124,255,.12);
    color: #d7d0ff;
    font-weight: 800;
}

.contact-label,
.contact-meta span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.contact-card strong {
    font-size: clamp(18px, 3vw, 26px);
    letter-spacing: -.02em;
}

.contact-arrow {
    color: var(--muted);
    font-size: 22px;
}

.contact-meta {
    max-width: 780px;
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-meta > div {
    padding: 20px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    background: rgba(255,255,255,.018);
}

.contact-meta strong {
    font-size: 14px;
}


@keyframes planet-float {
    0%, 100% { transform: translate3d(0, 4px, 0) rotate(-1deg); }
    35% { transform: translate3d(8px, -10px, 0) rotate(1.2deg); }
    70% { transform: translate3d(-5px, -4px, 0) rotate(.2deg); }
}

@keyframes ring-drift {
    0%, 100% { transform: translate(-50%, -50%) rotate(-18deg) scaleX(1); opacity: .72; }
    50% { transform: translate(-50%, -50%) rotate(-14deg) scaleX(1.025); opacity: 1; }
}

@keyframes moon-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glow-breathe {
    0%, 100% { transform: scale(.94); opacity: .66; }
    50% { transform: scale(1.08); opacity: 1; }
}

@keyframes star-twinkle {
    0%, 100% { opacity: .2; transform: scale(.72); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes planet-light {
    0%, 100% { filter: saturate(1) brightness(1); }
    50% { filter: saturate(1.07) brightness(1.04); }
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .button,
    .app-card,
    .contact-card {
        transition: none;
    }

    .hero-glow,
    .planet-wrap,
    .moon-orbit,
    .orb-main,
    .orb-main::after,
    .star {
        animation: none !important;
    }
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 92px;
    }

    .hero-visual {
        min-height: 380px;
    }

    .app-grid,
    .workflow {
        grid-template-columns: 1fr;
    }

    .workflow {
        gap: 36px;
    }

    .cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom span:last-child {
        text-align: left;
    }
}

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

    .nav-wrap {
        min-height: 66px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .hero {
        padding-top: 70px;
        padding-bottom: 58px;
    }

    .hero h1 {
        font-size: clamp(54px, 17vw, 76px);
    }

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

    .hero-visual {
        min-height: 315px;
    }

    .planet-wrap {
        width: 205px;
        height: 205px;
    }

    .moon-orbit {
        width: 290px;
        height: 290px;
    }

    .hero-glow {
        width: 250px;
        height: 250px;
    }

    .orb-main {
        width: 205px;
        height: 205px;
    }

    .orb-main::after {
        width: 250px;
        height: 58px;
    }

    .visual-card {
        font-size: 11px;
    }

    .visual-card-one {
        left: 0;
    }

    .visual-card-two {
        right: 0;
    }

    .apps-section {
        padding: 64px 0 76px;
    }

    .app-card {
        min-height: 310px;
        padding: 23px;
    }

    .workflow {
        margin-bottom: 80px;
        padding: 28px 22px;
        border-radius: 24px;
    }

    .cta {
        margin-bottom: 72px;
    }

    .footer-wrap {
        flex-direction: column;
    }

    .contact-page {
        padding-top: 82px;
    }

    .contact-card {
        grid-template-columns: auto 1fr;
    }

    .contact-arrow {
        display: none;
    }

    .contact-meta {
        grid-template-columns: 1fr;
    }
}
