/* =============================================
   FREE PHONE LINK - Page-Specific Styles
   ============================================= */

/* ============ HOMEPAGE SECTIONS ============ */

/* Programs Section */
.programs-section {
    background: var(--white);
}

.program-grid-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.featured-program-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    border-top: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

.featured-program-card:hover {
    transform: translateY(-5px);
}

.featured-program-card.green {
    border-top-color: #10b981;
}

.featured-program-card.purple {
    border-top-color: #8b5cf6;
}

.program-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.program-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.featured-program-card.green .program-card-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.featured-program-card.purple .program-card-icon {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.program-card-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.program-card-body p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.program-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: auto;
    margin-bottom: 2rem;
    text-align: center;
}

.metric-item strong {
    display: block;
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.featured-program-card.green .metric-item strong {
    color: #10b981;
}

.featured-program-card.purple .metric-item strong {
    color: #8b5cf6;
}

.metric-item span {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.program-card-footer .btn {
    width: 100%;
}

.featured-program-card.green .btn-primary {
    background: #10b981;
    border-color: #10b981;
}

.featured-program-card.purple .btn-primary {
    background: #8b5cf6;
    border-color: #8b5cf6;
}


.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* Eligibility Checker */
.eligibility-checker {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    color: var(--white);
}

.eligibility-checker h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.eligibility-checker p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
}

.eligibility-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: var(--spacing-md);
    align-items: end;
}

.eligibility-form .form-input,
.eligibility-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.eligibility-form .form-select option {
    color: var(--gray-900);
    background-color: var(--white);
}

.eligibility-form .form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.eligibility-form .form-input:focus,
.eligibility-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.eligibility-form .form-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Fix alignment by removing margin and ensuring button matches input height */
.eligibility-form .form-group {
    margin-bottom: 0;
}

.eligibility-form .btn {
    padding-top: 0;
    padding-bottom: 0;
    height: 52px;
    /* Matching the approximate height of inputs */
}

@media (max-width: 768px) {
    .eligibility-form {
        grid-template-columns: 1fr;
    }

    .eligibility-form .btn {
        margin-top: var(--spacing-sm);
    }
}

/* Featured Devices */
.device-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.device-card {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.device-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.device-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.device-card:hover::before {
    opacity: 1;
}

.device-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
}

.device-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
}

.device-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.device-card:hover .device-image img {
    transform: scale(1.05);
}

.device-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.device-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    max-width: 250px;
}

.device-card .btn-primary {
    width: 100%;
    max-width: 200px;
    background: #1e3a8a;
    border-color: #1e3a8a;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 1rem;
}

.device-card .btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--gray-200);
}

.steps-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    position: relative;
}

.steps-grid-3::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}

@media (max-width: 1024px) {
    .steps-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        /* Or 1fr depending on preference, usually stack */
    }

    .steps-grid-3::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .steps-grid-3 {
        grid-template-columns: 1fr;
    }
}

.step-card {
    position: relative;
    text-align: center;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.step-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.step-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials */
.testimonials-section {
    background: var(--white);
    padding: 6rem 0;
}

.testimonial-hero-card {
    background: var(--white);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-hero-content {
    position: relative;
}

.quote-icon-large {
    font-size: 4rem;
    color: rgba(37, 99, 235, 0.1);
    position: absolute;
    top: -2rem;
    left: -1rem;
    z-index: 0;
}

.testimonial-rating-v2 {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-hero-content blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--gray-800);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-user-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial-user-info p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.testimonial-tags {
    display: flex;
    gap: 0.75rem;
}

.tag {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tag-blue {
    background: #e0f2fe;
    color: #0369a1;
}

.tag-green {
    background: #dcfce7;
    color: #15803d;
}

.testimonial-hero-image {
    position: relative;
}

.testimonial-hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-nav {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
}

.nav-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

.testimonial-stats-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 5rem;
    text-align: center;
}

.stat-item-v2 h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item-v2 p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .testimonial-hero-card {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 3rem;
    }

    .testimonial-hero-image {
        order: -1;
    }
}

@media (max-width: 1200px) {
    .device-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .program-grid-featured {
        grid-template-columns: 1fr;
    }

    .device-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .device-card {
        padding: 2rem;
    }

    .device-image {
        height: 250px;
    }

    .testimonial-stats-footer {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Trust Signals */
.trust-section {
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.trust-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.trust-item h4 {
    font-size: 1rem;
    margin: 0;
}

.trust-item p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1c3e9c 100%);
    /* Distinct deep navy */
    color: var(--white);
    text-align: center;
    border: none;
    margin-bottom: 0;
    overflow: hidden;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    color: var(--gray-300);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

/* ============ STATE PAGES ============ */
.state-hero {
    padding: calc(72px + var(--spacing-2xl)) 0 var(--spacing-2xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.state-hero h1 {
    color: var(--white);
}

.state-stats {
    display: flex;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.state-stat {
    text-align: center;
}

.state-stat h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.state-stat p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ============ PROVIDER PAGES ============ */
.provider-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-2xl);
}

.provider-logo {
    width: 120px;
    height: 120px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gray-400);
}

.provider-info h1 {
    margin-bottom: var(--spacing-sm);
}

.provider-info p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
}

.provider-meta {
    display: flex;
    gap: var(--spacing-lg);
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============ DEMOGRAPHIC PAGES ============ */
.demographic-hero {
    padding: calc(72px + var(--spacing-2xl)) 0 var(--spacing-2xl);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
}

.demographic-hero h1 {
    color: var(--white);
}

.demographic-hero .badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.requirements-list {
    display: grid;
    gap: var(--spacing-md);
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.requirement-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.requirement-item h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.requirement-item p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
}

/* ============ FAQ PAGE ============ */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.faq-category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: var(--primary);
    color: var(--white);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--spacing-lg);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--gray-800);
    background: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--gray-400);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============ LEGAL PAGES ============ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--gray-200);
}

.legal-content h3 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.legal-content p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-700);
}

.legal-content ul {
    list-style: disc;
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.legal-content li {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-700);
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-updated {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-xl);
}

/* ============ 404 PAGE ============ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-2xl);
}

.error-content h1 {
    font-size: 8rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.error-content h2 {
    margin-bottom: var(--spacing-md);
}


/* ============ ABOUT US PAGE ============ */
.about-hero {
    padding: calc(72px + var(--spacing-4xl)) 0 var(--spacing-3xl);
    background: linear-gradient(135deg, #1e3a8a 0%, var(--primary) 50%, #0ea5e9 100%);
    color: var(--white);
    text-align: center;
}

.about-hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    padding-top: 60px;

}

.about-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    padding-bottom: 20px;
}

.bg-gray-50 {
    padding-top: 3em;
    margin-bottom: 3em;
}

.stat-box-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;

}

.stat-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
}

.stat-box h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-box p {
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.digital-divide-section {
    background: #f8fafc;
    border-radius: 32px;
    padding: 4rem;
    margin: 4rem 0;
}

.divide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.chart-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.chart-bar-group {
    margin-bottom: 1.5rem;
}

.chart-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
}

.chart-bar-bg {
    height: 12px;
    background: var(--gray-100);
    border-radius: 6px;
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 6px;
    transition: width 1s ease-out;
}

.about-content-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--gray-100);
    height: 100%;
}

.about-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    gap: 1.5rem;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .stat-box-grid {
        grid-template-columns: 1fr;
        margin-top: var(--spacing-xl);
    }

    .divide-grid {
        grid-template-columns: 1fr;
    }

    .about-feature-list {
        grid-template-columns: 1fr;
    }
}

/* Programs Page Specific Styles */
.program-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.program-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.program-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-100);
}

.program-header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.program-icon-box {
    width: 64px;
    height: 64px;
    background: #eff6ff;
    /* Light blue bg */
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    /* Primary blue */
    font-size: 2rem;
}

.program-title-group h2,
.program-title-group h3 {
    margin: 0;
    font-size: 1.75rem;
    color: var(--gray-900);
    line-height: 1.2;
}

.program-title-group p {
    margin: 0.25rem 0 0;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-active {
    background: #dcfce7;
    color: #15803d;
}

.status-ended {
    background: #fee2e2;
    color: #b91c1c;
}

/* Custom Lists */
.check-list,
.blue-bullet-list,
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.blue-bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.blue-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -4px;
    color: #2563eb;
    font-size: 1.5rem;
}

/* Step list for application process */
.step-list {
    counter-reset: step-counter;
}

.step-list li {
    position: relative;
    padding-left: 3.5rem;
    /* Increased padding for step numbers */
    margin-bottom: 1.5rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.step-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: -4px;
    width: 32px;
    height: 32px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.program-section-title {
    color: #1e3a8a;
    /* Dark Navy */
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.program-lead {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* State Programs Premium Layout */
.state-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.state-card-premium {
    background: #f8fafc;
    /* Very light gray/blue as per reference */
    border-radius: 20px;
    padding: 2.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.state-card-premium:hover {
    background: #f1f5f9;
    transform: translateY(-5px);
}

.state-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: #1e3a8a;
    font-weight: 700;
}

.state-icon-circle {
    width: 32px;
    height: 32px;
    border: 2px solid #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 0.875rem;
}

.state-inner-box {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.state-inner-box h4 {
    color: var(--gray-900);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.state-inner-box p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.state-card-premium .learn-more-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.state-card-premium .learn-more-link:hover {
    text-decoration: underline;
}

.btn-view-all {
    background: #2563eb;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #1d4ed8;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* Top Lifeline Providers Section */
.provider-section {
    background-color: #f8fafc;
    padding: 6rem 0;
}

.provider-card-premium {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.provider-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.provider-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.provider-logo-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.provider-logo-box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.provider-card-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.info-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    margin-bottom: 0.75rem;
    display: block;
}

.device-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 1.75rem;
}

.device-chip {
    background: #eff6ff;
    color: #2563eb;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.network-badge {
    background: #dcfce7;
    color: #15803d;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.75rem;
}

.provider-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.provider-benefits li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
    color: #475569;
    display: flex;
    align-items: center;
}

.provider-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 800;
    font-size: 1.125rem;
}

.provider-card-footer .btn {
    width: 100%;
}

/* ============ PREMIUM PROVIDER PAGE STYLES ============ */

.bg-light-blue {
    background: #f8fafc;
}

.hero-v2 {
    border-bottom: 1px solid var(--gray-100);
    padding-top: calc(72px + var(--spacing-3xl));
    padding-bottom: var(--spacing-3xl);
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-v2 p {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.benefit-list-v2 {
    list-style: none;
    padding: 0;
}

.benefit-list-v2 li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--gray-700);
}

.benefit-list-v2 .check-icon {
    width: 24px;
    height: 24px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    flex-shrink: 0;
}

.provider-rating-card {
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: var(--white);
}

.rating-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.rating-note {
    width: 100%;
}

.star-icon {
    font-size: 1.25rem;
}

.rating-info h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
}

.program-card {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.cta-section-v2 {
    background: #1e3a8a;
    /* Deep blue from screenshots */
    color: var(--white);
}

.cta-section-v2 h2,
.cta-section-v2 p,
.cta-section-v2 .lead {
    color: var(--white) !important;
}

.btn-white {
    background: var(--white);
    color: #1e3a8a;
    border: 2px solid var(--white);
}

.btn-white:hover {
    background: var(--gray-100);
    color: #1e3a8a;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    transition: all var(--transition-base);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
}

.disclaimer-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    margin-top: var(--spacing-2xl);
}

.disclaimer-box p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Centered Headings Underline */
.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .step-item-v2 {
        max-width: 300px;
    }
}

/* ============ ELIGIBILITY PAGES ============ */
.hero-eligibility {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: var(--white);
    padding: calc(110px + var(--spacing-4xl)) 0 calc(var(--spacing-4xl) + 40px);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-eligibility h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    padding-top: 120px;
}

.hero-eligibility p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.hero-nav-simple {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-top: var(--spacing-2xl);
    padding-bottom: 40px;

}

.hero-nav-simple a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.hero-nav-simple a:hover {
    color: var(--white);
    text-decoration: underline;
}

.qualify-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

@media (max-width: 1024px) {
    .qualify-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .qualify-steps-grid {
        grid-template-columns: 1fr;
    }
}

.qualify-step-card {
    background: var(--white);
    padding: var(--spacing-2xl) var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: transform 0.3s ease;
}

.qualify-step-card:hover {
    transform: translateY(-5px);
}

.step-icon-box {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.5rem;
}

.step-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.05em;
}

.income-guidelines-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

@media (max-width: 900px) {
    .income-guidelines-box {
        grid-template-columns: 1fr;
    }
}

.income-table-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-2xl);
    border: 1px solid var(--gray-100);
}

.income-table-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
}

.income-list-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray-100);
}

.income-list-item:last-child {
    border-bottom: none;
}

.income-list-item .people {
    color: var(--gray-700);
}

.income-list-item .amount {
    font-weight: 700;
    color: var(--primary);
}

.add-person-row {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: #f8fafc;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

/* Program Cards V3 */
.program-card-v3 {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    height: 100%;
}

.program-card-v3:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.program-card-v3 .icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.program-card-v3 h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.program-card-v3 p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Eligibility Checker Tool */
.checker-tool-card {
    background: var(--white);
    border-radius: 28px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15);
    padding: 2em;
    max-width: 1100px;
    margin: 0rem auto 0;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.checker-layout {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: var(--spacing-3xl);
}

@media (max-width: 900px) {
    .checker-layout {
        grid-template-columns: 1fr;
    }

    .checker-divider {
        display: none;
    }

    .checker-tool-card {
        margin-top: 2rem;
        padding: var(--spacing-xl);
    }
}

.checker-divider {
    background: var(--gray-200);
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checker-divider::after {
    content: 'OR';
    background: var(--white);
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-400);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    position: absolute;
}

.checker-section-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.program-selection-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: var(--spacing-md);
}

.program-checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.2s;
}

.program-checkbox-item:hover {
    background: var(--gray-50);
}

.program-checkbox-item input {
    margin-top: 3px;
}

.program-checkbox-item label {
    font-size: 0.9375rem;
    color: var(--gray-700);
    cursor: pointer;
}

.checker-form-group {
    margin-bottom: var(--spacing-lg);
}

.checker-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-600);
}

.checker-result-box {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-3xl);
    border-radius: 20px;
    display: none;
    text-align: center;
    animation: fadeInChecker 0.4s ease-out;
}

.checker-result-box.eligible {
    background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    color: #166534;
    box-shadow: 0 15px 35px rgba(22, 101, 52, 0.1);
}

.checker-result-box.not-eligible {
    background: linear-gradient(145deg, #fff1f2 0%, #ffe4e6 100%);
    border: 1px solid #fecdd3;
    color: #9f1239;
    box-shadow: 0 15px 35px rgba(159, 18, 57, 0.1);
}

@keyframes fadeInChecker {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ CONTACT PAGE ============ */
.contact-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    padding: calc(110px + var(--spacing-4xl)) 0 var(--spacing-4xl);
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.contact-hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    padding-top: 62px;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    max-width: 700px;
    margin: var(--spacing-md) auto 0;
}

.contact-card-container {
    max-width: 1100px;
    margin: 0rem auto 4rem;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--white);
    border-radius: 32px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .contact-card-container {
        grid-template-columns: 1fr;
        margin: 2rem var(--spacing-md);
    }
}

.contact-info-side {
    background: #f8fafc;
    padding: var(--spacing-3xl);
    border-right: 1px solid var(--gray-100);
}

.contact-form-side {
    padding: var(--spacing-3xl);
}

@media (max-width: 900px) {
    .contact-info-side {
        border-right: none;
        border-bottom: 1px solid var(--gray-100);
    }
}

.contact-info-item {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.contact-icon-box {
    width: 54px;
    height: 54px;
    background: var(--white);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.contact-info-content h4 {
    margin: 0 0 var(--spacing-xs);
    font-size: 1.125rem;
}

.contact-info-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

.contact-method-grid {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.contact-method-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all 0.3s ease;
}

.contact-method-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.contact-method-card .icon {
    font-size: 1.25rem;
}

.contact-method-card span {
    font-weight: 600;
    color: var(--gray-800);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============ FAQ PAGE ============ */
.faq-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: var(--white);
    padding: calc(62px + var(--spacing-4xl)) 0 var(--spacing-4xl);
    text-align: center;
}

.faq-hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    padding-top: 120px;
}

.faq-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    max-width: 700px;
    margin: var(--spacing-md) auto 0;
    padding-bottom: 60px;
}

.faq-container {
    max-width: 900px;
    margin: 2rem auto 4rem;
    position: relative;
    z-index: 10;
}

.faq-section {
    margin-bottom: var(--spacing-4xl);
    padding: 0 var(--spacing-md);
}

.faq-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    padding-left: var(--spacing-md);
    border-left: 5px solid var(--primary);
    color: var(--gray-800);
}

.faq-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-card-question {
    width: 100%;
    padding: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
}

.faq-card-icon {
    font-size: 0.875rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    background: #f0f7ff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-card.active .faq-card-icon {
    transform: rotate(180deg);
}

.faq-card-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
}

.faq-card.active .faq-card-answer {
    max-height: 800px;
}

.faq-card-answer-inner {
    padding: 0 var(--spacing-xl) var(--spacing-xl);
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-card-answer-inner p {
    margin: 0;
}

.faq-cta {
    background: #f1f5f9;
    padding: 3em;
    border-radius: 32px;
    text-align: center;
    margin-top: 60px;
    border: 1px dashed var(--gray-300);
}

/* ============ PRODUCT PAGE ============ */
.product-container {
    padding: var(--spacing-4xl) 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: var(--spacing-4xl);
}

@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.product-gallery {
    background: #f8fafc;
    border-radius: 32px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-100);
    position: sticky;
    top: 100px;
}

.product-image-main {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease;
}

.product-gallery:hover .product-image-main {
    transform: scale(1.05);
}

.product-info-side {
    padding-top: var(--spacing-md);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.stars {
    color: #fbbf24;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
}

.price-original {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: var(--gray-400);
}

.price-current {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.product-badge-free {
    background: var(--success);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: var(--spacing-2xl);
}

.product-action-box {
    background: #f1f5f9;
    padding: 2rem;
    border-radius: 24px;
    margin-bottom: var(--spacing-3xl);
    border: 1px solid var(--gray-200);
}

.product-specs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: var(--spacing-2xl);
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gray-400);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: 1rem;
    color: var(--gray-800);
    font-weight: 600;
}


.product-gallery-side {
    position: sticky;
    top: 100px;
}

@media (max-width: 900px) {
    .product-gallery-side {
        position: relative;
        top: 0;
    }
}