
:root {
    --bg: #07101d;
    --bg2: #0b1728;
    --panel: rgba(17, 33, 55, 0.82);
    --text: #eef6ff;
    --muted: #9aafc5;
    --blue: #638cff;
    --cyan: #46d7d2;
    --green: #45d89d;
    --border: rgba(255,255,255,.11);
    --shadow: 0 28px 80px rgba(0,0,0,.35);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 0%, rgba(77,111,230,.28), transparent 34rem),
        radial-gradient(circle at 92% 24%, rgba(38,190,184,.19), transparent 30rem),
        linear-gradient(150deg, #040a12, var(--bg));
    overflow-x: hidden;
}

body::before,
body::after {
    position: fixed;
    z-index: -1;
    width: 340px;
    height: 340px;
    content: "";
    border-radius: 50%;
    filter: blur(85px);
    opacity: .16;
    animation: drift 14s ease-in-out infinite alternate;
}

body::before {
    top: 15%;
    left: -160px;
    background: var(--blue);
}

body::after {
    right: -170px;
    bottom: 5%;
    background: var(--cyan);
    animation-delay: -6s;
}

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

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

.header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid transparent;
    background: rgba(5,11,20,.74);
    backdrop-filter: blur(18px);
    transition: .25s ease;
}

.header.scrolled {
    border-color: var(--border);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.logo {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 12px 30px rgba(76,130,255,.3);
    font-size: 23px;
}

.brand small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

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

.links a {
    padding: 10px 13px;
    color: var(--muted);
    border-radius: 11px;
    font-size: 14px;
    transition: .2s ease;
}

.links a:hover,
.links a.active {
    color: var(--text);
    background: rgba(255,255,255,.07);
}

.links .access {
    margin-left: 7px;
    color: #06101a;
    background: linear-gradient(135deg, #f4f8ff, #9debe7);
    font-weight: 800;
}

.menu {
    display: none;
    width: 44px;
    height: 44px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--panel);
    font-size: 21px;
    cursor: pointer;
}

.hero {
    min-height: 700px;
    padding: 100px 0 80px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 70px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    color: #b8ffe5;
    border: 1px solid rgba(69,216,157,.24);
    border-radius: 999px;
    background: rgba(15,106,74,.15);
    font-size: 13px;
}

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

h1, h2, h3, p {
    margin-top: 0;
}

.hero h1,
.page-hero h1 {
    margin: 24px 0;
    font-size: clamp(47px, 7vw, 80px);
    line-height: .99;
    letter-spacing: -.055em;
}

.gradient {
    color: transparent;
    background: linear-gradient(100deg, #fff 5%, #91b1ff 53%, #71ebe6);
    background-clip: text;
    -webkit-background-clip: text;
}

.lead {
    max-width: 650px;
    color: #b7c6d8;
    font-size: 18px;
    line-height: 1.75;
}

.buttons {
    margin-top: 33px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 49px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-weight: 800;
    transition: transform .2s ease, border-color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.3);
}

.primary {
    color: #06101a;
    background: linear-gradient(135deg, #f2f7ff, #98e9e5);
}

.secondary {
    background: rgba(255,255,255,.045);
}

.dashboard {
    position: relative;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: linear-gradient(160deg, rgba(27,52,82,.94), rgba(8,18,31,.96));
    box-shadow: var(--shadow);
    animation: floating 6s ease-in-out infinite;
}

.window {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3a536d;
}

.storage {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255,255,255,.035);
}

.storage-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.storage-value {
    margin: 11px 0 18px;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.storage-value span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.progress {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}

.progress span {
    width: 0;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transition: width 1.4s cubic-bezier(.2,.75,.2,1);
}

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

.file {
    min-height: 112px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,.03);
}

.file-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(91,140,255,.15);
}

.file strong,
.file small {
    display: block;
}

.file strong {
    font-size: 13px;
}

.file small {
    margin-top: 4px;
    color: var(--muted);
}

.section {
    padding: 88px 0;
}

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

.heading h2 {
    margin: 17px 0;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.heading p,
.page-hero p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

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

.card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--panel);
    box-shadow: 0 18px 50px rgba(0,0,0,.16);
}

.card-icon {
    width: 49px;
    height: 49px;
    margin-bottom: 23px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(91,140,255,.22), rgba(70,215,210,.15));
    font-size: 22px;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

.stats {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255,255,255,.035);
}

.stat {
    padding: 16px 21px;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    margin-bottom: 7px;
    font-size: 32px;
}

.stat span {
    color: var(--muted);
    font-size: 13px;
}

.page-hero {
    padding: 110px 0 50px;
}

.page-hero h1 {
    max-width: 900px;
    font-size: clamp(44px, 7vw, 70px);
}

.columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.list {
    display: grid;
    gap: 13px;
}

.list-item {
    padding: 17px;
    display: flex;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: rgba(255,255,255,.035);
}

.list-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(91,140,255,.16);
}

.list-item p {
    margin: 5px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.access-panel {
    max-width: 780px;
    margin: 35px auto 100px;
    padding: 44px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.lock {
    width: 74px;
    height: 74px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(91,140,255,.26), rgba(70,215,210,.17));
    font-size: 34px;
}

.access-panel p {
    color: var(--muted);
    line-height: 1.7;
}

.status {
    margin: 24px auto;
    padding: 13px 17px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #aaf5d2;
    border: 1px solid rgba(69,216,157,.21);
    border-radius: 999px;
    background: rgba(14,104,72,.15);
    font-size: 14px;
}

.cta {
    padding: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        linear-gradient(125deg, rgba(63,103,200,.23), transparent 60%),
        var(--panel);
}

.cta h2 {
    margin-bottom: 10px;
    font-size: clamp(28px, 4vw, 42px);
}

.cta p {
    margin-bottom: 0;
    color: var(--muted);
}

.footer {
    margin-top: 45px;
    padding: 37px 0;
    color: var(--muted);
    border-top: 1px solid var(--border);
    font-size: 13px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

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

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

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

@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(-.3deg); }
    50% { transform: translateY(-11px) rotate(.3deg); }
}

@keyframes drift {
    from { transform: translate3d(0,-20px,0); }
    to { transform: translate3d(75px,45px,0); }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 720px) {
    .menu {
        display: grid;
        place-items: center;
    }

    .links {
        position: absolute;
        top: 68px;
        right: 20px;
        left: 20px;
        padding: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(8,17,30,.98);
        box-shadow: var(--shadow);
    }

    .links.open {
        display: flex;
    }

    .links .access {
        margin-left: 0;
    }

    .hero {
        min-height: auto;
        padding-top: 74px;
    }

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

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

@media (max-width: 520px) {
    .container {
        width: calc(100% - 26px);
    }

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

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .stat:last-child {
        border-bottom: 0;
    }

    .access-panel {
        padding: 30px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

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