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

:root {
    --bg: #ffffff;
    --bg-subtle: #f5f5f7;
    --bg-muted: #ebebef;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --border: #d2d2d7;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --wrap: 1080px;
    --header-h: 52px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
    width: min(100% - 48px, var(--wrap));
    margin-inline: auto;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header__inner {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 24px;
}

.logo {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.15s;
}

.nav a:hover {
    color: var(--text);
}

.header__cta {
    margin-left: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: var(--accent);
    border-radius: 980px;
    transition: background 0.15s;
}

.header__cta:hover {
    background: var(--accent-hover);
}

.menu-btn {
    display: none;
    margin-left: auto;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.menu-btn:hover {
    background: var(--bg-subtle);
}

/* Hero */
.hero {
    padding: 64px 0 80px;
    background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 100%);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.pill {
    display: inline-block;
    margin-bottom: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-secondary);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 980px;
}

h1 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero__lead {
    font-size: 19px;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 440px;
    margin-bottom: 28px;
}

.hero__cta {
    margin-bottom: 40px;
}

.app-store {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.15s;
}

.app-store:hover {
    opacity: 0.85;
}

.app-store img {
    width: auto;
    height: 44px;
}

.app-store--lg img {
    height: 52px;
}

.hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.hero__metrics dt {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.hero__metrics dd {
    font-size: 13px;
    color: var(--text-tertiary);
}

.hero__device {
    display: flex;
    justify-content: center;
}

.device-frame {
    padding: 12px;
    background: var(--bg);
    border-radius: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.device-frame img {
    width: min(100%, 280px);
    border-radius: 28px;
}

/* Section header */
.section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
}

/* Features */
.features {
    padding: 96px 0;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feature {
    padding: 32px 28px;
    background: var(--bg);
}

.feature--highlight {
    background: var(--bg-subtle);
}

.feature__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    color: var(--accent);
}

.feature__icon svg {
    width: 100%;
    height: 100%;
}

.feature h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.feature p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-secondary);
}

.badge {
    display: inline-block;
    margin-top: 16px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(0, 113, 227, 0.08);
    border-radius: 4px;
}

/* Showcase */
.showcase {
    padding: 96px 0;
    background: var(--bg-subtle);
}

.showcase__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 8px 4px 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

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

.showcase__shot {
    flex: 0 0 auto;
    scroll-snap-align: start;
    text-align: center;
}

.showcase__shot img {
    width: 220px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.showcase__shot figcaption {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* CTA */
.cta {
    padding: 96px 0;
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 56px 64px;
    background: var(--text);
    color: #f5f5f7;
    border-radius: var(--radius-lg);
}

.cta__copy h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}

.cta__copy p {
    font-size: 17px;
    color: #a1a1a6;
    margin-bottom: 20px;
    max-width: 400px;
}

.cta__list {
    list-style: none;
    font-size: 14px;
    color: #86868b;
}

.cta__list li {
    position: relative;
    padding-left: 16px;
}

.cta__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #48484a;
}

.cta__list li + li {
    margin-top: 6px;
}

/* Footer */
.footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

.footer__brand p {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer__nav a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.15s;
}

.footer__nav a:hover {
    color: var(--text);
}

.footer__legal {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer__legal p {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Responsive */
@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero__device {
        order: -1;
    }

    .hero__metrics {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .cta__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 32px;
    }
}

@media (max-width: 640px) {
    .wrap {
        width: min(100% - 32px, var(--wrap));
    }

    .hero {
        padding: 40px 0 64px;
    }

    .hero__lead {
        font-size: 17px;
    }

    .header__cta {
        display: none;
    }

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        padding: 12px 16px;
        border-radius: 8px;
    }

    .nav a:hover {
        background: var(--bg-subtle);
    }

    .features,
    .showcase,
    .cta {
        padding: 64px 0;
    }
}
