/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 30px var(--glow-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--glow-primary);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-light);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--bg-glass);
    border-color: var(--primary);
}

.btn-youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.btn-youtube:hover {
    background: rgba(255, 0, 0, 0.2);
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.2);
}

/* ===== Badges & Cards ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.2rem;
}

/* ===== Section Headers ===== */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===== Navbar (Component) ===== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
}

.main-nav.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-followup-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.nav-followup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.nav-youtube-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    color: #ff6b6b !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.nav-youtube-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ===== Footer (Component) ===== */
.footer {
    background: #050508;
    padding: 80px 0 20px;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo-img {
    height: auto;
    width: auto;
    max-width: 180px;
    /* Restrict width */
    max-height: 60px;
    /* Restrict height */
    margin-bottom: 16px;
    object-fit: contain;
    /* Ensure aspect ratio is kept */
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-tagline-en {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.footer-social-btn.youtube {
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

.footer-social-btn.youtube:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
}

.footer-social-btn.facebook {
    border-color: rgba(24, 119, 242, 0.3);
    color: #5fa8ff;
}

.footer-social-btn.facebook:hover {
    background: rgba(24, 119, 242, 0.1);
    border-color: #1877f2;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-primary);
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
    padding-right: 5px;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Download Modal (Component) ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: auto;
    left: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.3));
}

.modal-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.modal-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-option-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
}

.download-option-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-4px);
    border-color: var(--primary);
}

.option-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.option-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

.option-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.option-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.modal-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--warning);
    background: rgba(255, 170, 0, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 170, 0, 0.2);
}

/* Response Media Queries for Components */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        padding: 20px;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .nav-youtube-btn,
    .nav-followup-btn {
        width: 100%;
        justify-content: center;
    }
}
/* ===== Premium Platform Cards Fix ===== */
.platform-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 32px;
}

.platform-card {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Very subtle border */
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.platform-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.platform-card:hover .platform-arrow {
    transform: translateX(4px);
    color: var(--primary-light);
}

.platform-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-inline-end: 16px;
    flex-shrink: 0;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.05);
}

.platform-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

/* Brand Colors for Icons Only */
.platform-icon-wrapper.google { color: #4ade80; background: rgba(74, 222, 128, 0.1); }
.platform-icon-wrapper.apple { color: #ffffff; background: rgba(255, 255, 255, 0.1); }
.platform-icon-wrapper.huawei { color: #f87171; background: rgba(248, 113, 113, 0.1); }
.platform-icon-wrapper.windows { color: #60a5fa; background: rgba(96, 165, 250, 0.1); }

.platform-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.platform-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-bottom: 2px;
}

.platform-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.platform-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition-fast);
    margin-left: 12px;
}

@media (max-width: 768px) {
    .platform-cards {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 12px;
    }

    .platform-card {
        padding: 12px 16px;
    }
}
