:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --accent: #1d4ed8;
    --accent-hover: #1e40af;
    --accent-soft: #eff6ff;
    --nav-bg: rgba(15, 23, 42, 0.92);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
    --radius: 0.75rem;
    --radius-lg: 1.25rem;
    --max-width: 1120px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

.container {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
}

/* Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
}

.nav-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: 0.5rem;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
    padding: 3.5rem 0 4rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.875rem;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 999px;
    border: 1px solid #dbeafe;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
    max-width: 18ch;
    margin-inline: auto;
}

.hero-lead {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 38rem;
    margin: 0 auto 2rem;
}

.hero-visual {
    margin: 2rem auto 2.5rem;
    max-width: 420px;
}

.hero-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.store-badge {
    display: inline-block;
    margin-top: 0.5rem;
    transition: transform 0.2s, opacity 0.2s;
}

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

.store-badge img {
    height: 44px;
    width: auto;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 32rem;
    margin-inline: auto;
}

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

.feature-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.security-band {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
}

.security-band h2 {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.security-band p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 36rem;
    margin-inline: auto;
}

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

.screenshot-item {
    text-align: center;
}

.screenshot-item img {
    width: 100%;
    max-width: 220px;
    margin-inline: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 0.625rem;
}

.screenshot-item figcaption {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Content pages */
.page-hero {
    text-align: center;
    padding: 2.5rem 0 1rem;
}

.page-hero img {
    height: 120px;
    width: auto;
    margin-inline: auto;
    margin-bottom: 1rem;
}

.page-content {
    padding: 1rem 0 4rem;
}

.page-content .container {
    max-width: 720px;
}

.page-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.page-content section {
    margin-bottom: 2.5rem;
}

.page-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.page-content p,
.page-content li {
    color: var(--text-muted);
}

.page-content a {
    color: var(--accent);
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

.page-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.page-content li {
    margin-bottom: 0.375rem;
}

.tips-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.manual-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.manual-intro p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Footer */
.site-footer {
    margin-top: 4rem;
    padding: 2.5rem 0 2rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    text-align: center;
}

.site-footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-support {
    margin-top: 0.5rem;
}

/* Subtle partner / sponsored strip */
.partner-strip {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.partner-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.partner-link {
    display: block;
    opacity: 0.72;
    transition: opacity 0.25s;
    border-radius: 0.375rem;
    overflow: hidden;
    max-width: 200px;
}

.partner-link:hover {
    opacity: 1;
}

.partner-link img {
    width: 100%;
    height: auto;
    border-radius: 0.375rem;
}

.fraudly-verified {
    display: inline-block;
    margin-top: 1.25rem;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.25s;
}

.fraudly-verified:hover {
    opacity: 1;
    text-decoration: none;
}

.fraudly-verified img {
    width: min(360px, 100%);
    height: auto;
    margin-inline: auto;
}

/* Mobile nav */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 0.75rem 1rem 1rem;
        background: var(--nav-bg);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        gap: 0.25rem;
    }

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

    .nav-links a {
        width: 100%;
    }

    .site-header .container {
        position: relative;
    }
}
