* {
    box-sizing: border-box;
}

:root {
    --bg: #08111f;
    --bg-soft: rgba(255, 255, 255, 0.05);
    --card: rgba(10, 19, 34, 0.74);
    --line: rgba(255, 255, 255, 0.1);
    --text: #f8fbff;
    --muted: #aeb8c7;
    --primary: #4f8cff;
    --primary-strong: #2f70ef;
    --accent: #24cfa6;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    --radius: 24px;
    --radius-lg: 34px;
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: radial-gradient(
            circle at top left,
            rgba(79, 140, 255, 0.18),
            transparent 25%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(36, 207, 166, 0.15),
            transparent 25%
        ),
        var(--bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

button {
    font: inherit;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.bg-orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(79, 140, 255, 0.25);
    top: 5%;
    left: -80px;
}

.orb-2 {
    width: 320px;
    height: 320px;
    background: rgba(36, 207, 166, 0.2);
    bottom: 0;
    right: -100px;
}

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(8, 17, 31, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-logo {
    width: 46px;
    height: 46px;
}

.brand-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.brand-subtitle {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.desktop-nav a {
    color: #d7dfea;
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    color: white;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    border-radius: 14px;
    padding: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: white;
    margin: 4px auto;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem 1rem;
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.mobile-nav.open {
    display: flex;
}

.hero {
    padding: 4.5rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(79, 140, 255, 0.22);
    background: rgba(79, 140, 255, 0.1);
    color: #c7dbff;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-copy h1,
.section-heading h2,
.security-copy h2,
.contact-box h2,
.panel-header h2 {
    margin: 0;
    line-height: 1.05;
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    max-width: 12ch;
}

.hero-copy p,
.section-heading p,
.security-copy p,
.contact-box p,
.panel-header p,
.point-item p,
.feature-card p,
.shield-card p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.02rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.85rem 1.35rem;
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease,
        border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: white;
    box-shadow: 0 14px 28px rgba(79, 140, 255, 0.28);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: var(--line);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.stat-card,
.feature-card,
.hero-panel,
.contact-box,
.security-box,
.module-item,
.trusted-row,
.mini-card,
.dashboard-card,
.point-item,
.shield-card {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.stat-card {
    border-radius: 22px;
    padding: 1.1rem;
}

.stat-card strong {
    display: block;
    font-size: 1.7rem;
    margin-bottom: 0.35rem;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-panel {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.panel-badge {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    background: rgba(36, 207, 166, 0.12);
    color: #bff8ea;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.panel-header p {
    margin-bottom: 1.25rem;
}

.dashboard-card {
    border-radius: 22px;
    padding: 1rem;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.mini-card {
    border-radius: 20px;
    padding: 1rem;
}

.mini-card span {
    color: var(--muted);
    display: block;
    margin-bottom: 0.35rem;
}

.trusted {
    padding: 0 0 1rem;
}

.trusted-row {
    border-radius: 20px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.trusted-row > span {
    color: #d8e2f1;
    font-weight: 600;
}

.trusted-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trusted-items span {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
}

.section {
    padding: 5rem 0;
}

.alt-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 2rem;
}

.platform-layout,
.modules-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.platform-points,
.module-list {
    display: grid;
    gap: 1rem;
}

.point-item,
.module-item {
    border-radius: 22px;
    padding: 1.2rem;
}

.point-item h3,
.feature-card h3,
.shield-card h3 {
    margin: 0 0 0.65rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.feature-card {
    border-radius: 28px;
    padding: 1.5rem;
}

.feature-card .icon,
.shield-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
}

.security-box {
    border-radius: 36px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 1.5rem;
    background: linear-gradient(
            135deg,
            rgba(79, 140, 255, 0.12),
            rgba(36, 207, 166, 0.06)
        ),
        var(--card);
}

.security-list {
    margin: 1.25rem 0 0;
    padding-left: 1.2rem;
    color: #dce6f5;
    line-height: 2;
}

.security-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-card {
    border-radius: 28px;
    padding: 2rem;
    max-width: 360px;
}

.contact-section {
    padding-top: 0;
}

.contact-box {
    border-radius: 32px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-footer {
    padding: 1.5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

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

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

.delay-1 {
    transition-delay: 0.1s;
}
.delay-2 {
    transition-delay: 0.2s;
}
.delay-3 {
    transition-delay: 0.3s;
}

@media (max-width: 1080px) {
    .hero-grid,
    .platform-layout,
    .modules-layout,
    .security-box {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 820px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    .hero-stats,
    .feature-grid,
    .mini-grid {
        grid-template-columns: 1fr;
    }

    .trusted-row,
    .contact-box,
    .footer-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 3rem;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .hero-actions,
    .contact-box {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .hero-panel,
    .security-box,
    .contact-box,
    .shield-card {
        padding: 1.25rem;
    }
}

.active-link {
    color: #ffffff !important;
}

.legal-page {
    padding: 2rem 0 4rem;
}

.legal-wrap {
    max-width: 900px;
}

.legal-title {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.05;
}

.legal-intro {
    color: var(--muted);
    line-height: 1.85;
    max-width: 760px;
    margin-bottom: 2rem;
}

.legal-card {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 28px;
    padding: 2rem;
}

.legal-card h2 {
    margin: 0 0 0.8rem;
    font-size: 1.25rem;
}

.legal-card p {
    margin: 0 0 1.4rem;
    color: var(--muted);
    line-height: 1.9;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .legal-card {
        padding: 1.25rem;
    }
}
