/* Pricing Page Styles - Orange Theme Matching Landing Page */
:root {
    --primary-orange: #F5B301;
    --primary-orange-dark: #D18501;
    --primary-orange-light: #F5C732;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --overlay-dark: rgba(0, 0, 0, 0.75);
}

/* Hero Section */
.pricing-hero {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), 
                      url('/static/images/hero_construction_tablet_demo.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero-content-pricing {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content-pricing h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content-pricing .lead {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Headings */
.section-heading {
    color: var(--primary-orange);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-light));
    border-radius: 2px;
}

/* Hero subtitle with underline - make text white */
.pricing-hero .hero-description,
.pricing-hero .lead,
.pricing-hero p,
.hero-content-pricing p,
.hero-content-pricing .hero-description {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Pricing Explanation */
.pricing-explanation {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.pricing-explanation h4 {
    color: var(--primary-orange);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.pricing-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(209, 133, 1, 0.2);
}

.featured-card {
    border: 3px solid var(--primary-orange);
    transform: scale(1.05);
}

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

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
}

.tier-badge {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.free-badge {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}

.basic-badge {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: white;
}

.pro-badge {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

.tier-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.price {
    margin-bottom: 10px;
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
}

.price .period {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

.price-subtitle {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.features-list li {
    padding: 12px 0;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Pricing Buttons */
.btn-primary-orange-pricing {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.btn-primary-orange-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209, 133, 1, 0.4);
    color: white;
}

.btn-outline-orange-pricing {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.btn-outline-orange-pricing:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209, 133, 1, 0.4);
}

/* Benefit Cards */
.benefit-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(209, 133, 1, 0.15);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.benefit-card h5 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.benefit-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Example Cards */
.example-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.example-card h4 {
    color: var(--primary-orange);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.example-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: white;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.example-badge.professional {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.example-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.example-card ul li {
    padding: 8px 0;
    color: #555;
    font-size: 1rem;
}

.example-card.highlight {
    border: 2px solid var(--primary-orange-light);
    background: linear-gradient(135deg, rgba(209, 133, 1, 0.03), rgba(224, 149, 32, 0.03));
}

/* Add-On Section */
.addon-section {
    text-align: center;
}

.addon-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.addon-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 6px 20px rgba(209, 133, 1, 0.15);
}

.addon-amount {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.addon-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-orange);
}

/* Fairness Grid */
.fairness-grid {
    display: grid;
    gap: 25px;
}

.fairness-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.fairness-icon {
    font-size: 1.8rem;
    color: var(--primary-orange);
    margin-right: 20px;
    flex-shrink: 0;
}

.fairness-content h5 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.fairness-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Bottom Line Section */
.bottom-line-section {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.6)), 
                      url('/static/images/hero_construction_tablet_demo.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
}

.bottom-line-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.bottom-line-card {
    position: relative;
    z-index: 1;
}

.bottom-line-section .section-heading {
    color: white;
}

.bottom-line-section .section-heading::after {
    background: white;
}

.perfect-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-block;
}

.btn-light {
    background: white;
    color: var(--primary-orange);
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    color: var(--primary-orange-dark);
}

/* Override red underlined text with orange color */
.pricing-hero u,
.pricing-hero [style*="text-decoration: underline"],
.pricing-hero .text-decoration-underline,
.pricing-hero *[style*="color: red"],
.pricing-hero *[style*="color:#ff0000"],
.pricing-hero *[style*="color: #ff0000"],
.pricing-hero *[style*="text-decoration-color: red"],
.pricing-hero *[style*="text-decoration-color:#ff0000"],
.pricing-hero *[style*="text-decoration-color: #ff0000"] {
    color: var(--primary-orange) !important;
    text-decoration-color: var(--primary-orange) !important;
}

/* Force all underlined text in hero to be orange */
.hero-content-pricing h1 u,
.hero-content-pricing h1 [style*="text-decoration"],
.hero-content-pricing h1 span,
.hero-content-pricing h1 *,
.pricing-hero h1 u,
.pricing-hero h1 [style*="text-decoration"],
.pricing-hero h1 span,
.pricing-hero h1 * {
    color: var(--primary-orange) !important;
    text-decoration-color: var(--primary-orange) !important;
}

/* Nuclear option for hero text */
.pricing-hero h1,
.hero-content-pricing h1 {
    color: var(--primary-orange) !important;
}

.pricing-hero h1 *,
.hero-content-pricing h1 * {
    color: inherit !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content-pricing h1 {
        font-size: 2.5rem;
    }

    .hero-content-pricing .lead {
        font-size: 1.2rem;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .pricing-card {
        margin-bottom: 20px;
    }

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

    .featured-card:hover {
        transform: translateY(-8px);
    }

    .price .amount {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .pricing-hero {
        padding: 80px 20px 60px;
    }

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

    .hero-content-pricing .lead {
        font-size: 1.1rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .pricing-explanation {
        padding: 25px;
    }

    .pricing-card {
        padding: 30px 20px;
    }
}
