/* Giscard Punk Pricing Page */
.pricing-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.pricing-hero {
    text-align: center;
    padding: 3rem 0;
}

.pricing-hero h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: var(--font-extrabold);
    color: var(--text-white);
    margin-bottom: 1rem;
}

.pricing-hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.developer-promise {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.promise-stat {
    text-align: center;
}

.promise-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: var(--font-black);
    color: var(--cyan-color);
    margin-bottom: 0.5rem;
}

.promise-label {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-btn {
    padding: 1rem 2rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-weight: var(--font-bold);
    transition: all 0.2s ease;
}

.toggle-btn:hover {
    border-color: var(--cyan-color);
    color: var(--text-white);
}

.toggle-btn.toggle-active {
    background: var(--cyan-color);
    border-color: var(--cyan-color);
    color: var(--text-dark);
}

/* SaaS Section Header */
.pricing-saas-section {
    text-align: center;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.pricing-saas-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.saas-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Neo-Brutalist Sandbox Badge */
.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-elevated);
    color: var(--success-color);
    padding: 1.25rem 2rem;
    border: 3px solid var(--success-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: var(--font-bold);
    box-shadow: 6px 6px 0 var(--success-color);
    transition: all 0.2s ease;
}

.trial-badge:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--success-color);
}

.trial-badge strong {
    color: var(--success-color);
}

.badge-icon {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-features-included {
    background: var(--bg-elevated);
    border: 2px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    margin: 3rem 0;
    text-align: center;
}

.pricing-features-included h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: var(--font-bold);
    color: var(--text-white);
    margin-bottom: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: var(--font-bold);
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.features-included-badge {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--cyan-color);
    border-radius: var(--radius-sm);
    margin-top: 1rem;
}

.features-included-badge strong {
    color: var(--cyan-color);
    font-size: 1.125rem;
}

/* Tableau des tarifs */
.pricing-table-section {
    margin: 3rem 0;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.pricing-table thead {
    background: var(--bg-elevated);
}

.pricing-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-family: var(--font-display);
    font-weight: var(--font-bold);
    color: var(--text-white);
    border-bottom: 2px solid var(--border-color);
}

.pricing-table td {
    padding: 1.25rem 1rem;
    color: var(--text-cream);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.pricing-table tbody tr:hover {
    background: var(--bg-elevated);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.popular-row {
    background: rgba(255, 107, 53, 0.1);
}

.popular-badge-inline {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: var(--font-bold);
    margin-left: 0.5rem;
    vertical-align: middle;
}

.btn-table {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: var(--font-bold);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    min-width: 120px;
    text-align: center;
}

.btn-table:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-sm);
}

.btn-table.btn-contact {
    background: var(--magenta-color);
}

@media (max-width: 768px) {
    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }

    .pricing-table th:last-child,
    .pricing-table td:last-child {
        text-align: center;
    }
}

.pricing-footnote {
    text-align: center;
    padding: 0.25rem 2rem;
    margin: -2.75rem 0 2rem;
}

.pricing-footnote p {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

.pricing-faq {
    margin: 5rem 0;
    text-align: center;
}

.pricing-faq h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: var(--text-white);
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.faq-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: var(--font-bold);
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.faq-item p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pricing-calculator {
    background: var(--bg-elevated);
    border: 2px solid var(--cyan-color);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    margin: 3rem 0;
}

.pricing-calculator h2 {
    font-family: var(--font-display);
    font-weight: var(--font-bold);
    color: var(--text-white);
    margin-bottom: 2rem;
}

.calculator-box {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.calculator-box label {
    display: block;
    font-weight: var(--font-bold);
    margin-bottom: 0.5rem;
    color: var(--text-cream);
}

.calculator-box input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1.125rem;
    text-align: center;
    background: var(--bg-base);
    color: var(--text-cream);
}

.calculator-box input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.calculator-result {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.result-plan,
.result-price {
    margin: 0.75rem 0;
    font-size: 1.125rem;
    color: var(--text-cream);
}

.result-plan strong,
.result-price strong {
    color: var(--primary-color);
}

.result-details {
    margin-top: 1rem;
    color: var(--text-muted);
}

.pricing-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-elevated);
    border: 3px solid var(--primary-color);
    border-radius: var(--radius-md);
    margin: 3rem 0;
}

.pricing-cta h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: var(--text-white);
    margin-bottom: 1rem;
}

.pricing-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: var(--font-bold);
    font-size: 1.125rem;
    transition: all 0.2s ease;
}

.cta-button:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-md);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-hero h1 {
        font-size: 1.75rem;
    }

    .developer-promise {
        gap: 1.5rem;
    }
}

/* On-Premise vs SaaS Comparison Mini Table */
.onpremise-vs-saas {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 700px;
    text-align: center;
}

.onpremise-vs-saas h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: var(--font-bold);
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.comparison-table-mini {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.comparison-table-mini th,
.comparison-table-mini td {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table-mini th {
    color: var(--text-white);
    font-weight: var(--font-bold);
    background: var(--bg-elevated);
}

.comparison-table-mini th:first-child {
    text-align: left;
}

.comparison-table-mini td {
    color: var(--text-cream);
}

.comparison-table-mini td:first-child {
    text-align: left;
    color: var(--text-muted);
    font-weight: var(--font-semibold);
}

.comparison-table-mini tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table-mini .highlight-unlimited {
    color: var(--success-color);
    font-weight: var(--font-black);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .comparison-table-mini th,
    .comparison-table-mini td {
        padding: 0.5rem;
        font-size: 0.8125rem;
    }
}

/* On-Premise Section */
.pricing-onpremise {
    background: linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.05) 0%,
        rgba(128, 0, 255, 0.05) 100%
    );
    border: 3px solid var(--cyan-color);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    margin: 4rem 0;
    text-align: center;
}

.pricing-onpremise h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: var(--cyan-color);
    margin-bottom: 0.75rem;
}

.onpremise-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.onpremise-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.onpremise-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.onpremise-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.onpremise-feature strong {
    color: var(--cyan-color);
    font-size: 1.125rem;
}

.onpremise-feature span:last-child {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.onpremise-pricing-simple {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem auto;
    max-width: 800px;
}

.onpremise-price-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    position: relative;
}

.onpremise-price-card.featured {
    border-color: var(--cyan-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.onpremise-price-card .price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cyan-color);
    color: var(--text-dark);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: var(--font-bold);
}

.price-header {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: var(--font-bold);
    color: var(--text-white);
    margin-bottom: 1rem;
}

.price-main {
    margin: 1.5rem 0;
}

.price-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: var(--font-black);
    color: var(--cyan-color);
}

.price-unit {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.price-minimum {
    background: var(--bg-elevated);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    color: var(--text-cream);
}

.price-minimum strong {
    color: var(--primary-color);
}

.price-minimum small {
    color: var(--text-muted);
}

.price-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.price-includes li {
    padding: 0.5rem 0;
    color: var(--text-cream);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--border-color);
}

.price-includes li:last-child {
    border-bottom: none;
}

.price-includes small {
    color: var(--text-muted);
}

.onpremise-comparison {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    margin: 2rem auto;
    max-width: 700px;
    text-align: center;
}

.onpremise-comparison p {
    color: var(--text-cream);
    font-size: 0.9375rem;
    margin: 0;
}

.onpremise-comparison strong {
    color: var(--cyan-color);
}

.onpremise-tech {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 600px;
    text-align: left;
}

.onpremise-tech h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: var(--font-bold);
    color: var(--text-white);
    margin-bottom: 1rem;
    text-align: center;
}

.onpremise-tech ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
}

.onpremise-tech li {
    color: var(--text-cream);
    font-size: 0.9375rem;
}

.tech-prereq {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.onpremise-cta {
    margin-top: 2rem;
}

.onpremise-cta p {
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .onpremise-features {
        flex-direction: column;
        align-items: center;
    }

    .onpremise-tech ul {
        grid-template-columns: 1fr;
    }
}
