/* === Pricing Pages — Shared Styles === */

/* --- Page Header --- */
.pricing-page-header {
    text-align: center;
    margin-bottom: 2rem;
}
.pricing-page-title {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}
.pricing-page-subtitle {
    color: #a1a1aa;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}
.pricing-page-subtitle-wide {
    max-width: 550px;
}

/* --- Product Switcher --- */
.pricing-switcher-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.pricing-switcher {
    display: inline-flex;
    background: #18181b;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 0.25rem;
    gap: 0.25rem;
}
.pricing-switcher-tab {
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.pricing-switcher-tab--inactive {
    background: transparent;
    color: #71717a;
}
.pricing-switcher-tab--edge {
    background: #27272a;
    color: #fafafa;
}
.pricing-switcher-tab--lynx {
    background: rgba(52,211,153,0.15);
    color: #34d399;
}
.pricing-switcher-tab--ward {
    background: rgba(245,158,11,0.15);
    color: #f59e0b;
}
.pricing-switcher-tab-sub {
    font-size: 0.72rem;
    font-weight: 400;
}

/* --- Layout --- */
.pricing-container {
    max-width: 1100px;
    margin: 0 auto;
}
.pricing-container-wide {
    max-width: 1200px;
    margin: 0 auto;
}
.pricing-container-narrow {
    max-width: 960px;
    margin: 0 auto;
}
.pricing-section {
    margin-bottom: 4rem;
}

/* --- Grid --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* --- Cards --- */
.pricing-card {
    background: #18181b;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.12);
}
.pricing-card-highlight {
    border: 2px solid #ef4444;
}
.pricing-card-highlight--lynx {
    border-color: #34d399;
}
.pricing-card-highlight--ward {
    border-color: #f59e0b;
}

/* --- Badge --- */
.pricing-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    white-space: nowrap;
}
.pricing-popular-badge--lynx {
    background: #34d399;
}
.pricing-popular-badge--ward {
    background: #f59e0b;
}

/* --- Tier Label --- */
.pricing-tier-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #71717a;
    margin-bottom: 0.75rem;
}
.pricing-tier-label--accent {
    color: #f87171;
}
.pricing-tier-label--lynx {
    color: #34d399;
}
.pricing-tier-label--ward {
    color: #f59e0b;
}

/* --- Price --- */
.pricing-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}
.pricing-price-unit {
    font-size: 1rem;
    color: #71717a;
    font-weight: 400;
}
.pricing-period {
    color: #71717a;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* --- Warning box (Explorer) --- */
.pricing-warning {
    background: rgba(250,204,21,0.08);
    border: 1px solid rgba(250,204,21,0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #facc15;
}

/* --- Features list --- */
.pricing-features {
    list-style: none;
    padding: 0;
    flex: 1;
    margin-bottom: 1rem;
}
.pricing-features li {
    padding: 0.35rem 0;
    font-size: 0.88rem;
    color: #a1a1aa;
}
.pricing-feature-disabled {
    color: #52525b !important;
}
.pricing-feature-new {
    color: #f87171 !important;
}
.pricing-feature-new--lynx {
    color: #34d399 !important;
}
.pricing-feature-new--ward {
    color: #f59e0b !important;
}

/* --- Extra text --- */
.pricing-extra {
    font-size: 0.78rem;
    color: #52525b;
    margin-bottom: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* --- CTA Buttons --- */
.pricing-cta {
    display: block;
    text-align: center;
    padding: 0.7rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}
.pricing-cta-secondary {
    background: #27272a;
    color: #fafafa !important;
    border: 1px solid rgba(255,255,255,0.06);
}
.pricing-cta-secondary:hover {
    border-color: rgba(255,255,255,0.15);
    color: #fafafa !important;
}
.pricing-cta-primary {
    background: #fafafa;
    color: #09090b !important;
}
.pricing-cta-primary:hover {
    background: #e4e4e7;
    color: #09090b !important;
}
.pricing-cta-accent {
    background: #ef4444;
    color: #fff !important;
}
.pricing-cta-accent:hover {
    background: #f87171;
    color: #fff !important;
}
.pricing-cta--lynx {
    background: #34d399;
    color: #09090b !important;
}
.pricing-cta--lynx:hover {
    background: #6ee7b7;
    color: #09090b !important;
}
.pricing-cta--ward {
    background: #f59e0b;
    color: #09090b !important;
}
.pricing-cta--ward:hover {
    background: #fbbf24;
    color: #09090b !important;
}
.pricing-cta--ward-outline {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}
.pricing-cta-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.pricing-cta-nowrap {
    white-space: nowrap;
}

/* --- Enterprise Banner --- */
.pricing-enterprise-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: #18181b;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 2rem;
}
.pricing-enterprise-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.pricing-enterprise-text {
    color: #a1a1aa;
    font-size: 0.95rem;
    margin: 0;
}

/* --- Pill / Note badge --- */
.pricing-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}
.pricing-pill--lynx {
    background: rgba(52,211,153,0.1);
    border: 1px solid rgba(52,211,153,0.2);
    color: #34d399;
}
.pricing-pill--ward {
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.2);
    color: #f59e0b;
}

/* --- Why Luviner Section --- */
.pricing-section-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.pricing-section-subtitle {
    color: #a1a1aa;
    font-size: 0.95rem;
}
.pricing-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.pricing-why-card {
    background: #18181b;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.75rem;
}
.pricing-why-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 0.5rem;
}
.pricing-why-value--edge {
    color: #f87171;
}
.pricing-why-value--green {
    color: #34d399;
}
.pricing-why-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.pricing-why-desc {
    font-size: 0.85rem;
    color: #a1a1aa;
}

/* --- Per-device Table --- */
.pricing-table-wrap {
    background: #18181b;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
}
.pricing-table {
    width: 100%;
    border-collapse: collapse;
}
.pricing-th {
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #71717a;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pricing-td {
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    color: #a1a1aa;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pricing-td-value {
    color: #fafafa;
    font-weight: 600;
}
.pricing-td-included {
    color: #34d399;
    font-weight: 600;
}
.pricing-td-noborder {
    border-bottom: none;
}

/* --- Calculator --- */
.pricing-calc-wrap {
    background: #18181b;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 2rem;
}
.pricing-calc-label {
    font-size: 0.85rem;
    color: #a1a1aa;
    margin-bottom: 0.75rem;
}
.pricing-plan-selector {
    display: flex;
    gap: 1px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
}
.pricing-plan-selector button {
    flex: 1;
    padding: 0.65rem 1rem;
    background: #09090b;
    border: none;
    color: #71717a;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}
.pricing-plan-selector button.active {
    background: #27272a;
    color: #fafafa;
}
.pricing-plan-selector button:hover {
    color: #a1a1aa;
}
.pricing-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.75rem;
}
.pricing-slider-label {
    font-size: 0.85rem;
    color: #a1a1aa;
}
.pricing-slider-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}
.pricing-slider {
    width: 100%;
    accent-color: #ef4444;
    height: 6px;
    cursor: pointer;
}
.pricing-slider-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #52525b;
    margin-top: 0.25rem;
}
.pricing-calc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
}
.pricing-calc-cell {
    background: #09090b;
    padding: 1.25rem;
    text-align: center;
}
.pricing-calc-cell-label {
    font-size: 0.75rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}
.pricing-calc-cell-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}
.pricing-calc-cell-value--total {
    color: #34d399;
}
.pricing-calc-cell-sub {
    font-size: 0.75rem;
    color: #52525b;
}

/* --- VAT Note --- */
.pricing-vat-note {
    text-align: center;
    color: #52525b;
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* --- Legal content override --- */
.legal-content { max-width: 1100px; }

/* --- Utility classes (for legal layout pages) --- */
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pricing-page-title { font-size: 1.8rem; }
    .pricing-page-subtitle { font-size: 1rem; }
    .pricing-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .pricing-card { padding: 1.5rem; }
    .pricing-price { font-size: 2rem; }
    .pricing-calc-grid { grid-template-columns: 1fr; }
    .pricing-calc-wrap { padding: 1.5rem; }
    .pricing-enterprise-banner { flex-direction: column; text-align: center; padding: 1.5rem; }
    .pricing-plan-selector { flex-direction: column; }
    .pricing-switcher-tab { padding: 0.5rem 1rem; font-size: 0.82rem; }
}
@media (max-width: 480px) {
    .pricing-page-title { font-size: 1.5rem; }
    .pricing-card { padding: 1.25rem; }
}
