/* Switch Now Page Styles */

/* Hero Section */
.switch-hero {
    background: linear-gradient(135deg, #fb3235 0%, #d9292c 100%);
    color: white;
    padding: 40px 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 0 0 320px;
    position: relative;
}

.hero-money-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50% 40% 60% 50% / 60% 50% 50% 40%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.switch-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 800;
    margin: 0 0 16px 0;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.hero-subtitle-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 16px 0;
    opacity: 0.95;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
    max-width: 550px;
}

/* Affiliate Disclosure Section */
.affiliate-disclosure-section {
    padding: 40px 20px 20px 20px;
    background-color: white;
}

.affiliate-disclosure-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.affiliate-disclosure-box h3 {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.affiliate-disclosure-box p {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0 0 8px 0;
}

.affiliate-disclosure-box p:last-child {
    margin-bottom: 0;
}

.affiliate-disclosure-box strong {
    color: #6b7280;
    font-weight: 600;
}

/* Chatbot Section */
.chatbot-section {
    padding: 60px 20px;
    background-color: #f9fafb;
}

.chatbot-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chatbot-header {
    background: linear-gradient(135deg, #004aad 0%, #0066cc 100%);
    color: white;
    padding: 24px;
    text-align: center;
}

.chatbot-header h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
}

.chatbot-header p {
    margin: 0;
    opacity: 0.95;
    font-size: 16px;
}

.chatbot {
    padding: 24px;
}

.chat-messages {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
}

.chat-message {
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease-in;
}

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

.message-bubble {
    display: inline-block;
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.5;
}

.chat-message-bot .message-bubble {
    background-color: white;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.chat-message-user {
    text-align: right;
}

.chat-message-user .message-bubble {
    background-color: #004aad;
    color: white;
    text-align: left;
}

.bot-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 18px;
}

.message-bubble p {
    margin: 0;
    font-size: 15px;
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.chat-option-button {
    padding: 12px 24px;
    background-color: #004aad;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-option-button:hover {
    background-color: #003d8f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 74, 173, 0.3);
}

.chat-reset-button {
    background-color: #6b7280;
}

.chat-reset-button:hover {
    background-color: #4b5563;
}

/* Affiliates Section */
.affiliates-section {
    padding: 80px 20px;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6b7280;
    margin: 0 0 48px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.affiliates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.affiliate-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.affiliate-card:hover {
    border-color: #004aad;
    box-shadow: 0 8px 24px rgba(0, 74, 173, 0.15);
    transform: translateY(-4px);
}

.recommendation-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.badge-icon {
    font-size: 14px;
}

.badge-text {
    font-size: 12px;
}

.affiliate-logo {
    text-align: center;
    margin-bottom: 20px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.affiliate-logo img {
    max-width: 180px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.affiliate-name {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
    text-align: center;
}

.affiliate-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.affiliate-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.affiliate-benefits li {
    padding: 8px 0;
    font-size: 15px;
    color: #374151;
    line-height: 1.5;
}

.affiliate-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background-color: #f9fafb;
    border-radius: 8px;
}

.pricing-label {
    font-size: 14px;
    color: #6b7280;
}

.pricing-amount {
    font-size: 20px;
    font-weight: 700;
    color: #004aad;
}

.affiliate-offer {
    background-color: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
}

.offer-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 4px;
}

.affiliate-offer p {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #78350f;
}

.affiliate-button {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background-color: #ff3130;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.affiliate-button:hover {
    background-color: #e02020;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 49, 48, 0.3);
}

/* Loading and Error States */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 18px;
}

.error-message,
.no-affiliates {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.error-message p,
.no-affiliates p {
    font-size: 18px;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-image {
        flex: 0 0 300px;
    }

    .switch-hero h1 {
        font-size: 40px;
    }

    .hero-subtitle-main {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
        max-width: 100%;
    }

    .affiliate-disclosure-section {
        padding: 30px 20px 15px 20px;
    }

    .affiliate-disclosure-box h3 {
        font-size: 12px;
    }

    .affiliate-disclosure-box p {
        font-size: 12px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .affiliates-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .affiliate-card {
        padding: 24px;
    }

    .chat-options {
        flex-direction: column;
    }

    .chat-option-button {
        width: 100%;
    }

    .message-bubble {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .switch-hero {
        padding: 40px 20px;
    }

    .hero-image {
        flex: 0 0 250px;
    }

    .switch-hero h1 {
        font-size: 32px;
    }

    .hero-subtitle-main {
        font-size: 20px;
    }

    .chatbot-section {
        padding: 40px 12px;
    }

    .affiliates-section {
        padding: 60px 12px;
    }
}
