/* ==========================================================================
   Epson iProjection - Official Advanced Theme
   ========================================================================== */

:root {
    --epson-blue: #0033A0;
    --epson-dark: #001C5E;
    --text-main: #333333;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #eaeaea;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    padding-top: 80px; /* Offset for fixed navbar */
}

a {
    transition: all 0.3s ease;
}

/* ============================================== */
/* OFFICIAL NAVBAR                                */
/* ============================================== */
.official-navbar {
    background-color: var(--white) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid var(--epson-blue);
    padding: 15px 0;
}
.official-navbar .navbar-brand {
    color: var(--epson-blue) !important;
    font-weight: 800;
    font-size: 1.5rem;
}
.official-navbar .navbar-brand img {
    width: 35px;
    height: auto;
    margin-right: 10px;
}
.official-navbar .nav-link {
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 15px !important;
}
.official-navbar .nav-link:hover, 
.official-navbar .nav-link.active {
    color: var(--epson-blue) !important;
}

/* Language Button */
.btn-lang {
    background-color: var(--bg-light);
    color: var(--epson-blue) !important;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 700;
}
.btn-lang:hover {
    background-color: var(--epson-blue);
    color: var(--white) !important;
}
.lang-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.lang-menu .dropdown-item {
    font-weight: 500;
    padding: 8px 20px;
}
.lang-menu .dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--epson-blue);
}

/* ============================================== */
/* HERO SECTION                                   */
/* ============================================== */
.hero-section {
    background: linear-gradient(135deg, #001C5E 0%, #0033A0 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    pointer-events: none;
}
.badge-version {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Download Buttons Grid */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.dl-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--text-main);
    text-decoration: none;
    padding: 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.dl-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    color: var(--white);
}
.dl-btn.dl-win:hover { background: #0078D7; }
.dl-btn.dl-mac:hover { background: #333333; }
.dl-btn.dl-and:hover { background: #3DDC84; }
.dl-btn.dl-ios:hover { background: #000000; }

/* ============================================== */
/* CONTENT STRUCTURE & TYPOGRAPHY                 */
/* ============================================== */
.page-wrapper {
    padding-top: 40px;
    padding-bottom: 60px;
}
.content-box {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}
.content-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.highlight-box {
    background-color: #f0f7ff;
    border-left: 4px solid var(--epson-blue);
    padding: 20px;
    border-radius: 0 12px 12px 0;
}
.highlight-box a {
    color: var(--epson-blue);
    text-decoration: underline;
}

.section-title h2 {
    font-weight: 800;
    color: var(--epson-dark);
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--epson-blue);
    display: inline-block;
    padding-bottom: 8px;
}

    /* ============================================== */
/* SYSTEM REQUIREMENTS SECTION                    */
/* ============================================== */
.system-req-section {
    margin-bottom: 4rem;
}

.req-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.req-card:hover {
    transform: translateY(-5px);
    border-color: var(--epson-blue);
    box-shadow: 0 15px 35px rgba(0, 51, 160, 0.08); /* Faint Epson Blue Shadow */
}

.req-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.req-icon-wrap svg {
    width: 32px;
    height: 32px;
}

.req-list li {
    margin-bottom: 14px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
}

.req-list li:last-child {
    margin-bottom: 0;
}

.req-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--epson-blue);
    font-weight: 900;
    font-size: 1.3rem;
    line-height: 1.2;
}


/* ============================================== */
/* FEATURE CARDS                                  */
/* ============================================== */
.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    height: 100%;
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--epson-blue);
}
.icon-wrap {
    width: 50px; height: 50px;
    background: #e6f0ff;
    color: var(--epson-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 15px;
}
.feature-card p {
    color: var(--text-muted);
    margin: 0;
}

/* ============================================== */
/* ADVANTAGES SECTION (DARK)                      */
/* ============================================== */
.advantages-section {
    background: var(--epson-dark);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(0,28,94,0.15);
}
.advantages-section h2 {
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.adv-intro {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 800px;
    margin-bottom: 40px;
}
.adv-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 16px;
    height: 100%;
}
.adv-card h3 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.adv-card p {
    opacity: 0.75;
    margin: 0;
    line-height: 1.6;
}

/* ============================================== */
/* HOW TO USE STEPS                               */
/* ============================================== */
.step-card {
    display: flex;
    align-items: flex-start;
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.step-number {
    flex-shrink: 0;
    background: var(--epson-blue);
    color: var(--white);
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-right: 20px;
}
.step-content h3 {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.step-content p {
    color: var(--text-muted);
    margin: 0;
}
@media (max-width: 576px) {
    .step-card { flex-direction: column; }
    .step-number { margin-bottom: 15px; }
}


/* ============================================== */
/* FAQ ACCORDION                                  */
/* ============================================== */
.faq-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.custom-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
}
.custom-accordion .accordion-item:last-child {
    border-bottom: none;
}
.custom-accordion .accordion-button {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    padding: 20px 10px;
    background: transparent;
    box-shadow: none;
}
.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--epson-blue);
    background: transparent;
}
.custom-accordion .accordion-body {
    padding: 0 10px 20px 10px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================== */
/* AD CONTAINERS (HIGH RPM / SAFE)                */
/* ============================================== */
.ad-safe-container {
    background-color: #f1f5f9;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.ad-label {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 2px;
    z-index: 0;
}
.ad-safe-container ins {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* ============================================== */
/* FOOTER                                         */
/* ============================================== */
.official-footer {
    background: var(--epson-dark);
    padding: 50px 0 30px;
    color: var(--white);
    border-top: 5px solid var(--epson-blue);
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: var(--white);
}
.footer-divider {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    margin: 0 auto 25px;
}
.copyright-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.disclaimer-text {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    max-width: 600px;
    margin: 0 auto;
}

