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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Nav ── */
nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #eee;
    z-index: 100;
    padding: 14px 0;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    color: #1a1a1a;
}

.nav-logo img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.nav-cta {
    background: #2196F3;
    color: #fff;
    padding: 9px 22px;
    border-radius: 22px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.nav-cta:hover { background: #1976D2; }

/* ── Hero ── */
.hero {
    text-align: center;
    padding: 90px 24px 70px;
    background: linear-gradient(180deg, #eef6ff 0%, #fff 100%);
}

.hero-icon {
    width: 110px;
    height: 110px;
    border-radius: 26px;
    box-shadow: 0 10px 40px rgba(33,150,243,0.3);
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 21px;
    color: #555;
    margin-bottom: 44px;
    line-height: 1.55;
}

/* ── Download Buttons ── */
.download-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.badge-btn {
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
}

.badge-btn:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.badge-apple {
    display: block;
    height: 48px;
    width: auto;
}

.badge-google {
    display: block;
    height: 72px;
    width: auto;
}

/* ── Callout (Avenza SEO) ── */
.callout {
    background: #2196F3;
    color: #fff;
    padding: 64px 24px;
    text-align: center;
}

.callout h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 18px;
}

.callout p {
    font-size: 18px;
    max-width: 680px;
    margin: 0 auto;
    opacity: 0.92;
    line-height: 1.7;
}

/* ── Features ── */
.features {
    padding: 90px 24px;
}

.features h2 {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 52px;
    letter-spacing: -0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
}

.feature {
    padding: 32px 28px;
    border-radius: 18px;
    background: #f7f9fc;
    transition: transform 0.2s;
}

.feature:hover { transform: translateY(-4px); }

.feature-icon {
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: #2196F3;
}

.feature h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* ── Screenshots ── */
.screenshots {
    padding: 90px 24px;
    background: #f7f9fc;
}

.screenshots h2 {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 52px;
    letter-spacing: -0.5px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: start;
    justify-items: center;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* iPhone frame */
.iphone-frame {
    width: 100%;
    max-width: 210px;
    background: #1c1c1e;
    border-radius: 42px;
    padding: 11px;
    box-shadow:
        0 0 0 1.5px #3a3a3c,
        0 30px 70px rgba(0,0,0,0.28);
    position: relative;
}

/* power button */
.iphone-frame::before {
    content: '';
    position: absolute;
    right: -4px;
    top: 110px;
    width: 4px;
    height: 68px;
    background: #3a3a3c;
    border-radius: 0 3px 3px 0;
}

/* volume buttons */
.iphone-frame::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 90px;
    width: 4px;
    height: 38px;
    background: #3a3a3c;
    border-radius: 3px 0 0 3px;
    box-shadow: 0 52px 0 #3a3a3c;
}

.iphone-screen {
    border-radius: 32px;
    overflow: hidden;
    background: #000;
    line-height: 0;
}

.iphone-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.caption {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-align: center;
}

/* ── Pricing ── */
.pricing {
    padding: 90px 24px;
    text-align: center;
}

.pricing h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 44px;
    letter-spacing: -0.5px;
}

.pricing-card {
    max-width: 420px;
    margin: 0 auto;
    background: #f7f9fc;
    border-radius: 24px;
    padding: 52px 44px;
    border: 2px solid #e4e8ed;
}

.pricing-amount {
    font-size: 64px;
    font-weight: 800;
    color: #2196F3;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-amount span {
    font-size: 26px;
    color: #999;
    font-weight: 400;
    letter-spacing: 0;
}

.pricing-trial {
    color: #666;
    font-size: 16px;
    margin-bottom: 36px;
}

.pricing-list {
    list-style: none;
    text-align: left;
    margin-bottom: 36px;
}

.pricing-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e4e8ed;
    font-size: 16px;
    color: #333;
}

.pricing-list li:last-child { border-bottom: none; }

/* ── Footer ── */
footer {
    background: #1a1a1a;
    color: #888;
    padding: 32px 24px;
    text-align: center;
    font-size: 14px;
}

footer a {
    color: #bbb;
    text-decoration: none;
}

footer a:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 38px; }
    .hero-subtitle { font-size: 17px; }
    .callout h2 { font-size: 26px; }
    .callout p { font-size: 16px; }
    .features h2, .screenshots h2, .pricing h2 { font-size: 30px; }
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .iphone-frame { border-radius: 32px; padding: 9px; }
    .iphone-screen { border-radius: 24px; }
    .pricing-card { padding: 40px 28px; }
}
