/* ============================================================
   premium.css — page premium uniquement
   Requiert style.css chargé avant.
   ============================================================ */

/* ── HERO PREMIUM ────────────────────────────────────── */
.premium-hero {
    padding: 9rem 0 5rem;
    background: var(--bg-base);
    text-align: center;
    overflow: hidden;
}
.premium-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.premium-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 300px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.premium-hero .inner { position: relative; z-index: 1; }
.premium-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: var(--text-primary);
    margin-bottom: 1rem;
    animation: up 0.5s ease 0.08s both;
}
.premium-hero h1 span {
    background: linear-gradient(135deg, var(--blue) 30%, var(--indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.premium-hero p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: up 0.5s ease 0.16s both;
}

/* ── COMING SOON BANNER ──────────────────────────────── */
.coming-soon-banner {
    background: var(--bg-elevated);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4rem;
    animation: up 0.5s ease 0.24s both;
}
.cs-dot {
    width: 8px; height: 8px;
    background: var(--indigo);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 2s ease infinite;
}
.cs-text {
    font-size: 0.855rem;
    color: var(--text-secondary);
}
.cs-text strong { color: var(--text-primary); }

/* ── PLANS GRID ──────────────────────────────────────── */
.plans-section {
    padding: 1rem 0 6rem;
    background: var(--bg-base);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    align-items: start;
}

/* ── PLAN CARD ───────────────────────────────────────── */
.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.plan-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }

/* Featured / highlighted plan */
.plan-card.featured {
    border-color: rgba(99,102,241,0.35);
    background: var(--bg-elevated);
}
.plan-card.featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--indigo));
}

.plan-badge {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--blue), var(--indigo));
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
}

.plan-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--blue-dim);
    border: 1px solid rgba(59,130,246,0.18);
    display: flex; align-items: center; justify-content: center;
    color: var(--blue);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}
.plan-card.featured .plan-icon {
    background: rgba(99,102,241,0.12);
    border-color: rgba(99,102,241,0.2);
    color: var(--indigo);
}

.plan-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}
.plan-tagline {
    color: var(--text-secondary);
    font-size: 0.83rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.plan-price {
    margin-bottom: 1.5rem;
    min-height: 56px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}
.plan-price .amount {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1;
}
.plan-price .currency {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.plan-price .period {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.plan-price .soon-label {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: -0.02em;
    padding-bottom: 4px;
}

.plan-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin-bottom: 1.25rem;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
    margin-bottom: 1.75rem;
}
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.855rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.plan-features li i {
    color: var(--blue);
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 3px;
}
.plan-features li.disabled { color: var(--text-muted); }
.plan-features li.disabled i { color: var(--text-muted); }
.plan-features li strong { color: var(--text-primary); }

/* CTA inside card */
.plan-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: not-allowed;
    width: 100%;
    text-align: center;
}

.plan-cta.locked {
    background: var(--bg-elevated);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.plan-cta.locked-featured {
    background: rgba(99,102,241,0.12);
    color: var(--indigo);
    border: 1px solid rgba(99,102,241,0.2);
}

.plan-cta .lock-icon { font-size: 0.8rem; }

/* ── COMING SOON OVERLAY ──────────────────────────────── */
.coming-soon-section {
    padding: 5rem 0 6rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    text-align: center;
}

.cs-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-elevated);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}
.cs-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--indigo));
}

.cs-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--indigo);
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
}

.cs-card h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}
.cs-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cs-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.875rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.855rem;
    color: var(--text-secondary);
}
.cs-status i { color: var(--indigo); }

.cs-notify {
    display: flex;
    gap: 0.5rem;
}
.cs-notify input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}
.cs-notify input::placeholder { color: var(--text-muted); }
.cs-notify input:focus { border-color: rgba(99,102,241,0.4); }
.cs-notify button {
    flex-shrink: 0;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--blue), var(--indigo));
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}
.cs-notify button:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── COMPARE SECTION ─────────────────────────────────── */
.compare-section {
    padding: 6rem 0;
    background: var(--bg-base);
    border-top: 1px solid var(--border);
}

.compare-table {
    margin-top: 3rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.compare-head {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-strong);
}
.compare-head span {
    padding: 1rem 1.25rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}
.compare-head span:first-child { text-align: left; color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.compare-head .col-featured { color: var(--indigo); }

.compare-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: var(--bg-elevated); }
.compare-row span {
    padding: 0.875rem 1.25rem;
    font-size: 0.855rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.compare-row span:first-child {
    color: var(--text-primary);
    font-weight: 500;
    justify-content: flex-start;
    gap: 8px;
}
.compare-row span:first-child i { color: var(--blue); font-size: 0.8rem; width: 14px; }
.compare-row .yes { color: var(--blue); font-size: 0.9rem; }
.compare-row .no  { color: var(--text-muted); font-size: 0.85rem; }
.compare-row .val { color: var(--text-primary); font-weight: 600; font-family: var(--font-display); font-size: 0.875rem; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 960px) {
    .plans-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
    .compare-head,
    .compare-row { grid-template-columns: 2fr 1fr 1fr; }
    .compare-head span:last-child,
    .compare-row span:last-child { display: none; }
}
@media (max-width: 560px) {
    .cs-notify { flex-direction: column; }
    .compare-head,
    .compare-row { grid-template-columns: 2fr 1fr; }
    .compare-head span:nth-child(3),
    .compare-row span:nth-child(3) { display: none; }
}