:root {
    --black: #03050b;
    --black-soft: #080c14;
    --blue: #1d7cff;
    --blue-deep: #0f3d8f;
    --silver: #cbd5e1;
    --silver-dark: #64748b;
    --white: #f8fafc;
    --line: rgba(203, 213, 225, 0.16);
    --panel: rgba(10, 16, 28, 0.78);
    --panel-strong: rgba(14, 22, 38, 0.92);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", "Poppins", Arial, Helvetica, sans-serif;
    color: var(--white);
    background:
        radial-gradient(circle at 76% 8%, rgba(29, 124, 255, 0.25), transparent 28%),
        radial-gradient(circle at 12% 26%, rgba(148, 163, 184, 0.13), transparent 22%),
        linear-gradient(135deg, #000 0%, #030712 48%, #0a1020 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

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

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 14px clamp(18px, 4vw, 64px);
    border-bottom: 1px solid var(--line);
    background: rgba(2, 6, 15, 0.84);
    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.brand img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(203, 213, 225, 0.18), 0 12px 30px rgba(29, 124, 255, 0.22);
}

.brand span {
    font-size: 17px;
    text-transform: uppercase;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vw, 28px);
    flex: 1;
}

.landing-nav a {
    color: #dbe7f7;
    font-size: 14px;
    font-weight: 800;
    transition: color 0.2s ease, transform 0.2s ease;
}

.landing-nav a:hover {
    color: #6fb3ff;
    transform: translateY(-1px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    cursor: pointer;
    white-space: nowrap;
}

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

.btn-primary,
.btn-header {
    color: #fff;
    background: linear-gradient(135deg, #1d7cff 0%, #0f4fc4 100%);
    box-shadow: 0 16px 34px rgba(29, 124, 255, 0.28);
}

.btn-secondary {
    color: #e8f1ff;
    border-color: rgba(203, 213, 225, 0.24);
    background: rgba(255, 255, 255, 0.045);
}

.section-shell {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 92px 0;
}

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    align-items: center;
    gap: clamp(36px, 6vw, 76px);
    padding-top: 132px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 16px;
    padding: 8px 12px;
    border: 1px solid rgba(29, 124, 255, 0.35);
    border-radius: 999px;
    color: #9ecbff;
    background: rgba(29, 124, 255, 0.10);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-card h2 {
    margin: 0;
    font-family: "Poppins", "Manrope", Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(42px, 5.6vw, 72px);
    line-height: 1.02;
    font-weight: 900;
}

.hero p {
    max-width: 650px;
    margin: 24px 0 0;
    color: #c7d2e5;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.62;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-trust span {
    padding: 9px 12px;
    border: 1px solid rgba(203, 213, 225, 0.16);
    border-radius: 8px;
    color: #d9e4f2;
    background: rgba(255, 255, 255, 0.045);
    font-size: 12px;
    font-weight: 900;
}

.dashboard-showcase {
    border: 1px solid rgba(203, 213, 225, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(203, 213, 225, 0.08), transparent 26%),
        linear-gradient(160deg, rgba(8, 13, 24, 0.94), rgba(6, 12, 24, 0.72));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.dashboard-topbar {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    color: #dbeafe;
}

.dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 6px;
    border-radius: 50%;
    background: #1d7cff;
}

.dot:nth-child(2) {
    background: #94a3b8;
}

.dot:nth-child(3) {
    background: #e2e8f0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 14px;
    padding: 18px;
}

.metric-card,
.panel-card,
.timeline-card {
    min-height: 132px;
    padding: 18px;
    border: 1px solid rgba(203, 213, 225, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
}

.metric-card.large {
    grid-row: span 2;
}

.metric-card span,
.panel-row span {
    display: block;
    color: #99a8bd;
    font-size: 13px;
    font-weight: 800;
}

.metric-card strong {
    display: block;
    margin-top: 12px;
    font-size: 40px;
    color: #f8fbff;
}

.chart-line {
    height: 120px;
    margin-top: 22px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, transparent 0 22%, rgba(29, 124, 255, 0.22) 23% 38%, transparent 39% 100%),
        linear-gradient(to top, rgba(29, 124, 255, 0.18), transparent),
        repeating-linear-gradient(to right, rgba(203, 213, 225, 0.08) 0 1px, transparent 1px 34px);
}

.panel-card {
    grid-column: span 2;
    min-height: 0;
}

.panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(203, 213, 225, 0.08);
}

.panel-row:last-child {
    border-bottom: 0;
}

.panel-row b {
    color: #8ec5ff;
}

.timeline-card {
    grid-column: span 2;
    min-height: 76px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.timeline-card span {
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(29, 124, 255, 0.95), rgba(203, 213, 225, 0.32));
}

.section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-heading h2,
.contact-card h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
}

.section-heading p {
    color: #b9c6d8;
}

.card-grid,
.feature-grid,
.premium-grid,
.plans-grid,
.why-list,
.benefit-row {
    display: grid;
    gap: 16px;
}

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

.problems-grid article,
.feature-grid article,
.premium-grid article,
.why-list article,
.benefit-row article,
.plan-card,
.contact-card {
    border: 1px solid rgba(203, 213, 225, 0.14);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.16);
}

.problems-grid article {
    min-height: 118px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #eaf2ff;
    font-weight: 900;
}

.section-contrast {
    width: 100%;
    max-width: none;
    padding-left: max(18px, calc((100vw - 1180px) / 2));
    padding-right: max(18px, calc((100vw - 1180px) / 2));
    background:
        linear-gradient(90deg, rgba(29, 124, 255, 0.10), transparent 26%),
        rgba(255, 255, 255, 0.025);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.feature-grid article {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    color: #e8f1ff;
    font-weight: 900;
}

.feature-grid b {
    color: #60a5fa;
}

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

.premium-grid article,
.plan-card {
    padding: 24px;
}

.premium-grid h3,
.plan-card h3 {
    margin: 0 0 12px;
    color: #f8fbff;
    font-size: 20px;
}

.premium-grid p,
.plan-card p,
.contact-card p {
    margin: 0;
    color: #b9c6d8;
    line-height: 1.65;
}

.benefits-section {
    padding-top: 70px;
}

.benefit-row {
    grid-template-columns: repeat(5, 1fr);
}

.benefit-row article {
    min-height: 150px;
    padding: 22px;
}

.benefit-row strong {
    display: block;
    margin-bottom: 16px;
    color: #8ec5ff;
    font-size: 22px;
}

.benefit-row span {
    color: #dbe7f7;
    line-height: 1.5;
}

.why-list {
    grid-template-columns: repeat(5, 1fr);
}

.why-list article {
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    font-weight: 900;
}

.plans-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--panel-strong);
}

.plan-card.featured {
    border-color: rgba(29, 124, 255, 0.55);
    box-shadow: 0 24px 70px rgba(29, 124, 255, 0.20);
}

.plan-badge {
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(29, 124, 255, 0.18);
    font-size: 12px;
    font-weight: 900;
}

.plan-card ul {
    margin: 0 0 4px;
    padding-left: 19px;
    color: #d4dfed;
    line-height: 1.9;
}

.plan-card .btn {
    margin-top: auto;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 0.7fr);
    gap: 30px;
    padding: clamp(28px, 5vw, 52px);
    background:
        radial-gradient(circle at top right, rgba(29, 124, 255, 0.20), transparent 28%),
        var(--panel-strong);
}

.contact-info {
    display: grid;
    gap: 12px;
}

.contact-info a:not(.btn) {
    color: #dbe7f7;
    font-weight: 800;
}

.landing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 28px clamp(18px, 4vw, 64px);
    border-top: 1px solid var(--line);
    color: #98a6ba;
    background: #020611;
    font-size: 13px;
}

.landing-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}

.landing-footer a:hover {
    color: #8ec5ff;
}

.reveal {
    animation: revealUp 0.7s ease both;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1040px) {
    .landing-header {
        flex-wrap: wrap;
    }

    .landing-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 2px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 160px;
    }

    .dashboard-showcase {
        max-width: 760px;
        margin: 0 auto;
    }

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

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

@media (max-width: 760px) {
    .landing-header {
        min-height: 70px;
        padding: 12px 16px;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .brand span {
        font-size: 14px;
    }

    .btn-header {
        min-height: 40px;
        padding: 0 14px;
        font-size: 12px;
    }

    .section-shell {
        width: min(100% - 28px, 1180px);
        padding: 64px 0;
    }

    .hero {
        padding-top: 172px;
        gap: 30px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .dashboard-grid,
    .problems-grid,
    .feature-grid,
    .premium-grid,
    .plans-grid,
    .benefit-row,
    .why-list,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .panel-card,
    .timeline-card {
        grid-column: auto;
    }

    .dashboard-showcase {
        border-radius: 8px;
    }

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

    .landing-footer nav {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
