/* presentazione.css - Override colore + componenti esclusivi presentazione */

/* =============================================
   PAGE ACCENT VARIABLES
============================================= */
:root {
    --page-accent: #14b8a6;
    --page-accent-dark: #0d9488;
    --page-accent-darker: #0f766e;
    --page-accent-bg: #f0fdfa;
    --page-accent-bg2: #ccfbf1;
    --page-accent-shadow: rgba(13, 148, 136, 0.28);
    --hero-light: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(20, 184, 166, 0.12) 0%, transparent 50%),
                  radial-gradient(ellipse 60% 80% at 80% 50%, rgba(13, 148, 136, 0.08) 0%, transparent 50%),
                  linear-gradient(to bottom, #f0fdfa, #ccfbf1, #99f6e4);
}

/* =============================================
   READING PROGRESS — color override
============================================= */
.reading-progress {
    background: var(--page-accent);
}

/* =============================================
   NEWSLETTER — color overrides
============================================= */
.nl-banner::before {
    background: var(--page-accent-dark);
}

.nl-input:focus {
    border-color: var(--page-accent);
}

.nl-btn {
    background: var(--page-accent-dark);
}

.nl-btn:hover {
    background: var(--page-accent-darker);
}

/* =============================================
   BADGE TIPO ARTICOLO (esclusivo)
============================================= */
.article-type-badge.t-pres {
    background: var(--page-accent-bg2);
    color: var(--page-accent-darker);
}

/* =============================================
   HERO IMPRESSION (esclusivo)
============================================= */
.hero-impression {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.hero-impression-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hero-impression-text {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--page-accent-dark);
    letter-spacing: -0.01em;
}

/* =============================================
   SPEC SHEET LINK (esclusivo)
============================================= */
.spec-sheet-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--page-accent-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.spec-sheet-link:hover {
    color: var(--page-accent-darker);
}

/* =============================================
   SPECS — grid override (auto-fit per presentazione)
============================================= */
.specs {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

/* =============================================
   BUY BOX — gradient override (teal → green)
============================================= */
.buy-box::before {
    background: linear-gradient(135deg, var(--page-accent), var(--green-400));
}

/* =============================================
   MOBILE BAR — extra elements (esclusivo)
============================================= */
.mobile-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-bar-impression {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    height: 30px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--page-accent-dark), var(--page-accent-darker));
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--white);
}

/* =============================================
   UNCHANGED SECTION (esclusivo)
============================================= */
.unchanged {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.unchanged-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.unchanged-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.unchanged-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-300);
    flex-shrink: 0;
}

/* =============================================
   IMPRESSION CARD — sidebar (esclusivo)
============================================= */
.impression-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.impression-card-type {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
}

.impression-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    background: rgba(13, 148, 136, 0.08);
    border: 1.5px solid rgba(13, 148, 136, 0.2);
}

.impression-badge-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.impression-badge-text {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--page-accent-dark);
    letter-spacing: -0.01em;
}

.impression-card-label {
    font-size: 0.6875rem;
    color: var(--gray-400);
}

/* Nasconde lo score ring nelle card correlate (non pertinente nella presentazione) */
.mobile-related .card-score { display: none; }
