/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
    background: #fafafa;
    color: #1d1d1f;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: #3a7bd5; text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

/* ===== Navigation ===== */
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 24px;
}

.site-nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1d1d1f;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.site-nav .nav-brand:hover { text-decoration: none; }

.site-nav .nav-brand img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: #424245;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.nav-links a:hover { color: #1d1d1f; }
.nav-links a.active { color: #1d1d1f; font-weight: 600; }

/* ===== Containers ===== */
.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

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

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 80px 24px 60px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.hero .hero-subtitle {
    font-size: 18px;
    color: #424245;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ===== CTA Button ===== */
.cta-button {
    display: inline-block;
    background: #3a7bd5;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 980px;
    text-decoration: none;
    transition: background 0.2s;
}

.cta-button:hover {
    background: #2d6bc4;
    text-decoration: none;
}

/* ===== Content Sections ===== */
.content-section {
    padding: 64px 24px;
}

.content-section .section-inner {
    max-width: 960px;
    margin: 0 auto;
}

.content-section.alt-bg {
    background: #f0f0f2;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.content-section p {
    font-size: 16px;
    color: #424245;
    margin-bottom: 16px;
    line-height: 1.7;
}

.content-section .section-inner > p:last-child {
    margin-bottom: 0;
}

/* ===== Steps (How It Works) ===== */
.steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.step {
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e5e7;
}

.step-number {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background: #3a7bd5;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.step p {
    font-size: 15px;
    color: #424245;
    margin: 0;
}

/* ===== Step Rows (How It Works) ===== */
.step-row {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 24px;
}

.step-row.reverse {
    flex-direction: row-reverse;
}

.step-text {
    flex: 1;
}

.step-text h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.step-text p {
    font-size: 16px;
    color: #424245;
    margin: 0;
    line-height: 1.7;
}

.step-image {
    flex: 1;
    display: flex;
    justify-content: center;
    height: 606px;
}

.step-image img {
    width: 280px;
    height: 606px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.feature-card {
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e5e7;
}

.feature-card .feature-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    display: block;
}

.feature-icon-pair {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: auto;
    height: auto;
}

.feature-icon-pair svg {
    width: 36px;
    height: 36px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 15px;
    color: #424245;
    margin: 0;
}

/* ===== Screenshots ===== */
.screenshots {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* margin: 40px 0; */
    padding: 60px 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

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

.screenshots img {
    flex: 0 0 auto;
    width: 200px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    scroll-snap-align: center;
}

/* ===== Privacy Policy / Content Page Styles ===== */
.page-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e5e7;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1d1d1f;
}

.page-header .page-subtitle {
    font-size: 15px;
    font-weight: 500;
    color: #86868b;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-header .effective {
    font-size: 13px;
    color: #aeaeb2;
    margin-top: 8px;
}

.summary-box {
    background: #f0f5ff;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0 36px;
}

.summary-box p {
    color: #1d1d1f;
    font-weight: 500;
    margin: 0;
    font-size: 15px;
}

.section {
    margin-bottom: 8px;
}

.section h2 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #1d1d1f;
    margin: 36px 0 12px;
}

.section p {
    font-size: 15px;
    color: #424245;
    margin-bottom: 16px;
}

.section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.section ul li {
    font-size: 15px;
    color: #424245;
    padding-left: 20px;
    margin-bottom: 8px;
    position: relative;
}

.section ul li::before {
    content: "\2022";
    position: absolute;
    left: 0;
}

.changelog {
    margin-top: 12px;
    font-size: 14px;
    color: #86868b;
}

/* ===== FAQ ===== */
.faq-item {
    border-bottom: 1px solid #e5e5e7;
}

.faq-item summary {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: #86868b;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item .faq-answer {
    padding: 0 0 20px;
}

.faq-item .faq-answer p {
    font-size: 15px;
    color: #424245;
    margin: 0;
}

/* ===== Support ===== */
.support-section {
    margin-bottom: 40px;
}

.support-section h2 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.support-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 24px 0 8px;
}

.support-section p {
    font-size: 15px;
    color: #424245;
    margin-bottom: 12px;
}

/* ===== Footer ===== */
.site-footer {
    margin-top: 48px;
    padding: 24px;
    border-top: 1px solid #e5e5e7;
    text-align: center;
}

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    margin-bottom: 16px;
}

.site-footer .footer-links a {
    color: #86868b;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.site-footer .footer-links a:hover { color: #1d1d1f; }

.site-footer .copyright {
    font-size: 13px;
    color: #aeaeb2;
}

/* ===== Emphasis Block (Why Paid) ===== */
.emphasis-block {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle-label {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 4px;
    }

    .nav-toggle-label span {
        display: block;
        width: 22px;
        height: 2px;
        background: #1d1d1f;
        border-radius: 1px;
        transition: transform 0.2s, opacity 0.2s;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fafafa;
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 16px;
        border-bottom: 1px solid #e5e5e7;
        z-index: 10;
    }

    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .site-nav {
        position: relative;
    }

    .hero { padding: 48px 24px 40px; }
    .hero h1 { font-size: 34px; }
    .hero .hero-subtitle { font-size: 16px; }

    .content-section { padding: 48px 24px; }
    .content-section h2 { font-size: 26px; }

    .step-row { flex-direction: column; gap: 24px; padding: 24px; }
    .step-row.reverse { flex-direction: column; }
    .step-image { height: 520px; }
    .step-image img { width: 240px; height: 520px; }

    .steps { grid-template-columns: 1fr; gap: 20px; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }

    .screenshots { gap: 14px; }
    .screenshots img { width: 160px; border-radius: 16px; }
}

/* ===== Dark Mode ===== */
@media (prefers-color-scheme: dark) {
    body { background: #1c1c1e; color: #f5f5f7; }

    .site-nav .nav-brand { color: #f5f5f7; }
    .nav-links a { color: #a1a1a6; }
    .nav-links a:hover, .nav-links a.active { color: #f5f5f7; }

    .hero h1 { color: #f5f5f7; }
    .hero .hero-subtitle { color: #a1a1a6; }

    .content-section h2 { color: #f5f5f7; }
    .content-section p { color: #a1a1a6; }
    .content-section.alt-bg { background: #2c2c2e; }

    .step { background: #2c2c2e; border-color: #3a3a3c; }
    .step h3 { color: #f5f5f7; }
    .step p { color: #a1a1a6; }

    .step-text h3 { color: #f5f5f7; }
    .step-text p { color: #a1a1a6; }
    .step-image img { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); }

    .feature-card { background: #2c2c2e; border-color: #3a3a3c; }
    .feature-card h3 { color: #f5f5f7; }
    .feature-card p { color: #a1a1a6; }

    .screenshots img { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); }

    .page-header { border-color: #2c2c2e; }
    .page-header h1 { color: #f5f5f7; }
    .page-header .page-subtitle { color: #98989d; }
    .page-header .effective { color: #636366; }

    .summary-box { background: #1a2a3a; }
    .summary-box p { color: #f5f5f7; }

    .section h2 { color: #f5f5f7; }
    .section p { color: #a1a1a6; }
    .section ul li { color: #a1a1a6; }
    .changelog { color: #98989d; }

    .faq-item { border-color: #2c2c2e; }
    .faq-item summary { color: #f5f5f7; }
    .faq-item summary::after { color: #636366; }
    .faq-item .faq-answer p { color: #a1a1a6; }

    .support-section h2 { color: #f5f5f7; }
    .support-section h3 { color: #f5f5f7; }
    .support-section p { color: #a1a1a6; }

    .site-footer { border-color: #2c2c2e; }
    .site-footer .footer-links a { color: #636366; }
    .site-footer .footer-links a:hover { color: #f5f5f7; }
    .site-footer .copyright { color: #636366; }

    .emphasis-block { color: #f5f5f7; }

    /* Mobile dark */
    .nav-toggle-label span { background: #f5f5f7; }
    .nav-links { background: #1c1c1e; border-color: #2c2c2e; }
}
