:root {
    --bg: #050915;
    --surface: #0b1224;
    --surface-2: #0f1931;
    --text: #f2f6ff;
    --muted: #b8c3d9;
    --line: #233658;
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --shadow: 0 18px 50px rgba(3, 8, 23, 0.48);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(79, 70, 229, 0.35), transparent 36%),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.22), transparent 46%),
        var(--bg);
    color: var(--text);
}

.container {
    width: min(1220px, 92%);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 13, 25, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.32);
}

.brand-text {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.3px;
    color: #fff;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 22px;
}

.menu a {
    color: #d6e2ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.menu a:hover {
    color: #fff;
}

.menu-actions {
    display: flex;
    gap: 10px;
}

main {
    padding: 18px 0 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.42);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    color: var(--text);
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    border: none;
}

.hero-wrap {
    padding: 32px 0 26px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 28px;
    align-items: center;
}

.hero-left h1 {
    margin: 10px 0 14px;
    font-size: clamp(36px, 4.2vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.8px;
    color: #f7faff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero-left h1 span {
    color: #7aa5ff;
}

.hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.hero-points {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
    color: #d0ddf5;
    font-size: 14px;
}

.hero-right {
    position: relative;
    min-height: 390px;
}

.dash-card {
    background: linear-gradient(180deg, #0c1427, #131d34);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.dash-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dash-head strong {
    font-size: 16px;
}

.dash-head small {
    color: var(--muted);
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.dash-stats div {
    border: 1px solid var(--line);
    background: #0f1b32;
    border-radius: 10px;
    padding: 10px;
}

.dash-stats label {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 4px;
}

.dash-stats b {
    font-size: 13px;
}

.dash-chart {
    height: 140px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(79, 70, 229, 0.24), rgba(79, 70, 229, 0.02)),
        repeating-linear-gradient(
            to right,
            rgba(255, 255, 255, 0.04) 0,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px,
            transparent 28px
        );
}

.floating {
    position: absolute;
    background: transparent;
    color: #0f172a;
    font-weight: 700;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.floating-logo {
    width: 158px;
    height: auto;
    display: block;
}

.f1 { top: 16px; right: -12px; }
.f2 { top: 150px; right: -22px; }
.f3 { bottom: 18px; right: 30px; }

.section-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
    margin-top: 16px;
}

.section-intro,
.feature-card,
.section,
.final-cta {
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.section-intro {
    padding: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.feature-card {
    padding: 16px;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.feature-card p {
    margin: 0;
    color: #c4d0e8;
}

.section,
.final-cta {
    margin-top: 16px;
    padding: 22px;
}

.pricing-card ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

h2 {
    margin: 0 0 12px;
    font-size: 34px;
    letter-spacing: -0.4px;
}

.lead {
    font-size: 18px;
    max-width: 650px;
    color: #d5e0f7;
}

p,
li {
    color: #c8d4ec;
    line-height: 1.65;
}

ul {
    margin: 0;
    padding-left: 20px;
}

li {
    margin: 7px 0;
}

.flash-wrap {
    display: grid;
    gap: 8px;
}

.flash {
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 12px;
    border: 1px solid var(--line);
}

.flash-success {
    background: #11311f;
}

.flash-error {
    background: #3a1620;
}

.badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #e3ebff;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.55), rgba(59, 130, 246, 0.45));
    border: 1px solid rgba(129, 140, 248, 0.4);
    padding: 7px 12px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.24);
}

.badge-soft {
    background: rgba(79, 70, 229, 0.24);
    color: #dbe4ff;
    border: 1px solid rgba(129, 140, 248, 0.26);
}

.final-cta {
    text-align: center;
    padding-top: 28px;
    padding-bottom: 28px;
}

@media (max-width: 700px) {
    .topbar-inner {
        grid-template-columns: 1fr;
        padding: 12px 0;
        gap: 10px;
    }
    .menu {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 14px;
    }
    .menu-actions {
        justify-content: flex-start;
    }
    .hero-grid,
    .section-grid {
        grid-template-columns: 1fr;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .hero-left h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 28px;
    }
    .hero-right {
        min-height: unset;
    }
    .floating {
        position: static;
        display: inline-block;
        margin-top: 8px;
        margin-right: 6px;
    }
    .floating-logo {
        width: 132px;
    }
}
