/* ========================================
   Pricing Page - AI Infra Theme Override
   應用深藍+金色配色到定價頁面
   ======================================== */

/* === Body 和全局樣式 === */
body {
    background: var(--gradient-dark-radial) !important;
    min-height: 100vh;
    padding: 40px 20px;
}

/* === Header === */
.header h1 {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 48px !important;
    margin-bottom: 16px;
    font-weight: 700;
}

.header p {
    color: var(--text-light) !important;
    font-size: 20px;
    opacity: 1 !important;
}

/* === Pricing Cards === */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: rgba(26, 41, 66, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: var(--shadow-card) !important;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px) !important;
    border-color: var(--tech-cyan) !important;
    box-shadow: var(--shadow-glow-cyan) !important;
}

.card.featured {
    border: 2px solid var(--accent-gold) !important;
    transform: scale(1.05) !important;
    background: rgba(26, 41, 66, 0.8) !important;
    box-shadow: var(--shadow-glow-gold), var(--shadow-elevated) !important;
}

.card.featured:hover {
    transform: scale(1.05) translateY(-10px) !important;
}

.card.featured .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-gold) !important;
    color: var(--primary-dark) !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-glow-gold) !important;
}

/* === Plan Name === */
.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-gold) !important;
    margin-bottom: 8px;
}

/* === Target Audience === */
.target-audience {
    font-size: 14px;
    color: var(--text-gray) !important;
    margin-bottom: 24px;
}

/* === Price === */
.price {
    margin-bottom: 32px;
}

.price-amount {
    font-size: 52px;
    font-weight: 800;
    color: var(--accent-orange) !important;
    line-height: 1;
}

.price-period {
    color: var(--text-gray) !important;
    font-size: 18px;
    margin-top: 8px;
}

/* === Features List === */
.features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.features li {
    padding: 12px 0;
    color: var(--text-light) !important;
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.5;
}

.features li:before {
    content: "✓";
    color: var(--tech-cyan) !important;
    font-weight: bold;
    margin-right: 12px;
    font-size: 20px;
    flex-shrink: 0;
}

/* === CTA Buttons === */
.cta-button {
    width: 100%;
    background: var(--gradient-gold) !important;
    color: var(--primary-dark) !important;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    box-shadow: var(--shadow-glow-gold) !important;
}

.cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.8) !important;
}

.card.featured .cta-button {
    background: var(--gradient-gold) !important;
    box-shadow: var(--shadow-glow-gold) !important;
}

.card.featured .cta-button:hover {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.8) !important;
}

/* === Comparison Section === */
.comparison-section {
    background: rgba(26, 41, 66, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px;
    padding: 32px;
    margin-top: 40px;
    box-shadow: var(--shadow-card) !important;
}

.comparison-section h3 {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    font-size: 24px;
    text-align: center;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--accent-gold) !important;
    font-weight: 600;
}

.comparison-table td {
    color: var(--text-light) !important;
}

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

.check-icon {
    color: var(--tech-cyan) !important;
    font-size: 20px;
}

.cross-icon {
    color: var(--accent-orange) !important;
    font-size: 20px;
    opacity: 0.5;
}

/* === Note Section === */
.note-section {
    background: rgba(26, 41, 66, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px;
    padding: 32px;
    margin-top: 40px;
    box-shadow: var(--shadow-card) !important;
}

.note-section h3 {
    color: var(--accent-gold) !important;
    margin-bottom: 16px;
    font-size: 24px;
}

.note-section p {
    color: var(--text-light) !important;
    line-height: 1.8;
    font-size: 16px;
}

.note-section strong {
    color: var(--accent-gold) !important;
}

/* === 響應式調整 === */
@media (max-width: 768px) {
    .header h1 {
        font-size: 36px !important;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .card.featured {
        transform: scale(1) !important;
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
}
