/* Local Pixel Font */
@font-face {
    font-family: 'Press Start 2P';
    src: url('../assets/fonts/PressStart2P-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* MonoSuite Design Tokens — Dark Theme */
:root {
    --bg-primary: #1c1b19;
    --bg-secondary: #282623;
    --bg-tertiary: #333028;
    --text-primary: #e8e4de;
    --text-secondary: #9a958c;
    --text-muted: #6e6a62;
    --accent: #e07a5f;
    --accent-hover: #eb8d74;
    --accent-secondary: #5fa386;
    --border-color: #3a3632;
    --border-subtle: #302d29;
    --toolbar-bg: rgba(28, 27, 25, 0.92);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
    --font-pixel: 'Press Start 2P', monospace;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Source Serif 4', Georgia, serif;
    --font-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-xl: 14px;
}

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

html {
    scroll-behavior: smooth;
}

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

::selection {
    background: var(--accent);
    color: white;
}

a {
    color: var(--text-primary);
    text-decoration: none;
}

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

/* ─── Navigation ─────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--toolbar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-pixel);
    font-size: 11px;
    color: var(--accent);
}

.nav-logo img {
    height: 28px;
    width: 28px;
    border-radius: var(--radius-md);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-ui);
    color: var(--text-secondary);
    font-size: 14px;
    transition: color var(--duration-fast) var(--ease-out);
}

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

/* ─── Hero Section ───────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-content {
    max-width: 680px;
}

.hero-icon {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-xl);
    margin: 0 auto 32px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-logo {
    display: block;
    max-width: 650px;
    width: 100%;
    height: auto;
    margin: 0 auto 40px;
    image-rendering: pixelated;
}

.hero h1 {
    font-family: var(--font-pixel);
    font-size: clamp(20px, 4vw, 32px);
    line-height: 1.6;
    letter-spacing: 0;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero .tagline {
    font-family: var(--font-pixel);
    font-size: clamp(10px, 2vw, 14px);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero .description {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.app-store-badge img {
    height: 54px;
    transition: transform var(--duration-fast) var(--ease-out), opacity var(--duration-fast) var(--ease-out);
}

.app-store-badge:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.price-badge {
    display: inline-block;
    background: rgba(224, 122, 95, 0.12);
    border: 1px solid rgba(224, 122, 95, 0.25);
    padding: 10px 20px;
    border-radius: 100px;
    font-family: var(--font-pixel);
    font-size: 9px;
    line-height: 1.6;
    color: var(--accent);
}

/* ─── Section Header (reusable) ──────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-family: var(--font-pixel);
    font-size: clamp(14px, 3vw, 22px);
    line-height: 1.8;
    letter-spacing: 0;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ─── How It Works (tool-card grid pattern) ──────────────── */
.how-it-works {
    padding: 100px 24px;
    background: var(--bg-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--duration-fast) var(--ease-out);
}

.step-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: rgba(224, 122, 95, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--accent);
}

.step-card h3 {
    font-family: var(--font-pixel);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-card p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ─── Screenshots Section ────────────────────────────────── */
.screenshots {
    padding: 100px 24px;
    overflow: hidden;
}

.screenshots-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 20px 24px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.screenshot-item img,
.screenshot-placeholder {
    width: 200px;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.screenshot-placeholder {
    aspect-ratio: 9 / 19.5;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-pixel);
    font-size: 8px;
}

.screenshot-item img:hover,
.screenshot-placeholder:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.screenshot-caption {
    font-family: var(--font-pixel);
    font-size: 7px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 200px;
}

/* ─── Features Section ───────────────────────────────────── */
.features {
    padding: 100px 24px;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--duration-fast) var(--ease-out);
}

.feature-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-card.is .feature-icon {
    background: rgba(95, 163, 134, 0.15);
    color: var(--accent-secondary);
}

.feature-card.isnt {
    opacity: 0.7;
}

.feature-card.isnt .feature-icon {
    background: rgba(110, 106, 98, 0.15);
    color: var(--text-muted);
}

.feature-card.isnt:hover {
    border-color: var(--border-color);
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(224, 122, 95, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--accent);
}

.feature-card h3 {
    font-family: var(--font-pixel);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ─── Privacy Highlights ─────────────────────────────────── */
.privacy-highlights {
    padding: 80px 24px;
    background: var(--bg-secondary);
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.privacy-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.privacy-item .check {
    width: 32px;
    height: 32px;
    background: rgba(224, 122, 95, 0.15);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.privacy-item span {
    font-family: var(--font-pixel);
    font-size: 9px;
    line-height: 1.8;
    color: var(--text-primary);
}

/* ─── Privacy Body Section ───────────────────────────────── */
.privacy-body {
    padding: 100px 24px;
}

.privacy-body-content {
    max-width: 680px;
    margin: 0 auto;
}

.privacy-body-content p {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── Ecosystem / About Section ──────────────────────────── */
.ecosystem {
    padding: 100px 24px;
    text-align: center;
}

.ecosystem h2 {
    font-family: var(--font-pixel);
    font-size: clamp(14px, 3vw, 22px);
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.ecosystem p {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.ecosystem a {
    color: var(--accent);
    transition: color var(--duration-fast) var(--ease-out);
}

.ecosystem a:hover {
    color: var(--accent-hover);
}

.creator-note {
    margin-top: 60px;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.creator-note p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 16px;
}

.creator-note .signature {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text-muted);
    font-style: normal;
}

/* ─── CTA Section ────────────────────────────────────────── */
.cta {
    padding: 100px 24px;
    text-align: center;
    background: var(--bg-secondary);
}

.cta h2 {
    font-family: var(--font-pixel);
    font-size: clamp(14px, 3vw, 22px);
    line-height: 1.8;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.cta-sub {
    font-family: var(--font-pixel);
    font-size: 8px;
    line-height: 2;
    color: var(--text-secondary);
    margin-top: 20px;
}

/* ─── Footer ─────────────────────────────────────────────── */
footer {
    padding: 40px 24px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-links a {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-tagline {
    font-family: var(--font-pixel);
    font-size: 8px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.copyright {
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--text-muted);
}

/* ─── Privacy Policy Page ────────────────────────────────── */
.policy-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.policy-header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.policy-header .policy-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-pixel);
    font-size: 11px;
    color: var(--accent);
}

.header-logo img {
    height: 28px;
    width: 28px;
    border-radius: var(--radius-md);
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    color: var(--text-secondary);
    font-size: 14px;
    transition: color var(--duration-fast) var(--ease-out);
}

.back-link:hover {
    color: var(--text-primary);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

.policy-main {
    padding: 80px 0;
}

.policy-main h1 {
    font-family: var(--font-pixel);
    font-size: clamp(16px, 3vw, 24px);
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.last-updated {
    font-family: var(--font-ui);
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 48px;
}

.policy-intro {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-subtle);
}

.policy-main h2 {
    font-family: var(--font-pixel);
    font-size: 12px;
    line-height: 1.8;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.policy-main p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.policy-main ul {
    list-style: none;
    margin-bottom: 24px;
}

.policy-main ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.policy-main ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.6;
}

.contact-section {
    margin-top: 48px;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.contact-section h2 {
    margin-top: 0;
}

.contact-email {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-ui);
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--duration-fast) var(--ease-out);
}

.contact-email:hover {
    border-color: var(--accent);
}

.policy-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

/* ─── Mobile Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        gap: 24px;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-icon {
        width: 100px;
        height: 100px;
        border-radius: var(--radius-xl);
    }

    .steps-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-item img,
    .screenshot-placeholder {
        width: 160px;
        border-radius: var(--radius-lg);
    }

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

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    /* Privacy policy page */
    .policy-main {
        padding: 60px 0;
    }

    .policy-main h2 {
        font-size: 20px;
        margin-top: 40px;
    }

    .contact-section {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .screenshot-caption {
        max-width: 160px;
    }
}
