/* ===================================
   PolicyNinja Landing Page Styles
   Modern Split-Panel Design
   =================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header/Navigation Bar */
.site-header {
    background: #FFFFFF;
    border-bottom: 2px solid #E0E0E0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 45px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
}

.book-call-btn {
    padding: 0.75rem 1.5rem;
    background: #D50605;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.book-call-btn:hover {
    background: #B00504;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(213, 6, 5, 0.3);
}

.book-call-btn:active {
    transform: translateY(0);
}

/* Split Container */
.split-container {
    display: flex;
    min-height: 100vh;
}

/* Left Panel - Popup Modal */
.left-panel {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.left-panel.active {
    display: flex;
}

.form-container {
    width: 100%;
    max-width: 500px;
    background: #000000;
    color: white;
    border-radius: 16px;
    padding: 35px 25px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

.form-container .close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.form-container .close-modal:hover {
    color: #D50605;
    transform: rotate(90deg);
}

.logo {
    margin-bottom: 2rem;
}

.logo img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
}

.left-panel h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.left-panel h3 {
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.subtitle-2 {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 15px 0;
}
/* Form Styles */
.quote-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #5D5C62;
    background: white;
    box-shadow: 0 0 0 3px rgba(93, 92, 98, 0.1);
}

.cta-button {
    width: 100%;
    padding: 1rem;
    background: #D50605;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}
.cta-button.white {
    background: #eaeaea;
    color: black;
}
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.cta-button:hover {
    background: #B00504;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 6, 5, 0.25);
}

.cta-button:active {
    transform: translateY(0);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.9;
}

.badge-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

/* Right Panel - Full Width */
.right-panel {
    width: 100%;
    margin-left: 0;
    background: #F8F9FA;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    padding: 3rem 6rem;
    border-bottom: 3px solid #D50605;
    display: flex;
    justify-content: center;
}

/* CTA Buttons to Open Form */
.cta-trigger {
    display: inline-block;
    padding: 1rem 2rem;
    background: #D50605;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
}

.cta-trigger:hover {
    background: #B00504;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 6, 5, 0.3);
}

.cta-trigger:active {
    transform: translateY(0);
}

.hero-cta-container {
    text-align: center;
    margin-top: 2rem;
}

.hero-content {
    max-width: 1100px;
    width: 100%;
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-align: center;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: #5D5C62;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: center;
}

/* Hero Trust Indicators */
.hero-trust {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding: 1.75rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #D50605;
    display: block;
    margin-bottom: 0.25rem;
}

.trust-label {
    font-size: 0.9rem;
    color: #5D5C62;
    font-weight: 500;
}

/* Why Section */
.why-section {
    margin-bottom: 2.5rem;
}

.why-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 0;
}

.why-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #E0E0E0;
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: #D50605;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.why-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.95rem;
    color: #5D5C62;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.why-card strong {
    color: #000000;
    font-weight: 600;
}

.why-proof {
    display: inline-block;
    font-size: 0.8rem;
    color: #D50605;
    font-weight: 500;
    font-style: italic;
}

/* Social Proof */
.social-proof {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.proof-item {
    background: #FFFFFF;
    padding: 1.25rem;
    border-radius: 10px;
    border-left: 4px solid #D50605;
}

.stars {
    color: #FFB800;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.proof-item p {
    font-size: 0.95rem;
    color: #5D5C62;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.proof-author {
    font-size: 0.85rem;
    color: #000000;
    font-weight: 500;
}

/* Insurer Logos */
.insurer-logos {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #E0E0E0;
    max-width: 1000px;
    margin: 0 auto;
}

.logos-intro {
    font-size: 0.9rem;
    color: #5D5C62;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.insurer-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #5D5C62;
    padding: 0.5rem 1rem;
    background: #F8F9FA;
    border-radius: 6px;
}

.content-container {
    padding: 2.5rem 6rem;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-section {
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
}

.header-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.375rem;
}

.header-section p {
    font-size: 1rem;
    color: #5D5C62;
}

/* Insurance Grid - COMPACT */
.insurance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 1100px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Insurance Cards - VERY COMPACT */
.insurance-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #E0E0E0;
    display: flex;
    flex-direction: column;
}

.insurance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #5D5C62;
}

.card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-badge.popular {
    background: #D50605;
    color: white;
}

.card-badge.business {
    background: #000000;
    color: white;
}

.card-icon {
    width: 40px;
    height: 40px;
    color: #5D5C62;
    margin-bottom: 0.75rem;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.insurance-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.375rem;
}

.card-desc {
    font-size: 0.85rem;
    color: #5D5C62;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.card-additional-info {
    padding-top: 12px;
    font-size: 12px;
    font-weight: 500;
    color: #5D5C62;
}
.benefits-list {
    list-style: none;
    font-size: 0.8rem;
    color: #5D5C62;
}

.benefits-list li {
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.4;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #5D5C62;
    font-weight: 700;
}

/* Card Quote Button */
.card-quote-btn {
    margin-top: auto;
    padding-top: 1rem;
}

.card-quote-btn button, .card-quote-btn a {
    width: 100%;
    padding: 0.75rem;
    background: #D50605;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}
.card-quote-btn a {
    display: block;
    text-decoration: none;
    text-align: center;
}

.card-quote-btn button:hover, .card-quote-btn a:hover {
    background: #B00504;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(213, 6, 5, 0.3);
}

.card-quote-btn button:active, .card-quote-btn a:active {
    transform: translateY(0);
}

/* Help Card - Subtle Styling */
.help-card {
    background: linear-gradient(135deg, #F5F5F5, #EEEEEE);
    border-color: #BDBDBD;
}

.help-card .card-icon {
    color: #D50605;
}

/* Urgency Section */
.urgency-section {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    margin-top: 0;
    max-width: 1100px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.urgency-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.25rem;
    text-align: center;
}

.urgency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.urgency-item {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}

.urgency-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.urgency-item strong {
    display: block;
    color: #000000;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.urgency-item p {
    font-size: 0.875rem;
    color: #5D5C62;
    line-height: 1.4;
}

/* Footer Section */
.site-footer {
    background: #000000;
    color: white;
    padding: 3rem 6rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.footer-description {
    font-size: 1rem;
    color: #FFFFFF;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.footer-location {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-location p {
    margin-bottom: 0.25rem;
    color: #FFFFFF;
    opacity: 0.85;
}

.footer-location strong {
    color: #D50605;
    font-weight: 600;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    max-width: 450px;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50, #45A049);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.modal-content h3 {
    font-size: 1.75rem;
    color: #000000;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #5D5C62;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-section {
        padding: 3.5rem 4rem 2.5rem 4rem;
    }
    
    .content-container {
        padding: 2.5rem 3rem;
    }
}

@media (max-width: 968px) {
    .split-container {
        flex-direction: column;
    }
    
    .header-container {
        padding: 1rem 2rem;
    }
    
    .header-logo img {
        height: 38px;
    }
    
    .book-call-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .left-panel {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 2.5rem 2rem;
        max-width: 100%;
    }
    
    .hero-section {
        padding: 3rem 2rem;
    }
    
    .site-footer {
        padding: 2.5rem 2rem;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .social-proof {
        grid-template-columns: 1fr;
    }
    
    .content-container {
        padding: 2rem 1.5rem;
    }
    
    .insurance-grid {
        grid-template-columns: 1fr;
    }
    
    .urgency-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 0.875rem 1.25rem;
    }
    
    .header-logo img {
        height: 32px;
    }
    
    .book-call-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .left-panel {
        padding: 1rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-container h2 {
        font-size: 1.5rem;
    }
    
    .quote-form {
        padding: 1.5rem;
    }
    
    .form-container .close-modal {
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .badge {
        flex-direction: row;
        gap: 0.5rem;
        text-align: left;
    }
    
    .hero-section {
        padding: 2rem 1.25rem;
    }
    
    .hero-headline {
        font-size: 1.75rem;
    }
    
    .hero-subheadline {
        font-size: 1rem;
    }
    
    .hero-trust {
        padding: 1.5rem;
    }
    
    .trust-number {
        font-size: 2rem;
    }
    
    .why-section h3 {
        font-size: 1.5rem;
    }
    
    .why-card {
        padding: 1.5rem;
    }
    
    .why-icon {
        font-size: 2rem;
    }
    
    .logos-grid {
        gap: 1rem;
    }
    
    .header-section h3 {
        font-size: 1.5rem;
    }
    
    .insurance-card {
        padding: 1rem;
    }
    
    .urgency-section {
        padding: 1.5rem;
    }
    
    .footer-logo img {
        max-width: 220px;
    }
    
    .footer-info h3 {
        font-size: 1.25rem;
    }
}
