:root {
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --footer-surface: #f2f2f2;
    --text: #0a0c14;
    --muted: #5b5f73;
    --border: transparent;
    --accent: #0084fe;
    --accent-strong: #005ecb;
    --shadow-soft: none;
    --radius-lg: 24px;
    --radius-md: 18px;
    --grid-gap: 18px;
    --header-offset: 96px;
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    background: var(--surface);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.page {
    min-height: 100vh;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--header-offset) + env(safe-area-inset-top, 0px));
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px clamp(18px, 3vw, 32px);
    background: var(--surface-strong);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

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

.nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--text);
    left: 0;
}

.nav-toggle span::before {
    top: -6px;
}

.nav-toggle span::after {
    top: 6px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.brand span {
    font-weight: 700;
    letter-spacing: 0.4px;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    padding: 6px 4px;
}

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

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

.nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text);
    position: relative;
    display: block;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--text);
    left: 0;
}

.nav-toggle span::before {
    top: -6px;
}

.nav-toggle span::after {
    top: 6px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 44px;
    border-radius: 14px;
    text-decoration: none;
    border: none;
    color: #fff;
    font-weight: 700;
    background: var(--accent);
}


.hero {
    text-align: center;
    padding: 40px clamp(16px, 3vw, 40px) 24px;
}

.hero h1,
.hero .lead {
    text-align: center;
}

.hero h1 {
    display: inline-block;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    margin: 16px 0;
    font-weight: 900;
}

.hero .lead {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-actions {
    margin-top: 20px;
}

.content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(20px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 3vw, 40px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 16px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 20px 40px rgba(0, 132, 254, 0.3);
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.store-badge svg {
    width: 24px;
    height: 24px;
}

.store-badge span {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.carousel-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: clamp(20px, 3vw, 40px) 0;
}

.section-label {
    margin: 0;
    font-size: 1rem;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.carousel-track {
    overflow: hidden;
    border-radius: 22px;
    background: var(--surface-strong);
    padding: 18px 0 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    touch-action: pan-y;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-track.grabbing {
    cursor: grabbing;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-row {
    display: flex;
    gap: 18px;
    will-change: transform;
    transform: translateX(0);
}

.carousel-row img {
    width: 220px;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
    border: none;
}

.feature-grid-three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-top: 100px;
    margin-bottom: 100px;
}

.feature-card {
    background: var(--surface-strong);
    padding: 28px 22px;
    border-radius: var(--radius-md);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.feature-card .feature-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.feature-stack {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-section {
    background: var(--surface-strong);
    border-radius: var(--radius-lg);
    padding: clamp(18px, 3vw, 30px);
    display: flex;
    gap: clamp(20px, 2vw, 36px);
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
    flex-wrap: wrap;
}

.feature-section:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-media,
.feature-text {
    flex: 1 1 280px;
}

.feature-media {
    display: flex;
    justify-content: center;
}

.feature-section h3 {
    margin: 0 0 8px;
    font-size: clamp(24px, 2.4vw, 32px);
}

.feature-section p {
    margin: 0;
    color: var(--muted);
}

.feature-section img {
    width: min(400px, 100%);
    height: auto;
    border-radius: 12px;
    border: none;
    object-fit: contain;
    box-shadow: none;
    align-self: center;
}

.faq-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    padding: clamp(40px, 5vw, 90px) 0;
    width: 100%;
}

.faq-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.faq-header h2 {
    margin: 0;
    font-size: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 16px;
    width: min(1040px, 100%);
    margin: 36px auto 0;
}

.faq-card {
    background: var(--surface-strong);
    border-radius: var(--radius-md);
    padding: 40px 20px 36px;
    position: relative;
    text-align: center;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    align-self: flex-start;
}

.faq-card h4 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.faq-card .faq-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-card .faq-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.faq-card h4 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-card p {
    margin: 0;
    color: var(--muted);
}

.reviews {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: clamp(40px, 5vw, 90px) 0;
    width: 100%;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: min(1040px, 100%);
    margin: 0 auto;
}

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

@media (max-width: 900px) {
    .feature-section {
        flex-direction: column;
        text-align: center;
    }
}

.review-card {
    background: var(--surface-strong);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
}

.review-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.review-card p {
    margin: 0;
    color: var(--muted);
}

.review-meta {
    font-size: 0.9rem;
    color: var(--accent-strong);
    margin-bottom: 10px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.site-footer {
    margin-top: auto;
    padding: 32px clamp(20px, 3vw, 36px);
    background: var(--footer-surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.footer-column h4 {
    margin-top: 0;
    margin-bottom: 8px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-column a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.footer-colophon {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    font-size: 0.9rem;
    color: var(--muted);
}

@media (max-width: 768px) {
    .nav-links {
        width: 100%;
        justify-content: flex-start;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface-strong);
        display: none;
        padding: 12px 0;
    }

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

    .nav-toggle {
        display: inline-flex;
    }

    .hero h1 {
        text-align: center;
    }
}

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

@media (max-width: 900px) {
    .feature-section {
        flex-direction: column;
        text-align: center;
    }
}
