/* =========================================================
   VIDEO CRAFT PRO — Dark Wine Tone Stylesheet
   Source palette: theme_config.py "dark" (Wine Black+)
   ========================================================= */
:root {
    /* Dark Wine palette từ theme_config.py */
    --bg-color: #120B0E;          /* primary_bg */
    --bg-darker: #0B0608;         /* tối hơn primary cho contrast */
    --bg-secondary: #1C1015;      /* secondary_bg */
    --bg-card: #170D12;           /* card_bg */
    --bg-sidebar: #160C11;        /* sidebar_bg */

    --text-main: #F3EEF0;         /* text_primary */
    --text-muted: #B8A8AD;        /* text_secondary */

    --primary: #DFBB00;           /* accent — gold */
    --primary-hover: #F0C808;     /* accent_hover */
    --primary-muted: rgba(223, 187, 0, 0.16);

    --wine: #C8103F;              /* danger — wine red */
    --wine-hover: #A70D33;        /* danger_hover */

    --secondary: #2A1620;         /* darker than border for buttons */
    --secondary-hover: #3A1F2C;

    --success: #22C55E;
    --warning: #F59E0B;
    --red: #EF4444;
    --purple: #A855F7;
    --blue: #38BDF8;

    --border: #341A22;            /* border */
    --gridline: #29141B;          /* gridline */

    --glass-bg: rgba(247, 232, 213, 0.025);
    --glass-border: rgba(223, 187, 0, 0.10);
    --shadow-glow: 0 0 24px rgba(223, 187, 0, 0.45);
    --shadow-wine: 0 0 24px rgba(200, 16, 63, 0.30);

    --font-family: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary-hover);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    padding-top: 96px;
    background-image:
        radial-gradient(circle at 20% 0%, rgba(200, 16, 63, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 100%, rgba(223, 187, 0, 0.05) 0%, transparent 40%);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-darker { background-color: var(--bg-darker); }
.text-center { text-align: center; }
.text-green { color: var(--success); }
.text-accent { color: var(--primary); }
.mt-2 { margin-top: 2rem; }

/* ====== Buttons ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}
.btn-large { padding: 14px 28px; font-size: 1.1rem; }
.btn-full { width: 100%; padding: 12px; margin-top: 15px; }

.btn-primary { background: var(--primary); color: #1C0A10; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); background: var(--primary-hover); }

.btn-secondary { background: var(--secondary); color: var(--text-main); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--secondary-hover); border-color: var(--primary); }

.btn-accent { background: linear-gradient(135deg, var(--wine), var(--primary)); color: #fff; }

.glow { animation: pulseGlow 2s infinite; }
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(223, 187, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(223, 187, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(223, 187, 0, 0); }
}

/* ====== Glassmorphism ====== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* ====== Header (Sticky Banner) ====== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(11, 6, 8, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.header-top { display: flex; justify-content: space-between; align-items: center; flex: 1; min-width: max-content; }
.logo { font-size: 1.55rem; font-weight: 800; display: flex; align-items: center; gap: 10px; color: var(--text-main); white-space: nowrap; letter-spacing: 0.5px; }
.logo-text { background: linear-gradient(135deg, var(--primary), var(--wine)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.header-action { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.btn-header { padding: 6px 16px; font-size: 0.85rem; border-radius: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.mini-countdown { font-size: 0.85rem; font-weight: 700; color: var(--primary); background: var(--primary-muted); padding: 4px 10px; border-radius: 20px; border: 1px solid rgba(223, 187, 0, 0.3); }

/* ====== FOMO Marquee Tags ====== */
.fomo-tags-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    margin: 0 15px;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.fomo-tags { display: flex; gap: 10px; animation: scrollMarquee 24s linear infinite; white-space: nowrap; }
.fomo-tags:hover { animation-play-state: paused; }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.fomo-tag {
    transform: skewX(-15deg);
    padding: 4px 15px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.18);
}
.fomo-tag span { transform: skewX(15deg); display: inline-block; }

.f-gold { background: linear-gradient(135deg, #DFBB00, #A8830C); color: #1C0A10; }
.f-wine { background: linear-gradient(135deg, #C8103F, #7A0824); }
.f-purple { background: linear-gradient(135deg, #A855F7, #6D28D9); }
.f-blue { background: linear-gradient(135deg, #38BDF8, #1D4ED8); }
.f-green { background: linear-gradient(135deg, #22C55E, #047857); }
.f-orange { background: linear-gradient(135deg, #F59E0B, #C2410C); }

/* ====== Glow Orbs ====== */
.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 187, 0, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}
.glow-orb.top-left { top: -100px; left: -100px; background: radial-gradient(circle, rgba(200, 16, 63, 0.18) 0%, rgba(0,0,0,0) 70%); }
.glow-orb.bottom-right { bottom: -100px; right: -100px; background: radial-gradient(circle, rgba(223, 187, 0, 0.15) 0%, rgba(0,0,0,0) 70%); }
.glow-orb.center { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; }
.glow-orb.top-right { top: 0; right: 0; background: radial-gradient(circle, rgba(200, 16, 63, 0.15) 0%, rgba(0,0,0,0) 70%); }

/* ====== Sections ====== */
section { padding: 100px 0; position: relative; }
#download-actions { scroll-margin-top: 96px; }
.section-header { margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; color: var(--primary); line-height: 1.25; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 760px; margin: 0 auto; }

/* ====== Hero ====== */
.hero { min-height: calc(100vh - 120px); display: flex; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.hero-container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-muted);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(223, 187, 0, 0.4);
}

.hero-title {
    font-size: 2.55rem;
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 22px;
    text-shadow: 0 0 30px rgba(223,187,0,0.10);
    display: flex;
    flex-direction: column;
    gap: 0.4em;
}
.hero-title__line { display: block; }
.hero-title__line--accent {
    font-size: 0.82em;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
    text-shadow: 0 0 24px rgba(223, 187, 0, 0.30);
}

.hero-body {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 600px;
}
.hero-body__lead { margin-bottom: 1rem; line-height: 1.65; color: #E8DEE2; }
.hero-body__lead strong { color: var(--text-main); font-weight: 700; }

.hero-body__bullets {
    list-style: none;
    margin: 0 0 1.1rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.hero-body__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    font-size: 0.98rem;
    color: #D1C4C9;
}
.hero-body__bullets li strong { color: var(--primary); font-weight: 700; margin-right: 4px; }
.hero-body__bullets li i {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 1.15rem;
    color: var(--success);
}

.hero-body__highlight {
    margin: 0 0 1rem 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(223, 187, 0, 0.35);
    background: rgba(223, 187, 0, 0.08);
    color: #F1E8EC;
    line-height: 1.55;
    font-size: 0.98rem;
}

.hero-body__closing { margin: 0; line-height: 1.6; font-size: 0.98rem; color: var(--text-muted); }
.hero-body__closing strong { color: var(--text-main); display: block; margin-bottom: 6px; }
.hero-body__closing-tagline { display: block; color: #E8DEE2; font-weight: 600; }

.hero-cta { display: flex; gap: 15px; flex-wrap: wrap; }
.mockup-img { width: 100%; height: auto; border-radius: 12px; display: block; border: 1px solid var(--glass-border); box-shadow: 0 20px 40px rgba(0,0,0,0.6); }

/* ====== Grid Layouts ====== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* ====== Problem Cards ====== */
.problem-card { padding: 30px; text-align: center; transition: transform 0.3s; }
.problem-card:hover { transform: translateY(-5px); border-color: rgba(200, 16, 63, 0.4); }
.icon-box { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 20px auto; }
.icon-box.red { background: rgba(200, 16, 63, 0.12); color: var(--wine); }
.problem-card h3 { margin-bottom: 10px; font-size: 1.2rem; color: var(--text-main); }
.problem-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }

/* ====== Solution Feature Cards ====== */
.feature-card { padding: 30px; transition: transform 0.3s; position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); border-color: rgba(223, 187, 0, 0.4); }
.feature-header { display: flex; align-items: center; margin-bottom: 15px; flex-wrap: wrap; gap: 10px; }
.feature-header h3 { font-size: 1.3rem; margin-right: auto; color: var(--text-main); }
.tag { font-size: 0.75rem; background: var(--secondary); padding: 4px 10px; border-radius: 20px; border: 1px solid var(--border); color: var(--primary); font-weight: 700; }
.feature-card p { color: var(--text-muted); margin-bottom: 15px; line-height: 1.6; }
.feature-card ul li { margin-bottom: 10px; font-size: 0.95rem; display: flex; align-items: flex-start; gap: 8px; color: #D6CACE; }
.feature-card ul li i { margin-top: 4px; flex-shrink: 0; }

/* Feature themes (4 nhóm tools) */
.feat-gold { border-top: 3px solid var(--primary); }
.feat-gold:hover { box-shadow: 0 10px 30px rgba(223, 187, 0, 0.18); }
.feat-gold .icon-box { background: rgba(223, 187, 0, 0.15); color: var(--primary); }

.feat-wine { border-top: 3px solid var(--wine); }
.feat-wine:hover { box-shadow: 0 10px 30px rgba(200, 16, 63, 0.18); }
.feat-wine .icon-box { background: rgba(200, 16, 63, 0.15); color: var(--wine); }

.feat-purple { border-top: 3px solid var(--purple); }
.feat-purple:hover { box-shadow: 0 10px 30px rgba(168, 85, 247, 0.18); }
.feat-purple .icon-box { background: rgba(168, 85, 247, 0.15); color: var(--purple); }

.feat-blue { border-top: 3px solid var(--blue); }
.feat-blue:hover { box-shadow: 0 10px 30px rgba(56, 189, 248, 0.18); }
.feat-blue .icon-box { background: rgba(56, 189, 248, 0.15); color: var(--blue); }

/* ====== Features Detail (32 tools) ====== */
.feature-group { margin-bottom: 60px; }
.feature-group:last-child { margin-bottom: 0; }
.feature-group-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}
.feature-group-title i { font-size: 1.7rem; }

.feature-group-hint {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.85;
}
.feature-group-hint i { font-size: 1rem; color: var(--primary); }

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tool-card {
    position: relative;
    padding: 18px;
    padding-right: 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(247, 232, 213, 0.02);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}
.tool-card:hover {
    transform: translateY(-3px);
    background: rgba(223, 187, 0, 0.06);
    border-color: rgba(223, 187, 0, 0.35);
}

/* Card có link demo TikTok */
.tool-card--link {
    cursor: pointer;
}
.tool-card--link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent 60%, rgba(223, 187, 0, 0.10) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.tool-card--link:hover::after { opacity: 1; }
.tool-card--link:hover {
    box-shadow: 0 12px 32px rgba(223, 187, 0, 0.18);
    border-color: rgba(223, 187, 0, 0.55);
}
.tool-card--link:hover .tool-card__badge {
    background: linear-gradient(135deg, var(--primary) 0%, #f0c808 100%);
    color: #1C0A10;
    transform: scale(1.05);
}
.tool-card--link:active { transform: translateY(-1px); }

/* Badge "Demo / Sắp có demo" góc trên phải */
.tool-card__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
    background: rgba(0, 0, 0, 0.55);
    color: var(--primary);
    border: 1px solid rgba(223, 187, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    z-index: 2;
}
.tool-card__badge i { font-size: 0.85rem; }
.tool-card__badge--soon {
    color: var(--text-muted);
    border-color: var(--border);
    background: rgba(0, 0, 0, 0.45);
}

/* Card không có link (placeholder) */
.tool-card--nolink {
    opacity: 0.78;
    cursor: default;
}
.tool-card--nolink:hover {
    transform: none;
    background: rgba(247, 232, 213, 0.02);
    border-color: var(--border);
}

/* Number adjustment khi có badge ở góc */
.tool-card .tool-content { padding-top: 18px; }
@media (min-width: 769px) {
    .tool-card .tool-content { padding-top: 0; padding-right: 56px; }
}

.tool-num {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.5px;
}
.tool-num.gold { background: rgba(223, 187, 0, 0.15); color: var(--primary); border: 1px solid rgba(223, 187, 0, 0.4); }
.tool-num.wine { background: rgba(200, 16, 63, 0.15); color: var(--wine); border: 1px solid rgba(200, 16, 63, 0.4); }
.tool-num.purple { background: rgba(168, 85, 247, 0.15); color: var(--purple); border: 1px solid rgba(168, 85, 247, 0.4); }
.tool-num.blue { background: rgba(56, 189, 248, 0.15); color: var(--blue); border: 1px solid rgba(56, 189, 248, 0.4); }

.tool-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    line-height: 1.3;
}
.tool-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ====== Demo Flow ====== */
.steps-container { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.step-card { flex: 1; text-align: center; position: relative; z-index: 2; padding: 0 10px; }
.step-number {
    width: 64px; height: 64px;
    background: var(--primary);
    color: #1C0A10;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 800;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 28px rgba(223, 187, 0, 0.55);
}
.step-content h3 { margin-bottom: 10px; color: var(--text-main); font-size: 1.25rem; }
.step-content p { color: var(--text-muted); line-height: 1.55; }
.step-connector { flex: 0.5; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); margin-top: 32px; opacity: 0.5; }

/* ====== Benefits ====== */
.benefit-flex { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.benefit-content h2 { font-size: 2.2rem; margin-bottom: 30px; color: var(--primary); line-height: 1.3; }
.benefit-list li { display: flex; gap: 18px; margin-bottom: 24px; align-items: flex-start; }
.benefit-list li i { font-size: 1.7rem; background: var(--primary-muted); padding: 12px; border-radius: 12px; color: var(--primary); flex-shrink: 0; }
.benefit-list li strong { display: block; font-size: 1.1rem; margin-bottom: 6px; color: var(--text-main); }
.benefit-list li div { color: var(--text-muted); line-height: 1.55; }

.benefit-image { padding: 40px; text-align: center; }
.revenue-mockup { display: flex; flex-direction: column; gap: 20px; }
.rev-stat {
    background: rgba(0,0,0,0.4);
    padding: 25px;
    border-radius: 12px;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    text-align: center;
}
.rev-label { font-weight: 600; font-size: 1rem; color: var(--text-main); }
.rev-value { font-size: 2rem; font-weight: 800; }

/* ====== Social Proof ====== */
.stats-row { display: flex; justify-content: center; gap: 50px; margin-top: 30px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-item .number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.stat-item .label { color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }

.feedback-card { padding: 30px; }
.stars { color: var(--primary); font-size: 1.2rem; margin-bottom: 15px; letter-spacing: 2px; }
.quote { font-style: italic; color: #D6CACE; margin-bottom: 20px; line-height: 1.65; }
.user-info { display: flex; align-items: center; gap: 15px; }
.avatar {
    width: 45px; height: 45px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--wine));
    color: #1C0A10;
}
.user-details strong { display: block; line-height: 1.2; color: var(--text-main); }
.user-details span { font-size: 0.85rem; color: var(--text-muted); }

/* ====== Pricing CTA ====== */
.pricing-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}
.price-highlight {
    padding: 30px 24px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}
.price-highlight:hover { transform: translateY(-5px); }
.price-highlight.popular-highlight { border-color: var(--primary); box-shadow: 0 10px 40px rgba(223, 187, 0, 0.18); }
.price-highlight.lifetime-highlight { border-color: var(--wine); box-shadow: 0 10px 40px rgba(200, 16, 63, 0.20); }

.badge-popular, .badge-lifetime {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.badge-popular { background: var(--primary); color: #1C0A10; }
.badge-lifetime { background: linear-gradient(135deg, var(--wine), var(--primary)); color: #fff; }

.price-tag { font-size: 1rem; color: var(--text-muted); font-weight: 600; margin-bottom: 12px; }
.price-num { font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.price-num span { font-size: 1rem; color: var(--text-muted); margin-left: 4px; font-weight: 600; }
.price-note { font-size: 0.9rem; color: var(--text-muted); }
.price-note del { color: rgba(184, 168, 173, 0.6); }

.pricing-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ====== FAQ ====== */
.faq-container { max-width: 800px; }
.accordion { display: flex; flex-direction: column; gap: 15px; }
.accordion-item {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}
.accordion-item:hover { border-color: rgba(223, 187, 0, 0.3); }
.accordion-header {
    width: 100%; padding: 20px;
    background: transparent; border: none;
    color: var(--text-main); text-align: left;
    font-size: 1.05rem; font-weight: 600;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-family);
}
.accordion-header:hover { color: var(--primary); }
.accordion-header i { transition: transform 0.3s ease; }
.accordion-content {
    padding: 0 20px;
    max-height: 0; overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
    line-height: 1.65;
}
.accordion-item.active .accordion-content { padding: 0 20px 20px 20px; max-height: 300px; }
.accordion-item.active .accordion-header i { transform: rotate(180deg); color: var(--primary); }
.accordion-item.active { border-color: rgba(223, 187, 0, 0.4); }

/* ====== Final CTA ====== */
.final-cta-sub {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.cta-action-btn {
    flex: 1 1 260px;
    max-width: 340px;
    min-height: 112px;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    font-weight: 700;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    color: var(--text-main);
}

.cta-action-btn i { font-size: 1.65rem; margin-bottom: 2px; opacity: 0.95; }
.cta-action-btn__label { font-size: 1.05rem; line-height: 1.35; letter-spacing: -0.01em; }
.cta-action-btn__hint { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); line-height: 1.4; }
.cta-action-btn:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55); }

/* Zalo */
.cta-action-btn--zalo {
    border-color: rgba(56, 189, 248, 0.45);
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.20) 0%, rgba(37, 99, 235, 0.12) 100%);
}
.cta-action-btn--zalo i { color: #38BDF8; }
.cta-action-btn--zalo:hover {
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 18px 48px rgba(14, 165, 233, 0.22);
}

/* Tải VCP — gold primary */
.cta-action-btn--app {
    border-color: rgba(223, 187, 0, 0.55);
    background: linear-gradient(145deg, rgba(223, 187, 0, 0.95) 0%, rgba(240, 200, 8, 0.88) 100%);
    color: #1C0A10;
}
.cta-action-btn--app .cta-action-btn__hint { color: rgba(28, 10, 16, 0.72); }
.cta-action-btn--app i { color: #1C0A10; }
.cta-action-btn--app:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 18px 52px rgba(223, 187, 0, 0.40);
}

/* Bảng giá — wine accent */
.cta-action-btn--installer {
    border-color: rgba(200, 16, 63, 0.45);
    background: linear-gradient(145deg, rgba(200, 16, 63, 0.16) 0%, rgba(28, 16, 21, 0.92) 100%);
}
.cta-action-btn--installer i { color: var(--wine); }
.cta-action-btn--installer:hover {
    border-color: rgba(200, 16, 63, 0.65);
    box-shadow: 0 18px 48px rgba(200, 16, 63, 0.22);
}

/* ====== Modal — chặn tải khi không phải Windows ====== */
.platform-modal {
    position: fixed; inset: 0;
    z-index: 10000;
    display: none;
    align-items: center; justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    font-family: var(--font-family);
}
.platform-modal.is-open { display: flex; }
.platform-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(11, 6, 8, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}
.platform-modal__panel {
    position: relative; z-index: 1;
    width: 100%; max-width: 420px;
    padding: 1.6rem 1.4rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(165deg, var(--bg-secondary) 0%, var(--bg-darker) 100%);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    text-align: center;
}
.platform-modal__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.35;
}
.platform-modal__text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.platform-modal__text strong { color: var(--primary); }
.platform-modal__btn { width: 100%; padding: 12px; justify-content: center; }

/* ====== RCO Cross-sell Section ====== */
.rco-crosssell { padding: 80px 0 100px; background: var(--bg-darker); position: relative; overflow: hidden; }
.rco-crosssell::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.10) 0%, transparent 70%);
    pointer-events: none;
}
.rco-crosssell::after {
    content: "";
    position: absolute;
    bottom: -100px; left: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 187, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.rco-card {
    padding: 0;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(56, 189, 248, 0.20);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, rgba(28, 16, 21, 0.95) 100%);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    border-radius: 20px;
}

.rco-card__badge {
    background: linear-gradient(135deg, #38BDF8, #1D4ED8);
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rco-card__body {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    padding: 36px 40px 40px;
    align-items: center;
}

.rco-card__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 14px;
    line-height: 1.3;
}
.rco-card__title strong { color: #38BDF8; }

.rco-card__desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
}
.rco-card__desc strong {
    color: #38BDF8;
    font-weight: 700;
}

.rco-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rco-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #D6CACE;
    line-height: 1.5;
}
.rco-card__features li i {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 1.1rem;
    color: #38BDF8;
}

.rco-card__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.btn-rco {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 22px 24px;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, #38BDF8 0%, #1D4ED8 100%);
    color: #fff;
    border: 1px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 12px 32px rgba(56, 189, 248, 0.25);
    transition: all 0.3s ease;
    text-align: center;
}
.btn-rco i { font-size: 2rem; }
.btn-rco__label { font-size: 1.1rem; line-height: 1.3; }
.btn-rco__hint { font-size: 0.8rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.btn-rco:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(56, 189, 248, 0.45);
    border-color: rgba(255, 255, 255, 0.4);
}

.rco-card__note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    margin: 0;
}

@media (max-width: 768px) {
    .rco-card__body {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 22px 32px;
    }
    .rco-card__title { font-size: 1.4rem; }
    .btn-rco { padding: 18px 20px; }
    .btn-rco i { font-size: 1.7rem; }
    .btn-rco__label { font-size: 1rem; }
}

/* ====== Footer ====== */
.footer { padding: 30px 0; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.9rem; background: var(--bg-darker); }

/* ====== Floating Action Button ====== */
.floating-btn {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 65px; height: 65px;
    background: linear-gradient(135deg, var(--primary), var(--wine));
    color: #1C0A10;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.8rem;
    z-index: 999;
    transition: transform 0.3s ease;
    border: 3px solid rgba(247, 232, 213, 0.30);
}
.floating-btn:hover { transform: translateY(-5px) scale(1.05); color: #1C0A10; }

/* ====== Animations ====== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* ====== Responsive ====== */
@media (max-width: 992px) {
    .hero-container, .benefit-flex { grid-template-columns: 1fr; gap: 40px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .tool-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-highlight-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .hero { min-height: auto; padding-top: 50px; text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-body { margin-left: auto; margin-right: auto; text-align: left; }
}

@media (max-width: 768px) {
    body { padding-top: 110px; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .tool-grid { grid-template-columns: 1fr; gap: 12px; }
    .tool-card { padding: 14px; gap: 12px; }
    .tool-num { width: 38px; height: 38px; font-size: 0.95rem; }
    .pricing-highlight-grid { grid-template-columns: 1fr; gap: 30px; }
    .steps-container { flex-direction: column; gap: 30px; }
    .step-connector { display: none; }
    .hero-title { font-size: 2rem; line-height: 1.22; }
    .hero-mockup { padding: 0 8px; }
    .section-header h2 { font-size: 1.85rem; line-height: 1.25; }
    .section-header p { font-size: 0.98rem; padding: 0 8px; }
    .feature-group-title { font-size: 1.25rem; }
    .feature-group-title i { font-size: 1.4rem; }
    section { padding: 60px 0; }
    .container { padding: 0 16px; }
    .floating-btn {
        bottom: max(20px, env(safe-area-inset-bottom));
        right: max(20px, env(safe-area-inset-right));
        width: 55px; height: 55px;
        font-size: 1.5rem;
    }

    /* Header Mobile */
    .header-inner { flex-direction: column; padding: 5px 0; gap: 5px; width: 100%; }
    .header-top { width: 100%; justify-content: space-between; min-width: auto; flex: none; }
    .logo-text { font-size: 1.05rem; }
    .logo img { height: 30px !important; }
    .mini-countdown { display: none; }
    .btn-header { padding: 5px 12px; font-size: 0.72rem; }
    .fomo-tags-container { width: 100%; margin: 0; padding-top: 8px; border-top: 1px solid rgba(223,187,0,0.10); }

    /* Final CTA Mobile (đồng bộ với RCO) */
    .final-cta { padding-top: 72px; padding-bottom: 72px; }
    .final-cta h2 {
        font-size: clamp(1.25rem, 4.5vw, 1.65rem);
        line-height: 1.28;
        padding: 0 6px;
    }
    .final-cta-sub { font-size: 1rem; padding: 0 10px; margin-top: 12px; }
    .final-cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        width: 100%;
        max-width: 100%;
        padding: 0 4px;
    }
    .cta-action-btn {
        flex: 0 0 auto;
        max-width: none;
        width: 100%;
        min-height: 56px;
        padding: 0.95rem 1rem;
        border-radius: 12px;
        gap: 4px;
        -webkit-tap-highlight-color: rgba(223, 187, 0, 0.15);
    }
    .cta-action-btn i { font-size: 1.2rem; margin-bottom: 0; }
    .cta-action-btn:active { transform: scale(0.99); }
    .cta-action-btn__label { font-size: 0.98rem; line-height: 1.3; }
    .cta-action-btn__hint { font-size: 0.74rem; line-height: 1.3; }
}

@media (max-width: 480px) {
    body { padding-top: 118px; }
    .hero-title { font-size: 1.65rem; line-height: 1.22; }
    .hero-subtitle, .hero-cta .btn, .hero-bullet { font-size: 0.95rem; }
    .hero-cta { flex-direction: column; gap: 10px; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .section-header h2 { font-size: 1.5rem; }
    .section-header p { font-size: 0.92rem; }
    .feature-group-title { font-size: 1.1rem; padding-bottom: 10px; }
    .feature-group { margin-bottom: 40px; }
    section { padding: 50px 0; }
    .container { padding: 0 12px; }

    /* Final CTA */
    .final-cta h2 { font-size: 1.2rem; }
    .final-cta-sub { font-size: 0.92rem; }
    .cta-action-btn { padding: 0.85rem 0.9rem; min-height: 52px; }
    .cta-action-btn i { font-size: 1.1rem; }
    .cta-action-btn__label { font-size: 0.94rem; }
    .cta-action-btn__hint { font-size: 0.72rem; }

    /* Header tiny */
    .logo-text { font-size: 1rem; }
    .logo img { height: 26px !important; }
    .btn-header { padding: 4px 9px; font-size: 0.66rem; }
    .fomo-tag { font-size: 0.7rem; padding: 3px 8px; }

    /* Floating button safe spacing */
    .floating-btn { width: 50px; height: 50px; font-size: 1.35rem; bottom: max(16px, env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); }

    /* RCO cross-sell tiny */
    .rco-card__badge { font-size: 0.78rem; padding: 8px 14px; letter-spacing: 0.8px; }
    .rco-card__title { font-size: 1.2rem; }
    .rco-card__desc { font-size: 0.95rem; }
    .rco-card__features li { font-size: 0.88rem; }
    .btn-rco { padding: 16px 18px; }
    .btn-rco i { font-size: 1.5rem; }
    .btn-rco__label { font-size: 0.95rem; }

    .price-num { font-size: 2rem; }
}
