* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --purple: #7c3aed;
    --purple-dark: #5b21b6;
    --teal: #14b8a6;
    --cyan: #22d3ee;
    --coral: #fb7185;
    --yellow: #facc15;
    --green: #22c55e;
    --blue: #3b82f6;
    --navy: #111827;
}

body {
    margin: 0;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: #f7f3ff;
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(245,243,255,0.96), rgba(236,254,255,0.94), rgba(255,241,242,0.94));
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226,232,240,0.8);
}

.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 23px;
    font-weight: 850;
    letter-spacing: -0.6px;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 11px;
    color: white;
    font-size: 17px;
    font-weight: 900;
    background:
        linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
    box-shadow:
        0 8px 20px rgba(124,58,237,0.24);
}

.logo-mark.small {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 14px;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.public-nav a {
    color: #475569;
    font-size: 14px;
    font-weight: 700;
}

.public-nav a:hover {
    color: var(--purple);
}

.login-button {
    padding: 10px 17px;
    border-radius: 999px;
    background:
        linear-gradient(135deg, var(--purple) 0%, #6d28d9 55%, #4f46e5 100%);
    color: white !important;
    box-shadow: 0 8px 20px rgba(124,58,237,0.22);
}

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

.hero-wrap {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(124,58,237,0.34), transparent 31%),
        radial-gradient(circle at 84% 16%, rgba(20,184,166,0.31), transparent 30%),
        radial-gradient(circle at 68% 78%, rgba(251,113,133,0.22), transparent 32%),
        linear-gradient(135deg, #efe7ff 0%, #e9fbff 46%, #fff0f5 100%);
}

.hero-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.23;
    background-image:
        linear-gradient(rgba(124,58,237,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,58,237,0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}

.hero-orb-one {
    width: 260px;
    height: 260px;
    right: -90px;
    top: 150px;
    background: rgba(251,113,133,0.12);
}

.hero-orb-two {
    width: 180px;
    height: 180px;
    left: -60px;
    bottom: 40px;
    background: rgba(34,211,238,0.13);
}

.hero {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    padding: 96px 24px 108px;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 72px;
    align-items: center;
}

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--purple);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 1.45px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.eyebrow {
    padding: 8px 12px;
    border: 1px solid rgba(124,58,237,0.14);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0.78), rgba(245,243,255,0.82));
    box-shadow: 0 8px 24px rgba(124,58,237,0.07);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 5px rgba(20,184,166,0.11);
}

.hero h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 0.99;
    letter-spacing: -3.6px;
}

.gradient-text {
    display: inline-block;
    background: linear-gradient(110deg, var(--purple) 5%, #4f46e5 45%, var(--teal) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dark-gradient {
    background: linear-gradient(110deg, #5b21b6, #2563eb 55%, #0f766e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text {
    max-width: 650px;
    margin: 27px 0 33px;
    font-size: 19px;
    line-height: 1.75;
    color: #64748b;
}

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

.primary-button,
.secondary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 13px 21px;
    border-radius: 12px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease;
}

.primary-button {
    color: white;
    background:
        linear-gradient(135deg, var(--purple) 0%, #4f46e5 100%);
    box-shadow: 0 12px 28px rgba(99,102,241,0.24);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(99,102,241,0.28);
}

.secondary-button {
    color: var(--ink);
    background: rgba(255,255,255,0.78);
    border: 1px solid #d8dee9;
}

.secondary-button:hover {
    transform: translateY(-2px);
    border-color: rgba(124,58,237,0.28);
}

.hero-proof {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 42px;
    padding-top: 27px;
    border-top: 1px solid rgba(148,163,184,0.25);
}

.hero-proof > div {
    display: flex;
    flex-direction: column;
}

.hero-proof strong {
    color: var(--ink);
    font-size: 14px;
}

.hero-proof span {
    color: var(--muted);
    font-size: 12px;
}

.hero-visual {
    position: relative;
    padding: 25px 18px;
}

.hero-panel {
    position: relative;
    color: white;
    padding: 27px;
    border-radius: 26px;
    background:
        linear-gradient(155deg, #13182b 0%, #171738 54%, #102c35 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 38px 90px rgba(39,36,93,0.25),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at 80% 5%, rgba(34,211,238,0.12), transparent 25%),
        radial-gradient(circle at 10% 80%, rgba(124,58,237,0.15), transparent 26%);
}

.panel-top,
.metric-card,
.panel-row,
.risk-section {
    position: relative;
    z-index: 2;
}

.panel-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 21px;
}

.panel-kicker {
    display: block;
    color: #8da0bc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 4px;
}

.panel-top h3 {
    margin: 0;
    font-size: 21px;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(94,234,212,0.18);
    border-radius: 999px;
    color: #99f6e4;
    background: rgba(20,184,166,0.09);
    font-size: 11px;
    font-weight: 750;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5eead4;
    box-shadow: 0 0 0 4px rgba(94,234,212,0.09);
}

.metric-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    padding: 21px;
    margin-bottom: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.07);
}

.metric-card > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.metric-label {
    color: #9fb0c8;
    font-size: 13px;
}

.metric-status {
    color: #5eead4;
    font-size: 12px;
    font-weight: 750;
}

.metric-value {
    font-size: 52px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
}

.panel-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.small-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
}

.small-card span,
.small-card small {
    color: #a8b7cc;
}

.small-card span {
    font-size: 12px;
}

.small-card strong {
    font-size: 28px;
    line-height: 1.1;
}

.small-card small {
    font-size: 10px;
}

.teal-card {
    background: linear-gradient(145deg, rgba(20,184,166,0.17), rgba(20,184,166,0.07));
}

.purple-card {
    background: linear-gradient(145deg, rgba(124,58,237,0.18), rgba(124,58,237,0.07));
}

.risk-section {
    margin-top: 25px;
}

.risk-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    color: #8fa1bb;
    font-size: 11px;
}

.risk-bars > div {
    margin-bottom: 13px;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    color: #9fb0c8;
    font-size: 11px;
}

.bar-label strong {
    color: #dbeafe;
    font-size: 10px;
}

.bar {
    width: 100%;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}

.bar-fill {
    height: 100%;
    border-radius: inherit;
}

.bar-fill.low {
    width: 78%;
    background: linear-gradient(90deg, #2dd4bf, #5eead4);
}

.bar-fill.medium {
    width: 48%;
    background: linear-gradient(90deg, #f59e0b, #facc15);
}

.bar-fill.high {
    width: 26%;
    background: linear-gradient(90deg, #f43f5e, #fb7185);
}

.signal-card {
    position: absolute;
    z-index: 5;
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 168px;
    padding: 12px 14px;
    border-radius: 15px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(226,232,240,0.9);
    box-shadow: 0 18px 40px rgba(15,23,42,0.12);
    backdrop-filter: blur(8px);
}

.signal-card-left {
    top: -3px;
    left: -32px;
}

.signal-card-right {
    right: -34px;
    bottom: -6px;
}

.signal-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #0f766e;
    background: #ccfbf1;
    font-weight: 900;
}

.signal-icon.coral {
    color: #be123c;
    background: #ffe4e6;
}

.signal-card strong,
.signal-card small {
    display: block;
}

.signal-card strong {
    color: var(--ink);
    font-size: 12px;
}

.signal-card small {
    color: var(--muted);
    font-size: 10px;
}

.trusted-strip {
    padding: 19px 24px;
    text-align: center;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    background:
        linear-gradient(90deg, #f5f3ff 0%, #ecfeff 48%, #fff1f2 100%);
    border-top: 1px solid rgba(124,58,237,0.08);
    border-bottom: 1px solid rgba(124,58,237,0.08);
}

.section {
    padding: 105px 24px;
    position: relative;
}

#how-it-works {
    background:
        radial-gradient(circle at 8% 22%, rgba(124,58,237,0.16), transparent 24%),
        radial-gradient(circle at 90% 72%, rgba(34,211,238,0.15), transparent 24%),
        linear-gradient(135deg, #f2ecff 0%, #eefcff 52%, #fff4f7 100%);
}

.section-alt {
    position: relative;
    background:
        radial-gradient(circle at 12% 14%, rgba(251,113,133,0.16), transparent 22%),
        radial-gradient(circle at 84% 18%, rgba(124,58,237,0.16), transparent 24%),
        radial-gradient(circle at 50% 88%, rgba(20,184,166,0.16), transparent 28%),
        linear-gradient(135deg, #fff0f5 0%, #f1ecff 46%, #e8fbff 100%);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-heading h2,
.about-layout h2,
.contact-content h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 53px);
    line-height: 1.12;
    letter-spacing: -2px;
}

.section-heading p {
    margin: 19px auto 0;
    max-width: 680px;
    color: var(--muted);
    font-size: 17px;
}

.three-column-grid,
.features-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

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

.feature-card,
.platform-feature {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.86), rgba(255,255,255,0.68));
    border: 1px solid rgba(124,58,237,0.12);
    border-radius: 20px;
    padding: 29px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature-card:hover,
.platform-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15,23,42,0.08);
}

.feature-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
}

.simulate-card {
    background: linear-gradient(145deg, #f5f0ff, #ffffff 72%);
}

.simulate-card::before {
    background: linear-gradient(90deg, var(--purple), #a78bfa);
}

.measure-card {
    background: linear-gradient(145deg, #eafdf9, #ffffff 72%);
}

.measure-card::before {
    background: linear-gradient(90deg, var(--teal), var(--cyan));
}

.improve-card {
    background: linear-gradient(145deg, #fff0f3, #fff9ed 72%);
}

.improve-card::before {
    background: linear-gradient(90deg, var(--coral), #f59e0b);
}

.feature-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.feature-top > span {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: white;
    font-weight: 850;
    font-size: 12px;
    background: linear-gradient(135deg, var(--purple), #4f46e5);
}

.measure-card .feature-icon {
    background: linear-gradient(135deg, var(--teal), #0891b2);
}

.improve-card .feature-icon {
    background: linear-gradient(135deg, var(--coral), #f97316);
}

.feature-card h3,
.platform-feature h3 {
    margin: 0 0 11px;
    font-size: 21px;
}

.feature-card p,
.platform-feature p {
    margin: 0;
    color: var(--muted);
}

.mini-tag {
    display: inline-flex;
    margin-top: 24px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #6d28d9;
    background: #f5f3ff;
    font-size: 11px;
    font-weight: 750;
}

.measure-card .mini-tag {
    color: #0f766e;
    background: #ecfdf5;
}

.improve-card .mini-tag {
    color: #be123c;
    background: #fff1f2;
}

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

.platform-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 14px;
    font-size: 19px;
    font-weight: 900;
}

.feature-purple {
    background: linear-gradient(145deg, #f2ecff, #ffffff 78%);
}

.feature-teal {
    background: linear-gradient(145deg, #e7fbf8, #ffffff 78%);
}

.feature-coral {
    background: linear-gradient(145deg, #fff0f3, #ffffff 78%);
}

.feature-blue {
    background: linear-gradient(145deg, #edf4ff, #ffffff 78%);
}

.feature-yellow {
    background: linear-gradient(145deg, #fff9df, #ffffff 78%);
}

.feature-green {
    background: linear-gradient(145deg, #ecfaef, #ffffff 78%);
}

.feature-purple .platform-icon {
    color: #6d28d9;
    background: #ede9fe;
}

.feature-teal .platform-icon {
    color: #0f766e;
    background: #ccfbf1;
}

.feature-coral .platform-icon {
    color: #be123c;
    background: #ffe4e6;
}

.feature-blue .platform-icon {
    color: #1d4ed8;
    background: #dbeafe;
}

.feature-yellow .platform-icon {
    color: #a16207;
    background: #fef3c7;
}

.feature-green .platform-icon {
    color: #15803d;
    background: #dcfce7;
}

.platform-feature:hover.feature-purple {
    border-color: rgba(124,58,237,0.28);
}

.platform-feature:hover.feature-teal {
    border-color: rgba(20,184,166,0.3);
}

.platform-feature:hover.feature-coral {
    border-color: rgba(251,113,133,0.34);
}

.about-section {
    background:
        radial-gradient(circle at 85% 28%, rgba(20,184,166,0.22), transparent 24%),
        radial-gradient(circle at 10% 72%, rgba(124,58,237,0.22), transparent 26%),
        radial-gradient(circle at 54% 16%, rgba(251,113,133,0.12), transparent 22%),
        linear-gradient(135deg, #eee8ff 0%, #ecfbfb 58%, #fff1f4 100%);
}

.about-layout {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 90px;
    align-items: start;
}

.about-text {
    color: var(--muted);
    font-size: 17px;
}

.about-text p:first-child {
    margin-top: 0;
}

.about-lead {
    color: var(--ink);
    font-size: 21px;
    line-height: 1.5;
    font-weight: 750;
}

.contact-section {
    position: relative;
    overflow: hidden;
    color: white;
    padding: 105px 24px;
    background:
        linear-gradient(135deg, #17152f 0%, #24134c 46%, #0c3a42 100%);
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 44px 44px;
}

.contact-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
}

.contact-glow-one {
    width: 280px;
    height: 280px;
    left: -80px;
    top: -80px;
    background: rgba(124,58,237,0.18);
}

.contact-glow-two {
    width: 320px;
    height: 320px;
    right: -100px;
    bottom: -120px;
    background: rgba(20,184,166,0.16);
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.section-label.light {
    color: #99f6e4;
}

.contact-content p {
    max-width: 650px;
    margin: 23px auto 31px;
    color: #b7c4d9;
    font-size: 17px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 21px;
    border-radius: 12px;
    color: #3b177c;
    background: white;
    font-weight: 850;
    box-shadow: 0 14px 34px rgba(0,0,0,0.16);
}

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

.contact-email {
    display: block;
    margin-top: 16px;
    color: #94a3b8;
    font-size: 12px;
}

footer {
    background: #0b1020;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 25px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #7f8da4;
    font-size: 13px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: white;
    font-weight: 850;
}

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

    .hero-content {
        max-width: 760px;
    }

    .hero-visual {
        max-width: 680px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .three-column-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .public-nav a:not(.login-button) {
        display: none;
    }
}

@media (max-width: 650px) {
    .nav-container {
        padding: 14px 17px;
    }

    .hero {
        padding: 70px 18px 82px;
        gap: 45px;
    }

    .hero h1 {
        font-size: clamp(44px, 13vw, 60px);
        letter-spacing: -2.5px;
    }

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

    .hero-proof {
        gap: 18px;
    }

    .hero-visual {
        padding: 10px 0;
    }

    .hero-panel {
        padding: 20px;
        border-radius: 21px;
    }

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

    .signal-card {
        display: none;
    }

    .section {
        padding: 78px 18px;
    }

    .section-heading h2,
    .about-layout h2,
    .contact-content h2 {
        letter-spacing: -1.5px;
    }

    .contact-section {
        padding: 82px 18px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
