* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


#background-audio {
    display: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #f8f8f2;
    /* Dracula Foreground */
    background: #282a36;
    /* Dracula Background */
}

html,
body {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

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


.header {
    background: #2d2f3c;
    /* Slightly lighter than bg */
    border-bottom: 1px solid #44475a;
    /* Dracula Selection */
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    /* justify-content: space-between; Removed to allow left alignment */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 48px;
    /* Add spacing between logo and nav */
}

a.logo {
    text-decoration: none;
    color: inherit;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #bd93f9;
    /* Dracula Purple */
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-right: auto;
    /* Push actions to the right */
}

.nav-link {
    color: #f8f8f2;
    /* Dracula Foreground */
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #ff79c6;
    /* Dracula Pink */
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-selector {
    padding: 8px 12px;
    border: 1px solid #6272a4;
    /* Dracula Comment */
    border-radius: 6px;
    background: #44475a;
    /* Dracula Selection */
    color: #f8f8f2;
    font-size: 14px;
    cursor: pointer;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #bd93f9;
    /* Dracula Purple */
    color: #282a36;
    /* Dark Text on bright button */
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-download:hover {
    background: #ff79c6;
    /* Dracula Pink */
    color: #f8f8f2;
}

.btn-download:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-download svg {
    width: 20px;
    height: 20px;
}


.hero {
    padding: 80px 0;
    text-align: center;
    background: #282a36;
    /* Dracula Background */
}

.download-section {
    padding: 80px 0;
    background: #21222c;
    /* Dracula Darker */
}

.download-cards {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-simple-card {
    flex: 0 0 260px;
    background: #44475a;
    /* Dracula Selection/Card */
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    text-align: center;
    text-decoration: none;
    color: #f8f8f2;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    border: 1px solid #6272a4;
    /* Dracula Comment */
}

.download-simple-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    background: #6272a4;
    /* Dracula Comment (Lighter) */
    border-color: #bd93f9;
}

.download-simple-icon {
    margin-bottom: 20px;
    color: #8be9fd;
    /* Dracula Cyan */
}

.download-simple-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #f8f8f2;
}

.download-simple-subtitle {
    font-size: 16px;
    color: #bd93f9;
    /* Dracula Purple */
}

@media (max-width: 640px) {
    .download-section {
        padding: 60px 0;
    }

    .download-cards {
        gap: 20px;
    }

    .download-simple-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 28px 24px;
    }
}


.banner-section {
    padding: 32px 0;
    background: #21222c;
    /* Dracula Darker */
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: contain;
    border: 1px solid #44475a;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #f8f8f2;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: #b8b8f2;
    /* Soft Purple/White */
    max-width: 1000px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.btn-download-large {
    padding: 16px 32px;
    font-size: 18px;
    margin: 0 auto;
    display: flex;
}


.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.countdown-label {
    font-size: 18px;
    font-weight: 600;
    color: #f8f8f2;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.countdown-number {
    background: #bd93f9;
    /* Dracula Purple */
    color: #282a36;
    padding: 12px 16px;
    border-radius: 8px;
    min-width: 60px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.countdown-label-small {
    font-size: 12px;
    color: #ff79c6;
    /* Dracula Pink */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-separator {
    font-size: 32px;
    font-weight: 700;
    color: #ff79c6;
    /* Dracula Pink */
    margin: 0 4px;
}

.countdown-finished {
    font-size: 24px;
    font-weight: 700;
    color: #50fa7b;
    /* Dracula Green */
    text-align: center;
}

.countdown-header {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(189, 147, 249, 0.1);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #bd93f9;
}

.countdown-text {
    white-space: nowrap;
}


.usage-section {
    padding: 40px 0;
    background: #282a36;
    /* Dracula Background */
}

.usage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #f8f8f2;
    margin-bottom: 32px;
}

.usage-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.usage-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #f8f8f2;
}

.check-icon {
    color: #50fa7b;
    /* Dracula Green */
    flex-shrink: 0;
}

.usage-image {
    position: relative;
    width: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}


.desktop-frame {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 50px;
    aspect-ratio: 16/10;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .desktop-frame {
        max-width: 540px;
        min-height: 360px;
    }
}

@media (max-width: 768px) {
    .desktop-frame {
        max-width: 100%;
        padding-bottom: 36px;
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .desktop-frame {
        padding-bottom: 24px;
        min-height: 220px;
    }
}

.desktop-frame-header {
    background: #21222c;
    padding: 8px 0;
    position: relative;
    border-radius: 8px 8px 0 0;
    border: 1px solid #44475a;
    border-bottom: none;
}

.desktop-frame-controls {
    display: none;
}

.control-dot {
    display: none;
}

.desktop-frame-title {
    display: none;
}


.desktop-frame-header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #6272a4;
    border-radius: 50%;
    z-index: 10;
}

.desktop-frame-content {
    background: #000000;
    padding: 0;
    overflow: hidden;
    border-left: 2px solid #000000;
    border-right: 2px solid #000000;
    border-top: 2px solid #000000;
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    min-height: 0;
    box-sizing: border-box;
    position: relative;
    border: 1px solid #44475a;
    border-top: none;
    border-bottom: none;
}


.desktop-frame-content video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180%;
    object-fit: cover;
    object-position: center 10%;
}

.desktop-frame-bottom {
    background: #44475a;
    height: 40px;
    border-left: 1px solid #44475a;
    border-right: 1px solid #44475a;
    border-bottom: 1px solid #44475a;
    border-radius: 0 0 8px 8px;
    position: relative;
    margin-top: 0;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .desktop-frame-bottom {
        height: 28px;
    }

    .desktop-frame-stand {
        width: 90px;
        height: 40px;
        bottom: -32px;
    }
}

@media (max-width: 480px) {
    .desktop-frame-bottom {
        height: 20px;
    }

    .desktop-frame-stand {
        width: 70px;
        height: 32px;
        bottom: -24px;
    }
}

.desktop-frame-stand {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 50px;
    background: linear-gradient(180deg, #6272a4 0%, #44475a 100%);
    border-radius: 0 0 4px 4px;
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-width: 100%;
    max-height: 100%;
}


video.screenshot-image {
    background: #000000;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


.desktop-frame-svg {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.desktop-frame-svg svg {
    width: 100%;
    height: auto;
    display: block;
}

.desktop-frame-svg .screenshot-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}


.features-section {
    padding: 80px 0;
    background: #21222c;
    /* Dracula Darker */
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 160px;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse>* {
    direction: ltr;
}

.feature-title {
    font-size: 28px;
    font-weight: 700;
    color: #f8f8f2;
    margin-bottom: 20px;
}

.feature-description {
    font-size: 16px;
    color: #f8f8f2;
    line-height: 1.8;
}

.feature-image {
    position: relative;
}

.feature-screenshot {
    background: #44475a;
    border-radius: 12px;
    min-height: 300px;
    border: 2px solid #6272a4;
}

.settings-screenshot {
    background: #44475a;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.settings-screenshot::before {
    content: 'Kích thước màn hình';
    font-weight: 600;
    color: #f8f8f2;
}

.settings-screenshot::after {
    content: '';
    height: 8px;
    background: #6272a4;
    border-radius: 4px;
    width: 60%;
}


.other-features {
    padding: 80px 0;
    background: #282a36;
    color: white;
}

.section-title-center {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #f8f8f2;
}

.other-features .section-title-center {
    color: #f8f8f2;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: #44475a;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid #6272a4;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #bd93f9;
}

.card-icon {
    color: #8be9fd;
    /* Dracula Cyan */
    margin-bottom: 8px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #f8f8f2;
}

.card-description {
    font-size: 15px;
    color: #f8f8f2;
    line-height: 1.6;
    flex: 1;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff79c6;
    /* Dracula Pink */
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.card-link:hover {
    color: #f8f8f2;
}

/* Footer specific */
.footer {
    background: #1e293b;
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer .logo-text {
    color: white;
}

.footer .logo-image {
    background: none;
    box-shadow: none;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
}

.footer-copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 14px;
}


@media (max-width: 1200px) {

    .usage-content,
    .feature-item {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .usage-image,
    .feature-image {
        order: 2;
    }

    .usage-text,
    .feature-content {
        order: 1;
    }
}

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

    .hero {
        padding: 60px 0;
    }

    .banner-section {
        padding: 24px 0;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
    }

    .countdown-header {
        width: auto;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

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

    .nav {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    .header {
        padding: 12px 0;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .language-selector,
    .countdown-header {
        width: 100%;
        text-align: center;
    }

    .banner-image {
        border-radius: 12px;
    }

    .usage-content,
    .feature-item {
        gap: 32px;
    }

    .feature-item.reverse {
        direction: ltr;
    }

    .feature-item.reverse>* {
        direction: ltr;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .testimonial-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .countdown-container {
        gap: 8px;
    }

    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
    }

    .countdown-number {
        min-width: 48px;
        font-size: 24px;
        padding: 10px 12px;
    }

    .section-title-center {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .usage-section,
    .features-section,
    .other-features,
    .testimonials {
        padding: 48px 0;
    }

    .feature-item {
        gap: 24px;
        margin-bottom: 48px;
    }

    .feature-cards {
        gap: 24px;
    }

    .testimonial-cards.single-member {
        grid-template-columns: 1fr;
    }

    .team-member-photo {
        width: 140px;
        height: 140px;
        border-width: 4px;
    }
}