
:root {
    --bg: #f6f8fc;
    --card: #ffffff;
    --text: #172033;
    --muted: #667085;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --soft-blue: #eaf1ff;
    --border: #e5e7eb;
    --green: #16a34a;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(22, 163, 74, 0.10), transparent 30%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

.page {
    min-height: 100vh;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.header {
    padding: 22px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.brand-logo {
    display: block;
    object-fit: contain;
    max-height: 60px;
    width: auto;
    filter: drop-shadow(0 10px 24px rgba(37, 99, 235, 0.3));
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #fff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    transition: 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.button-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.26);
}

.button-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.button-secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--border);
}

.button-secondary:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.hero {
    padding: 54px 0 36px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--blue-dark);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 22px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.07em;
    font-weight: 800;
}

.hero-text {
    max-width: 660px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 20px;
}

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

.hero-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

.visual-card {
    position: relative;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 34px;
    padding: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.visual-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -70px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.10);
}

.phone {
    position: relative;
    background: #0f172a;
    color: #fff;
    border-radius: 32px;
    padding: 20px;
    min-height: 430px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-top {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    margin-bottom: 24px;
}

.status-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    padding: 18px;
    margin-bottom: 14px;
}

.status-title {
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
    margin-bottom: 4px;
}

.status-value {
    font-size: 22px;
    font-weight: 800;
}

.signal {
    display: grid;
    gap: 9px;
    margin-top: 18px;
}

.signal-line {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.signal-line span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #38bdf8, #60a5fa);
}

.signal-line-1 span {
    width: 88%;
}

.signal-line-2 span {
    width: 72%;
}

.signal-line-3 span {
    width: 94%;
}

.qr-mini {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    width: 104px;
    height: 104px;
    padding: 8px;
    background: #fff;
    border-radius: 18px;
    margin-top: 20px;
}

.qr-mini span {
    border-radius: 3px;
    background: #0f172a;
    opacity: 0.12;
}

.qr-mini span:nth-child(1),
.qr-mini span:nth-child(2),
.qr-mini span:nth-child(6),
.qr-mini span:nth-child(7),
.qr-mini span:nth-child(10),
.qr-mini span:nth-child(12),
.qr-mini span:nth-child(14),
.qr-mini span:nth-child(16),
.qr-mini span:nth-child(19),
.qr-mini span:nth-child(20),
.qr-mini span:nth-child(24),
.qr-mini span:nth-child(25) {
    opacity: 1;
}

.section {
    padding: 46px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 22px;
}

.section-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.section-description {
    max-width: 520px;
    color: var(--muted);
    margin: 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--soft-blue);
    color: var(--blue-dark);
    font-size: 20px;
    margin-bottom: 16px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    letter-spacing: -0.03em;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    counter-reset: step;
}

.step {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    min-height: 150px;
    counter-increment: step;
}

.step::before {
    content: counter(step);
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    margin-bottom: 16px;
}

.step h3 {
    margin: 0 0 8px;
    font-size: 17px;
    letter-spacing: -0.03em;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.cta {
    background: #0f172a;
    color: #fff;
    border-radius: 34px;
    padding: 34px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    overflow: hidden;
    position: relative;
}

.cta::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.16);
}

.cta-content {
    position: relative;
}

.cta h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.cta p {
    max-width: 620px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.70);
}

.cta-actions {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer {
    padding: 34px 0 44px;
    color: var(--muted);
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 22px;
}

@media (max-width: 960px) {
    .hero-grid,
    .cta {
        grid-template-columns: 1fr;
    }

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

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

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 22px, 1120px);
    }

    .header {
        padding: 16px 0;
    }

    .nav {
        align-items: flex-start;
    }

    .brand {
        font-size: 18px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-link {
        display: none;
    }

    .button {
        min-height: 42px;
        padding: 10px 14px;
        font-size: 14px;
    }

    .hero {
        padding-top: 32px;
    }

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

    .visual-card {
        padding: 14px;
        border-radius: 26px;
    }

    .phone {
        min-height: 360px;
        border-radius: 26px;
    }

    .section-head {
        display: block;
    }

    .section-description {
        margin-top: 12px;
    }

    .cards,
    .steps {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 26px;
        border-radius: 26px;
    }

    .footer-inner {
        display: block;
    }
}

.happ-hero {
    padding-top: 42px;
}

.happ-phone {
    min-height: 420px;
}

.happ-screen-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.happ-screen-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.happ-screen-item span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-weight: 800;
    flex: 0 0 auto;
}

.happ-screen-item strong {
    font-size: 15px;
    color: #fff;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 320px));
    gap: 16px;
}

.store-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 86px;
    padding: 18px 20px;
    border-radius: 22px;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
    transition: 0.2s ease;
}

.store-card:hover {
    transform: translateY(-2px);
    background: #111c34;
}

.store-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 28px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.12);
}

.store-icon-apple {
    font-family: Arial, Helvetica, sans-serif;
}

.store-icon-play {
    color: #38bdf8;
}

.store-card span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.2;
}

.store-card strong {
    display: block;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

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

@media (max-width: 960px) {
    .store-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

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

@media (max-width: 640px) {
    .store-grid {
        max-width: none;
    }

    .store-card {
        min-height: 78px;
        padding: 16px;
    }

    .store-card strong {
        font-size: 21px;
    }

    .happ-steps {
        grid-template-columns: 1fr;
    }
}

.store-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-badge-link {
    display: inline-flex;
    transition: 0.2s ease;
}

.store-badge-link:hover {
    transform: translateY(-2px);
}

.store-badge-image {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 640px) {
    .store-badges {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 260px;
    }

    .store-badge-image {
        width: 220px;
    }
}