/* =========================================
   CÀI ĐẶT CHUNG
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    top: 0 !important;
    position: static !important;
}

/* =========================================
   ẨN GOOGLE TRANSLATE
   ========================================= */
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
}
#goog-gt-tt { display: none !important; }
#google_translate_element {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}
.goog-logo-link { display: none !important; }

/* =========================================
   THANH THÔNG BÁO
   ========================================= */
.top-banner {
    background-color: #1a1a1a;
    color: #ffd700;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #333;
}

.close-banner {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

/* =========================================
   HEADER
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(10, 10, 10, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.logo-icon {
    background-color: #ffd700;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

nav a {
    color: #ccc;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover { color: #ffd700; }

/* =========================================
   DROPDOWN NGÔN NGỮ
   ========================================= */
.lang-selector { position: relative; user-select: none; }

.lang-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.lang-btn:hover { border-color: #ffd700; color: #ffd700; }
.lang-btn .globe-icon { font-size: 16px; }
.lang-btn .arrow { font-size: 10px; transition: transform 0.3s; }
.lang-selector.open .lang-btn .arrow { transform: rotate(180deg); }

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: #0d0d0d;
    border: 1px solid #222;
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 9999;
    padding: 8px 0;
    max-height: 400px;
    overflow-y: auto;
}

.lang-selector.open .lang-dropdown { display: block; }
.lang-dropdown::-webkit-scrollbar { width: 6px; }
.lang-dropdown::-webkit-scrollbar-track { background: #111; }
.lang-dropdown::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.lang-dropdown a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
    cursor: pointer;
}

.lang-dropdown a:hover { background-color: #1f1a05; color: #ffd700; }
.lang-dropdown a.active { background-color: #2a2308; color: #ffd700; font-weight: 700; }
.lang-dropdown a .check { color: #ffd700; font-weight: bold; font-size: 14px; }

/* =========================================
   HERO
   ========================================= */
.hero {
    display: flex;
    padding: 80px 50px;
    align-items: flex-start;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content { flex: 1; min-width: 0; }
.hero-chart { flex: 1.2; min-width: 0; }

.badge {
    display: inline-block;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: #ffd700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    color: #ffd700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero h2 { font-size: 24px; color: #ffd700; margin-bottom: 20px; }
.hero p { color: #aaa; font-size: 16px; margin-bottom: 30px; max-width: 500px; }
.hero-buttons { display: flex; gap: 15px; }

.btn-primary {
    background-color: #ffd700;
    color: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-primary:hover { background-color: #e6c200; transform: translateY(-2px); }

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid #444;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-secondary:hover { border-color: #ffd700; color: #ffd700; }

.chart-note {
    font-size: 10px !important;
    color: #666;
    text-align: center;
    margin-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* =========================================
   TRADINGVIEW
   ========================================= */
.tradingview-widget-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
    background-color: #0a0a0a;
}

.tradingview-widget-container__widget { width: 100%; height: 100%; }
.tradingview-widget-container iframe { border-radius: 15px; }

/* =========================================
   FEATURES
   ========================================= */
.features { padding: 80px 50px; max-width: 1400px; margin: 0 auto; }

.section-label {
    color: #ffd700;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.features h2, .how-it-works h2, .pricing h2, .download h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 40px;
}

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.feature-item {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.feature-item::before { content: "✓"; color: #ffd700; font-weight: bold; }

/* =========================================
   HOW IT WORKS
   ========================================= */
.how-it-works { padding: 80px 50px; max-width: 1400px; margin: 0 auto; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.step-card {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #222;
}

.step-number {
    background: #ffd700;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.step-card h3 { margin-bottom: 10px; }
.step-card p { color: #aaa; font-size: 14px; }

/* =========================================
   PRICING
   ========================================= */
.pricing {
    padding: 80px 50px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    background: #111;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
}

.price-card.popular { border-color: #ffd700; box-shadow: 0 0 30px rgba(255, 215, 0, 0.1); }
.price-card.free-card { border: 1px solid #4a7c59; background: linear-gradient(180deg, #0f1a12 0%, #111 100%); }

.dot-green {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.icon-fire, .icon-crown { font-size: 12px; margin-right: 4px; }

.plan-type {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.price-card h3 { font-size: 24px; margin-bottom: 10px; }

.price {
    font-size: 48px;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 10px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.price .price-number,
.price #unlimitedPrice,
.price #unlimitedPriceBtn {
    color: #ffd700 !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    display: inline !important;
}

.price .price-unit {
    font-size: 16px !important;
    color: #888 !important;
    font-weight: 600 !important;
}

.price .hot-badge {
    font-size: 11px !important;
    color: #000 !important;
    font-weight: 700 !important;
    vertical-align: middle;
    margin-left: 8px;
}

.free-price {
    color: #22c55e !important;
    font-size: 48px;
    font-weight: 800;
    display: block;
}

.subtitle { color: #888; font-size: 14px; margin-bottom: 20px; }

.price-card ul { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.price-card ul li { margin-bottom: 10px; font-size: 14px; color: #ccc; }

.step-list { list-style: none; margin-bottom: 20px; }
.step-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #ccc;
}

.step-list .num {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    background: #ffd700;
    color: #000;
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

.warning-box {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #f87171;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-free-access {
    display: block;
    text-align: center;
    background: #22c55e;
    color: #000;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: auto;
}

.btn-free-access:hover { background: #16a34a; transform: translateY(-2px); }

.hot-badge {
    display: inline-block;
    background: #ffd700;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 8px;
    vertical-align: middle;
}

.countdown-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.countdown-label {
    font-size: 11px;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.countdown { display: flex; gap: 10px; }

.time-block {
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 8px 14px;
    text-align: center;
    flex: 1;
}

.time-block strong { display: block; font-size: 22px; color: #ffd700; font-weight: 800; }
.time-block small { font-size: 11px; color: #888; }
.full-width { width: 100%; }

/* =========================================
   DOWNLOAD
   ========================================= */
.download { padding: 80px 50px; max-width: 1400px; margin: 0 auto; }
.download-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.download-card {
    background: #111;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #222;
    text-align: center;
}

.download-icon {
    background: #1a1a1a;
    color: #ffd700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 auto 20px auto;
    border: 1px solid #333;
}

.download-card h3 { font-size: 22px; margin-bottom: 10px; }
.file-name { color: #888; font-size: 14px; margin-bottom: 20px; }

.req {
    background: #1a1a1a;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 20px;
}

.download-card a.btn-primary,
.download-card a.btn-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

/* =========================================
   FAQ (TRANG CHỦ - TÓM TẮT)
   ========================================= */
.faq {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.faq h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}

.faq-subtitle {
    color: #888;
    font-size: 15px;
    margin-bottom: 40px;
}

.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.faq-tabs button {
    background: #111;
    border: 1px solid #2a2a2a;
    color: #ccc;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.faq-tabs button:hover {
    border-color: #ffd700;
    color: #ffd700;
}

.faq-tabs button.active {
    background: #ffd700;
    color: #000;
    border-color: #ffd700;
    font-weight: 700;
}

.faq-content {
    display: none;
    animation: faqFadeIn 0.3s ease-out;
}

.faq-content.active { display: block; }

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
    align-items: start;
}

.faq-item {
    background: #0d0d0d;
    border: 1px solid #222;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover { border-color: #333; }

.faq-item.open {
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
    cursor: pointer;
    gap: 16px;
    user-select: none;
}

.faq-q-text {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.faq-icon {
    color: #ffd700;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s;
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 26px;
}

.faq-item.open .faq-answer {
    max-height: 800px;
    padding: 0 26px 24px;
}

.faq-answer p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.faq-see-all {
    text-align: center;
    margin-top: 40px;
}

.btn-see-all {
    display: inline-block;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #ffd700;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-see-all:hover {
    background: #ffd700;
    color: #000;
    border-color: #ffd700;
    transform: translateY(-2px);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    padding: 40px 50px;
    text-align: center;
    color: #555;
    font-size: 12px;
    border-top: 1px solid #222;
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================================
   CHAT WIDGET
   ========================================= */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border: 2px solid #ffd700;
    z-index: 999;
}

.chat-widget img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================
   TRANG FREE ACCESS
   ========================================= */
.free-hero {
    text-align: center;
    padding: 60px 50px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.badge-green {
    display: inline-block;
    background: #0a2a15;
    border: 1px solid #22c55e;
    color: #22c55e;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.free-hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}

.highlight-gold { color: #ffd700; }
.free-subtitle { color: #aaa; font-size: 16px; margin-bottom: 40px; }

.quick-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.quick-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #aaa;
    font-weight: 500;
}

.quick-step.active { color: #ffd700; font-weight: 700; }

.qs-num {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

.quick-step.active .qs-num { background: #ffd700; color: #000; }
.qs-arrow { color: #555; font-size: 16px; font-weight: bold; }
.already-done { color: #ffd700; font-size: 14px; margin-top: 10px; }
.already-done a { color: #ffd700; text-decoration: underline; font-weight: 600; }

.steps-detail { max-width: 900px; margin: 0 auto; padding: 20px 30px 60px; }

.step-block {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #0d0d0d;
    border: 1px solid #222;
    border-radius: 20px;
    margin-bottom: 20px;
}

.step-block.highlight-step {
    border-color: #ffd700;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.08);
}

.step-badge {
    background: #ffd700;
    color: #000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

.step-body { flex: 1; }
.step-body h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.step-body > p { color: #aaa; font-size: 14px; margin-bottom: 20px; line-height: 1.6; }

.inner-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 16px;
}

.inner-card.small { padding: 16px 20px; }
.inner-card h3 { font-size: 18px; color: #ffd700; margin-bottom: 8px; }
.inner-card p { color: #aaa; font-size: 14px; margin-bottom: 16px; }

.btn-gold-full {
    display: block;
    width: 100%;
    background: #ffd700;
    color: #000;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 16px;
    text-align: center;
    text-decoration: none;
}

.btn-gold-full:hover { background: #e6c200; }

.referral-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
}

.ref-label { font-size: 11px; color: #888; letter-spacing: 1px; margin-bottom: 4px; }
.ref-code { font-size: 16px; color: #ffd700; font-weight: 700; font-family: 'Courier New', monospace; }

.btn-copy {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #ccc;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-copy:hover { border-color: #ffd700; color: #ffd700; }

.existing-account {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 14px 18px;
    transition: all 0.3s;
}

.existing-account:hover { border-color: #ffd700; background: #0f0c02; }
.exist-title { color: #fff !important; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.exist-sub { color: #888 !important; font-size: 13px; margin: 0 !important; }

.warning-inline {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-top: 12px;
}

.setup-label {
    font-size: 11px;
    color: #ffd700;
    letter-spacing: 1px;
    margin-bottom: 10px !important;
    font-weight: 700;
}

.setup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #222;
    color: #ccc;
    font-size: 14px;
}

.setup-row strong { color: #fff; }

.free-form { display: flex; flex-direction: column; gap: 8px; }

.free-form label {
    font-size: 12px;
    color: #ccc;
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 12px;
}

.free-form label .optional {
    color: #666;
    font-weight: 400;
    font-size: 11px;
    text-transform: lowercase;
}

.free-form input {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 14px 18px;
    color: #fff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.free-form input:focus { outline: none; border-color: #ffd700; background: #111; }
.free-form input::placeholder { color: #555; }
.helper { font-size: 12px; color: #666; margin: 4px 0 16px; }

.btn-submit {
    background: #ffd700;
    color: #000;
    border: none;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 12px;
}

.btn-submit:hover { background: #e6c200; transform: translateY(-2px); }
.btn-submit:disabled { cursor: not-allowed; opacity: 0.8; }

.free-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #1a1a1a;
    color: #666;
    font-size: 13px;
}

.telegram-icon { font-size: 24px; margin: 16px 0; color: #ffd700; }

/* =========================================
   MODAL CHUNG
   ========================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active { display: flex; }

.modal-box {
    background: #111;
    border: 1px solid #222;
    border-radius: 20px;
    padding: 40px;
    max-width: 620px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.modal-close:hover { background: #ffd700; color: #000; border-color: #ffd700; }

.modal-box h2 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    padding-right: 40px;
}

.modal-desc { color: #aaa; font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.modal-label { color: #ffd700; font-size: 14px; font-weight: 600; margin-bottom: 16px; }

/* MODAL MUA */
.buy-modal-box { max-width: 520px; padding: 32px 28px 28px; }
.buy-modal-box h2 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.buy-subtitle { color: #888; font-size: 14px; margin-bottom: 24px; }

.buy-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
}

.buy-label { color: #ccc; font-size: 14px; font-weight: 500; }
.buy-value { color: #fff; font-size: 14px; font-weight: 600; }
.buy-value.gold { color: #ffd700; }
.buy-value.gold strong { font-size: 16px; font-weight: 800; }

.wallet-box {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 12px;
    margin-bottom: 20px;
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wallet-tag { font-size: 11px; color: #888; letter-spacing: 1.5px; font-weight: 700; }

.btn-copy-icon {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #ccc;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.btn-copy-icon:hover { border-color: #ffd700; color: #ffd700; }

.wallet-address {
    color: #fff;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.buy-note {
    color: #888;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 4px;
}

.btn-telegram {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #ffd700;
    color: #000;
    padding: 16px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    width: 100%;
    border: none;
    cursor: pointer;
}

.btn-telegram:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

/* MODAL EMAIL */
.email-block {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 14px;
}

.email-block.body-block { background: #050505; }

.email-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.email-tag { font-size: 11px; color: #888; letter-spacing: 1.5px; font-weight: 700; }

.btn-copy-small {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #ccc;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-copy-small:hover { border-color: #ffd700; color: #ffd700; }

.email-content { color: #fff; font-size: 14px; line-height: 1.5; word-break: break-word; }
.email-body { color: #ccc; font-size: 14px; line-height: 1.7; }
.email-body p { margin: 0; }
.email-body strong { color: #ffd700; }

.inline-input {
    background: transparent;
    border: none;
    border-bottom: 1px dashed #ffd700;
    color: #ffd700;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 2px 4px;
    outline: none;
    width: auto;
    min-width: 130px;
    transition: all 0.3s;
}

.inline-input:focus { border-bottom-color: #22c55e; color: #22c55e; }
.inline-input::placeholder { color: #555; font-style: italic; }

.modal-note {
    color: #666;
    font-size: 12px;
    font-style: italic;
    margin-top: 16px;
    text-align: center;
}

.modal-box::-webkit-scrollbar { width: 6px; }
.modal-box::-webkit-scrollbar-track { background: #111; }
.modal-box::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* =========================================
   TRANG FAQ ĐẦY ĐỦ (faq.html)
   ========================================= */
body.faq-page {
    background-color: #0a0a0a;
}

/* Header FAQ */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: rgba(10, 10, 10, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a1a1a;
}

.back-link {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.back-link:hover { color: #ffd700; }

.support-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.support-btn:hover { border-color: #ffd700; color: #ffd700; }

/* Hero FAQ */
.faq-hero {
    text-align: center;
    padding: 60px 30px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.badge-support {
    display: inline-block;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #ffd700;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.faq-hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}

.faq-hero-subtitle {
    color: #aaa;
    font-size: 16px;
    margin-bottom: 32px;
}

/* Ô tìm kiếm */
.search-box {
    display: flex;
    align-items: center;
    background: #0d0d0d;
    border: 1px solid #333;
    border-radius: 30px;
    padding: 12px 24px;
    max-width: 650px;
    margin: 0 auto 28px;
    transition: all 0.3s;
    position: relative;
}

.search-box:focus-within {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.search-icon {
    font-size: 16px;
    margin-right: 12px;
    opacity: 0.6;
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.search-box input::placeholder { color: #666; }

.search-kbd {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #888;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-family: monospace;
}

/* Câu hỏi phổ biến */
.popular-questions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.popular-label {
    color: #888;
    font-size: 14px;
    font-weight: 600;
    margin-right: 4px;
}

.popular-tag {
    background: #0d0d0d;
    border: 1px solid #222;
    color: #ccc;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.popular-tag:hover {
    background: #ffd700;
    color: #000;
    border-color: #ffd700;
}

/* Tabs danh mục */
.faq-tabs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.faq-tabs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.faq-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0d0d0d;
    border: 1px solid #222;
    color: #ccc;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-cat-btn:hover {
    border-color: #ffd700;
    color: #ffd700;
}

.faq-cat-btn.active {
    background: #ffd700;
    color: #000;
    border-color: #ffd700;
    font-weight: 700;
}

.cat-icon { font-size: 14px; }

.cat-count {
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.faq-cat-btn.active .cat-count {
    background: rgba(0, 0, 0, 0.15);
    color: #000;
}

/* Thanh điều khiển */
.faq-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 24px;
    padding: 0 30px;
}

.faq-count-display {
    color: #888;
    font-size: 14px;
}

.btn-expand-all {
    background: transparent;
    border: none;
    color: #ffd700;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-expand-all:hover { text-decoration: underline; }

/* Container FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px 60px;
}

/* Danh mục */
.faq-category {
    margin-bottom: 40px;
}

.faq-category.hidden { display: none; }

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-left: 4px;
}

.cat-badge {
    background: #1a1a1a;
    border: 1px solid #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.category-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #ffd700;
}

/* Câu hỏi */
.faq-list-full {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item-full {
    background: #0d0d0d;
    border: 1px solid #222;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item-full:hover { border-color: #333; }

.faq-item-full.open {
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.08);
}

.faq-item-full.hidden { display: none; }

.faq-question-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    gap: 16px;
    user-select: none;
}

.faq-question-full .faq-q-text {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.faq-item-full.open .faq-icon { transform: rotate(180deg); }

.faq-answer-full {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item-full.open .faq-answer-full {
    max-height: 2000px;
    padding: 0 24px 24px;
}

.faq-answer-full p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.faq-answer-full strong { color: #ffd700; }

.copy-link-btn {
    background: transparent;
    border: none;
    color: #666;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    padding: 4px 8px;
    margin-top: 8px;
    transition: color 0.3s;
}

.copy-link-btn:hover { color: #ffd700; }

/* Không tìm thấy */
.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 15px;
}

.no-results-hint {
    margin-top: 12px;
    font-size: 14px;
}

.no-results-hint a { color: #ffd700; text-decoration: underline; }

/* CTA cuối */
.faq-cta {
    text-align: center;
    padding: 60px 30px 80px;
    background: linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
    border-top: 1px solid #1a1a1a;
}

.faq-cta h3 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.faq-cta p {
    color: #888;
    font-size: 15px;
    margin-bottom: 24px;
}

.btn-cta {
    display: inline-block;
    background: #ffd700;
    color: #000;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-cta:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
    .hero h1 { font-size: 60px; }
}

@media (max-width: 900px) {
    header { flex-direction: column; gap: 15px; padding: 15px 20px; }
    nav a { margin: 0 8px; font-size: 13px; }
    .lang-selector { align-self: flex-end; }
    .lang-dropdown { right: 0; }

    .hero { flex-direction: column; padding: 40px 20px; }
    .hero h1 { font-size: 48px; }
    .hero-chart { flex: 1; width: 100%; }

    .features, .how-it-works, .pricing, .download { padding: 50px 20px; }
    .feature-grid, .steps-grid, .pricing-grid, .download-grid { grid-template-columns: 1fr; }
    .tradingview-widget-container { height: 400px; }

    /* FAQ trang chủ */
    .faq { padding: 50px 20px; }
    .faq h2 { font-size: 30px; }
    .faq-list { grid-template-columns: 1fr; }
    .faq-tabs button { padding: 10px 16px; font-size: 13px; }
    .faq-question { padding: 18px 20px; }
    .faq-q-text { font-size: 14px; }
    .faq-answer { padding: 0 20px; }
    .faq-item.open .faq-answer { padding: 0 20px 20px; }

    /* Free Access */
    .free-hero { padding: 40px 20px 30px; }
    .free-hero h1 { font-size: 36px; }
    .step-block { flex-direction: column; padding: 24px 20px; }
    .step-body h2 { font-size: 20px; }
    .quick-steps { font-size: 11px; }
    .quick-step span:not(.qs-num) { display: none; }
    .quick-step.active span:not(.qs-num) { display: inline; }

    /* Modal */
    .modal-box { padding: 24px 20px; }
    .modal-box h2 { font-size: 18px; }
    .buy-modal-box { padding: 24px 20px 20px; }
    .buy-row { padding: 14px 16px; }
    .buy-label, .buy-value { font-size: 13px; }
    .wallet-address { font-size: 11px; }
    .buy-note { font-size: 12px; }
    .btn-telegram { font-size: 14px; padding: 14px 20px; }
    .email-block { padding: 12px 14px; }
    .btn-copy-small { font-size: 11px; padding: 5px 10px; }
    .inline-input { min-width: 100px; font-size: 13px; }

    /* Price */
    .price { font-size: 36px; }
    .price .price-number, .price #unlimitedPrice, .price #unlimitedPriceBtn { font-size: 36px !important; }
    .free-price { font-size: 36px !important; }

    /* FAQ đầy đủ */
    .faq-header { padding: 15px 20px; }
    .faq-hero { padding: 40px 20px 30px; }
    .faq-hero h1 { font-size: 34px; }
    .faq-hero-subtitle { font-size: 14px; }
    .faq-tabs-wrapper { padding: 0 20px; }
    .faq-cat-btn { font-size: 12px; padding: 8px 14px; }
    .faq-controls { padding: 0 20px; }
    .faq-container { padding: 0 20px 40px; }
    .faq-question-full { padding: 16px 18px; }
    .faq-question-full .faq-q-text { font-size: 14px; }
    .faq-answer-full { padding: 0 18px; }
    .faq-item-full.open .faq-answer-full { padding: 0 18px 18px; }
    .popular-tag { font-size: 12px; padding: 8px 14px; }
    .category-header h2 { font-size: 18px; }
    .search-box { padding: 10px 18px; }
    .search-kbd { display: none; }
   /* =========================================
   HIGHLIGHT TỪ KHÓA TÌM KIẾM TRONG FAQ
   ========================================= */
.faq-item-full mark,
.faq-item-full .highlight {
    background: rgba(255, 215, 0, 0.3);
    color: #ffd700;
    padding: 0 2px;
    border-radius: 3px;
    font-weight: 700;
}

/* Khi không có kết quả tìm kiếm */
.no-results mark {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
    padding: 0 4px;
    border-radius: 4px;
}

/* Tab có 0 kết quả - làm mờ */
.faq-cat-btn .cat-count.zero {
    background: rgba(220, 38, 38, 0.2);
    color: #f87171;
}
}