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

:root {
    --brother-blue: #003d82;
    --brother-blue-light: #0056b3;
    --brother-nav-bg: #ffffff;
    --text-dark: #202124;
    --text-light: #5f6368;
    --background-white: #ffffff;
    --brother-hero-bg: linear-gradient(135deg, #002a5c 0%, #003d82 100%);
    --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, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-white);
}

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

/* Brother Navigation */
.brother-nav {
    background: var(--brother-nav-bg);
    padding: 20px 0;
    border-bottom: 2px solid #e0e0e0;
}

.brother-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brother-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--brother-blue);
    letter-spacing: 0.5px;
    text-transform: lowercase;
}

.brother-nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.brother-nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1em;
    transition: color 0.3s;
}

.brother-nav-menu a:hover {
    color: var(--brother-blue);
}

/* Brother Hero Section */
.brother-hero {
    background: var(--brother-hero-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

.brother-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.brother-hero-left h1 {
    font-size: 3.2em;
    font-weight: 700;
    color: white;
    margin-bottom: 35px;
}

.brother-instructions {
    margin-bottom: 40px;
}

.brother-instructions p {
    color: white;
    font-size: 1.1em;
    margin-bottom: 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-bullet {
    font-size: 1.5em;
    line-height: 1;
}

.brother-download-btn {
    background: white;
    color: var(--brother-blue);
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: var(--shadow-medium);
}

.brother-download-btn:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 8px 0 rgba(60, 64, 67, 0.3), 0 6px 20px 4px rgba(60, 64, 67, 0.15);
}

.brother-hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brother-printer-image {
    max-width: 100%;
}

.brother-printer-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Quick Download Section */
.brother-quick-download {
    padding: 80px 0;
    background: var(--background-white);
}

.brother-quick-download > .container {
    text-align: center;
}

.brother-quick-download h2 {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.brother-quick-subtitle {
    color: var(--text-light);
    font-size: 1.2em;
    margin-bottom: 50px;
}

.brother-download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: flex-start;
    margin-top: 40px;
}

.brother-form-area {
    text-align: left;
}

.brother-form-area label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.1em;
}

.brother-form-area input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.brother-form-area input[type="text"]:focus {
    outline: none;
    border-color: var(--brother-blue);
}

.brother-download-form-btn {
    background: var(--brother-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: var(--shadow-light);
    width: 100%;
    justify-content: center;
}

.brother-download-form-btn:hover {
    background: var(--brother-blue-light);
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
}

.brother-model-info {
    text-align: left;
}

.brother-model-info h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.brother-model-info p {
    color: var(--text-light);
    font-size: 1.05em;
    margin-bottom: 30px;
}

.brother-printer-img {
    position: relative;
    display: inline-block;
}

.brother-printer-img img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    background-color: #f5f5f5;
    min-height: 300px;
    object-fit: contain;
}

.brother-model-callout {
    position: absolute;
    bottom: 15%;
    right: 8%;
}

.brother-callout-box {
    background: var(--brother-blue-light);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2em;
    box-shadow: var(--shadow-medium);
}

.brother-callout-arrow {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 25px solid var(--brother-blue-light);
    margin-left: 50%;
    transform: translateX(-50%);
}

/* Brother Footer */
.brother-footer {
    background: var(--brother-blue);
    color: white;
    padding: 70px 0 30px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-column h3 a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-column h3 a:hover {
    opacity: 0.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.bbb-badge {
    background: #1a4480;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.bbb-text {
    font-size: 0.75em;
    font-weight: 600;
    margin-bottom: 8px;
}

.bbb-icon {
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-feedback {
    position: relative;
}

.feedback-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    background: #0059b3;
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.feedback-btn:hover {
    background: #004080;
}

/* Download Steps Modal */
.download-steps-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.download-steps-modal[style*="flex"] {
    display: flex !important;
}

.download-steps-modal .modal-content {
    background: white;
    padding: 60px 50px;
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 36px;
    cursor: pointer;
    color: #999999;
    transition: color 0.3s;
}

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

.step {
    text-align: center;
    display: none;
}

.step.active {
    display: block;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 25px;
}

.step h3 {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step p {
    color: var(--text-light);
    font-size: 1.1em;
    margin-bottom: 25px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    margin-top: 25px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--brother-blue), var(--brother-blue-light));
    transition: width 0.5s;
}

.install-complete-btn {
    background: var(--brother-blue);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.2s;
}

.install-complete-btn:hover {
    background: var(--brother-blue-light);
    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: var(--brother-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;
    z-index: 1000;
}

.fixed-chat-icon:hover {
    background: var(--brother-blue-light);
    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) {
    .brother-hero-content {
        grid-template-columns: 1fr;
    }

    .brother-hero-left h1 {
        font-size: 2.5em;
    }

    .brother-download-content {
        grid-template-columns: 1fr;
    }

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

    .feedback-btn {
        display: none;
    }
}

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

    .brother-nav-menu {
        gap: 20px;
        font-size: 0.9em;
    }

    .brother-hero {
        padding: 60px 0;
    }

    .brother-hero-left h1 {
        font-size: 2em;
    }

    .brother-quick-download h2 {
        font-size: 2em;
    }

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

@media (max-width: 480px) {
    .brother-logo {
        font-size: 18px;
    }

    .brother-nav-menu {
        gap: 12px;
        font-size: 0.8em;
    }

    .brother-hero-left h1 {
        font-size: 1.8em;
    }

    .brother-download-btn {
        font-size: 1em;
        padding: 14px 30px;
    }
}

