/* StoryBrand Design System for MyCommsPartner */
:root {
    --navy-primary: #1a2742;
    --navy-dark: #0f1828;
    --navy-light: #2d3e5f;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --orange-primary: #f97316;
    --orange-dark: #ea580c;
    --teal-primary: #14b8a6;
    --teal-dark: #0d9488;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--white);
    color: var(--navy-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Header */
.navbar {
    background: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-primary) !important;
}

.btn-cta-header {
    background: var(--orange-primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-cta-header:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-subtext {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    margin: 1.5rem 0;
}

.exclusivity-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

/* Exclusive Trust Badges */
.trust-badges.exclusive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.trust-badges.exclusive .badge {
    background: white;
    border: 2px solid #E0E0E0;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: visible;
}

.trust-badges.exclusive .badge:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.trust-badges.exclusive .badge-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.trust-badges.exclusive .badge-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: block;
}

.gatekeeper-cta {
    background: #D32F2F !important; /* Red for urgency/selectivity */
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gatekeeper-cta:hover {
    background: #B71C1C !important; /* Darker red on hover */
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4) !important;
}

/* Pre-Qualification Gate */
.pre-qualification-gate {
    background: linear-gradient(135deg, #fff3cd 0%, #fff9e6 100%);
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 8px;
}

.gate-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.gate-message p {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.gate-message p strong {
    color: var(--navy-primary);
}

.gate-message .disqualifier {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Qualifier Question */
.qualifier-question {
    animation: pulse 2s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Disqualification Box */
.disqualification-box {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
}

.disqualification-box h3 {
    color: var(--navy-primary);
    font-weight: 700;
    font-size: 1.75rem;
}

.disqualification-box p {
    color: var(--gray-700);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Results Qualifier Section */
.results-qualifier {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 12px;
}

.qualifier-box {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.qualification-checklist {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
    display: inline-block;
}

.qualification-checklist li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.fit-question {
    margin: 2rem 0 1.5rem;
    font-size: 1.2rem;
}

.exclusive-cta {
    background: white !important;
    color: #667eea !important;
    font-weight: 700;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.exclusive-cta:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #667eea !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

.decline-notice {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-dark {
    background: var(--gray-50);
}

.section-navy {
    background: var(--navy-primary);
    color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.section-navy .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-navy .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.btn-primary {
    background: var(--orange-primary);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
    color: var(--white);
}

.btn-secondary {
    background: var(--teal-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--navy-primary);
    color: var(--navy-primary);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--navy-primary);
    color: var(--white);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Audience Cards */
.audience-card {
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.audience-card-highlighted {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
    border: 2px solid var(--orange-primary);
}

.audience-selector-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.audience-selector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--orange-primary);
}

.audience-selector-highlighted {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(20, 184, 166, 0.08) 100%);
    border: 2px solid var(--orange-primary);
}

.audience-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.bg-gray-light {
    background: var(--gray-50);
}

/* Pricing Tiers */
.pricing-tier {
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.pricing-tier-featured {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
    border: 3px solid var(--orange-primary);
    transform: scale(1.05);
}

.pricing-tier-featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange-primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy-primary);
    line-height: 1;
}

/* Packages Intro & Exclusivity */
.packages-intro {
    text-align: center;
    margin: 3rem 0;
}

.packages-important {
    background: #FFEBEE;
    color: #C62828;
    padding: 1rem 2rem;
    border-radius: 6px;
    display: inline-block;
    margin-top: 1rem;
    font-size: 1.05rem;
}

.package-exclusions {
    background: #FFF3E0;
    padding: 1rem;
    border-left: 3px solid #FF6F00;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.not-right-if {
    margin: 0;
    color: #E65100;
}

.limited-spots-notice {
    background: #fff8e1;
    color: #5d4037;
    padding: 1.25rem 1.5rem;
    text-align: center;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid #ffe082;
}

.limited-spots-notice p {
    font-size: 1rem;
    color: #5d4037;
    margin: 0;
}

/* Problem/Solution Boxes */
.problem-box {
    background: var(--gray-50);
    border-left: 4px solid var(--danger);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.solution-box {
    background: var(--gray-50);
    border-left: 4px solid var(--success);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

/* Steps/Plan */
.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--orange-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--navy-primary);
}

.testimonial-role {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Score Display */
.score-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto;
    border: 6px solid;
}

.score-excellent {
    background: linear-gradient(135deg, var(--success) 0%, var(--teal-primary) 100%);
    border-color: var(--success);
    color: var(--white);
}

.score-good {
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--orange-primary) 100%);
    border-color: var(--teal-primary);
    color: var(--white);
}

.score-fair {
    background: linear-gradient(135deg, var(--warning) 0%, var(--orange-primary) 100%);
    border-color: var(--warning);
    color: var(--white);
}

.score-poor {
    background: linear-gradient(135deg, var(--danger) 0%, var(--warning) 100%);
    border-color: var(--danger);
    color: var(--white);
}

/* Pricing */
.pricing-card {
    border: 3px solid var(--navy-primary);
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--orange-primary);
    margin: 1rem 0;
}

.pricing-feature {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-feature:last-child {
    border-bottom: none;
}

.bonus-badge {
    background: var(--success);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.guarantee-box {
    background: var(--teal-primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

/* Modal */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
    color: var(--white);
    border-radius: 12px 12px 0 0;
    padding: 2rem;
}

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

.modal-body {
    padding: 2rem;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 1;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Utility Classes */
.text-navy {
    color: var(--navy-primary);
}

.text-orange {
    color: var(--orange-primary);
}

.text-teal {
    color: var(--teal-primary);
}

.bg-navy {
    background: var(--navy-primary);
}

.bg-gray-light {
    background: var(--gray-50);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

/* Exit Intent Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.modal-close:hover {
    color: #000;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-body h2 {
    color: #D32F2F;
    margin-bottom: 1rem;
}

.modal-warning {
    background: #FFF3E0;
    padding: 1rem;
    border-radius: 6px;
    font-weight: 600;
    color: #E65100;
    margin: 1rem 0;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.modal-actions button {
    flex: 1;
    min-width: 150px;
}

.modal-actions .cta-primary {
    background: var(--orange-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-actions .cta-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.cta-secondary {
    background: #757575;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}
