/* ============================================
   CheckEnt Landing Page — Style (Redesign 2026)
   Glass-Bento · Design Tokens · Spring Motion
   ============================================ */

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

/* ════════════════════════════════════════════
   DESIGN TOKENS
   ════════════════════════════════════════════ */
:root {
    /* Colors */
    --color-bg:            #0a0a0f;
    --color-surface:       rgba(255, 255, 255, 0.05);
    --color-surface-hover: rgba(255, 255, 255, 0.08);
    --color-border:        rgba(255, 255, 255, 0.08);
    --color-border-hover:  rgba(249, 115, 22, 0.38);
    --accent:              #f97316;
    --accent-light:        #fb923c;
    --accent-glow:         rgba(249, 115, 22, 0.25);
    --color-text:          #f0f0f5;
    --color-muted:         #7a7a8c;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 36px;

    /* Motion */
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --dur-fast:    120ms;
    --dur-base:    240ms;
    --dur-slow:    420ms;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ════════════════════════════════════════════
   AMBIENT BACKGROUND ORBS
   ════════════════════════════════════════════ */
.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
}

.orb-1 {
    width: 650px;
    height: 650px;
    top: -180px;
    left: -120px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.45), transparent 70%);
    opacity: 0.4;
    animation: orb-drift-a 20s ease-in-out infinite alternate;
}

.orb-2 {
    width: 550px;
    height: 550px;
    bottom: -140px;
    right: -80px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.38), transparent 70%);
    opacity: 0.35;
    animation: orb-drift-b 26s ease-in-out infinite alternate;
}

.orb-3 {
    width: 380px;
    height: 380px;
    top: 42%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 70%);
    opacity: 0.5;
    animation: orb-drift-a 14s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift-a {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(48px, 36px) scale(1.12); }
}

@keyframes orb-drift-b {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-40px, -28px) scale(1.08); }
}

/* ════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity var(--dur-slow) var(--ease-out),
        transform var(--dur-slow) var(--ease-out);
}

.reveal-from-right {
    transform: translateX(40px);
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

/* ════════════════════════════════════════════
   HERO — Split Layout
   ════════════════════════════════════════════ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 90px 32px 60px;
}

.hero-inner {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 72px;
    align-items: center;
}

/* ── Logo ── */
.logo-wrapper { margin-bottom: 28px; }

.logo {
    height: 70px;
    max-width: 100%;
    width: auto;
    filter: drop-shadow(0 0 28px var(--accent-glow));
    transition: transform var(--dur-base) var(--ease-spring);
}

.logo:hover { transform: scale(1.05); }

/* ── Badge ── */
.badge-container { margin-bottom: 22px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.28);
    border-radius: 100px;
    padding: 7px 18px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #4ade80;
    backdrop-filter: blur(12px);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ── Badge Pulse (Task 5.1) ── */
.badge {
    animation: badge-pulse 3s infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.28); }
    50%       { box-shadow: 0 0 20px rgba(34, 197, 94, 0.3); border-color: rgba(34, 197, 94, 0.6); }
}

/* ── Title ── */
.title {
    font-size: clamp(2.1rem, 4.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, #f97316, #ea580c, #c2410c, #ea580c, #f97316);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

/* ── Subtitle ── */
.subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    color: var(--color-muted);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 500px;
}

/* ════════════════════════════════════════════
   STORE BUTTONS
   ════════════════════════════════════════════ */
.store-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 13px 22px;
    text-decoration: none;
    color: var(--color-text);
    backdrop-filter: blur(16px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        background var(--dur-base) ease,
        border-color var(--dur-base) ease,
        transform var(--dur-fast) var(--ease-spring),
        box-shadow var(--dur-base) ease;
}

.store-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.07) 0%, transparent 55%);
    opacity: 0;
    transition: opacity var(--dur-base) ease;
    pointer-events: none;
}

.store-btn:hover {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.42);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(249, 115, 22, 0.18);
}

.store-btn:hover::before { opacity: 1; }

.store-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.store-btn.pressing {
    transform: scale(0.96) translateY(0) !important;
    box-shadow: none !important;
    transition-duration: var(--dur-fast);
}

.store-icon { width: 26px; height: 26px; flex-shrink: 0; }

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-label {
    font-size: 0.63rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.store-name { font-size: 1rem; font-weight: 700; }

/* ════════════════════════════════════════════
   PHONE MOCKUP
   ════════════════════════════════════════════ */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 420px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(249, 115, 22, 0.22) 0%, transparent 68%);
    filter: blur(50px);
    pointer-events: none;
}

.phone-frame {
    width: 260px;
    height: 520px;
    background: linear-gradient(160deg, #1e1e32, #12122a);
    border-radius: var(--radius-xl);
    border: 1.5px solid rgba(255, 255, 255, 0.11);
    padding: 12px;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 28px 80px rgba(0, 0, 0, 0.65),
        0 0 60px rgba(249, 115, 22, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
    transition: transform 0.5s var(--ease-out);
    overflow: hidden;
    will-change: transform;
}

.phone-frame:hover {
    transform: perspective(900px) rotateY(0deg) rotateX(0deg) scale(1.03);
}

.phone-notch {
    width: 88px;
    height: 20px;
    background: var(--color-bg);
    border-radius: 0 0 14px 14px;
    margin: 0 auto 10px;
}

.phone-screen {
    width: 100%;
    height: calc(100% - 30px);
    background: #0d0d21;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: inherit;
}

/* Vignetta sottile ai bordi dell'immagine */
.phone-screen-overlay {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, transparent 10%),
        linear-gradient(to top,    rgba(0,0,0,0.30) 0%, transparent 12%);
    pointer-events: none;
}

/* ── Censura pixelata sul trailer (13%–40% dall'alto) ── */
.phone-trailer-censor {
    position: absolute;
    left: 0;
    right: 0;
    top: 13%;
    height: 27%;
    border-radius: 4px;
    overflow: hidden;
    backdrop-filter: blur(10px) brightness(0.82) saturate(0.75);
    -webkit-backdrop-filter: blur(10px) brightness(0.82) saturate(0.75);
    background: rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

/* Griglia pixel grande — celle 18px, aspetto censura TV forte */
.pixel-grid {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(to right,
            rgba(0, 0, 0, 0.12) 0px,
            rgba(0, 0, 0, 0.12) 1px,
            transparent 1px,
            transparent 10px
        ),
        repeating-linear-gradient(to bottom,
            rgba(0, 0, 0, 0.12) 0px,
            rgba(0, 0, 0, 0.12) 1px,
            transparent 1px,
            transparent 10px
        );
    pointer-events: none;
}

/* ════════════════════════════════════════════
   FEATURES SECTION — Bento Grid
   ════════════════════════════════════════════ */
.features-section {
    position: relative;
    z-index: 1;
    padding: 80px 32px 100px;
}

/* Il contenitore comune a tutte le sezioni.
   Il margine laterale sta qui e non nelle singole sezioni: prima ce l'avevano
   solo .how-section e il piè di pagina, e sul telefono le altre — numeri,
   showcase, primi passi, FAQ — arrivavano a filo del bordo. */
.section-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section-header { text-align: center; margin-bottom: 56px; }

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-light);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--color-text);
}

/* ── Bento Grid: 12 columns
   Row 1: Film(6, row-2) | Anime(3) | Videogiochi(3)
   Row 2: Film(cont.)    | Fumetti(3)| Giochi(3)
   Row 3: TCG(6)         | Libri(6)
── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(150px, auto);
    gap: 16px;
}

.bento-card {
    --mouse-x: 50%;
    --mouse-y: 50%;

    position: relative;
    background: var(--color-surface);
    backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    overflow: hidden;
    transition:
        background var(--dur-base) ease,
        border-color var(--dur-base) ease,
        transform var(--dur-base) var(--ease-spring),
        box-shadow var(--dur-base) ease;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Cursor-tracked radial glow inside card */
.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle 180px at var(--mouse-x) var(--mouse-y),
        rgba(249, 115, 22, 0.1),
        transparent 70%
    );
    opacity: 0;
    transition: opacity var(--dur-base) ease;
    pointer-events: none;
    border-radius: inherit;
}

.bento-card:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-5px) scale(1.005);
    box-shadow: 0 20px 56px rgba(249, 115, 22, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.bento-card:hover::after { opacity: 1; }

/* Gradient shine overlay */
.bento-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--dur-base) ease;
    pointer-events: none;
    border-radius: inherit;
}

.bento-card:hover .bento-shine { opacity: 1; }

/* Orange accent line on top of featured card */
.bento-accent-line {
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 0 0 2px 2px;
    opacity: 0.6;
}

.bento-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 14px;
    line-height: 1;
}

.bento-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.bento-card p {
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.6;
}

/* Featured (Film & Serie TV) — big */
.bento-xl {
    grid-column: span 6;
    grid-row: span 2;
}

.bento-xl .bento-icon { font-size: 3rem; margin-bottom: 20px; }
.bento-xl h3 { font-size: 1.35rem; }
.bento-xl p  { font-size: 0.95rem; max-width: 300px; }

/* Side cards */
.bento-sm { grid-column: span 3; }

/* Bottom wide cards */
.bento-md { grid-column: span 6; }

/* ════════════════════════════════════════════
   HOW IT WORKS / COMING SOON
   ════════════════════════════════════════════ */
.how-section {
    position: relative;
    z-index: 1;
    padding: 40px 0 60px;
}

.soon-section { padding-top: 20px; padding-bottom: 100px; }

.section-lead {
    max-width: 620px;
    margin: 18px auto 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.how-card {
    display: flex;
    flex-direction: column;
}

.how-card h3 { font-size: 1.05rem; }
.how-card p  { font-size: 0.9rem; }

/* Roadmap a cassetti: un mese per volta.
   Quaranta schede di fila rendevano la pagina interminabile. Chiuse, i mesi
   stanno in uno schermo; aperto c'è solo quello in corso. */
.soon-months {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.soon-month {
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.soon-month > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    transition: background 0.2s ease;
}

.soon-month > summary::-webkit-details-marker { display: none; }

.soon-month > summary:hover { background: rgba(255, 255, 255, 0.04); }

.soon-month-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

/* La freccia gira all'apertura: dice da sola cosa fa il clic. */
.soon-month-name::before {
    content: "▸";
    color: var(--primary, #ff7a1a);
    transition: transform 0.2s ease;
}

.soon-month[open] > summary .soon-month-name::before {
    transform: rotate(90deg);
}

.soon-month-count {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.55;
    white-space: nowrap;
}

.soon-month > .how-grid { padding: 4px 20px 20px; }

/* "In arrivo" badge on coming-soon cards */
.how-card.is-soon { border-style: dashed; }

.soon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-light);
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.32);
    border-radius: 999px;
    padding: 4px 10px;
    line-height: 1;
}

/* Quello a cui stiamo lavorando adesso: verde, per distinguerlo da ciò che
   è solo in lista. Stessa scelta fatta nell'app. */
.soon-badge.is-building {
    color: #4ADE80;
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.35);
}

/* Timeframe pill at the bottom of a coming-soon card */
.soon-when {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-light);
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.28);
    border-radius: 999px;
    padding: 5px 12px;
    line-height: 1.2;
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 24px 36px;
    color: var(--color-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--color-border);
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.footer-links a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--dur-fast) ease;
}

.footer-links a:hover { color: #fff; }

.footer-divider { color: rgba(255, 255, 255, 0.12); margin: 0 4px; }

/* ── Language Selector ── */
.lang-selector {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.lang-btn {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    transition:
        background var(--dur-fast) ease,
        border-color var(--dur-fast) ease,
        transform var(--dur-fast) var(--ease-spring),
        box-shadow var(--dur-fast) ease;
}

.lang-btn:hover {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.32);
    transform: scale(1.14);
}

.lang-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.lang-btn.active {
    background: rgba(249, 115, 22, 0.18);
    border-color: var(--accent);
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.22);
}

/* ════════════════════════════════════════════
   LEGAL PAGES
   ════════════════════════════════════════════ */
.legal-page {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px 40px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-light);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 32px;
    transition: color var(--dur-fast) ease;
}

.legal-back:hover { color: #fff; }

.legal-page h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.legal-page .legal-subtitle {
    color: var(--color-muted);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 32px;
}

.legal-page h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--accent-light);
}

.legal-page p {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-page ul {
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
}

.legal-page ul li {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
    margin-bottom: 4px;
}

.legal-page ul li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--accent);
}

/* ════════════════════════════════════════════
   CREDITS CARDS
   ════════════════════════════════════════════ */
.credits-category {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-light);
}

.credit-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
    backdrop-filter: blur(10px);
    transition: background var(--dur-base) ease, border-color var(--dur-base) ease;
}

.credit-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(249, 115, 22, 0.3);
}

.credit-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.credit-card-header strong { font-size: 0.95rem; }

.credit-name { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.credit-logo {
    height: 18px;
    width: auto;
    max-width: 96px;
    flex: 0 0 auto;
    object-fit: contain;
}

.credit-card-header a {
    font-size: 0.8rem;
    color: var(--accent-light);
    text-decoration: none;
    transition: color var(--dur-fast) ease;
}

.credit-card-header a:hover { color: #fff; }

.credit-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--color-muted);
    line-height: 1.5;
}

.credit-card .disclaimer {
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.5;
    margin-top: 6px;
}

.credit-card .disclaimer-note {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--color-muted);
    line-height: 1.5;
    margin-top: 2px;
}

.legal-note {
    margin-top: 32px;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 0.82rem;
    font-style: italic;
    color: #666;
    line-height: 1.5;
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    /* Su mobile l'ordine resta naturale: logo/testo/bottoni prima, telefono in fondo */
    .subtitle { margin-left: auto; margin-right: auto; }
    .store-buttons { justify-content: center; }
    .phone-frame { transform: perspective(900px) rotateY(0deg) rotateX(2deg); }

    .bento-xl { grid-column: span 12; grid-row: span 1; }
    .bento-sm { grid-column: span 6; }
    .bento-md { grid-column: span 6; }

    .how-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 640px) {
    .hero { padding: 70px 20px 48px; }
    .hero-inner { gap: 36px; }
    .logo { height: 58px; }

    .store-buttons { flex-direction: column; align-items: center; }
    .store-btn { width: 100%; max-width: 290px; justify-content: center; }

    .phone-frame { width: 230px; height: 460px; }
    .hero-phone { margin-top: 4px; }
    .phone-glow { width: 220px; height: 340px; }

    .features-section { padding: 60px 20px 80px; }

    .bento-xl,
    .bento-sm,
    .bento-md { grid-column: span 12; }

    .bento-grid { grid-auto-rows: minmax(120px, auto); }

    .how-section { padding: 40px 20px 50px; }
    .soon-section { padding-bottom: 80px; }
    .how-grid { grid-template-columns: 1fr; }
}

/* Large screens */
@media (min-width: 1280px) {
    .hero-inner { grid-template-columns: 1fr 320px; gap: 80px; }
}

/* ════════════════════════════════════════════
   NAV — barra sticky
   ════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px clamp(16px, 4vw, 40px);
    background: rgba(10, 10, 15, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--color-border);
}
.nav-brand { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo { height: 30px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 500;
    transition: color var(--dur-base) var(--ease-out);
}
.nav-links a:hover { color: var(--color-text); }
.nav-cta {
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 650;
    white-space: nowrap;
    transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease-out);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px var(--accent-glow); }
.hero { padding-top: 84px; }

/* ════════════════════════════════════════════
   STAT STRIP
   ════════════════════════════════════════════ */
.stats-strip { padding: 8px 0 28px; position: relative; z-index: 1; }
.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 28px 0;
    /* il margine laterale lo mette .section-inner */
}
.stat { text-align: center; padding: 0 8px; }
.stat-num {
    display: block;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--color-muted);
}

/* ════════════════════════════════════════════
   SHOWCASE — funzioni mostrate
   ════════════════════════════════════════════ */
.showcase-section { padding: 72px 0 24px; position: relative; z-index: 1; }
.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
    margin-bottom: 88px;
}
.showcase-row-alt .showcase-text { order: 2; }
.showcase-kicker { font-size: 1.8rem; display: block; margin-bottom: 14px; }
.showcase-text h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 750;
    line-height: 1.2;
    margin-bottom: 14px;
}
.showcase-text > p { color: var(--color-muted); line-height: 1.65; margin-bottom: 20px; }
.showcase-list { list-style: none; display: grid; gap: 10px; }
.showcase-list li {
    position: relative;
    padding-left: 26px;
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--color-text);
}
.showcase-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Mockup ricostruiti in CSS */
.showcase-mock { display: flex; justify-content: center; }
.mock-card {
    width: 100%;
    max-width: 380px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: grid;
    gap: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.mock-row { display: flex; align-items: center; gap: 12px; }
.mock-thumb { width: 40px; height: 54px; border-radius: 8px; flex-shrink: 0; }
.mock-thumb-a { background: linear-gradient(140deg, #7c3aed, #2563eb); }
.mock-thumb-b { background: linear-gradient(140deg, #f97316, #db2777); }
.mock-thumb-c { background: linear-gradient(140deg, #059669, #0891b2); }
.mock-meta { flex: 1; display: grid; gap: 8px; }
.mock-title { font-size: 0.82rem; color: var(--color-muted); }
.mock-bar { display: block; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.09); overflow: hidden; }
.mock-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.mock-check {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(249, 115, 22, 0.16);
    color: var(--accent);
    font-size: 0.8rem;
    flex-shrink: 0;
}
.mock-comment { display: flex; align-items: center; gap: 12px; }
.mock-avatar { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.12); flex-shrink: 0; }
.mock-lines { flex: 1; display: grid; gap: 7px; }
.mock-lines i { display: block; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.12); }
.mock-comment.is-locked .mock-lines { filter: blur(3px); }
.mock-lock { font-size: 0.9rem; opacity: 0.7; }
.mock-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-muted);
    padding-top: 4px;
    border-top: 1px solid var(--color-border);
}
.mock-card-stats { grid-template-columns: repeat(3, 1fr); }
.mock-tile {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
    text-align: center;
}
.mock-tile-wide { grid-column: 1 / -1; }
.mock-tile-num { display: block; font-size: 1.25rem; font-weight: 750; color: var(--color-text); }
.mock-tile-lab { display: block; margin-top: 4px; font-size: 0.75rem; color: var(--color-muted); }

/* ════════════════════════════════════════════
   STEPS
   ════════════════════════════════════════════ */
.steps-section { padding: 56px 0; position: relative; z-index: 1; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
    border-top: 2px solid var(--color-border);
    padding-top: 20px;
    transition: border-color var(--dur-base) var(--ease-out);
}
.step:hover { border-top-color: var(--accent); }
.step-num {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 10px;
}
.step h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--color-muted); font-size: 0.92rem; line-height: 1.6; }

/* ════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════ */
.faq-section { padding: 64px 0; position: relative; z-index: 1; }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    transition: border-color var(--dur-base) var(--ease-out);
}
.faq-item[open] { border-color: var(--color-border-hover); }
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    color: var(--accent);
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    transition: transform var(--dur-base) var(--ease-spring);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
    margin-top: 14px;
    color: var(--color-muted);
    line-height: 1.7;
    font-size: 0.94rem;
}

/* ════════════════════════════════════════════
   CTA FINALE
   ════════════════════════════════════════════ */
.final-cta { padding: 72px 0 88px; position: relative; z-index: 1; }
.final-cta-inner { text-align: center; }
.final-cta-lead {
    color: var(--color-muted);
    margin: 18px auto 30px;
    max-width: 520px;
    line-height: 1.6;
}
.final-cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-btn {
    padding: 15px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 650;
    font-size: 0.98rem;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    background: var(--color-surface);
    transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.final-btn:hover { transform: translateY(-2px); border-color: var(--color-border-hover); }
.final-btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-color: transparent;
    color: #fff;
}
.final-btn-primary:hover { box-shadow: 0 12px 32px var(--accent-glow); }

/* ════════════════════════════════════════════
   RESPONSIVE — sezioni nuove
   ════════════════════════════════════════════ */
@media (max-width: 960px) {
    .showcase-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
    .showcase-row-alt .showcase-text { order: 0; }
    .steps-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav { gap: 16px; }
    .nav-cta { margin-left: auto; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
}

/* Il marchio ora vive nella nav: nell'hero era un doppione
   che rubava spazio al titolo. */
.hero-text .logo-wrapper { display: none; }

/* Già rilasciato: azzurro, e la scheda si fa da parte — resta consultabile
   ma non compete con ciò che deve ancora arrivare. */
.soon-badge.is-done {
    color: #7DD3FC;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
}
.bento-card.card-done { opacity: 0.72; }
.bento-card.card-done:hover { opacity: 1; }

/* Appena rilasciato: verde come "in costruzione" nella roadmap, così chi
   segue la roadmap ritrova lo stesso colore quando la funzione arriva. */
.feat-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4ADE80;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 999px;
    padding: 4px 10px;
    line-height: 1;
}

/* ── Dove trovarci: i canali social nel piè di pagina ──────────────
   Il QR è quello del canale Telegram: da telefono si inquadra e si entra,
   senza dover scrivere un indirizzo. Da desktop non serve a niente, quindi
   sotto una certa larghezza è l'unica cosa che resta e sopra sta di fianco
   ai due pulsanti. */
.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-bottom: 28px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-social__links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    color: #fff;
    transition: transform .15s ease, filter .15s ease;
}

.social-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* I colori sono quelli dei due marchi: riconoscerli è metà del lavoro. */
.social-btn--ig {
    background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}

.social-btn--tg { background: #229ED9; }

.footer-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.footer-qr img {
    width: 104px;
    height: 104px;
    border-radius: 12px;
    background: #fff;
    padding: 6px;
    display: block;
}

.footer-qr span { font-size: .75rem; opacity: .5; max-width: 150px; text-align: center; }

@media (max-width: 560px) {
    .footer-social { gap: 20px; }
}


/* ── Le due icone nel piè di pagina ────────────────────────────── */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-bottom: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.social-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform var(--dur-fast) var(--ease-spring), filter var(--dur-base) ease;
}

.social-icon:hover { transform: translateY(-3px); filter: brightness(1.12); }

/* I colori dei due marchi: si riconoscono senza etichetta. */
.social-icon--ig {
    background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}

.social-icon--tg { background: #229ED9; }

/* ── "Seguici": i codici sotto il telefono ─────────────────────────
   Da computer si mostrano i due codici; da telefono spariscono — non puoi
   inquadrare lo schermo che te li sta mostrando — e restano i due pulsanti,
   che con un tocco aprono l'app giusta.

   I codici stanno storti, uno inclinato da una parte e uno dall'altra, e
   ondeggiano piano: dritti e fermi sembravano due francobolli incollati
   sulla pagina. Passandoci sopra si raddrizzano e si fermano, che è anche
   il momento in cui uno li vuole inquadrare davvero. */
.follow-section { position: relative; z-index: 1; padding: 10px 0 40px; }

/* Tutto in mezzo alla pagina. Stava nella colonna del testo, quindi finiva
   schiacciato a sinistra sotto i pulsanti: qui sotto il telefono ha lo
   spazio per stare al centro. */
.follow {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.follow__label {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    font-size: .95rem;
    font-weight: 600;
}

.follow__label em {
    font-style: normal;
    font-weight: 400;
    font-size: .8rem;
    color: var(--color-muted);
}

.follow__codes {
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    padding: 6px 0 14px;
}

.qr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 16px;
    width: 158px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    text-align: center;
    transform-origin: center bottom;
    transition:
        transform var(--dur-slow) var(--ease-spring),
        box-shadow var(--dur-base) ease;
}

/* Il colore del canale si vede dietro il codice, non sopra: sopra
   darebbe fastidio alla lettura. */
.qr-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: .16;
    transition: opacity var(--dur-base) ease;
}

.qr-card--tg::before { background: linear-gradient(160deg, #229ED9, #1c86b8); }
.qr-card--ig::before {
    background: linear-gradient(160deg, #f09433, #dc2743 55%, #bc1888);
}

.qr-card > * { position: relative; }

.qr-card img {
    width: 118px;
    height: 118px;
    display: block;
    border-radius: 12px;
    background: #fff;
    padding: 7px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .38);
}

.qr-card__name {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .86rem;
    font-weight: 600;
}

.qr-card__desc { font-size: .72rem; color: var(--color-muted); line-height: 1.35; }

.qr-card--tg .qr-card__name svg { color: #4cb8e8; }
.qr-card--ig .qr-card__name svg { color: #f0728f; }

/* Storti e in movimento, ma appena: due gradi bastano a far capire che la
   pagina è viva. Sfalsati, se no sembrano un metronomo. */
.qr-card--tg { transform: rotate(-5deg); animation: qr-ondeggia 6s ease-in-out infinite; }
.qr-card--ig { transform: rotate(4deg); animation: qr-ondeggia 6s ease-in-out infinite -3s; }

@keyframes qr-ondeggia {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -7px; }
}

.qr-card:hover {
    transform: rotate(0deg) scale(1.06);
    animation-play-state: paused;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .45);
}

.qr-card:hover::before { opacity: .28; }

/* Chi ha chiesto meno animazioni le vede ferme, ma restano storti: è
   composizione, non movimento. */
@media (prefers-reduced-motion: reduce) {
    .qr-card { animation: none; }
}

/* I pulsanti esistono solo dove i codici non servono. */
.follow__buttons { display: none; justify-content: center; gap: 12px; }

@media (max-width: 720px) {
    .follow__codes { display: none; }
    .follow__buttons { display: flex; }
    .follow__label em { display: none; }
}

/* ── Le due icone nel piè di pagina ────────────────────────────── */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-bottom: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.social-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform var(--dur-fast) var(--ease-spring), filter var(--dur-base) ease;
}

.social-icon:hover { transform: translateY(-3px); filter: brightness(1.12); }

/* I colori dei due marchi: si riconoscono senza etichetta. */
.social-icon--ig {
    background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}

.social-icon--tg { background: #229ED9; }

/* Discord non c'è ancora: la scheda sta con le altre ma non è un
   collegamento, e al posto del codice mostra il simbolo. Uno spazio vuoto
   con scritto "in arrivo" dice più di una scheda che non compare. */
.qr-card--dc::before { background: linear-gradient(160deg, #5865F2, #4752c4); }
.qr-card--dc .qr-card__name svg { color: #8b93f8; }

.qr-card--dc {
    transform: rotate(-3deg);
    animation: qr-ondeggia 6s ease-in-out infinite -1.5s;
}

/* Non è un collegamento: si muove come gli altri ma non reagisce al passaggio
   del dito, se no promette un clic che non c'è. */
.qr-card.is-soon { cursor: default; }
.qr-card.is-soon:hover { transform: rotate(-3deg); box-shadow: none; }
.qr-card.is-soon:hover::before { opacity: .16; }

.qr-card__placeholder {
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .03);
    color: rgba(255, 255, 255, .28);
}

.qr-card__placeholder svg { width: 42px; height: 42px; }

.qr-card__badge {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8b93f8;
    border: 1px solid rgba(139, 147, 248, .4);
    border-radius: 999px;
    padding: 3px 10px;
}

/* Discord fra i pulsanti del telefono: c'è, ma spento e con l'etichetta. */
.social-icon--dc {
    width: auto;
    padding: 0 14px;
    gap: 8px;
    grid-auto-flow: column;
    background: rgba(88, 101, 242, .18);
    border: 1px dashed rgba(139, 147, 248, .45);
    color: #8b93f8;
    cursor: default;
}

.social-icon--dc:hover { transform: none; filter: none; }

.social-icon--dc em {
    font-style: normal;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* ════════════════════════════════════════════
   BACHECA IDEE — le proposte della community
   ════════════════════════════════════════════ */

/* Le idee sono di chi legge, non nostre: la carta è un po' più sobria di
   quelle delle funzioni, e il titolo deve poter andare a capo — sono frasi
   scritte da persone, non etichette di prodotto. */
.how-card.is-idea {
    padding-top: 52px;
}

.how-card.is-idea h3 {
    font-size: 1rem;
    line-height: 1.35;
}

.how-card.is-idea p {
    font-size: 0.88rem;
    color: var(--text-secondary, rgba(255, 255, 255, 0.72));
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* La lingua in cui è stata scritta, quando non è la tua. */
.idea-lang {
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-secondary, rgba(255, 255, 255, 0.72));
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 2px 6px;
    line-height: 1;
}

.idea-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.idea-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary, rgba(255, 255, 255, 0.72));
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 5px 12px;
    line-height: 1.2;
}

/* I voti sono la cosa che si guarda per prima: restano in arancio. */
.idea-chip--votes {
    color: var(--accent-light);
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.28);
}

.ideas-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    margin-top: 28px;
    text-align: center;
}

.ideas-totals {
    font-size: 0.9rem;
    color: var(--text-secondary, rgba(255, 255, 255, 0.72));
}

.ideas-cta {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--accent-light);
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.32);
    border-radius: 999px;
    padding: 9px 18px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ideas-cta:hover {
    background: rgba(249, 115, 22, 0.2);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .how-card.is-idea { padding-top: 48px; }
}
