:root {
    --color-background: #f7f9fc;
    --color-surface: #ffffff;
    --color-primary: #1f4fff;
    --color-primary-dark: #173bcc;
    --color-secondary: #0d1b2a;
    --color-muted: #6b7a99;
    --color-border: rgba(15, 32, 67, 0.08);
    --color-accent: #00c4b6;
    --shadow-lg: 0 30px 80px rgba(15, 32, 67, 0.12);
    --shadow-md: 0 18px 45px rgba(15, 32, 67, 0.08);
    --shadow-sm: 0 10px 25px rgba(15, 32, 67, 0.06);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 12px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-secondary);
    background: linear-gradient(180deg, #f2f6ff 0%, #ffffff 100%);
}

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

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

section {
    padding: 96px clamp(24px, 8vw, 120px);
}

.section-inner {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: rgba(15, 32, 67, 0.08);
    color: var(--color-secondary);
}

.btn--secondary:hover {
    background: rgba(15, 32, 67, 0.12);
}

.btn--ghost {
    background: transparent;
    color: var(--color-secondary);
    border: 1px solid rgba(15, 32, 67, 0.12);
}

.btn--ghost:hover {
    border-color: rgba(31, 79, 255, 0.4);
    color: var(--color-primary);
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px clamp(24px, 8vw, 120px);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 32, 67, 0.06);
}

.landing-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}

.landing-header__brand img {
    height: 108px;
    width: auto;
}

.landing-header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 500;
}

.landing-header__nav a {
    position: relative;
    padding-bottom: 6px;
}

.landing-header__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.2s ease;
}

.landing-header__nav a:hover::after {
    width: 100%;
}

.landing-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-login-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(15, 32, 67, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-login-icon:hover {
    border-color: rgba(31, 79, 255, 0.4);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.hero {
    padding-top: 96px;
    padding-bottom: 96px;
}

.demo {
    padding-top: 72px;
}

.usps,
.how,
.social-proof,
.trust,
.cta {
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero__layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
    gap: clamp(32px, 6vw, 64px);
}

.hero__content h1 {
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero__content p {
    font-size: 1.1rem;
    color: var(--color-muted);
    margin-bottom: 28px;
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    justify-content: center;
}

.hero__badges {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 12px;
    color: var(--color-muted);
}

.hero__badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(31, 79, 255, 0.08);
    color: var(--color-primary);
    font-weight: 500;
    white-space: nowrap;
    font-size: 0.95rem;
}

.hero__visual {
    position: relative;
}

.hero__frame {
    background: linear-gradient(160deg, rgba(31, 79, 255, 0.12) 0%, rgba(0, 196, 182, 0.12) 100%);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-lg);
}

.hero__frame--video {
    padding: 12px;
}

.hero__video {
    width: 100%;
    max-height: 400px;
    display: block;
    border-radius: var(--radius-md);
    background: #000;
    object-fit: contain;
}

.hero__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: clamp(280px, 45vw, 440px);
    border-radius: var(--radius-md);
    background: rgba(15, 32, 67, 0.05);
    color: var(--color-muted);
    font-weight: 500;
}

.usps {
    background: #ffffff;
    text-align: center;
}

.usps h2 {
    margin-bottom: 48px;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.usps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.usps__grid article {
    padding: 32px;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.usps__grid article i {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.usps__grid article h3 {
    margin: 0 0 12px;
}

.usps__grid article p {
    color: var(--color-muted);
    line-height: 1.5;
}

.how {
    background: linear-gradient(180deg, rgba(31, 79, 255, 0.04) 0%, rgba(0, 196, 182, 0.04) 100%);
    text-align: center;
}

.how h2 {
    margin-bottom: 48px;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.how__steps {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.how__step {
    background: var(--color-surface);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: left;
    max-width: 260px;
}

.how__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(31, 79, 255, 0.12);
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.how__arrow {
    font-size: 1.6rem;
    color: rgba(15, 32, 67, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 8px;
}

.demo {
    background: #ffffff;
}

.demo__header {
    text-align: center;
    margin-bottom: 32px;
}

.demo__selector {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-block: 8px;
}

.demo__selector::-webkit-scrollbar {
    display: none;
}

.demo__tab {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid rgba(15, 32, 67, 0.12);
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.demo__tab.is-active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.demo__tab-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-weight: 600;
}

.demo__tab-text small {
    font-size: 0.75rem;
    color: var(--color-muted);
    font-weight: 500;
}

.demo__tab-logo img {
    height: 26px;
    width: auto;
}

@media (min-width: 1100px) {
    .demo__selector {
        flex-wrap: nowrap;
        justify-content: center;
    }
}

.demo__frame {
    background: linear-gradient(160deg, rgba(31, 79, 255, 0.08) 0%, rgba(0, 196, 182, 0.08) 100%);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: center;
}

.screen-simulator {
    position: relative;
    width: min(100%, 720px);
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.screen-simulator__iframe {
    width: 1920px;
    height: 1080px;
    border: none;
    display: block;
    transform-origin: top left;
    background: #000;
}

.demo__placeholder {
    height: clamp(280px, 45vw, 440px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: var(--radius-md);
    background: rgba(15, 32, 67, 0.05);
    color: var(--color-muted);
    font-weight: 500;
}

.social-proof {
    background: linear-gradient(135deg, #0d1b2a 0%, #203a65 100%);
    color: #ffffff;
}

.social-proof__content h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 16px;
}

.social-proof__content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.social-proof__author {
    font-size: 0.95rem;
    opacity: 0.8;
}

.social-proof__logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.trust {
    background: #ffffff;
    text-align: center;
}

.trust h2 {
    margin-bottom: 48px;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.social-proof__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    align-items: center;
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.trust__grid article {
    padding: 32px;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.trust__grid article i {
    font-size: 1.9rem;
    color: var(--color-primary);
    margin-bottom: 18px;
}

.trust__grid article p {
    color: var(--color-muted);
    line-height: 1.6;
}

.trust__faq {
    display: grid;
    gap: 16px;
    text-align: left;
    max-width: 780px;
    margin: 0 auto;
}

.trust__faq details {
    background: rgba(31, 79, 255, 0.06);
    padding: 18px 24px;
    border-radius: var(--radius-sm);
}

.trust__faq summary {
    font-weight: 600;
    cursor: pointer;
}

.cta {
    background: linear-gradient(135deg, rgba(31, 79, 255, 0.12) 0%, rgba(0, 196, 182, 0.12) 100%);
}

.cta__card {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.cta__card h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 16px;
}

.cta__card p {
    color: var(--color-muted);
    margin-bottom: 32px;
}

.cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.cta__note {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.landing-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px clamp(24px, 8vw, 120px) 48px;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.landing-footer__links {
    display: flex;
    gap: 20px;
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-visible {
    opacity: 1;
    visibility: visible;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 40, 0.55);
    backdrop-filter: blur(6px);
}

.modal__dialog {
    position: relative;
    z-index: 2;
    width: min(420px, calc(100% - 32px));
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    padding: 36px;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--color-muted);
    cursor: pointer;
    font-size: 1.2rem;
}

.modal__content h2 {
    margin: 0 0 12px;
}

.modal__content p {
    color: var(--color-muted);
    margin-bottom: 24px;
}

.modal__form {
    display: grid;
    gap: 16px;
}

.modal__form label {
    font-weight: 600;
}

.modal__form input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(15, 32, 67, 0.16);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.modal__form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.modal__help {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 40px);
    z-index: 40;
}

.lightbox.is-visible {
    display: flex;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 32, 67, 0.65);
    backdrop-filter: blur(6px);
}

.lightbox__dialog {
    position: relative;
    max-width: min(1200px, 90vw);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 3vw, 24px);
}

.lightbox__dialog img {
    width: auto;
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.lightbox__close {
    position: absolute;
    top: clamp(-18px, -3vw, -8px);
    right: clamp(-18px, -3vw, -8px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.lightbox__close:hover {
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .landing-header__nav {
        display: none;
    }

    .landing-header__actions .btn {
        display: none;
    }

    .landing-header__brand img {
        height: 96px;
    }

    .landing-header__actions {
        margin-left: auto;
        width: auto;
        gap: 8px;
        justify-content: flex-end;
        align-items: center;
    }

    .header-login-icon {
        display: inline-flex;
    }

    .hero__badges {
        display: none;
    }

    .how__steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

@media (max-width: 1200px) {
    .hero__badges {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .how__steps {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 24px;
    }

    .how__arrow {
        display: none;
    }
}

@media (max-width: 960px) {
    .hero__badges {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .how__steps {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .how__arrow {
        display: none;
    }
    .landing-header {
        flex-wrap: wrap;
        gap: 16px;
    }

    .landing-header__nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 72px 24px;
    }

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

@media (max-width: 600px) {
    .landing-header__nav {
        gap: 16px;
        font-size: 0.95rem;
    }

    .landing-header__actions {
        width: auto;
        margin-left: auto;
        justify-content: flex-end;
    }

    .hero__content p {
        font-size: 1rem;
    }

    .usps__grid article,
    .how__step,
    .trust__grid article {
        padding: 24px;
    }

    .cta__card {
        padding: 36px 24px;
    }
}

