/* =========================
   ROOT / TOKENS (warm dark override)
   ========================= */

:root {
    --bg:          #0d0a06;
    --text:        #f3ece0;
    --text-light:  #f3ece0;
    --muted:       rgba(243, 236, 224, 0.5);
    --accent:      #f7a23a;
    --accent-hover:#ffb557;
    --accent-glow: rgba(247, 162, 58, 0.35);

    --radius:      14px;
    --radius-lg:   20px;

    --font-body:   'Inter', system-ui, sans-serif;
    --font-title:  'Playfair Display', serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

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

/* =========================
   TOP NAV
   ========================= */

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: rgba(13, 10, 6, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.top-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 28px;
}

.site-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.02em;
}

/* =========================
   PAGE
   ========================= */

.pip-page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.pip-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../assets/bg-pip.png") center / cover no-repeat;
    opacity: 0.28;
    z-index: 0;
}

.pip-page::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 38%, rgba(247, 162, 58, 0.14) 0%, transparent 70%),
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(13, 10, 6, 0.85) 0%, transparent 60%);
    z-index: 0;
}

.pip-page > * {
    position: relative;
    z-index: 1;
}

/* =========================
   HERO
   ========================= */

.pip-hero {
    text-align: center;
    max-width: 720px;
}

.pip-hero h1 {
    font-family: var(--font-title);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.pip-tagline {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin: 16px 0 0;
}

.pip-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 20px auto 0;
    max-width: 520px;
}

/* =========================
   SCREENSHOT / HERO ART
   ========================= */

.pip-screenshot {
    margin: 48px auto 0;
    max-width: 680px;
    width: 100%;
}

.pip-screenshot img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow:
        0 4px 40px rgba(247, 162, 58, 0.2),
        0 0 80px rgba(247, 162, 58, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================
   DOWNLOAD
   ========================= */

.pip-download {
    margin-top: 48px;
    text-align: center;
}

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 999px;
    background: var(--accent);
    color: #2a1c08;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.download-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 40px var(--accent-glow);
    transform: translateY(-2px);
}

.download-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.download-meta {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

/* =========================
   FEATURE CARDS
   ========================= */

.pip-notes {
    margin-top: 56px;
    max-width: 560px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 24px 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feature-card-header svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    fill: none;
    flex-shrink: 0;
}

.feature-card-header h3 {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    margin: 0;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.65;
}

.feature-card strong {
    color: var(--text);
    font-weight: 600;
}

/* =========================
   FOOTER
   ========================= */

.pip-footer {
    margin-top: 64px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pip-footer span { opacity: 0.6; }

.pip-footer a {
    color: var(--muted);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.pip-footer a:hover { opacity: 1; }

/* =========================
   MOBILE
   ========================= */

@media (max-width: 760px) {
    .pip-page { padding: 100px 20px 60px; }
    .pip-hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
    .pip-description { font-size: 0.95rem; max-width: 90%; }
    .pip-screenshot { margin-top: 36px; }
    .pip-screenshot img { border-radius: var(--radius); }
    .download-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    .pip-notes { margin-top: 40px; }
    .feature-card { padding: 20px 22px; }
    .top-nav-inner { padding: 12px 20px; }
    .site-title { font-size: 1rem; }
}
