/* ============================================================
   PROJEKTSIDOR — gemensam layout för projekt-*.html (2026-10-11)
   Laddas efter site.css och vinner över dess projektregler.
   Ordning på sidan: hero (med länk till produkten) → intro →
   i korthet → skärmdump → funktioner → … → status → cta.
   ============================================================ */

/* ---------- Hero ---------- */
.page-hero { min-height: 480px; }
.page-hero::before { background: linear-gradient(to top, rgba(20,18,15,0.92) 0%, rgba(20,18,15,0.6) 45%, rgba(20,18,15,0.25) 100%); }
.page-hero .container { padding-bottom: 56px; }
.page-hero .page-title { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; }
.page-hero .page-subtitle { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 640px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero-meta .page-badge { margin-bottom: 0; }
.hero-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; color: var(--white); background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(4px); }
.hero-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #E0B84A; }
.hero-status.is-live::before { background: #5FD38D; box-shadow: 0 0 0 3px rgba(95,211,141,0.25); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.hero-actions .btn-gold:hover { background: var(--gold-light); }
.hero-note { color: rgba(255,255,255,0.8); font-size: 0.88rem; }

/* ---------- Intro ---------- */
.content-box h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
.content-box > p:first-of-type { font-size: 1.08rem; color: var(--dark); }

/* ---------- I korthet: siffror som kort i stället för piller ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 230px)); justify-content: center; gap: 16px; max-width: 1000px; margin: 0 auto; }
.fact { display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid rgba(0,0,0,0.06); border-radius: 14px; padding: 20px 22px; font-size: 0.9rem; line-height: 1.4; color: var(--muted); text-align: left; }
.section-white .fact { background: var(--beige); }
.fact strong { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 1.75rem; line-height: 1.15; color: var(--gold-text); }

/* ---------- Skärmdump: webbläsarram + telefon ---------- */
.device-shot { position: relative; max-width: 980px; margin: 0 auto; padding-right: 7%; }
.browser { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid rgba(0,0,0,0.09); box-shadow: 0 30px 70px -20px rgba(45,42,38,0.35), 0 8px 20px rgba(45,42,38,0.08); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #EFEBE4; border-bottom: 1px solid rgba(0,0,0,0.06); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D6CFC4; }
.browser-bar span { margin: 0 auto; transform: translateX(-20px); background: #fff; border-radius: 6px; padding: 2px 14px; font-size: 0.72rem; color: var(--muted); max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; border-radius: 0; border: 0; box-shadow: none; }
.phone { position: absolute; right: 0; bottom: -28px; width: 21%; min-width: 120px; background: #1d1b19; border-radius: 26px; padding: 7px; box-shadow: 0 24px 50px -12px rgba(0,0,0,0.45); }
.phone img { width: 100%; aspect-ratio: 390 / 664; object-fit: cover; object-position: top; border-radius: 20px; }
.device-shot figcaption, .shot figcaption { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 48px; padding-right: 0; }
.device-shot figcaption a, .shot figcaption a { color: var(--gold-text); }
.shot { max-width: 980px; }
.shot img { border-radius: 12px; }
.shot-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 28px; max-width: 1100px; margin: 0 auto; }
.shot-gallery .shot figcaption { margin-top: 14px; text-align: left; }
.shot-gallery .shot img { box-shadow: 0 16px 36px -14px rgba(45,42,38,0.35); }

/* ---------- Funktioner ---------- */
.section-lead { text-align: center; max-width: 700px; margin: -24px auto 40px; color: var(--muted); }
.feature-card { text-align: left; padding: 30px 28px; border: 1px solid rgba(0,0,0,0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(45,42,38,0.35); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: var(--gold-light); font-size: 1.6rem; margin-bottom: 18px; }
.section-white .feature-card .feature-icon { background: var(--white); }
.feature-card h3 { font-size: 1.12rem; }
@media (prefers-reduced-motion: reduce) { .feature-card, .feature-card:hover { transition: none; transform: none; } }

/* ---------- Status ---------- */
.status-box { max-width: 760px; text-align: left; padding: 34px 38px; }
.status-box h3 { font-size: 1.45rem; }

/* ---------- Övrigt ---------- */
.price-card .amount { font-size: 1.9rem; }
.stack-list span { background: var(--white); border: 1px solid rgba(0,0,0,0.07); }
.section-white .stack-list span { background: var(--beige); }

@media (max-width: 900px) {
    .shot-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .facts { grid-template-columns: 1fr 1fr; }
    .fact strong { font-size: 1.4rem; }
    .page-hero { min-height: 420px; }
    .device-shot { padding-right: 0; }
    .phone { width: 30%; min-width: 0; right: -6px; bottom: -22px; border-radius: 18px; padding: 5px; }
    .phone img { border-radius: 14px; }
    .browser-bar { height: 26px; }
    .browser-bar span { display: none; }
    .status-box { padding: 26px 24px; }
    .hero-actions .btn { width: 100%; text-align: center; }
}
