* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans JP', 'Noto Sans KR', Arial, sans-serif;
    background: #1F2937;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background: #1F2937;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border: 4px solid #D32F2F;
    border-radius: 8px;
    position: relative;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 14px;
    width: 0;
    height: 0;
    border-left: 12px solid #D32F2F;
    border-top: 8px transparent;
    border-bottom: 8px transparent;
}

.logo-text {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    line-height: 1;
}

.logo-text .mebox {
    color: #FFFFFF;
}

.logo-text .tv {
    color: #D32F2F;
}

.nav-container {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #D32F2F;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: #FFFFFF;
    cursor: pointer;
}

.lang-menu {
    position: relative;
    margin-left: 20px;
    z-index: 1001;
}

.lang-btn {
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: 500;
    touch-action: manipulation;
    padding: 8px 12px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background: #1F2937;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    min-width: 120px;
    z-index: 1002;
    padding: 5px 0;
}

.lang-dropdown a {
    display: block;
    color: #FFFFFF;
    padding: 8px 15px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
    touch-action: manipulation;
    cursor: pointer;
    white-space: nowrap;
}

.lang-dropdown a:hover {
    background: #6B7280;
    color: #D32F2F;
}

.lang-dropdown a.active {
    color: #D32F2F;
    font-weight: 700;
}

.lang-menu:hover .lang-dropdown {
    display: block;
}

.promo {
    background: #1F2937;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.promo-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding: 20px;
}

.promo h1 {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: #FFFFFF;
    animation: fadeIn 1.5s ease-in-out;
}

.promo h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    animation: fadeIn 2s ease-in-out;
}

.promo p {
    font-size: 18px;
    color: #D1D5DB;
    margin-bottom: 30px;
    animation: fadeIn 2.5s ease-in-out;
}

.btn {
    display: inline-block;
    padding: 12px 40px;
    background: #D32F2F;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    border: none;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin: 10px;
}

.btn:hover {
    background: #B71C1C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.features {
    padding: 80px 40px;
    text-align: center;
    background: #FFFFFF;
}

.features h2 {
    font-size: 36px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #1F2937;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    padding: 25px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-item h3 {
    color: #1F2937;
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.5;
}

.reviews {
    padding: 80px 40px;
    text-align: center;
    background: #FFFFFF;
}

.reviews h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1F2937;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-item {
    padding: 25px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: left;
}

.review-item p {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 10px;
}

.review-item span {
    font-size: 14px;
    color: #1F2937;
    font-weight: 700;
}

.hardware, .guide {
    padding: 80px 40px;
    text-align: center;
    background: #FFFFFF;
}

.hardware h2, .guide h2 {
    font-size: 36px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #1F2937;
}

.hardware table, .guide table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hardware th, .hardware td, .guide th, .guide td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
    word-wrap: break-word;
    word-break: break-all;
}

.hardware th, .guide th {
    background: #6B7280;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    width: 30%;
}

.hardware td, .guide td {
    font-size: 16px;
    color: #1F2937;
    width: 70%;
}

.hardware tr:last-child td, .guide tr:last-child td {
    border-bottom: none;
}

footer {
    background: #1F2937;
    color: #D1D5DB;
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright {
    margin-bottom: 20px;
    font-size: 14px;
    color: #D1D5DB;
}

.footer-copyright a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-copyright a:hover {
    color: #D32F2F;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: transparent;
    color: #D1D5DB;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
}

.contact-links a:hover {
    color: #D32F2F;
    transform: translateY(-2px);
}

.chat-link {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.chat-link a {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #D32F2F;
    color: #FFFFFF;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chat-link a:hover {
    background: #B71C1C;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* New styles for the download section */
.download {
    padding: 80px 40px;
    text-align: center;
    background: #FFFFFF;
}

.download h2 {
    font-size: 36px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #1F2937;
}

.download-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.download-btn {
    display: inline-block;
    padding: 12px 40px;
    background: #D32F2F;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    border: none;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.download-btn:hover {
    background: #B71C1C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.whatsapp-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.whatsapp-qr img {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.whatsapp-qr p {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.5;
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }

    .logo-icon::before {
        top: 8px;
        left: 11px;
        border-left: 10px solid #D32F2F;
        border-top: 6px transparent;
        border-bottom: 6px transparent;
    }

    .logo-text {
        font-size: 26px;
        line-height: 32px;
    }

    .hamburger {
        display: block;
    }

    .nav-container {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #1F2937;
        padding: 15px;
        flex-direction: column;
    }

    .nav-container.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .lang-menu {
        margin: 10px 0;
    }

    .lang-dropdown {
        position: relative;
        top: 0;
        background: none;
        box-shadow: none;
        z-index: 1002;
        min-width: 100%;
    }

    .lang-btn, .lang-dropdown a {
        font-size: 14px;
        touch-action: manipulation;
    }

    .promo {
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .promo-content {
        padding: 15px;
    }

    .promo h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .promo h2 {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .promo p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 30px;
        font-size: 16px;
    }

    .features, .reviews, .hardware, .guide, .download {
        padding: 60px 20px;
    }

    .features h2, .reviews h2, .hardware h2, .guide h2, .download h2 {
        font-size: 28px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .feature-grid, .review-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item, .review-item {
        padding: 20px;
        min-height: 180px;
    }

    .feature-item h3, .review-item h3 {
        font-size: 18px;
    }

    .feature-item p, .review-item p {
        font-size: 14px;
    }

    .hardware table, .guide table {
        display: block;
        overflow-x: hidden;
    }

    .hardware tr, .guide tr {
        display: block;
        margin-bottom: 10px;
        border-bottom: 1px solid #E5E7EB;
    }

    .hardware th, .hardware td, .guide th, .guide td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 8px 10px;
        font-size: 14px;
        word-wrap: break-word;
        word-break: break-all;
        border-bottom: none;
    }

    .hardware th, .guide th {
        background: #6B7280;
        color: #FFFFFF;
        font-weight: 700;
    }

    .hardware td, .guide td {
        color: #1F2937;
    }

    .hardware tr:last-child, .guide tr:last-child {
        border-bottom: none;
    }

    .download-content {
        gap: 20px;
    }

    .download-btn {
        padding: 10px 30px;
        font-size: 16px;
    }

    .whatsapp-qr p {
        font-size: 14px;
    }

    footer {
        padding: 30px 15px;
    }

    .footer-copyright {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .contact-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .contact-links a {
        padding: 8px 15px;
        font-size: 12px;
    }

    .chat-link {
        margin-top: 15px;
    }

    .chat-link a {
        padding: 8px 15px;
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .logo-text {
        font-size: 22px;
    }

    .promo h1 {
        font-size: 28px;
    }

    .promo h2 {
        font-size: 16px;
    }

    .promo p {
        font-size: 12px;
    }

    .btn {
        padding: 8px 25px;
        font-size: 14px;
    }

    .features h2, .reviews h2, .hardware h2, .guide h2, .download h2 {
        font-size: 24px;
    }

    .feature-item h3, .review-item h3 {
        font-size: 16px;
    }

    .feature-item p, .review-item p {
        font-size: 12px;
    }

    .hardware th, .hardware td, .guide th, .guide td {
        font-size: 12px;
        padding: 6px 8px;
    }

    .download-btn {
        padding: 8px 25px;
        font-size: 14px;
    }

    .whatsapp-qr img {
        max-width: 120px;
    }

    .whatsapp-qr p {
        font-size: 12px;
    }
}