/* --- State Availability Styles --- */

/* Page Hero - Global Standard */
.page-hero {
    background: radial-gradient(circle at center, #002699 0%, #000000 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e0f2fe;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
    color: #e2e8f0;
}

/* Base Sections */
.block-layout {
    padding: 5rem 0;
}

.block-layout.alt-bg {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sub-heading {
    color: #64748b;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Intro Grid */
.intro-grid {
    display: flex;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-card {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.intro-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.intro-card p {
    color: #334155;
    line-height: 1.6;
}

/* State Grid System */
.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.state-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.state-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.15);
    border-color: #3b82f6;
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
}

.state-code {
    font-size: 2rem;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.state-card:hover .state-code {
    color: #bfdbfe;
}

.state-name {
    font-size: 1rem;
    color: #334155;
    font-weight: 600;
}

.state-card:hover .state-name {
    color: #0066FF;
}

/* Modal Styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.modal-backdrop.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #1e293b;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
}

.modal-icon {
    font-size: 2rem;
}

.modal-header h3 {
    font-size: 1.75rem;
    color: #1e293b;
    margin: 0;
}

.modal-section {
    margin-bottom: 1.5rem;
}

.modal-section h4 {
    color: #64748b;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.modal-section p {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.5;
}

.provider-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.provider-list li {
    background: #f0f9ff;
    color: #0369a1;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
}

.modal-footer {
    margin-top: 2rem;
    text-align: center;
}

/* Buttons */
.center-cta {
    text-align: center;
}

.center-cta p {
    margin-bottom: 1rem;
    color: #64748b;
}

.btn-primary-small {
    background: linear-gradient(135deg, #0066FF 0%, #004080 100%);
    color: #fff;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
    display: inline-block;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
}

.btn-secondary-large {
    background: #fff;
    color: #0066FF;
    border: 2px solid #0066FF;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    transition: all 0.2s;
}

.btn-secondary-large:hover {
    background: #f0f7ff;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.25rem;
    }

    .intro-grid {
        flex-direction: column;
    }

    .state-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}