/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a73e8;
    --primary-blue-dark: #174ea6;
    --text-dark: #202124;
    --text-medium: #5f6368;
    --text-light: #80868b;
    --background-light-gray: #f8f9fa;
    --background-white: #ffffff;
    --border-light: #dadce0;
    --shadow-light: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-medium: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light-gray);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

/* Need Help Section */
.need-help-section {
    text-align: center;
    padding: 60px 0 40px 0;
    background-color: var(--background-light-gray);
}

.main-heading {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.sub-heading {
    font-size: 1.1em;
    color: var(--text-medium);
    margin-bottom: 30px;
    font-weight: 500;
}

.chat-widget {
    display: inline-flex;
    align-items: center;
    background-color: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 24px;
    gap: 15px;
    box-shadow: var(--shadow-light);
}

.chat-avatar {
    display: flex;
    align-items: center;
}

.avatar-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #e0e0e0;
}

.chat-text {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.05em;
}

.chat-button {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-button:hover {
    background-color: var(--primary-blue-dark);
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3);
}

/* Download Section */
.download-section {
    padding: 0 0 60px 0;
    background-color: var(--background-light-gray);
}

.download-card {
    background-color: var(--background-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
    margin: 0 auto;
}

.card-header {
    background-color: #1a1a1a;
    color: white;
    padding: 18px 30px;
    font-size: 1.3em;
    font-weight: 600;
    text-align: center;
}

.card-content-wrapper {
    display: flex;
    padding: 40px 30px;
    gap: 50px;
    align-items: flex-start;
}

.form-area {
    flex: 1;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 18px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.find-drivers-button {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.find-drivers-button:hover {
    background-color: var(--primary-blue-dark);
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3);
}

.model-info-area {
    flex: 1;
    text-align: center;
}

.model-info-area h3 {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-align: left;
}

.model-info-area p {
    font-size: 1em;
    color: var(--text-medium);
    margin-bottom: 25px;
    text-align: left;
}

.printer-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.printer-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    background-color: #f5f5f5;
    min-height: 180px;
    object-fit: contain;
}

/* More Support Options Section */
.more-support-section {
    padding: 60px 0;
    background-color: var(--background-light-gray);
}

.section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
}

.support-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.support-card {
    background-color: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 280px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.support-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.support-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    background-color: #f5f5f5;
}

.support-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f5f5f5;
    margin-bottom: 10px;
}

.support-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05em;
    position: absolute;
    bottom: 20px;
}

/* Select Model Section */
.select-model-section {
    padding: 60px 0 80px 0;
    background-color: var(--background-light-gray);
}

.brand-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.brand-card-link {
    text-decoration: none;
    display: block;
}

.brand-card {
    background-color: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-light);
}

.brand-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-medium);
    transform: translateY(-1px);
}

.brand-card.other-brand:hover {
    border-color: #d70021;
}

.brand-name {
    font-size: 2em;
    font-weight: 700;
    color: var(--text-dark);
}

.brand-card:last-child .brand-name {
    color: #d70021; /* Red for "Other" */
}

.download-main-button {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    transition: all 0.2s ease;
}

.download-main-button:hover {
    background-color: var(--primary-blue-dark);
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
}

/* Fixed Chat Icon */
.fixed-chat-icon {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1000;
}

.fixed-chat-icon:hover {
    background-color: var(--primary-blue-dark);
    box-shadow: 0 2px 8px 0 rgba(60, 64, 67, 0.3), 0 6px 20px 4px rgba(60, 64, 67, 0.15);
}

/* Responsive Design */
@media (max-width: 968px) {
    .card-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .model-info-area h3,
    .model-info-area p {
        text-align: center;
    }

    .support-cards {
        gap: 20px;
    }

    .support-card {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .main-heading {
        font-size: 2em;
    }

    .sub-heading {
        font-size: 1em;
    }

    .chat-widget {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
        border-radius: 20px;
    }

    .chat-text {
        font-size: 0.95em;
    }

    .chat-button {
        width: 100%;
    }

    .section-title {
        font-size: 1.8em;
    }

    .brand-cards {
        gap: 15px;
    }

    .brand-card {
        width: 150px;
        height: 150px;
    }

    .brand-name {
        font-size: 1.8em;
    }

    .card-content-wrapper {
        padding: 25px 20px;
    }

    .fixed-chat-icon {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 1.6em;
    }

    .sub-heading {
        font-size: 0.9em;
    }

    .section-title {
        font-size: 1.5em;
    }

    .brand-card {
        width: 120px;
        height: 120px;
    }

    .brand-name {
        font-size: 1.5em;
    }

    .download-main-button {
        font-size: 1em;
        padding: 14px 30px;
    }
}
