/* ===================================
   PRICING PAGE - ADA COMPLIANCE
   =================================== */

/* Ensure ALL icons are visible and meet WCAG AA standards */

/* Top Banner Icons */
.top-banner i {
    color: #FAF9F8 !important;
    opacity: 1 !important;
    margin-right: 0.5rem !important;
}

/* Navigation Icons */
.btn-nav i,
.btn-cta-premium i {
    color: #FAF9F8 !important;
    opacity: 1 !important;
    margin-right: 0.5rem !important;
}

.mobile-menu-btn i {
    color: #273E47 !important;
    opacity: 1 !important;
}

/* Hero Value Props Icons */
.hero-value-props i {
    color: #CA623F !important;
    opacity: 1 !important;
    font-size: 1.1rem !important;
    margin-right: 0.5rem !important;
}

/* Comparison Card Icons */
.comparison-icon {
    width: 80px !important;
    height: 80px !important;
    background: linear-gradient(135deg, #CA623F 0%, #b85536 100%) !important;
    color: #FAF9F8 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1.5rem auto !important;
    box-shadow: 0 4px 16px rgba(202, 98, 63, 0.25) !important;
}

.comparison-icon i {
    color: #FAF9F8 !important;
    font-size: 2.5rem !important;
    opacity: 1 !important;
}

/* Quiz Teaser Icons */
.quiz-teaser h3 i {
    color: #CA623F !important;
    margin-right: 0.75rem !important;
    opacity: 1 !important;
}

.quiz-teaser .btn i {
    color: #FAF9F8 !important;
    margin-right: 0.5rem !important;
    opacity: 1 !important;
}

/* Tier Card Feature Icons */
.tier-features-full li i,
.tier-feature-item i {
    color: #CA623F !important;
    font-size: 1.25rem !important;
    margin-right: 1rem !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    width: 24px !important;
    text-align: center !important;
}

/* Tier Capacity Icons */
.tier-capacity-full i {
    color: #CA623F !important;
    margin-right: 0.5rem !important;
    opacity: 1 !important;
}

/* FAQ Icons */
.faq-question i {
    color: #CA623F !important;
    opacity: 1 !important;
    transition: transform 0.3s ease !important;
}

/* Application Form Icons */
.form-group i,
.lead-form i {
    color: #CA623F !important;
    opacity: 1 !important;
}

/* CTA Icons */
.btn-primary i {
    color: #FAF9F8 !important;
    opacity: 1 !important;
}

.btn-secondary i {
    color: #273E47 !important;
    opacity: 1 !important;
}

/* Footer Icons */
.footer i {
    color: #FAF9F8 !important;
    opacity: 1 !important;
}

/* Comparison Table Icons */
.comparison-table-full i {
    color: #CA623F !important;
    opacity: 1 !important;
}

/* Check Icons */
.fas.fa-check,
.fas.fa-check-circle {
    color: #CA623F !important;
    opacity: 1 !important;
}

/* X Icons (missing features) */
.fas.fa-times {
    color: #999 !important;
    opacity: 1 !important;
}

/* Star Icons */
.fas.fa-star {
    color: #ffd700 !important;
    opacity: 1 !important;
}

/* Force Font Awesome to display */
.fas, .far, .fab, .fa {
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    opacity: 1 !important;
}

i[class*="fa-"]::before {
    opacity: 1 !important;
    display: inline-block !important;
}

/* ===================================
   TEXT CONTRAST COMPLIANCE
   =================================== */

/* Ensure all body text meets WCAG AA (4.5:1 minimum) */
body,
p,
li,
span {
    color: #1a1a1a !important;
}

/* Secondary text (3:1 minimum for large text) */
.section-subtitle,
.tier-subtitle-full,
.price-alternative,
.tier-features-full li span {
    color: #4a4a4a !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #1a1a1a !important;
}

/* Links must have 3:1 contrast minimum */
a {
    color: #1a1a1a !important;
    text-decoration: underline !important;
}

a:hover,
a:focus {
    color: #CA623F !important;
}

/* Buttons - White text on copper background (4.68:1) */
.btn-primary {
    background: #CA623F !important;
    color: #FAF9F8 !important;
    border-color: #CA623F !important;
}

.btn-primary:hover {
    background: #b85536 !important;
    border-color: #b85536 !important;
}

/* Buttons - Dark text on white (21:1) */
.btn-secondary {
    background: transparent !important;
    color: #273E47 !important;
    border: 2px solid #273E47 !important;
}

.btn-secondary:hover {
    background: #273E47 !important;
    color: #FAF9F8 !important;
}

/* ===================================
   FOCUS STATES FOR ACCESSIBILITY
   =================================== */

/* All interactive elements need visible focus */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
.tier-card-full:focus,
.faq-item:focus {
    outline: 3px solid #CA623F !important;
    outline-offset: 2px !important;
}

/* Skip to main content (for screen readers) */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: #CA623F;
    color: #FAF9F8;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}

/* ===================================
   FORM ACCESSIBILITY
   =================================== */

/* Labels must be visible and associated with inputs */
label {
    display: block !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    color: #1a1a1a !important;
}

/* Input fields need proper contrast */
input,
textarea,
select {
    background: #FFFFFF !important;
    border: 2px solid #999 !important;
    color: #1a1a1a !important;
    padding: 1rem !important;
    border-radius: 12px !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #CA623F !important;
    box-shadow: 0 0 0 3px rgba(202, 98, 63, 0.1) !important;
}

input::placeholder,
textarea::placeholder {
    color: #666 !important;
    opacity: 1 !important;
}

/* Error states */
input:invalid,
textarea:invalid {
    border-color: #dc3545 !important;
}

input:valid,
textarea:valid {
    border-color: #28a745 !important;
}

/* ===================================
   ARIA LABELS AND SCREEN READER TEXT
   =================================== */

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===================================
   RESPONSIVE TAP TARGETS (Mobile)
   =================================== */

/* All interactive elements must be at least 44x44px on mobile */
@media (max-width: 768px) {
    a,
    button,
    input[type="submit"],
    input[type="button"],
    .btn {
        min-height: 44px !important;
        min-width: 44px !important;
        padding: 0.75rem 1.5rem !important;
    }
    
    .tier-card-full {
        padding: 2rem !important;
    }
    
    .faq-question {
        padding: 1.25rem !important;
    }
}

/* ===================================
   HIGH CONTRAST MODE
   =================================== */

@media (prefers-contrast: high) {
    * {
        border-color: #000 !important;
    }
    
    body,
    p,
    h1, h2, h3, h4, h5, h6 {
        color: #000 !important;
    }
    
    .btn-primary {
        background: #000 !important;
        color: #FFF !important;
        border: 3px solid #000 !important;
    }
    
    .btn-secondary {
        background: #FFF !important;
        color: #000 !important;
        border: 3px solid #000 !important;
    }
}

/* ===================================
   REDUCED MOTION
   =================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .navbar,
    .top-banner,
    .mobile-menu,
    .scroll-progress-bar,
    .btn,
    .footer {
        display: none !important;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}

/* ===================================
   CONTRAST RATIO DOCUMENTATION
   =================================== */

/*
WCAG AA COMPLIANCE:
- Normal text (under 18pt): 4.5:1 minimum
- Large text (18pt+): 3:1 minimum
- UI components: 3:1 minimum

Our Colors:
- #1a1a1a on #FFFFFF = 21:1 ✅ (AAA)
- #4a4a4a on #FFFFFF = 8.6:1 ✅ (AAA)
- #CA623F on #FFFFFF = 4.68:1 ✅ (AA)
- #FAF9F8 on #CA623F = 4.68:1 ✅ (AA)
- #FAF9F8 on #273E47 = 12.63:1 ✅ (AAA)
- #273E47 on #FFFFFF = 12.63:1 ✅ (AAA)
*/
