@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

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

:root {
    --ink: #0f172a;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.1);
    --paper: #f8fafc;
    --white: #ffffff;
    --sky: #0284c7;
    --violet: #7c3aed;
    --rose: #e11d48;
    --green: #059669;
    --amber: #d97706;
    --shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px clamp(18px, 5vw, 64px);
    color: #fff;
    background: rgba(7, 11, 22, 0.62);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand,
.top-actions,
.nav-cta,
.primary-link,
.secondary-link {
    display: inline-flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 800;
    font-size: 1.04rem;
}

.brand-mark,
.mini-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #38bdf8, #8b5cf6);
    color: #fff;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.brand-mark svg,
.mini-logo svg {
    width: 18px;
    height: 18px;
}

.top-actions {
    gap: 18px;
    font-size: 0.88rem;
    font-weight: 700;
}

.top-actions a:not(.nav-cta) {
    opacity: 0.86;
}

.nav-cta {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 108px clamp(20px, 6vw, 72px) 92px;
    color: #fff;
    overflow: hidden;
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-shade {
    background: linear-gradient(90deg, rgba(7, 11, 22, 0.92) 0%, rgba(9, 14, 29, 0.76) 42%, rgba(9, 14, 29, 0.22) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(650px, 100%);
}

.eyebrow,
.section-heading p,
.cta-band p {
    color: #38bdf8;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 0.98;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-copy {
    max-width: 580px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.primary-link,
.secondary-link {
    min-height: 52px;
    border-radius: 16px;
    gap: 9px;
    font-weight: 800;
    font-size: 0.96rem;
    line-height: 1.1;
}

.primary-link {
    padding: 0 20px;
    background: linear-gradient(135deg, #38bdf8, #8b5cf6);
    color: #fff;
    box-shadow: 0 14px 30px rgba(56, 189, 248, 0.25);
}

.primary-link.dark {
    background: var(--ink);
    box-shadow: none;
}

.secondary-link {
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.primary-link svg,
.secondary-link svg {
    width: 18px;
    height: 18px;
}

.intro-band,
.flow-band,
.cta-band {
    padding: 72px clamp(20px, 6vw, 72px);
}

.intro-band {
    background: #f8fafc;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.section-heading.compact {
    max-width: 620px;
}

.section-heading h2,
.cta-band h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.08;
    font-weight: 800;
}

.preview-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) repeat(3, minmax(180px, 0.72fr));
    gap: 16px;
    align-items: stretch;
}

.preview-card {
    min-height: 220px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.preview-card > svg {
    width: 30px;
    height: 30px;
    color: var(--sky);
    margin-bottom: 24px;
}

.preview-card h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
}

.preview-card p,
.flow-step p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.main-preview {
    grid-row: span 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #e0f2fe, #f5f3ff);
}

.phone-frame {
    width: min(100%, 300px);
    min-height: 520px;
    border-radius: 34px;
    padding: 22px 16px;
    background: #0f172a;
    color: #fff;
    box-shadow: var(--shadow);
}

.phone-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    margin-bottom: 28px;
}

.mini-logo {
    width: 34px;
    height: 34px;
    border-radius: 12px;
}

.phone-welcome small,
.phone-widget small {
    display: block;
    color: #94a3b8;
    font-size: 0.74rem;
}

.phone-welcome strong {
    display: block;
    font-size: 1.35rem;
    margin: 3px 0 8px;
}

.phone-welcome span {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 9px;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.11);
    font-size: 0.72rem;
    font-weight: 800;
}

.phone-widget {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 14px;
    margin: 24px 0;
}

.phone-widget svg {
    color: #a78bfa;
    flex: 0 0 auto;
}

.phone-widget strong {
    display: block;
    margin-top: 2px;
    font-size: 0.86rem;
}

.phone-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.phone-icons span {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
}

.phone-icons span:nth-child(1) { color: #38bdf8; }
.phone-icons span:nth-child(2) { color: #fb7185; }
.phone-icons span:nth-child(3) { color: #34d399; }
.phone-icons span:nth-child(4) { color: #f59e0b; }

.flow-band {
    background: #fff;
}

.flow-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.flow-step {
    border-top: 3px solid var(--sky);
    padding: 18px 0 0;
}

.flow-step:nth-child(2) { border-color: var(--violet); }
.flow-step:nth-child(3) { border-color: var(--green); }

.flow-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0f2fe;
    color: var(--sky);
    font-weight: 800;
    margin-bottom: 14px;
}

.flow-step strong {
    display: block;
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.cta-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: #eaf6ff;
    border-top: 1px solid var(--line);
}

.cta-band > div {
    max-width: 700px;
}

@media (max-width: 980px) {
    .preview-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-preview {
        grid-row: auto;
    }
}

@media (max-width: 720px) {
    .site-header {
        padding: 14px 18px;
    }

    .top-actions a:not(.nav-cta) {
        display: none;
    }

    .hero {
        min-height: 90vh;
        align-items: flex-end;
        padding: 96px 20px 52px;
    }

    .hero-image {
        object-position: 64% center;
    }

    .hero-shade {
        background: linear-gradient(180deg, rgba(7, 11, 22, 0.26) 0%, rgba(7, 11, 22, 0.78) 45%, rgba(7, 11, 22, 0.96) 100%);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-copy {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-link,
    .secondary-link {
        justify-content: center;
        width: 100%;
    }

    .intro-band,
    .flow-band,
    .cta-band {
        padding: 52px 18px;
    }

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

    .phone-frame {
        min-height: 460px;
    }

    .cta-band {
        align-items: stretch;
        flex-direction: column;
    }
}