/* ============================================
   PRICING PAGE STYLES
   ============================================ */

/* Hero Section */
.pricing-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1E293B 100%);
    color: white;
    padding: 140px 0 80px;
    text-align: center;
}

.pricing-hero h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.pricing-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Billing Toggle */
/* Billing Toggle */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.billing-option {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    background: transparent;
    box-shadow: none;

    padding: 0.9rem 1.8rem;
    min-width: 190px;
    border-radius: 999px;

    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;

    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    transition: all 0.25s ease;
}

.billing-option:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.billing-option.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.billing-option.active span {
    color: #10B981;
}

.billing-option:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

/* Ušetříte */
.price-saving {
    margin-top: 8px;
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #065f46;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 999px;
    transition: all 0.3s ease;
}

.pricing-card.featured .price-saving {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.4);
}

.js-price {
    transition: all 0.25s ease;
}

/* ============================================
   PROMOTIONAL BANNER
   ============================================ */

.promo-banner {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.promo-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-badge svg {
    width: 20px;
    height: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.promo-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.promo-description {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.promo-highlight {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: #FEF3C7;
    background: rgba(254, 243, 199, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    display: inline-block;
    margin: 0 0.25rem;
}

.promo-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.promo-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.promo-feature svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: white;
}

/* Pricing Content */
.pricing-content {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 255, 0.3);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.25);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

/* Pricing Header */
.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.pricing-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Pricing Price */
.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-currency {
    font-size: 1.5rem;
}

.price-period {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Pricing Features */
.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
}

/* Pricing CTA */
.pricing-cta {
    width: 100%;
    margin-top: auto;
}

.pricing-card.featured .pricing-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.comparison-section {
    background: white;
    padding: 80px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 3rem;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table thead {
    background: var(--bg-dark);
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem 2rem;
    text-align: left;
}

.comparison-table th {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: var(--bg-secondary);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.check-icon {
    color: #10B981;
    font-weight: 700;
    font-size: 1.25rem;
}

.cross-icon {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.25rem;
}

/* ============================================
   ADD-ON PACKAGES
   ============================================ */

.addon-packages-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.addon-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.addon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.addon-card.addon-featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.02) 0%, rgba(0, 102, 255, 0.05) 100%);
}

.addon-icon {
    margin-bottom: 1.5rem;
}

.addon-header {
    margin-bottom: 1.5rem;
}

.addon-name {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.addon-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.addon-pricing {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.addon-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.addon-amount {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.01em;
}

.addon-currency {
    font-size: 1.25rem;
}

.addon-period {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
}

.addon-features {
    list-style: none;
    flex-grow: 1;
}

.addon-features li {
    padding: 0.625rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.addon-cta {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.addon-cta:hover {
    box-shadow: var(--shadow-md);
}

.addon-cta-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.addon-cta-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .addon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 120px 0 60px;
    }

    .pricing-hero h1 {
        font-size: 2.25rem;
    }

    .pricing-hero p {
        font-size: 1.125rem;
    }

    .billing-toggle {
        flex-direction: column;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .billing-option {
        width: 100%;
        min-width: 0;
        text-align: center;
        padding: 0.875rem 1.25rem;
    }

    .promo-banner {
        padding: 40px 0;
    }

    .promo-title {
        font-size: 2rem;
    }

    .promo-description {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    .promo-highlight {
        font-size: 1.5rem;
    }

    .promo-features {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .promo-feature {
        font-size: 0.9375rem;
    }

    .pricing-content {
        padding: 60px 0;
    }

    .pricing-card {
        padding: 2.5rem 2rem;
    }

    .price-amount {
        font-size: 3rem;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
    }

    .comparison-table th {
        font-size: 1rem;
    }

    .addon-grid {
        grid-template-columns: 1fr;
    }

    .addon-cta {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .addon-cta .btn-primary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .pricing-hero h1 {
        font-size: 2rem;
    }

    .pricing-hero p {
        font-size: 1rem;
    }

    .promo-banner {
        padding: 30px 0;
    }

    .promo-title {
        font-size: 1.75rem;
    }

    .promo-description {
        font-size: 1rem;
    }

    .promo-highlight {
        font-size: 1.375rem;
        padding: 0.2rem 0.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-name {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .addon-name {
        font-size: 1.25rem;
    }

    .addon-amount {
        font-size: 1.75rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {

    .pricing-card,
    .addon-card,
    .billing-option {
        transition: none;
    }

    .pricing-card:hover,
    .pricing-card.featured,
    .addon-card:hover {
        transform: none;
    }
}

@media print {

    .pricing-hero,
    .billing-toggle {
        background: white;
        color: var(--text-primary);
    }

    .pricing-card,
    .addon-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}