@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #12406a;
    /* Deep Blue from reference */
    --accent: #ff4d4d;
    /* Red for CTA buttons */
    --accent-hover: #e60000;
    --text-main: #333;
    --text-muted: #666;
    --bg-light: #f4f7f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #fff;
    color: var(--text-main);
}

.top-bar-legal {
    background: #fdfdfd;
    font-size: 0.8rem;
    padding: 8px 5%;
    text-align: center;
    color: #999;
    border-bottom: 1px solid #eee;
    line-height: 1.4;
}


/* Logo */
.logo-main {
    text-decoration: none;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-top {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.brand-bottom {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

header {
    padding: 1rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.phone-link {
    color: #333;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-icon {
    background: #ff4d4d;
    color: #fff;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
}

/* Hero Section Simple */
/* Modern Hero Section */
/* --- Standard Professional Hero Section --- */
.hero-simple {
    background: #f8fafc;
    position: relative;
    padding: 80px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    padding: 0 20px;
}

.hero-text-side h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1e40af;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text-side p {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-form-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row select,
.form-row input {
    flex: 1;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
}

.hero-cta-btn {
    width: 100%;
    background: #2563eb;
    color: #fff;
    padding: 1.1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
}

.hero-cta-btn:hover {
    background: #1e40af;
}

.trust-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000;
    font-size: 0.85rem;
}

.trust-item img {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

.hero-image-side img {
    width: 100%;
    border-radius: 20px;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-side h1 {
        font-size: 2.5rem;
    }

    .hero-text-side p {
        margin: 0 auto 2.5rem;
    }

    .form-row {
        flex-direction: column;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.trust-item img {
    height: 35px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.hero-image-side {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-image-side img {
    max-width: 110%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    animation: floatingHero 8s ease-in-out infinite;
    transform: perspective(1000px) rotateY(-10deg);
}

@keyframes floatingHero {

    0%,
    100% {
        transform: perspective(1000px) rotateY(-10deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-5deg) translateY(-30px);
    }
}

/* Carriers Section */
.carriers-section {
    padding: 3rem 10%;
    background: #fff;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.section-tagline {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.carriers-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    align-items: center;
}

.carriers-grid img {
    height: 45px;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.carriers-grid img:hover {
    transform: scale(1.05);
}

/* Affordable Section Refined */
.affordable-section {
    padding: 8rem 10%;
    background: #f8fafc;
    text-align: center;
}

.section-header {
    margin-bottom: 5rem;
}

.badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.affordable-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 800;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background: #fff;
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 700;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Multi-step Form (Dark Overlay) */
.form-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 2000;
    display: none;
    overflow-y: auto;
}

.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #eee;
    z-index: 2100;
}

.progress-bar {
    height: 100%;
    background: #10b981;
    width: 0%;
    transition: width 0.3s ease;
}

.step-card {
    max-width: 700px;
    margin: 80px auto;
    padding: 2rem;
    text-align: center;
}

.step-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.back-home-link {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
    padding: 0;
}

.back-home-link:hover {
    color: #12406a;
}

.step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #12406a;
    font-weight: 700;
    line-height: 1.2;
}


.step-subtitle {
    color: #666;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.option-btn {
    padding: 2.5rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #374151;
}

.option-btn:hover {
    border-color: #3b82f6;
    background: #f8faff;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.option-btn.selected {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: inset 0 0 0 1px #3b82f6;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #3b82f6;
}

.input-group input.input-error,
.input-group select.input-error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.submit-btn {
    background: #ff4d4d;
    color: #fff;
    border: none;
    box-shadow: 0 4px 0 #b30000;
}

.submit-btn:hover {
    background: #e60000;
    transform: translateY(1px);
    box-shadow: 0 3px 0 #b30000;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    gap: 1rem;
}

.nav-btn {
    flex: 1;
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: #f9fafb;
}

.next-btn {
    background: #12406a;
    color: #fff;
    border: none;
}

.next-btn:hover {
    background: #0e3355;
}

.compliance-text {
    margin-top: 3rem;
    font-size: 0.7rem;
    color: #999;
    text-align: center;
}

/* Processing */
.loading-bar-container {
    width: 100%;
    height: 10px;
    background: #eee;
    border-radius: 10px;
    margin: 2rem 0;
}

.loading-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    width: 0%;
    transition: width 4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

.processing-list {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.processing-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #4b5563;
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.processing-list li:nth-child(1) {
    animation-delay: 0.5s;
}

.processing-list li:nth-child(2) {
    animation-delay: 1.5s;
}

.processing-list li:nth-child(3) {
    animation-delay: 2.5s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.processing-list li .check {
    color: #10b981;
    font-weight: bold;
}

/* Report / Result Step */
.report-container {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    text-align: left;
}

.report-header {
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.report-header h3 {
    color: #12406a;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.report-header p {
    color: #6b7280;
    font-size: 0.9rem;
}

.report-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #f9fafb;
    font-size: 1.1rem;
}

.report-item strong {
    color: #4b5563;
    font-weight: 600;
}

.report-item span {
    color: #111827;
    font-weight: 700;
}

.report-footer {
    text-align: center;
    margin-top: 2rem;
}

.call-agent-btn {
    width: 100%;
    display: block;
    background: #ff4d4d;
    color: #fff;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(255, 77, 77, 0.4);
}

.call-agent-btn:hover {
    background: #e60000;
    transform: translateY(-2px);
}

/* Footer Premium Redesign */
.footer-dark {
    padding: 6rem 10% 2rem;
    background: #0f172a;
    color: #f8fafc;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 1rem;
}

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.2rem;
    color: #3b82f6;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.sticky-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }

    body {
        padding-bottom: 80px;
        /* Space for sticky CTA */
    }
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
    text-align: center;
}

.footer-disclaimer {
    max-width: 1100px;
    margin: 0 auto 3rem;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.8;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #475569;
    padding-bottom: 1rem;
}

/* --- Comprehensive Responsiveness --- */

/* Tablet & Smaller Desktop */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-simple {
        padding: 40px 0;
    }


    .hero-text-side p {
        margin: 0 auto 2.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .legal-content {
        padding: 40px 5%;
    }
}


/* Mobile Devices */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 5%;
        text-align: center;
    }


    .header-contact {
        width: 100%;
        justify-content: center;
    }

    .phone-link {
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
    }

    .brand-top {
        font-size: 1.1rem;
    }

    .brand-bottom {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .hero-text-side h1 {
        font-size: 2rem;
    }

    .hero-text-side p {
        font-size: 1.1rem;
    }

    .hero-form-box {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
    }

    .carriers-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .carriers-grid img {
        height: 35px;
        width: auto;
        margin: 0 auto;
    }


    .features-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 1.5rem;
        margin: 20px 10px;
        width: calc(100% - 20px);
    }

    .step h2 {
        font-size: 1.5rem;
    }

    .step-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }


    .options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }


    .option-btn {
        padding: 1rem;
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .contact-info-item {
        justify-content: center;
    }

    .footer-dark {
        padding: 4rem 5% 2rem;
    }

    .hero-image-side {
        display: none;
    }
}

/* Very Small Screens */
@media (max-width: 480px) {
    .hero-text-side h1 {
        font-size: 1.8rem;
    }

    .carriers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }


    .form-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }


    .step-card {
        padding: 1rem;
        margin: 10px auto;
    }
}