:root {
    --dark: #080b1a;
    --dark-2: #101428;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e5e7eb;
    --soft: #f8fafc;
    --white: #ffffff;
    --blue: #0059ff;
    --violet: #b720eb;
    --violet-2: #7c3aed;
    --green: #22c55e;
    --shadow: 0 24px 80px rgba(15, 23, 42, 0.14);
    --radius: 28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
}

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

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

.container {
    width: min(92%, 1200px);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    height: 74px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: var(--violet);
}

.header-actions,
.hero-actions,
.final-cta-card > div {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-height: 44px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 800;
    transition: 0.22s ease;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--violet));
    color: var(--white);
    box-shadow: 0 18px 40px rgba(183, 32, 235, 0.24);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 55px rgba(183, 32, 235, 0.34);
}

.btn-ghost {
    color: var(--text);
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.08);
}

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

.btn-light {
    background: var(--white);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-large {
    min-height: 54px;
    padding: 15px 26px;
    font-size: 15px;
}

.hero-section {
    position: relative;
    min-height: 760px;
    padding: 104px 0 92px;
    background:
        radial-gradient(circle at top left, rgba(0, 89, 255, 0.22), transparent 32%),
        radial-gradient(circle at 78% 18%, rgba(183, 32, 235, 0.24), transparent 30%),
        linear-gradient(135deg, #070a18 0%, #11162c 46%, #060914 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 180px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.06));
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}

.hero-glow-one {
    background: var(--blue);
    left: -80px;
    top: 160px;
}

.hero-glow-two {
    background: var(--violet);
    right: -80px;
    top: 80px;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c4b5fd;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.eyebrow span {
    width: 9px;
    height: 9px;
    border-radius: 99px;
    background: var(--green);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.16);
}

.hero-copy h1 {
    max-width: 760px;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 0.96;
    letter-spacing: -4px;
    font-weight: 900;
    margin-bottom: 26px;
}

.hero-copy p {
    max-width: 660px;
    color: #cbd5e1;
    font-size: 19px;
    line-height: 1.75;
    margin-bottom: 36px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 620px;
    margin-top: 42px;
}

.trust-row div {
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    border-radius: 20px;
}

.trust-row strong {
    display: block;
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 4px;
}

.trust-row span {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-shell {
    position: relative;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.09);
    backdrop-filter: blur(22px);
    border-radius: 36px;
    padding: 24px;
    box-shadow: 0 35px 120px rgba(0, 0, 0, 0.35);
}

.dashboard-topbar,
.metric-card,
.chart-card,
.activity-list div {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 24px;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    margin-bottom: 16px;
}

.dashboard-topbar span,
.metric-card span,
.chart-header span,
.activity-list span,
.loan-widget span {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-topbar strong {
    display: block;
    font-size: 32px;
    margin-top: 8px;
}

.dashboard-topbar small {
    height: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(34,197,94,0.16);
    color: #86efac;
    font-weight: 900;
}

.metric-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.metric-card {
    padding: 18px;
}

.metric-card.primary {
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(0,89,255,0.9), rgba(183,32,235,0.88));
}

.metric-card strong {
    display: block;
    font-size: 30px;
    margin: 12px 0 8px;
}

.metric-card em {
    display: inline-flex;
    color: #bbf7d0;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.chart-card {
    padding: 20px;
    margin-bottom: 16px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.chart-bars {
    height: 158px;
    display: flex;
    align-items: end;
    gap: 12px;
}

.chart-bars i {
    flex: 1;
    min-width: 18px;
    border-radius: 999px 999px 10px 10px;
    background: linear-gradient(180deg, #ffffff, #8b5cf6);
    opacity: 0.96;
}

.activity-list {
    display: grid;
    gap: 12px;
}

.activity-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
}

.numbers-section {
    background: var(--white);
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
}

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

.numbers-grid div {
    padding: 26px;
    border-radius: 24px;
    background: var(--soft);
    border: 1px solid var(--line);
    text-align: center;
}

.numbers-grid strong {
    display: block;
    font-size: 30px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 6px;
}

.numbers-grid span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.solutions-section,
.platform-section,
.integrations-section,
.use-cases-section,
.security-section,
.calculator-section,
.final-cta {
    padding: 104px 0;
}

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

.section-heading span,
.section-kicker {
    color: var(--violet);
}

.section-kicker.light {
    color: #ddd6fe;
}

.section-heading h2,
.platform-copy h2,
.finance-card h2,
.integrations-grid h2,
.security-grid h2,
.calculator-grid h2,
.final-cta-card h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -2px;
    font-weight: 900;
    margin-bottom: 18px;
}

.section-heading p,
.platform-copy p,
.finance-card p,
.integrations-grid p,
.security-grid p,
.calculator-grid p,
.final-cta-card p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

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

.solution-card {
    min-height: 270px;
    padding: 30px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 16px 55px rgba(15, 23, 42, 0.05);
    transition: 0.25s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.solution-card.featured {
    background: linear-gradient(135deg, #0b1024, #161b37);
    color: var(--white);
    border-color: rgba(255,255,255,0.12);
}

.solution-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0,89,255,0.14), rgba(183,32,235,0.16));
    font-size: 26px;
    margin-bottom: 22px;
}

.solution-card.featured .solution-icon {
    background: rgba(255,255,255,0.12);
}

.solution-card h3 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--muted);
    line-height: 1.7;
}

.solution-card.featured p {
    color: #cbd5e1;
}

.solution-card a {
    display: inline-flex;
    margin-top: 22px;
    color: #c4b5fd;
    font-weight: 900;
}

.platform-section,
.calculator-section {
    background: var(--soft);
}

.platform-grid,
.integrations-grid,
.security-grid,
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.check-list,
.security-list {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.check-list div,
.security-list div {
    position: relative;
    padding: 16px 18px 16px 48px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    font-weight: 800;
    color: var(--text);
}

.check-list div::before,
.security-list div::before {
    content: "✓";
    position: absolute;
    left: 18px;
    color: var(--green);
    font-weight: 900;
}

.panel-preview {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 16px;
    min-height: 420px;
    padding: 20px;
    border-radius: 34px;
    background: linear-gradient(135deg, #111827, #0b1024);
    box-shadow: var(--shadow);
}

.panel-sidebar,
.panel-main {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 18px;
}

.panel-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.panel-sidebar span {
    width: 100%;
    height: 42px;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
}

.panel-sidebar span:first-child {
    background: linear-gradient(135deg, var(--blue), var(--violet));
}

.panel-line {
    height: 24px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    margin-bottom: 20px;
}

.panel-line.large {
    width: 56%;
}

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

.panel-cards span,
.panel-table span {
    display: block;
    border-radius: 18px;
    background: rgba(255,255,255,0.12);
}

.panel-cards span {
    height: 84px;
}

.panel-cards span:first-child {
    background: linear-gradient(135deg, rgba(0,89,255,0.82), rgba(183,32,235,0.82));
}

.panel-graph {
    height: 150px;
    border-radius: 22px;
    margin-bottom: 18px;
    background:
        linear-gradient(180deg, rgba(183,32,235,0.35), rgba(0,89,255,0.08)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 48px);
}

.panel-table {
    display: grid;
    gap: 10px;
}

.panel-table span {
    height: 28px;
}

.finance-section {
    padding: 104px 0;
    background: var(--white);
}

.finance-card {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;
    align-items: center;
    padding: 58px;
    border-radius: 40px;
    color: var(--white);
    background:
        radial-gradient(circle at top right, rgba(183,32,235,0.42), transparent 32%),
        linear-gradient(135deg, #080b1a, #121936 58%, #0b1024);
    box-shadow: var(--shadow);
}

.finance-card p,
.final-cta-card p {
    color: #cbd5e1;
    margin-bottom: 28px;
}

.loan-widget {
    padding: 34px;
    border-radius: 30px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.14);
}

.loan-widget strong {
    display: block;
    font-size: 46px;
    font-weight: 900;
    margin: 14px 0;
}

.loan-progress {
    height: 12px;
    background: rgba(255,255,255,0.16);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 26px;
}

.loan-progress i {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--blue), var(--violet));
}

.integration-cloud {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.integration-cloud div {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 24px;
    background: var(--soft);
    border: 1px solid var(--line);
    font-weight: 900;
    color: var(--text);
}

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

.cases-grid article {
    padding: 26px;
    min-height: 230px;
    border-radius: 26px;
    background: var(--soft);
    border: 1px solid var(--line);
}

.cases-grid strong {
    color: var(--violet);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cases-grid h3 {
    font-size: 32px;
    font-weight: 900;
    margin: 18px 0 12px;
}

.cases-grid p {
    color: var(--muted);
    line-height: 1.65;
}

.security-section {
    background: #fbfdff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.calculator-card {
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.calculator-card label {
    display: block;
    color: var(--text);
    font-weight: 900;
    margin-bottom: 12px;
}

.calculator-card input {
    width: 100%;
    height: 58px;
    padding: 0 18px;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    outline: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.calculator-card input:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 5px rgba(183, 32, 235, 0.12);
}

.calculator-results {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.calculator-results div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    background: var(--soft);
}

.calculator-results span {
    color: var(--muted);
    font-weight: 700;
}

.calculator-results strong {
    color: var(--text);
    font-size: 18px;
    font-weight: 900;
}

.final-cta-card {
    text-align: center;
    border-radius: 42px;
    padding: 76px 28px;
    color: var(--white);
    background:
        radial-gradient(circle at 20% 0%, rgba(0,89,255,0.44), transparent 32%),
        radial-gradient(circle at 80% 20%, rgba(183,32,235,0.44), transparent 32%),
        linear-gradient(135deg, #070a18, #141a34);
    box-shadow: var(--shadow);
}

.final-cta-card span {
    display: inline-flex;
    color: #c4b5fd;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}

.final-cta-card h2,
.final-cta-card p {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-card > div {
    justify-content: center;
    margin-top: 32px;
}

.site-footer {
    padding: 64px 0 36px;
    background: #050816;
    color: var(--white);
}

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

.footer-brand img {
    height: 76px;
    width: auto;
    filter: brightness(1.12);
}

.site-footer p {
    max-width: 340px;
    color: #94a3b8;
    line-height: 1.7;
    margin-top: 14px;
}

.site-footer h4 {
    font-size: 15px;
    margin-bottom: 18px;
}

.site-footer a,
.site-footer span {
    display: block;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.site-footer a:hover {
    color: var(--white);
}

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

    .hero-grid,
    .platform-grid,
    .integrations-grid,
    .security-grid,
    .calculator-grid,
    .finance-card {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 80px;
    }

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

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

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

@media (max-width: 720px) {
    .header-inner {
        min-height: 72px;
    }

    .brand img {
        height: 54px;
    }

    .header-actions .btn-ghost {
        display: none;
    }

    .btn {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-copy h1 {
        letter-spacing: -2px;
    }

    .trust-row,
    .solutions-grid,
    .cases-grid,
    .numbers-grid,
    .integration-cloud,
    .metric-grid,
    .panel-cards,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-shell,
    .finance-card,
    .panel-preview {
        border-radius: 28px;
        padding: 20px;
    }

    .panel-preview {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .panel-sidebar {
        flex-direction: row;
    }

    .panel-sidebar span {
        height: 34px;
    }

    .solutions-section,
    .platform-section,
    .integrations-section,
    .use-cases-section,
    .security-section,
    .calculator-section,
    .final-cta,
    .finance-section {
        padding: 74px 0;
    }

    .calculator-results div,
    .activity-list div,
    .dashboard-topbar {
        flex-direction: column;
    }
}

@media (max-width: 440px) {
    .header-actions .btn-primary {
        display: none;
    }

    .hero-actions {
        align-items: stretch;
    }

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