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

:root {
    --epson-blue: #003087;
    --epson-blue-light: #0051c7;
    --epson-nav-bg: #ffffff;
    --text-dark: #202124;
    --text-light: #5f6368;
    --background-white: #ffffff;
    --background-gray: #f8f9fa;
    --epson-hero-bg: linear-gradient(135deg, #001d5c 0%, #003087 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;
}

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

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

.epson-logo {
    display: flex;
    flex-direction: column;
}

.epson-brand {
    font-size: 28px;
    font-weight: 700;
    color: var(--epson-blue);
    letter-spacing: 2px;
}

.epson-tagline {
    font-size: 10px;
    color: var(--epson-blue);
    letter-spacing: 3px;
    font-weight: 500;
    margin-top: 2px;
}

.epson-nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

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

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

.epson-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;
}

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

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

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

.epson-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;
}

.epson-download-btn {
    background: white;
    color: var(--epson-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);
}

.epson-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);
}

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

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

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

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

.epson-download-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: flex-start;
}

.epson-download-left h2 {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.3;
}

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

.epson-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;
}

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

.epson-download-form-btn {
    background: var(--epson-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);
}

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

.epson-download-right {
    text-align: left;
}

.epson-download-right h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.epson-download-right p {
    color: var(--text-light);
    font-size: 1em;
    margin-bottom: 30px;
}

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

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

.epson-model-callout {
    position: absolute;
    bottom: 10%;
    right: 5%;
}

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

/* Epson Footer */
.epson-footer {
    background: var(--background-gray);
    color: var(--text-dark);
    padding: 70px 0 40px;
}

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

.footer-column h3 {
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

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

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

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--epson-blue);
}

/* Signup Column */
.signup-column {
    grid-column: span 1;
}

.signup-form {
    margin-bottom: 30px;
}

.signup-form label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.signup-form input[type="email"],
.signup-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95em;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.signup-form input[type="email"]:focus,
.signup-form select:focus {
    outline: none;
    border-color: var(--epson-blue);
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 0.85em;
    font-weight: 400;
    cursor: pointer;
}

.signup-btn {
    background: var(--epson-blue);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.95em;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    transition: all 0.2s;
}

.signup-btn:hover {
    background: var(--epson-blue-light);
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3);
}

.signup-disclaimer {
    font-size: 0.75em;
    color: var(--text-light);
    line-height: 1.5;
}

.signup-disclaimer a {
    color: var(--epson-blue);
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: #e0e0e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-icon:hover {
    background: #d0d0d0;
}

.social-icon img {
    width: 20px;
    height: 20px;
    background: #999999;
}

/* 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(--epson-blue), var(--epson-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(--epson-blue), var(--epson-blue-light));
    transition: width 0.5s;
}

.install-complete-btn {
    background: var(--epson-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(--epson-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(--epson-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(--epson-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) {
    .epson-hero-content {
        grid-template-columns: 1fr;
    }

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

    .epson-download-wrapper {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

@media (max-width: 480px) {
    .epson-brand {
        font-size: 22px;
    }

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

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

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

