:root {
    color-scheme: dark;

    --background: #090b0f;
    --surface: #11141a;
    --surface-soft: #171b22;

    --text: #f4f6f8;
    --muted: #9299a6;

    --line: rgba(255, 255, 255, 0.09);

    --accent: #ff5a36;
    --accent-soft: rgba(255, 90, 54, 0.12);

    --max-width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;

    background:
        radial-gradient(
            circle at 70% -15%,
            rgba(255, 90, 54, 0.12),
            transparent 30%
        ),
        var(--background);

    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
}

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

.header {
    position: sticky;
    z-index: 50;
    top: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: min(calc(100% - 40px), var(--max-width));
    height: 76px;
    margin: 0 auto;

    border-bottom: 1px solid var(--line);

    background: rgba(9, 11, 15, 0.78);

    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-mark {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    border-radius: 10px;

    background: var(--accent);
    color: #fff;

    font-size: 18px;
}

.brand-name {
    font-size: 18px;
}

.nav {
    display: flex;
    gap: 30px;

    color: var(--muted);

    font-size: 14px;
}

.nav a {
    transition:
        color 160ms ease,
        transform 160ms ease;
}

.nav a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.header-login {
    padding: 10px 16px;

    border: 1px solid var(--line);
    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 160ms ease,
        border-color 160ms ease;
}

.header-login:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: var(--surface-soft);
}

.hero {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(520px, 1.1fr);
    gap: 72px;
    align-items: center;

    width: min(calc(100% - 40px), var(--max-width));
    min-height: 760px;
    margin: 0 auto;

    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    margin-bottom: 18px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.development h2 {
    margin: 0;

    font-size: clamp(42px, 5.3vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero h1 span,
.section-heading h2 span {
    display: block;

    color: #717986;
}

.hero-text {
    max-width: 640px;
    margin: 28px 0 0;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.7;
}

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

    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 22px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

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

.button-primary {
    background: var(--accent);
    color: #fff;
}

.button-primary:hover {
    background: #ff6a49;
}

.button-secondary {
    border: 1px solid var(--line);

    background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: var(--surface-soft);
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;

    margin-top: 52px;
    padding-top: 24px;

    border-top: 1px solid var(--line);
}

.hero-meta div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-meta strong {
    font-size: 15px;
}

.hero-meta span {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.5;
}

.hero-preview {
    position: relative;
    z-index: 2;

    perspective: 1400px;
}

.preview-window {
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;

    background: #0d1015;

    box-shadow:
        0 45px 120px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(255, 255, 255, 0.025) inset;

    transform: rotateY(-5deg) rotateX(2deg);
}

.preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 58px;
    padding: 0 20px;

    border-bottom: 1px solid var(--line);
}

.preview-logo {
    color: var(--accent);

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.preview-user {
    color: var(--muted);

    font-size: 11px;
}

.preview-body {
    display: grid;
    grid-template-columns: 150px 1fr;

    min-height: 420px;
}

.preview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 7px;

    padding: 18px 12px;

    border-right: 1px solid var(--line);

    background: rgba(255, 255, 255, 0.012);
}

.preview-sidebar span {
    padding: 9px 11px;

    border-radius: 8px;

    color: #777f8b;

    font-size: 11px;
}

.preview-sidebar .active {
    background: var(--accent-soft);
    color: #ff8065;
}

.preview-main {
    padding: 28px;
}

.preview-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.preview-subtitle {
    margin-top: 7px;

    color: var(--muted);

    font-size: 12px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;

    margin-top: 28px;
}

.preview-card {
    display: flex;
    flex-direction: column;
    gap: 36px;

    min-height: 130px;
    padding: 17px;

    border: 1px solid var(--line);
    border-radius: 13px;

    background: #13171d;
}

.preview-card b {
    font-size: 13px;
}

.preview-card small {
    color: var(--muted);

    font-size: 10px;
    line-height: 1.5;
}

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;
}

.hero-glow-one {
    top: 16%;
    right: 2%;

    width: 330px;
    height: 330px;

    background: rgba(255, 90, 54, 0.12);
}

.hero-glow-two {
    bottom: 4%;
    left: 25%;

    width: 280px;
    height: 280px;

    background: rgba(66, 108, 255, 0.08);
}

.section,
.workflow-section {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
    padding: 130px 0;
}

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

.section-heading h2 {
    font-size: clamp(38px, 4.6vw, 62px);
}

.section-heading p {
    max-width: 650px;
    margin: 24px 0 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;

    margin-top: 58px;
}

.feature-card {
    min-height: 275px;
    padding: 24px;

    border: 1px solid var(--line);
    border-radius: 16px;

    background:
        linear-gradient(
            160deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        );

    transition:
        transform 180ms ease,
        border-color 180ms ease;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-4px);
}

.feature-card-accent {
    border-color: rgba(255, 90, 54, 0.28);

    background:
        linear-gradient(
            160deg,
            rgba(255, 90, 54, 0.11),
            rgba(255, 90, 54, 0.025)
        );
}

.feature-number {
    color: #5d6571;

    font-size: 11px;
    font-weight: 800;
}

.feature-card h3 {
    margin: 70px 0 10px;

    font-size: 19px;
    letter-spacing: -0.02em;
}

.feature-card p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}

.workflow-section {
    border-top: 1px solid var(--line);
}

.workflow {
    margin-top: 68px;
}

.workflow-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;

    max-width: 780px;
}

.workflow-item > span {
    color: var(--accent);

    font-size: 12px;
    font-weight: 800;
}

.workflow-item h3 {
    margin: 0 0 9px;

    font-size: 22px;
}

.workflow-item p {
    max-width: 600px;
    margin: 0;

    color: var(--muted);

    line-height: 1.65;
}

.workflow-line {
    width: 1px;
    height: 58px;
    margin: 14px 0 14px 51px;

    background: var(--line);
}

.development {
    padding: 30px 20px 130px;
}

.development-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 80px;

    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 60px;

    border: 1px solid rgba(255, 90, 54, 0.2);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255, 90, 54, 0.13),
            transparent 30%
        ),
        var(--surface);
}

.development h2 {
    max-width: 820px;

    font-size: clamp(36px, 4.5vw, 60px);
}

.development p {
    max-width: 720px;
    margin: 24px 0 0;

    color: var(--muted);

    line-height: 1.7;
}

.development .button {
    flex: 0 0 auto;
}

.footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;

    width: min(calc(100% - 40px), var(--max-width));
    min-height: 120px;
    margin: 0 auto;

    border-top: 1px solid var(--line);

    color: var(--muted);

    font-size: 12px;
}

.footer p {
    margin: 0;
}

.footer > span {
    justify-self: end;
}


@media (max-width: 1050px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 70px;

        padding: 90px 0;
    }

    .hero-preview {
        max-width: 800px;
    }

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


@media (max-width: 760px) {
    .header {
        width: min(calc(100% - 28px), var(--max-width));
        height: 66px;
    }

    .nav {
        display: none;
    }

    .header-login {
        padding: 9px 12px;
    }

    .hero,
    .section,
    .workflow-section {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .hero {
        min-height: auto;
        padding: 70px 0 80px;
    }

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

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

    .hero-meta {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .preview-window {
        transform: none;
    }

    .preview-body {
        grid-template-columns: 1fr;
    }

    .preview-sidebar {
        display: none;
    }

    .preview-main {
        padding: 20px;
    }

    .preview-grid {
        gap: 9px;
    }

    .preview-card {
        min-height: 115px;
        padding: 14px;
    }

    .section,
    .workflow-section {
        padding: 90px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 220px;
    }

    .feature-card h3 {
        margin-top: 48px;
    }

    .workflow-item {
        grid-template-columns: 48px 1fr;
        gap: 14px;
    }

    .workflow-line {
        margin-left: 24px;
    }

    .development {
        padding:
            10px
            14px
            80px;
    }

    .development-inner {
        display: block;

        padding: 34px 24px;
    }

    .development .button {
        margin-top: 30px;
    }

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

        width: min(calc(100% - 28px), var(--max-width));
        padding: 28px 0;
    }

    .footer > span {
        align-self: flex-start;
    }
}


@media (max-width: 480px) {
    .brand-name {
        font-size: 16px;
    }

    .header-login {
        font-size: 12px;
    }

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

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-card {
        min-height: 100px;
    }
}
