:root {
    --bg: #0b0b12;
    --surface: rgba(20, 20, 31, 0.88);
    --surface2: rgba(30, 30, 49, 0.9);
    --accent: #e50914;
    --accent2: #ff6b35;
    --text: #f4f4f7;
    --text-muted: #9b9bb8;
    --border: rgba(255, 255, 255, 0.14);
}

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

html,
body {
    min-height: 100%;
    background: var(--bg);
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text);
    background:
        radial-gradient(ellipse 90% 65% at 10% 95%, rgba(52, 19, 97, 0.95) 0%, transparent 65%),
        radial-gradient(ellipse 75% 70% at 90% 8%, rgba(1, 43, 122, 0.9) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 60% 50%, rgba(20, 6, 55, 0.5) 0%, transparent 75%),
        #040210;
}

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

.landing-shell {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
    padding: 18px 0 56px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Chango', sans-serif;
    letter-spacing: 1px;
    font-size: 0.92rem;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.top-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.top-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 8px 14px;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 30px;
}

.hero-copy,
.hero-preview {
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(11, 10, 28, 0.74);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hero-copy {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: start;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.hero-copy h1 {
    font-family: 'Chango', sans-serif;
    font-size: clamp(1.9rem, 4.2vw, 3.3rem);
    line-height: 1.02;
}

.lead {
    color: rgba(244, 244, 247, 0.84);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 48ch;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cta {
    border: none;
    border-radius: 999px;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.18s ease;
}

.cta:active {
    transform: scale(0.97);
}

.cta-primary {
    background: linear-gradient(135deg, var(--accent), #ff4b58 55%, var(--accent2));
    color: #fff;
    box-shadow: 0 12px 28px rgba(229, 9, 20, 0.3);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text);
}

.install-feedback {
    min-height: 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.hero-preview {
    border: none;
    background: none;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: start;
}

.phone-shell {
    width: min(180px, 100%);
    aspect-ratio: 9 / 16;
    max-height: 360px;
    border-radius: 38px;
    background: linear-gradient(165deg, rgba(15, 15, 20, 0.95), rgba(17, 16, 33, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.45);
    padding: 42px 12px 12px;
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 46%;
    height: 22px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
}

.phone-content {
    height: 100%;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-image {
    width: 42%;
    height: 100%;
    /* object-fit: contain; */
    display: block;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.section-block {
    margin-top: 22px;
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 22px;
    background: rgba(11, 10, 28, 0.62);
}

.section-head {
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: 1.18rem;
    margin-bottom: 4px;
}

.section-head p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.shot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.shot-card {
    aspect-ratio: 9 / 16;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    padding: 8px;
}

.shot-card img {
    border-radius: 16px;
}

.shot-card.mobile-only {
    display: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.price-card {
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.price-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.price-card .price {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.price-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.price-card.featured {
    border-color: rgba(229, 9, 20, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.terms-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    gap: 12px;
}

.terms-card p {
    color: rgba(244, 244, 247, 0.82);
    line-height: 1.55;
    font-size: 0.88rem;
}

.ios-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.68);
    z-index: 80;
    padding: 16px;
}

.ios-modal.hidden {
    display: none;
}

.ios-modal-card {
    width: min(440px, 100%);
    border-radius: 24px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 10, 20, 0.96);
    display: grid;
    gap: 14px;
    text-align: center;
}

.ios-modal-card h2 {
    font-family: 'Chango', sans-serif;
    font-size: 1.4rem;
}

.ios-modal-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

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

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

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .landing-shell {
        width: calc(100% - 16px);
    }

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-links {
        width: 100%;
        justify-content: space-between;
    }

    .hero-copy {
        padding: 22px;
    }

    .hero-preview {
        display: none;
    }

    .shot-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .shot-grid::-webkit-scrollbar {
        display: none;
    }

    .shot-card {
        flex: 0 0 72%;
        max-width: 260px;
        scroll-snap-align: start;
    }

    .shot-card.mobile-only {
        display: flex;
    }
}
