body {
    background: #f8fafc;
    color: #1a1a1a;
    line-height: 1.6;
}

.hero-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
}

.hero-section .btn {
    border-radius: 0.5rem;
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    box-shadow: none;
    margin: 0 0.4rem;
}

.hero-section .btn:active,
.hero-section .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.15);
}

.hero-section .button-row {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.hero-divider {
    border: none;
    border-top: 1px solid #e3e8ee;
    margin: 1.8rem 0 0 0;
}

.container {
    padding-top: 0;
}

.case-lookup {
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.06);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.case-lookup .form-control {
    border-radius: 2rem 0 0 2rem;
    padding: 1rem;
    font-size: 1.1rem;
    height: 3.2rem;
}

.case-lookup .btn {
    border-radius: 0 2rem 2rem 0;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    height: 3.2rem;
}

.section-divider {
    border: none;
    border-top: 1px solid #e3e8ee;
    margin: 2.5rem 0 2.5rem 0;
}

.card {
    border-radius: 1rem;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
}

.how-it-works {
    margin: 4rem 0;
}

.how-it-works .h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}

.how-it-works .card-body {
    padding: 2.5rem 2rem 2rem 2rem;
}

.how-it-works .icon {
    color: #0d6efd;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    transition: color 0.2s, transform 0.2s;
}

.how-it-works .icon:hover {
    color: #0b5ed7;
    transform: scale(1.12) rotate(-6deg);
}

.how-it-works .h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.how-it-works p.small {
    color: #555;
}

.faq-section {
    margin-top: 3.5rem;
}

.platform-header {
    margin-bottom: 2.5rem;
}

.ez-logo {
    height: 64px;
    width: 64px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(13, 110, 253, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.ez-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(13, 110, 253, 0.3));
}

.platform-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.ez-black {
    color: #212529;
}

.ez-blue {
    color: #0d6efd;
    margin-left: 2px;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subheadline {
    font-size: 1.35rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.1rem;
    }
    .how-it-works .card-body {
        padding: 1.5rem 0.5rem 1rem 0.5rem;
    }
    .case-lookup {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
    .hero-section .d-flex {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    .hero-section .button-row {
        flex-direction: column;
        gap: 0.7rem;
    }
    .hero-section .btn {
        margin: 0 auto;
        width: 100%;
        max-width: 350px;
    }
    .platform-header, .platform-title {
        font-size: 1.7rem;
    }
    .ez-logo {
        height: 48px;
        width: 48px;
        padding: 0;
    }
    .hero-headline {
        font-size: 1.3rem;
    }
}

.final-cta-card {
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px 0 rgba(13,110,253,0.07);
    background: #f4f8ff;
    border: none;
}
.cta-icon {
    font-size: 2.7rem;
    color: #0d6efd;
    filter: drop-shadow(0 2px 8px #0d6efd22);
}
.final-cta-card .h4 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
}
.final-cta-card .btn {
    min-width: 180px;
    font-size: 1.15rem;
    padding: 0.85rem 2rem;
    border-radius: 0.5rem;
}
@media (max-width: 767px) {
    .final-cta-card .btn {
        width: 100%;
        max-width: 350px;
        margin-bottom: 0.7rem;
    }
    .final-cta-card .d-flex {
        flex-direction: column !important;
        gap: 0.7rem !important;
    }
}

.contact-section {
    margin-top: 3.5rem;
}
.contact-card {
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px 0 rgba(13,110,253,0.07);
    background: #fff;
    border: none;
}
.contact-card .form-label {
    font-weight: 600;
    color: #222;
}
.contact-card .form-control {
    border-radius: 0.5rem;
    font-size: 1.08rem;
    padding: 0.75rem 1rem;
}
.contact-card textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.contact-card .btn {
    font-size: 1.1rem;
    padding: 0.85rem 2rem;
    border-radius: 0.5rem;
}
@media (max-width: 767px) {
    .contact-section {
        margin-top: 2rem;
    }
    .contact-card {
        padding: 0.5rem;
    }
}

.footer-unified {
    border-top: 1.5px solid #e3e8ee;
    background: #f8fafc;
    font-size: 1.05rem;
    color: #888;
    margin-top: 0;
}
.footer-unified .container {
    padding-top: 1.2rem !important;
    padding-bottom: 1.2rem !important;
}
.footer-donate {
    color: #666;
    font-size: 1.04rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.footer-heart {
    color: #e25555;
    font-size: 1.2em;
    vertical-align: middle;
    margin-right: 0.2em;
    filter: drop-shadow(0 1px 2px #e2555522);
}
.footer-link-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem;
}
.footer-link {
    color: #0d6efd;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.15s;
    font-weight: 500;
}
.footer-link:hover, .footer-link:focus {
    color: #084298;
    text-decoration: underline;
}
.footer-sep {
    color: #bbb;
    margin: 0 0.2rem;
    font-weight: 400;
}
.footer-link-donate {
    color: #198754;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 0.3rem;
}
.footer-link-donate:hover, .footer-link-donate:focus {
    color: #145c32;
    text-decoration: underline;
}
@media (max-width: 767px) {
    .footer-link-row {
        flex-direction: column;
        gap: 0.2rem;
    }
    .footer-sep {
        display: none;
    }
    .footer-link {
        margin: 0.2rem 0;
    }
    .footer-donate {
        flex-direction: column;
        gap: 0.2rem;
        font-size: 0.98rem;
    }
}

/* Trust Indicators */
.trust-indicators {
    margin: 2.5rem 0;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(13, 110, 253, 0.08);
    border-radius: 50px;
    font-size: 1rem;
    color: #0d6efd;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.trust-item:hover {
    background: rgba(13, 110, 253, 0.12);
    transform: translateY(-2px);
}

.trust-item i {
    font-size: 1.2rem;
}

/* Social Proof */
.social-proof {
    margin: 2.5rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0d6efd;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
}

/* Button Styles */
.button-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2.5rem 0;
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 220px;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

.btn-outline-primary {
    border: 2px solid #0d6efd;
    color: #0d6efd;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #0d6efd;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.btn i {
    font-size: 1.1rem;
    vertical-align: -1px;
}

/* Trust Badges */
.trust-badges {
    margin-top: 2rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(13, 110, 253, 0.1);
    transition: all 0.3s ease;
}

.trust-badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
    border-color: rgba(13, 110, 253, 0.2);
}

.trust-badge-item i {
    font-size: 1.25rem;
    color: #0d6efd;
    transition: transform 0.3s ease;
}

.trust-badge-item:hover i {
    transform: scale(1.1);
}

.trust-badge-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
}

@media (max-width: 768px) {
    .trust-badge-item {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}

/* How It Works Section */
.step-card {
    padding: 2.5rem;
    border-radius: 1.2rem;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
}

.icon {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.step-card:hover .icon {
    transform: scale(1.1);
}

/* Security Section */
.security-trust-section {
    margin: 4rem 0;
}

.trust-badge {
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
}

.trust-badge i {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.trust-badge:hover i {
    transform: scale(1.1);
}

.security-trust-section .card-body {
    padding-top: 2.5rem;
}
.security-trust-section .row.mb-4 {
    margin-bottom: 0 !important;
}
.security-trust-section .trust-badge {
    margin-bottom: 0 !important;
}
.security-details {
    margin-top: 0.5rem !important;
}

.security-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: #4a5568;
}

.security-details i {
    color: #0d6efd;
    font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .trust-item {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .button-row {
        flex-direction: column;
        gap: 1rem;
        margin: 2rem 0;
    }

    .btn-lg {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .step-card,
    .security-details {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section > * {
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero-section > *:nth-child(2) { animation-delay: 0.1s; }
.hero-section > *:nth-child(3) { animation-delay: 0.2s; }
.hero-section > *:nth-child(4) { animation-delay: 0.3s; }
.hero-section > *:nth-child(5) { animation-delay: 0.4s; }
.hero-section > *:nth-child(6) { animation-delay: 0.5s; }

/* Credibility Bar (Stats + Trust Badges) */
.credibility-bar {
    background: #f7fafd;
    border-radius: 1.5rem;
    box-shadow: 0 2px 12px 0 rgba(13,110,253,0.04);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    margin: 2.5rem auto 2.5rem auto;
    max-width: 1100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.credibility-bar .credibility-stats {
    display: flex;
    flex-direction: row;
    gap: 0;
    padding-right: 0;
    margin-right: 0;
    border-right: none;
}

.credibility-bar .stat-item {
    min-width: 120px;
    padding: 0 1.2rem;
    border-right: 2px solid #e3e8ee;
    text-align: center;
}
.credibility-bar .stat-item:last-child {
    border-right: none;
}

.credibility-bar .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0d6efd;
    margin-bottom: 0.2rem;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.credibility-bar .stat-label {
    font-size: 1.05rem;
    color: #4a5568;
    font-weight: 500;
}

.credibility-bar .credibility-badges {
    gap: 1.2rem !important;
}

.credibility-bar .trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1.5rem;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e3e8ee;
    font-size: 1.05rem;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

.credibility-bar .trust-badge-item i {
    font-size: 1.25rem;
    color: #0d6efd;
    transition: transform 0.3s;
}

.credibility-bar .trust-badge-item:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.10);
    border-color: #b6d4fe;
}

.credibility-bar .trust-badge-item:hover i {
    transform: scale(1.12);
}

@media (max-width: 992px) {
    .credibility-bar {
        flex-direction: column;
        padding: 2rem 0.5rem 1.5rem 0.5rem;
    }
    .credibility-bar .credibility-stats {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .credibility-bar .stat-item {
        border-right: none;
        border-bottom: 2px solid #e3e8ee;
        min-width: 0;
        width: 100%;
        padding: 1rem 0;
    }
    .credibility-bar .stat-item:last-child {
        border-bottom: none;
    }
}
@media (max-width: 600px) {
    .credibility-bar {
        padding: 1.2rem 0.2rem 1rem 0.2rem;
        border-radius: 1rem;
    }
    .credibility-bar .stat-item {
        min-width: 0;
        padding: 0.7rem 0;
    }
    .credibility-bar .stat-number {
        font-size: 1.5rem;
    }
    .credibility-bar .stat-label {
        font-size: 0.98rem;
    }
}

/* Security Section - Enhanced Mobile Responsiveness */
.security-trust-section .trust-badge {
    margin-bottom: 0 !important;
}
.security-details {
    margin-top: 0 !important;
}
@media (max-width: 992px) {
    .security-trust-section .trust-badge {
        margin-bottom: 2rem;
    }
    .security-details {
        padding: 1.2rem;
        font-size: 0.98rem;
    }
}
@media (max-width: 600px) {
    .security-trust-section .trust-badge {
        display: none !important;
    }
    .security-details {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    .security-trust-section .trust-badge i {
        display: none !important;
    }
    .security-trust-section .row.mb-4 {
        display: none !important;
    }
}

/* PDF Download Modal Styles */
#pdfDownloadModal .btn-primary.send-gradient-btn {
    background: linear-gradient(90deg, #1976d2 0%, #21a1ff 100%);
    border: none;
}

#pdfDownloadModal .btn-primary.send-gradient-btn:hover {
    box-shadow: 0 0 0 0.2rem rgba(33,161,255,.25);
    filter: brightness(1.05);
}

#pdfDownloadModal .modal-content {
    animation: fadeInModal 0.4s;
    background: #f8f9fa !important;
    border-radius: 1rem !important;
}

#pdfDownloadModal .modal-body, 
#pdfDownloadModal .modal-footer {
    background: transparent !important;
}

#pdfDownloadModal .modal-footer {
    padding-bottom: 2.5rem !important;
    padding-top: 1rem !important;
}

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

/* Mobile responsive styles for share modal */
@media (max-width: 576px) {
    #pdfDownloadModal .modal-dialog {
        margin: 0;
        max-width: 100vw;
    }
    #pdfDownloadModal .modal-content {
        border-radius: 0.75rem !important;
    }
    #pdfDownloadModal .modal-header {
        border-radius: 0.75rem 0.75rem 0 0 !important;
        padding: 0.75rem 1rem 0.75rem 1rem !important;
    }
    #pdfDownloadModal .modal-body, 
    #pdfDownloadModal .modal-footer {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    #pdfDownloadModal .btn {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    #pdfDownloadModal .input-group-lg > .form-control, 
    #pdfDownloadModal .input-group-lg > .input-group-text {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }
    #pdfDownloadModal .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    #pdfDownloadModal .btn {
        width: 100%;
        margin: 0;
    }
}

/* Share Email Modal Styles */
#shareEmailModal .btn-primary.send-gradient-btn {
    background: linear-gradient(90deg, #1976d2 0%, #21a1ff 100%);
    border: none;
}

#shareEmailModal .btn-primary.send-gradient-btn:hover {
    box-shadow: 0 0 0 0.2rem rgba(33,161,255,.25);
    filter: brightness(1.05);
}

#shareEmailModal .modal-content {
    animation: fadeInModal 0.4s;
    background: #f8f9fa !important;
    border-radius: 1rem !important;
}

#shareEmailModal .modal-body, 
#shareEmailModal .modal-footer {
    background: transparent !important;
}

#shareEmailModal .modal-footer {
    border-radius: 0 !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
}

/* Mobile responsive styles for share modal */
@media (max-width: 576px) {
    #shareEmailModal .modal-dialog {
        margin: 0;
        max-width: 100vw;
    }
    #shareEmailModal .modal-content {
        border-radius: 0.75rem !important;
    }
    #shareEmailModal .modal-header {
        border-radius: 0.75rem 0.75rem 0 0 !important;
        padding: 0.75rem 1rem 0.75rem 1rem !important;
    }
    #shareEmailModal .modal-body, 
    #shareEmailModal .modal-footer {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    #shareEmailModal .btn {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    #shareEmailModal .input-group-lg > .form-control, 
    #shareEmailModal .input-group-lg > .input-group-text {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }
    #shareEmailModal .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    #shareEmailModal .btn {
        width: 100%;
        margin: 0;
    }
}

/* Custom Modal Styles */
.custom-modal .modal-dialog {
    max-width: 500px;
}

.custom-modal .modal-content {
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(30, 60, 120, 0.18);
    overflow: hidden;
}

.custom-modal .modal-header {
    background: linear-gradient(90deg, #1976d2 0%, #21a1ff 100%);
    color: #fff;
    border-bottom: none;
    padding: 2rem 2rem 1rem 2rem;
}

.custom-modal .modal-title {
    font-size: 2rem;
    font-weight: 700;
}

.custom-modal .btn-close {
    filter: invert(1);
}

.custom-modal .modal-body {
    padding: 2rem;
}

.custom-modal .input-group,
.custom-modal input[type="email"] {
    border-radius: 12px;
    font-size: 1.1rem;
}

.custom-modal .btn-primary {
    border-radius: 12px;
    font-size: 1.2rem;
    padding: 0.75rem 0;
    width: 100%;
}

.custom-modal .btn-outline-secondary {
    border-radius: 12px;
    width: 100%;
    margin-top: 0.5rem;
}

.custom-modal .modal-footer {
    padding-bottom: 2rem !important;
} 