* {
    box-sizing: border-box;
}

:root {
    --bg: #fbfaf7;
    --surface: #ffffff;
    --surface-soft: #f4f7fb;
    --ink: #17212b;
    --muted: #667085;
    --line: #d6dae0;
    --accent: #2AABEE;
    --accent-dark: #229ed9;
    --accent-soft: #eaf7fe;
    --blue-soft: #e8f6fb;
    --shadow: 0 18px 55px rgba(15, 23, 42, 0.1);
    --radius: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
}

body.modal-open {
    overflow: hidden;
}

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

img,
iframe {
    max-width: 100%;
}

.hero {
    background: radial-gradient(circle at 78% 22%, #dff3ff 0, rgba(223, 243, 255, 0) 34%),
        linear-gradient(180deg, #fbfaf7 0%, #f4f9fd 100%);
    padding: 18px 24px 88px;
}

.nav {
    position: sticky;
    top: 14px;
    z-index: 20;
    max-width: 1180px;
    margin: 0 auto 78px;
    min-height: 64px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(228, 232, 223, 0.86);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 35px rgba(31, 41, 35, 0.08);
    backdrop-filter: blur(16px);
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
}

.logo img,
.footer-logo img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    object-fit: cover;
}

.nav-links {
    justify-self: center;
    display: flex;
    gap: 22px;
    align-items: center;
    color: #4b5563;
    font-size: 15px;
    font-weight: 700;
}

.nav-links a:hover,
.footer a:hover {
    color: var(--accent-dark);
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f7faf5;
}

.language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 34px;
    border-radius: 999px;
    color: #667085;
    font-size: 13px;
    font-weight: 900;
}

.language-switch a.active {
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 6px 16px rgba(31, 41, 35, 0.08);
}

.nav-btn,
.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.nav-btn,
.primary-btn {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(42, 171, 238, 0.24);
}

.secondary-btn {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
    .nav-btn:hover,
    .primary-btn:hover,
    .lead-form button:hover {
        transform: translateY(-2px);
        background: var(--accent-dark);
        box-shadow: 0 16px 34px rgba(42, 171, 238, 0.3);
    }

    .secondary-btn:hover {
        transform: translateY(-2px);
        border-color: #9bdcff;
        background: var(--accent-soft);
        color: var(--accent-dark);
        box-shadow: 0 12px 28px rgba(42, 171, 238, 0.14);
    }
}

.hero-content {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.94fr);
    gap: 54px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
    padding: 9px 14px;
    border: 1px solid #bde7fb;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #166a92;
    font-size: 14px;
    font-weight: 800;
}

.hero h1 {
    max-width: 720px;
    margin: 0 0 24px;
    font-size: 60px;
    line-height: 1.02;
    letter-spacing: 0;
}

.hero p {
    max-width: 620px;
    margin: 0 0 34px;
    color: #52605a;
    font-size: 20px;
    line-height: 1.62;
}

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

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-proof span {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #44514a;
    font-size: 14px;
    font-weight: 700;
}

.product-preview {
    overflow: hidden;
    border: 1px solid rgba(228, 232, 223, 0.9);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.preview-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    color: #667085;
    font-size: 13px;
    font-weight: 800;
}

.preview-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4d9d1;
}

.preview-bar span:first-child {
    background: #ff6b6b;
}

.preview-bar span:nth-child(2) {
    background: #ffd166;
}

.preview-bar span:nth-child(3) {
    background: var(--accent);
}

.preview-bar strong {
    margin-left: 8px;
}

.video-embed {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.product-preview .video-embed {
    border-radius: 0 0 30px 30px;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 92px 24px;
}

.section-header {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-header h2 {
    margin: 0 0 14px;
    font-size: 42px;
    line-height: 1.12;
}

.section-header p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.benefits-grid,
.steps,
.screens-grid {
    display: grid;
    gap: 18px;
}

.benefits-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
}

.benefit-card,
.step,
.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(31, 41, 35, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.benefit-card,
.step {
    padding: 26px;
}

.benefit-card h3,
.step h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.25;
}

.benefit-card p,
.step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.62;
}

.benefit-card {
    display: grid;
    align-content: start;
    gap: 14px;
}

.benefit-card--accent {
    border-color: var(--line);
}

.benefit-label {
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 900;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.benefit-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.benefit-card li {
    position: relative;
    padding-left: 22px;
    color: #344054;
    line-height: 1.48;
}

.benefit-card li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.finance-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.finance-benefits div {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(31, 41, 35, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.finance-benefits strong {
    line-height: 1.3;
}

.finance-benefits span {
    color: var(--muted);
    line-height: 1.45;
}

.steps {
    grid-template-columns: repeat(4, 1fr);
}

.step span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 900;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.video-guides {
    padding-top: 34px;
}

.video-grid {
    display: grid;
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    gap: 22px;
}

.video-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(31, 41, 35, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.video-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.video-card p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.6;
}

.video-card .video-embed {
    border-radius: 20px;
}

@media (hover: hover) and (pointer: fine) {
    .benefit-card:hover,
    .step:hover,
    .video-card:hover,
    .faq-list details:hover,
    .finance-benefits div:hover {
        transform: translateY(-5px);
        border-color: #9bdcff;
        background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
        box-shadow: 0 22px 54px rgba(42, 171, 238, 0.16);
    }

    .benefit-card:hover .benefit-label {
        transform: translateY(-1px);
        background: var(--accent);
        color: #ffffff;
    }

    .benefit-card:hover li::before {
        transform: scale(1.35);
        box-shadow: 0 0 0 5px rgba(42, 171, 238, 0.12);
    }

    .step:hover span {
        transform: scale(1.08);
        background: var(--accent);
        color: #ffffff;
    }
}

.screenshots {
    max-width: none;
    background: #eff7f1;
}

.screenshots .section-header,
.screenshots .screens-grid {
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

.screens-grid {
    grid-template-columns: repeat(4, 1fr);
}

.screenshot-btn {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(31, 41, 35, 0.08);
    cursor: zoom-in;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.screenshot-btn:focus-visible,
.nav-btn:focus-visible,
.primary-btn:focus-visible,
.secondary-btn:focus-visible {
    outline: 3px solid rgba(42, 171, 238, 0.38);
    outline-offset: 4px;
}

.screenshot-btn img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.screenshot-btn:hover img {
    transform: scale(1.035);
}

@media (hover: hover) and (pointer: fine) {
    .screenshot-btn:hover {
        transform: translateY(-5px);
        border-color: #9bdcff;
        box-shadow: 0 22px 54px rgba(42, 171, 238, 0.16);
    }
}

.audience-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.audience-list div {
    padding: 15px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(31, 41, 35, 0.05);
    font-weight: 800;
}

.form-section {
    max-width: none;
    background: #17212b;
    color: #ffffff;
}

.form-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 46px;
    align-items: start;
    padding: 0 24px;
}

.form-text h2 {
    margin: 0 0 16px;
    font-size: 44px;
    line-height: 1.12;
}

.form-text p {
    margin: 0;
    color: #c8d7cd;
    font-size: 18px;
    line-height: 1.65;
}

.lead-form {
    display: grid;
    gap: 16px;
    padding: 30px;
    border-radius: 28px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.form-message {
    display: grid;
    gap: 5px;
    padding: 16px 18px;
    border-radius: 16px;
    line-height: 1.45;
}

.form-message strong {
    font-size: 17px;
}

.form-message span {
    color: #475569;
}

.form-message--success {
    border: 1px solid #9bdcff;
    background: #eaf7fe;
    color: #166a92;
}

.form-message--error {
    border: 1px solid #fca5a5;
    background: #fee2e2;
    color: #7f1d1d;
}

.lead-form label {
    display: grid;
    gap: 8px;
    font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    border: 1px solid #d8ded5;
    border-radius: 16px;
    padding: 15px 16px;
    background: #fbfcfa;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    border-color: var(--accent);
    outline: 3px solid rgba(42, 171, 238, 0.18);
}

.lead-form textarea {
    resize: vertical;
}

.lead-form button {
    min-height: 54px;
    border: none;
    border-radius: 999px;
    padding: 0 22px;
    background: var(--accent);
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, opacity 0.16s ease;
}

.lead-form button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.lead-form-hidden {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    padding: 22px 24px;
}

.faq-list summary {
    font-weight: 900;
    cursor: pointer;
}

.faq-list p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

.footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #667085;
}

.footer a {
    font-weight: 800;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 72px 24px 32px;
    background: rgba(15, 23, 42, 0.88);
}

.image-modal[aria-hidden="false"] {
    display: flex;
}

.image-modal__content {
    max-width: min(1120px, 100%);
    max-height: 100%;
    margin: 0;
    display: grid;
    gap: 14px;
    color: #ffffff;
}

.image-modal__content img {
    max-width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.image-modal__content figcaption {
    text-align: center;
    color: #e2e8f0;
    font-size: 15px;
}

.image-modal__close,
.toast__close {
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    line-height: 1;
    cursor: pointer;
}

.image-modal__close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    font-size: 30px;
}

.image-modal__close:focus-visible,
.toast__close:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1100;
    width: min(440px, calc(100vw - 32px));
    display: grid;
    gap: 8px;
    padding: 30px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.32);
    transform: translate(-50%, calc(-50% + 24px));
    opacity: 0;
    pointer-events: none;
    text-align: center;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast[aria-hidden="false"] {
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: auto;
}

.toast strong {
    font-size: 24px;
    line-height: 1.2;
}

.toast span {
    color: #475569;
    font-size: 16px;
    line-height: 1.5;
}

.toast--success {
    border-top: 6px solid var(--accent);
}

.toast--error {
    border-top: 6px solid #ef4444;
}

.toast__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: #f1f5f9;
    font-size: 24px;
}

@media (max-width: 1060px) {
    .nav {
        grid-template-columns: auto auto;
    }

    .nav-links {
        display: none;
    }

    .hero-content,
    .form-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 42px;
    }

    .benefits-grid,
    .finance-benefits,
    .steps,
    .video-grid,
    .screens-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 720px) {
    .hero {
        padding: 12px 14px 58px;
    }

    .nav {
        top: 8px;
        margin-bottom: 48px;
        padding: 9px 10px;
        gap: 10px;
    }

    .logo span {
        font-size: 18px;
    }

    .logo img {
        width: 34px;
        height: 34px;
    }

    .nav-btn {
        min-height: 42px;
        padding: 0 16px;
        font-size: 14px;
    }

    .nav-actions {
        gap: 6px;
    }

    .language-switch {
        padding: 3px;
    }

    .language-switch a {
        min-width: 32px;
        height: 30px;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.07;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .hero-proof {
        gap: 8px;
    }

    .hero-proof span {
        font-size: 13px;
    }

    .product-preview {
        border-radius: 22px;
    }

    .product-preview .video-embed {
        border-radius: 0 0 22px 22px;
    }

    .preview-bar {
        padding: 12px 13px;
    }

    .section {
        padding: 64px 16px;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h2,
    .form-text h2 {
        font-size: 30px;
    }

    .benefits-grid,
    .finance-benefits,
    .steps,
    .video-grid,
    .screens-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card,
    .step,
    .video-card {
        padding: 22px;
    }

    .screenshots {
        padding-right: 0;
        padding-left: 0;
    }

    .screenshots .section-header,
    .screenshots .screens-grid {
        padding-right: 16px;
        padding-left: 16px;
    }

    .screenshot-btn img {
        aspect-ratio: 16 / 11;
    }

    .audience-list {
        display: grid;
    }

    .audience-list div {
        border-radius: 18px;
    }

    .form-wrapper {
        padding: 0;
    }

    .lead-form {
        padding: 20px;
        border-radius: 22px;
    }

    .image-modal {
        padding: 70px 14px 24px;
    }

    .image-modal__content img {
        max-height: calc(100vh - 135px);
    }

    .toast {
        padding: 28px 22px 24px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 30px 16px;
    }
}

@media (max-width: 390px) {
    .nav {
        border-radius: 24px;
    }

    .nav-btn {
        padding: 0 12px;
    }

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

    .logo span {
        font-size: 16px;
    }
}
