:root {
    --home-bg: #0f1217;
    --home-bg-dark: #080a0e;
    --home-surface: #171b23;
    --home-surface-raised: #1d232e;
    --home-border: rgba(255, 255, 255, 0.09);
    --home-text: #f5f7fb;
    --home-muted: #aab3c2;
    --home-muted-dark: #7f8999;
    --home-blue: #93c5fd;
    --home-blue-strong: #60a5fa;
    --home-green: #36d399;
    --home-amber: #fbbf24;
    --home-red: #ef4444;
}

body {
    margin: 0;
    background: var(--home-bg);
}

.home-page,
.home-page * {
    box-sizing: border-box;
}

.home-page {
    min-height: 100vh;
    overflow-x: clip;
    background:
        radial-gradient(circle at 0 0, rgba(239, 68, 68, 0.09), transparent 30rem),
        radial-gradient(circle at 78% 8%, rgba(147, 197, 253, 0.09), transparent 29rem),
        var(--home-bg);
    color: var(--home-text);
    font: 15px/1.6 "Roboto", Arial, sans-serif;
}

.home-page a {
    color: inherit;
    text-decoration: none;
}

.home-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.home-page-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--home-border);
    background: rgba(8, 10, 14, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.home-page-nav-inner,
.home-page-footer-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.home-page-nav-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.home-page-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 5px 6px;
    border-radius: 10px;
    line-height: 1;
}

.home-page-brand:hover {
    background: rgba(255, 255, 255, 0.035);
}

.home-page-brand img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
}

.home-page-brand span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.home-page-brand strong {
    color: var(--home-text);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1.1px;
}

.home-page-brand small {
    color: var(--home-muted-dark);
    font-size: 10px;
    font-weight: 600;
}

.home-page-nav-links,
.home-page-nav-actions {
    display: flex;
    align-items: center;
}

.home-page-nav-links {
    gap: 28px;
}

.home-page-nav-links a {
    color: var(--home-muted);
    font-size: 13px;
    font-weight: 600;
}

.home-page-nav-links a:hover {
    color: var(--home-text);
}

.home-page-nav a:focus:not(:focus-visible) {
    outline: none;
}

.home-page-nav a:focus-visible {
    outline: 2px solid var(--home-blue);
    outline-offset: 4px;
}

.home-page-nav-actions {
    gap: 12px;
}

.home-page-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.home-page-button-primary {
    border-color: var(--home-blue-strong);
    background: var(--home-blue-strong);
    color: #0c1420 !important;
    box-shadow: 0 8px 22px rgba(96, 165, 250, 0.22);
}

.home-page-button-primary:hover {
    border-color: #bfdbfe;
    background: #bfdbfe;
}

.home-page-button-secondary {
    border-color: var(--home-border);
    background: var(--home-surface);
    color: var(--home-text) !important;
}

.home-page-button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
}

.home-hero {
    position: relative;
    z-index: auto;
    padding: 88px 0 76px;
    background: transparent;
    box-shadow: none;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.88fr);
    gap: 76px;
    align-items: center;
}

.home-eyebrow,
.home-section-heading > span,
.home-final-cta-card > div:first-child > span {
    color: var(--home-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.home-eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--home-green);
    box-shadow: 0 0 0 6px rgba(54, 211, 153, 0.12);
}

.home-hero h1 {
    max-width: 700px;
    margin: 0 0 25px;
    color: var(--home-text);
    font-size: clamp(52px, 6.2vw, 78px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.062em;
}

.home-hero h1 em {
    display: block;
    color: var(--home-red);
    font-style: normal;
}

.home-hero-copy > p {
    max-width: 650px;
    margin: 0 0 31px;
    color: var(--home-muted);
    font-size: 19px;
    line-height: 1.65;
}

.home-hero-actions,
.home-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-proof {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 11px 20px;
    color: var(--home-muted-dark);
    font-size: 13px;
    font-weight: 600;
}

.home-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-proof i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--home-green);
}

.home-product-preview {
    position: relative;
    padding: 10px;
    border: 1px solid var(--home-border);
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 0, rgba(96, 165, 250, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    box-shadow: 0 30px 85px rgba(0, 0, 0, 0.35);
}

.home-dashboard-image {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 19px;
    background: #0f1217;
}

.home-section {
    padding: 78px 0;
    scroll-margin-top: 88px;
}

.home-section-muted {
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
    background: rgba(255, 255, 255, 0.018);
}

.home-section-heading {
    width: 100%;
    margin-bottom: 35px;
}

.home-section-heading p {
    max-width: 780px;
}

.home-section-heading h2,
.home-final-cta-card h2 {
    margin: 9px 0 15px;
    color: var(--home-text);
    font-size: clamp(35px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.home-section-heading p,
.home-final-cta-card p {
    margin: 0;
    color: var(--home-muted);
    font-size: 17px;
    line-height: 1.7;
}

.home-feature-grid,
.home-comparison-grid,
.home-roadmap-grid {
    display: grid;
    gap: 18px;
}

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

.home-feature-card,
.home-comparison-card {
    padding: 27px;
    border: 1px solid var(--home-border);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.home-feature-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 21px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(96, 165, 250, 0.1);
    color: var(--home-blue);
}

.home-feature-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-feature-card h3,
.home-comparison-card h3 {
    margin: 0 0 11px;
    color: var(--home-text);
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.025em;
}

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

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

.home-comparison-card {
    position: relative;
    padding: 31px;
    background: var(--home-surface);
}

.home-comparison-card-accent {
    border-color: rgba(96, 165, 250, 0.24);
    background:
        linear-gradient(145deg, rgba(96, 165, 250, 0.08), transparent 42%),
        var(--home-surface);
}

.home-comparison-label {
    display: block;
    margin-bottom: 8px;
    color: var(--home-blue);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-comparison-card ul {
    min-height: 178px;
    margin: 21px 0 26px;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.home-comparison-card li {
    position: relative;
    padding-left: 21px;
    color: var(--home-muted);
}

.home-comparison-card li::before {
    position: absolute;
    top: 8px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--home-green);
    content: "";
}

.home-comparison-card > a {
    color: var(--home-blue);
    font-weight: 700;
}

.home-plan-table {
    overflow-x: auto;
    border: 1px solid var(--home-border);
    border-radius: 20px;
    background: var(--home-surface);
}

.home-plan-table table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.home-plan-table th,
.home-plan-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--home-border);
    text-align: left;
}

.home-plan-table th {
    background: rgba(255, 255, 255, 0.04);
    color: var(--home-text);
    font-size: 13px;
}

.home-plan-table td {
    color: var(--home-muted);
}

.home-plan-table td:first-child {
    color: var(--home-text);
    font-weight: 700;
}

.home-plan-table td strong {
    color: var(--home-green);
}

.home-plan-table .home-plan-no {
    color: var(--home-muted-dark);
}

.home-plan-table tr:last-child td {
    border-bottom: 0;
}

.home-roadmap-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-roadmap-grid article {
    padding: 22px;
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 17px;
    background: rgba(251, 191, 36, 0.055);
}

.home-roadmap-grid strong,
.home-roadmap-grid span {
    display: block;
}

.home-roadmap-grid strong {
    margin-bottom: 7px;
    color: var(--home-text);
}

.home-roadmap-grid span {
    color: var(--home-muted);
}

.home-final-cta {
    padding: 82px 0 96px;
}

.home-final-cta-card {
    padding: 45px;
    border: 1px solid var(--home-border);
    border-radius: 28px;
    background:
        radial-gradient(circle at 0 0, rgba(96, 165, 250, 0.15), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.home-final-cta-card > div:first-child {
    max-width: 700px;
}

.home-final-cta-card h2 {
    font-size: clamp(32px, 4vw, 45px);
}

.home-final-actions {
    flex: 0 0 auto;
}

.home-page-footer {
    padding: 24px 0;
    border-top: 1px solid var(--home-border);
    background: var(--home-bg-dark);
}

.home-page-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.home-page-footer .home-page-brand img {
    width: 32px;
    height: 32px;
}

.home-page-footer .home-page-brand strong {
    font-size: 12px;
}

.home-page-footer .home-page-brand small {
    font-size: 9px;
}

.home-page-footer-inner > div {
    display: flex;
    gap: 24px;
}

.home-page-footer-inner > div a {
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 600;
}

.home-page-footer-inner > div a:hover {
    color: var(--home-blue);
}

.home-page-footer-inner > small {
    color: var(--home-muted-dark);
    font-size: 12px;
}

@media (max-width: 960px) {
    .home-page-nav-links {
        display: none;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .home-hero-copy {
        max-width: 780px;
    }

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

    .home-final-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .home-container,
    .home-page-nav-inner,
    .home-page-footer-inner {
        width: min(100% - 28px, 1180px);
    }

    .home-page-nav-actions .home-page-button-secondary {
        display: none;
    }

    .home-page-button {
        padding-inline: 13px;
    }

    .home-hero {
        padding: 58px 0;
    }

    .home-hero h1 {
        font-size: clamp(44px, 14vw, 62px);
    }

    .home-feature-grid,
    .home-comparison-grid,
    .home-roadmap-grid {
        grid-template-columns: 1fr;
    }

    .home-comparison-card ul {
        min-height: 0;
    }

    .home-final-cta-card {
        padding: 30px 24px;
    }

    .home-final-actions,
    .home-final-actions .home-page-button {
        width: 100%;
    }

    .home-page-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .home-page-brand small {
        display: none;
    }

    .home-page-nav-actions .home-page-button-primary {
        padding-inline: 10px;
        font-size: 12px;
    }

    .home-feature-card,
    .home-comparison-card {
        padding: 23px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .home-page-button {
        transition: none;
    }

}
