/* ===== LICENSING PAGE ===== */
.licensing-page { width: 100%; min-height: 100vh; padding-bottom: var(--player-height); }

/* HERO */
.lic-hero { position: relative; width: 100%; padding: 56px 48px 40px; text-align: center; overflow: hidden; }
.lic-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(167,139,250,0.08) 0%, rgba(30,30,30,1) 50%, rgba(142,168,195,0.06) 100%); z-index: 0; }
.lic-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.lic-hero-title { font-size: 36px; font-weight: 700; color: #e8e8e8; line-height: 1.15; margin-bottom: 16px; }
.lic-hero-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.7; max-width: 540px; margin: 0 auto; }

/* GLANCE STRIP */
.glance-strip { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.glance-inner { display: flex; align-items: stretch; border: 1px solid var(--border-subtle); border-radius: 14px; overflow: hidden; }
.glance-side { flex: 1; padding: 28px 32px; }
.glance-free { background: rgba(217,119,85,0.04); }
.glance-exclusive { background: rgba(167,139,250,0.04); }
.glance-divider { width: 1px; background: var(--border-subtle); }
.glance-label { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.glance-free .glance-label { color: var(--accent-warn); }
.glance-exclusive .glance-label { color: var(--accent-active); }
.glance-items { display: flex; flex-direction: column; gap: 12px; }
.glance-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.glance-item.warn { color: var(--accent-warn); }
.glance-item.warn i { font-size: 14px; opacity: 0.8; }
.glance-item.safe { color: var(--accent-active); }
.glance-item.safe i { font-size: 14px; opacity: 0.8; }

/* COMPARISON CARDS */
.comparison-section { max-width: 1200px; margin: 0 auto; padding: 48px 48px 0; }
.comparison-inner { display: flex; gap: 24px; align-items: stretch; }
.comp-card { flex: 1; border-radius: 16px; padding: 32px 28px; }
.comp-free { background: rgba(42,42,42,0.5); border: 1px solid var(--border-subtle); }
.comp-exclusive { background: rgba(167,139,250,0.05); border: 1px solid rgba(167,139,250,0.2); box-shadow: 0 0 40px rgba(167,139,250,0.04); }
.comp-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.comp-free .comp-title { color: var(--text-primary); }
.comp-exclusive .comp-title { color: var(--accent-active); }
.comp-subtitle { font-size: 13px; color: var(--text-secondary); margin-bottom: 28px; font-style: italic; }
.comp-list { display: flex; flex-direction: column; gap: 18px; }
.comp-row { display: flex; align-items: flex-start; gap: 14px; }
.comp-icon-warn { color: var(--accent-warn); font-size: 15px; margin-top: 2px; flex-shrink: 0; opacity: 0.75; }
.comp-icon-safe { color: var(--accent-active); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.comp-text { display: flex; flex-direction: column; gap: 3px; }
.comp-label { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.comp-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* FEATURE BLOCKS */
.features-section { max-width: 1200px; margin: 0 auto; padding: 56px 48px 0; }
.features-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-block { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 28px 24px; text-align: center; transition: all 0.3s ease; }
.feature-block:hover { border-color: rgba(167,139,250,0.2); background: rgba(167,139,250,0.04); }
.feature-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(167,139,250,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--accent-active); font-size: 20px; }
.feature-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.feature-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.65; }

/* FAQ */
.faq-section { max-width: 800px; margin: 0 auto; padding: 56px 48px 0; }
.faq-heading { font-size: 24px; font-weight: 700; color: #e8e8e8; margin-bottom: 28px; text-align: center; }
.faq-inner { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border-subtle); border-radius: 10px; overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: rgba(42,42,42,0.4); border: none; color: var(--text-primary); font-size: 14px; font-weight: 500; font-family: 'Inter', sans-serif; cursor: pointer; transition: all 0.2s ease; }
.faq-question:hover { background: rgba(42,42,42,0.7); }
.faq-question i { color: var(--text-secondary); font-size: 12px; transition: transform 0.3s ease; }
.faq-answer { padding: 0 20px 16px; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; padding-top: 4px; }

/* CTA */
.cta-section { padding: 64px 48px 56px; text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; padding: 48px 40px; background: rgba(167,139,250,0.04); border: 1px solid rgba(167,139,250,0.15); border-radius: 20px; }
.cta-title { font-size: 28px; font-weight: 700; color: #e8e8e8; margin-bottom: 10px; }
.cta-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.6; }
.cta-btn { background: var(--accent-active); color: #1e1e1e; border: none; padding: 14px 36px; border-radius: 30px; font-size: 15px; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: all 0.25s ease; letter-spacing: 0.3px; display: inline-block; text-decoration: none; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(167,139,250,0.3); }


/* ===== LICENSING PAGE v2 — Free-only ===== */

/* Allowed / Restricted comp-card modifiers */
.comp-allowed {
    background: rgba(142,168,195,0.05);
    border: 1px solid rgba(142,168,195,0.22);
}
.comp-allowed .comp-title {
    color: var(--accent-passive);
}
.comp-restricted {
    background: rgba(217,119,85,0.04);
    border: 1px solid rgba(217,119,85,0.22);
}
.comp-restricted .comp-title {
    color: var(--accent-warn);
}
.comp-icon-allowed {
    color: var(--accent-passive);
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Warning-styled feature blocks */
.feature-block.feature-warn .feature-icon {
    background: rgba(217,119,85,0.1);
    color: var(--accent-warn);
}
.feature-block.feature-warn:hover {
    border-color: rgba(217,119,85,0.25);
    background: rgba(217,119,85,0.04);
}

/* Responsive */
@media (max-width: 768px) {
    .comparison-inner { flex-direction: column; }
    .features-inner { grid-template-columns: repeat(2, 1fr); }
    .lic-hero { padding: 56px 24px 40px; }
    .lic-hero-title { font-size: 32px; }
    .comparison-section, .features-section, .faq-section { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 480px) {
    .features-inner { grid-template-columns: 1fr; }
    .lic-hero-title { font-size: 26px; }
    .comp-card { padding: 24px 20px; }
    .cta-section { padding: 48px 24px 40px; }
}


/* When the comparison section has only one card (trouble-only mode), center it and cap width */
.licensing-page .comparison-inner:has(> :only-child) {
    justify-content: center;
}
.licensing-page .comparison-inner:has(> :only-child) > .comp-card {
    max-width: 720px;
    width: 100%;
}


/* === What you can do / expect / can not do (free license) === */
.lic-cando { padding: 60px 48px 40px; background: var(--bg-main); }
.cando-wrapper { max-width: 720px; margin: 0 auto; }
.cando-opener { font-size: 17px; line-height: 1.65; color: var(--text-primary); margin: 0 auto 40px; text-align: center; }
.cando-block { background: rgba(42,42,42,0.5); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 24px 26px; margin-bottom: 18px; }
.cando-yes { border-left: 3px solid var(--accent-active); }
.cando-expect { border-left: 3px solid var(--accent-warn); }
.cando-no { border-left: 3px solid var(--accent-warn); }
.cando-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cando-head i { font-size: 20px; }
.cando-icon-yes { color: var(--accent-active); }
.cando-icon-expect { color: var(--accent-warn); }
.cando-icon-no { color: var(--accent-warn); }
.cando-title { font-size: 19px; font-weight: 700; color: var(--text-primary); margin: 0; }
.cando-block p { color: var(--text-primary); line-height: 1.6; margin: 0 0 10px; font-size: 15px; }
.cando-block p:last-child { margin-bottom: 0; }
.cando-block strong { color: var(--text-primary); }
.cando-list { margin: 0; padding-left: 22px; color: var(--text-primary); }
.cando-list li { margin: 8px 0; line-height: 1.5; font-size: 15px; }
.cando-emphasis { color: var(--accent-active) !important; font-weight: 500; margin-top: 14px !important; }
.cando-context { max-width: 700px; margin: 30px auto 0; padding: 18px 26px; border-top: 1px solid var(--border-subtle); }
.cando-context p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin: 0; text-align: center; }
.cando-context strong { color: var(--accent-active); }
@media (max-width: 768px) { .lic-cando { padding: 40px 24px 30px; } .cando-opener { font-size: 16px; margin-bottom: 30px; } .cando-block { padding: 20px 20px; } }
