/* ===== NhacLabs Landing Page — Premium CSS ===== */

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Design Tokens ===== */
:root {
    --bg-dark: #0a0806;
    --bg-body: #0e0c06;
    --bg-warm: #1a1510;
    --bg-card: rgba(42, 37, 24, 0.45);
    --bg-card-solid: #1e1a12;
    --bg-glass: rgba(42, 37, 24, 0.3);
    --accent: #d4a017;
    --accent-hover: #e6b422;
    --accent-dark: #8b7320;
    --accent-dim: #5a4a18;
    --accent-glow: rgba(212, 160, 23, 0.15);
    --text-primary: #e8dcc8;
    --text-secondary: #a89878;
    --text-dim: #6a5a3a;
    --border: rgba(139, 115, 32, 0.25);
    --border-glow: rgba(212, 160, 23, 0.12);
    --glass-blur: 16px;
    --radius: 20px;
    --radius-sm: 12px;
    --radius-pill: 50px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

html {
    scroll-behavior: auto; /* snap_scroll.js xử lý trên desktop */
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--text-primary);
    background: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: default;
}

/* ===== CURSOR SPOTLIGHT ===== */
.cursor-spotlight {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(212, 160, 23, 0.18) 0%,
        rgba(212, 160, 23, 0.10) 25%,
        rgba(255, 240, 200, 0.05) 45%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    mix-blend-mode: screen;
    will-change: left, top;
}

/* TEXT SHADOW cho tất cả headings — đổ bóng mềm */
.hero-title,
.section-title,
.download-title,
.pricing-name,
.step-title,
.feature-title {
    text-shadow:
        0 2px 20px rgba(212, 160, 23, 0.12),
        0 4px 40px rgba(0, 0, 0, 0.5);
}

.hero-subtitle,
.section-desc,
.download-desc {
    text-shadow:
        0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-badge,
.section-badge {
    text-shadow:
        0 1px 8px rgba(212, 160, 23, 0.15);
}

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

img {
    max-width: 100%;
}

/* ===== Particles Canvas ===== */
#particles-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ===== Gold Text ===== */
.gold {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover), #f0c040);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Container ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(14, 12, 6, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    filter: drop-shadow(0 0 10px rgba(212, 160, 23, 0.4));
    transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 0 16px rgba(212, 160, 23, 0.6));
    transform: scale(1.05);
}

.nav-logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(212, 160, 23, 0.08);
}

.nav-link.cta-link {
    background: linear-gradient(135deg, var(--accent), #b8880f);
    color: #1a1a0a;
    font-weight: 700;
    padding: 8px 20px;
}

.nav-link.cta-link:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
    transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #b8880f);
    color: #1a1a0a;
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
    box-shadow: 0 8px 40px rgba(212, 160, 23, 0.35);
    transform: translateY(-2px);
}

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

.btn-ghost:hover {
    background: rgba(212, 160, 23, 0.1);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 17px;
}

.btn-icon {
    font-size: 18px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    backdrop-filter: blur(var(--glass-blur));
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-subtitle strong {
    color: var(--accent);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: rgba(0, 0, 0, 0.3);
    background-image: url('img/pattern.png');
    background-size: 400px;
    background-repeat: repeat;
    background-blend-mode: overlay;
}

/* Screenshot section: ít padding hơn, đẩy ảnh lên */
#screenshot {
    padding: 30px 0 60px;
}

#screenshot .section-header {
    margin-bottom: 16px;
}

/* Pricing section: đẩy lên cao hơn */
#pricing {
    padding: 10px 0 40px;
}

#pricing .section-header {
    margin-bottom: 20px;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(212, 160, 23, 0.08);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== FEATURES CAROUSEL ===== */
.features-carousel-wrapper {
    position: relative;
    overflow: visible; /* Cho phép card hover tràn lên trên */
    margin: 0 -24px;
    padding: 15px 0 20px;
}

/* Gradient fade trái/phải */
.features-carousel-wrapper::before,
.features-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.features-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-body) 0%, transparent 100%);
}

.features-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-body) 0%, transparent 100%);
}

.features-carousel {
    display: flex;
    gap: 20px;
    padding: 20px 60px; /* Thêm space trên/dưới cho hover + space trái/phải cho nút mũi tên */
    overflow-x: auto;
    overflow-y: hidden; /* Chặn cuộn dọc trong carousel */
    scrollbar-width: none;
    -ms-overflow-style: none;
    will-change: scroll-position;
    cursor: grab;
}

/* === Nút mũi tên < > === */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(212, 160, 23, 0.3);
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(8px);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
}

.carousel-arrow-left {
    left: 8px;
}

.carousel-arrow-right {
    right: 8px;
}

.carousel-arrow:hover {
    opacity: 1;
    border-color: var(--accent);
    background: rgba(212, 160, 23, 0.15);
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.features-carousel::-webkit-scrollbar {
    display: none;
}

.feature-card {
    position: relative;
    flex-shrink: 0;
    width: 280px;
    min-height: 220px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px 22px;
    backdrop-filter: blur(var(--glass-blur));
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s ease;
}

/* Viền sáng trên cùng */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Glow overlay khi hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 160, 23, 0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

/* Hover: phóng to + border sáng + glow */
.feature-card:hover {
    transform: scale(1.08) translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(212, 160, 23, 0.2),
                0 0 60px rgba(212, 160, 23, 0.08),
                0 20px 50px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

/* Khi đang cuộn: bóp nhỏ + ép ngang */
.features-carousel.is-scrolling .feature-card {
    transform: scale(0.92) scaleX(0.96);
}

/* Khi đang cuộn, tắt hover effect */
.features-carousel.is-scrolling .feature-card:hover {
    transform: scale(0.92) scaleX(0.96);
    box-shadow: none;
    border-color: var(--border);
}

/* === Feature Tag Badges === */
.feature-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-core {
    background: rgba(212, 160, 23, 0.12);
    color: var(--accent);
    border: 1px solid rgba(212, 160, 23, 0.25);
}

.tag-hot {
    background: rgba(255, 80, 50, 0.12);
    color: #ff6b4a;
    border: 1px solid rgba(255, 80, 50, 0.25);
}

.tag-ai {
    background: rgba(100, 180, 255, 0.12);
    color: #64b4ff;
    border: 1px solid rgba(100, 180, 255, 0.25);
}

.tag-pro {
    background: rgba(180, 100, 255, 0.12);
    color: #b464ff;
    border: 1px solid rgba(180, 100, 255, 0.25);
}

.tag-auto {
    background: rgba(80, 200, 120, 0.12);
    color: #50c878;
    border: 1px solid rgba(80, 200, 120, 0.25);
}

.tag-fast {
    background: rgba(255, 200, 50, 0.12);
    color: #ffc832;
    border: 1px solid rgba(255, 200, 50, 0.25);
}

/* === Feature Icon (SVG) === */
.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(212, 160, 23, 0.08);
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.feature-card:hover .feature-icon {
    background: rgba(212, 160, 23, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.2);
    transform: scale(1.1);
}

.feature-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

.feature-desc em {
    color: var(--accent);
    font-style: normal;
    font-weight: 500;
}

/* ===== SCREENSHOT ===== */
.screenshot-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.screenshot-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.screenshot-mockup {
    position: relative;
    z-index: 1;
    background: var(--bg-card-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5),
        0 0 60px var(--accent-glow);
}

.screenshot-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.screenshot-img.active {
    opacity: 1;
    position: relative;
}

.screenshot-toggle {
    position: relative;
}

.screenshot-lang-label {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(14, 12, 6, 0.85);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    z-index: 2;
    transition: all 0.3s ease;
}

/* ===== LANG TOGGLE BUTTON ===== */
.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(212, 160, 23, 0.4);
    border-radius: 50%;
    background: rgba(212, 160, 23, 0.1);
    backdrop-filter: blur(10px);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: var(--accent);
}

.lang-toggle:hover {
    border-color: var(--accent);
    background: rgba(212, 160, 23, 0.2);
    transform: scale(1.1) rotate(20deg);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* ===== Nav Social Buttons ===== */
.nav-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
}

.nav-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(42, 37, 24, 0.3);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-social-btn:hover {
    transform: scale(1.1);
}

.nav-zalo:hover {
    color: #7cb8ff;
    border-color: rgba(0, 106, 255, 0.5);
    background: rgba(0, 106, 255, 0.12);
    box-shadow: 0 0 12px rgba(0, 106, 255, 0.15);
}

.nav-fb:hover {
    color: #b8a8ff;
    border-color: rgba(100, 80, 220, 0.5);
    background: rgba(100, 80, 220, 0.12);
    box-shadow: 0 0 12px rgba(100, 80, 220, 0.15);
}

/* Mockup title bar */
.mockup-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(30, 26, 18, 0.8);
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot.red {
    background: #ff5f57;
}

.mockup-dot.yellow {
    background: #ffbd2e;
}

.mockup-dot.green {
    background: #28c840;
}

.mockup-title {
    margin-left: 8px;
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 600;
}

/* Mockup body */
.mockup-body {
    display: flex;
    min-height: 320px;
}

.mock-sidebar {
    width: 220px;
    border-right: 1px solid var(--border);
    padding: 8px;
    flex-shrink: 0;
}

.mock-header {
    padding: 10px 12px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-badge {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-dim);
    background: rgba(212, 160, 23, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.mock-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    transition: var(--transition);
}

.mock-item.active {
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid var(--border-glow);
}

.mock-icon {
    opacity: 0.4;
    font-size: 14px;
}

.mock-info {
    flex: 1;
    min-width: 0;
}

.mock-name {
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-artist {
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.mock-status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.mock-status.done {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.mock-status.pending {
    background: rgba(255, 193, 7, 0.1);
    color: var(--text-dim);
}

/* Mockup main */
.mock-main {
    flex: 1;
    padding: 16px 20px;
}

.mock-result-header {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.mock-bpm {
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, rgba(42, 37, 24, 0.5), rgba(14, 12, 6, 0.5));
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glow);
    margin-bottom: 12px;
}

.mock-bpm-value {
    font-size: 48px;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(212, 160, 23, 0.15);
}

.mock-bpm-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.mock-info-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.mock-card {
    flex: 1;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

.mock-card-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.mock-card-value {
    font-size: 15px;
    font-weight: 700;
}

.mock-chords {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.mock-chord-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 700;
}

.mock-chord {
    padding: 4px 12px;
    background: rgba(212, 160, 23, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(212, 160, 23, 0.15);
}

.mock-chord-sep {
    color: var(--text-dim);
    font-weight: 300;
}

/* Mockup player */
.mockup-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: linear-gradient(180deg, rgba(30, 26, 18, 0.9), rgba(14, 12, 6, 0.95));
    border-top: 1px solid var(--border);
    font-size: 12px;
}

.mp-name {
    width: 120px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mp-play {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--bg-dark);
}

.mp-timeline {
    flex: 1;
    height: 3px;
    background: rgba(139, 115, 32, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.mp-progress {
    width: 37%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 2px;
}

.mp-time {
    color: var(--text-dim);
    font-size: 11px;
    white-space: nowrap;
}

/* ===== STEPS ===== */
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.step-card {
    flex: 1;
    max-width: 300px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    backdrop-filter: blur(var(--glass-blur));
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-dark);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(212, 160, 23, 0.06);
    line-height: 1;
}

.step-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.step-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-arrow {
    font-size: 28px;
    color: var(--accent-dim);
    font-weight: 300;
    flex-shrink: 0;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
}

.pricing-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    backdrop-filter: blur(var(--glass-blur));
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: var(--accent-dark);
    background: linear-gradient(180deg, rgba(212, 160, 23, 0.06), var(--bg-glass));
    box-shadow: 0 0 40px var(--accent-glow);
}

.pricing-card.premium {
    border-color: #8b5cf6;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), rgba(212, 160, 23, 0.04), var(--bg-glass));
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15), 0 0 20px var(--accent-glow);
}

.pricing-card.premium .pricing-badge {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: #fff;
}

.pricing-card.premium .price-amount {
    background: linear-gradient(135deg, #a78bfa, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: linear-gradient(135deg, var(--accent), #b8880f);
    color: #1a1a0a;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 42px;
    font-weight: 900;
    color: var(--accent);
}

.price-old {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dim);
    text-decoration: line-through;
    opacity: 0.5;
    margin-right: 4px;
}

.price-period {
    font-size: 14px;
    color: var(--text-dim);
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pf-item {
    padding: 6px 0;
    font-size: 14px;
}

.pf-item.included {
    color: var(--text-primary);
}

.pf-item.excluded {
    color: var(--text-dim);
    text-decoration: line-through;
    opacity: 0.5;
}

/* ===== DOWNLOAD ===== */
.download-box {
    position: relative;
    text-align: center;
    background: linear-gradient(180deg, rgba(42, 37, 24, 0.4), rgba(14, 12, 6, 0.6));
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 64px 40px;
    overflow: hidden;
}

.download-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.download-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.download-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
}

.download-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-dim);
    position: relative;
}

.di-divider {
    color: var(--accent-dim);
}

.di-link {
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.di-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0 24px;
    position: relative;
    z-index: 1;
}

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

.footer-logo {
    font-size: 22px;
    font-weight: 800;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 4px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-zalo:hover {
    color: #7cb8ff;
    border-color: rgba(0, 106, 255, 0.4);
    background: rgba(0, 106, 255, 0.08);
}

.social-fb:hover {
    color: #b8a8ff;
    border-color: rgba(100, 80, 220, 0.4);
    background: rgba(100, 80, 220, 0.08);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-dim);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== NAV ACTIVE STATE ===== */
.nav-link.active {
    color: var(--accent);
    background: rgba(212, 160, 23, 0.1);
}

/* ===== SECTION DOTS (bên phải) ===== */
.section-dots {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--accent-dim);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 0;
    position: relative;
}

.dot::after {
    content: attr(title);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(14, 12, 6, 0.9);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.dot:hover::after {
    opacity: 1;
}

.dot:hover {
    border-color: var(--accent);
    transform: scale(1.3);
}

.dot.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(212, 160, 23, 0.4);
    transform: scale(1.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(14, 12, 6, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        gap: 4px;
    }

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

    .nav-toggle {
        display: flex;
    }

    .features-carousel .feature-card {
        width: 240px;
        min-height: 200px;
    }

    .steps-grid {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid.three-cols {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card {
        padding: 24px 18px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-value {
        font-size: 22px;
    }

    .mockup-body {
        flex-direction: column;
    }

    .mock-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

    .download-box {
        padding: 40px 20px;
    }

    .download-info {
        flex-direction: column;
        gap: 6px;
    }

    .di-divider {
        display: none;
    }

    .section-dots {
        display: none;
    }

    /* Hero — nhỏ gọn hơn trên mobile */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 42px);
    }

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

    /* Section — ít padding hơn */
    .section {
        padding: 60px 0;
    }

    #screenshot {
        padding: 20px 0 40px;
    }

    #pricing {
        padding: 10px 0 30px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: clamp(22px, 5vw, 32px);
    }

    /* Screenshot — full width trên mobile */
    .screenshot-wrapper {
        max-width: 100%;
        margin: 0 -10px;
    }

    .screenshot-mockup {
        border-radius: 8px;
    }

    .screenshot-lang-label {
        font-size: 11px;
    }

    /* Lang toggle nhỏ hơn */
    .lang-toggle {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    /* Mobile: cuộn tự nhiên, tắt snap scroll */
    html {
        scroll-snap-type: none !important;
        scroll-behavior: smooth;
    }

    /* Container padding */
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

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

    .pricing-name {
        font-size: 18px;
    }

    .price-amount {
        font-size: 28px;
    }

    .section-badge {
        font-size: 11px;
        padding: 4px 12px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .step-card {
        padding: 20px 16px;
    }
}

/* (Features grid removed — now carousel) */

/* ===== Roadmap Section ===== */
.roadmap-section {
    margin-top: 60px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    backdrop-filter: blur(var(--glass-blur));
    position: relative;
    overflow: hidden;
}

.roadmap-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.roadmap-header {
    text-align: center;
    margin-bottom: 32px;
}

.roadmap-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    animation: roadmapPulse 2.5s ease-in-out infinite;
}

.roadmap-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.roadmap-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.roadmap-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(212, 160, 23, 0.04);
    border: 1px solid rgba(139, 115, 32, 0.15);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.roadmap-item:hover {
    background: rgba(212, 160, 23, 0.08);
    border-color: var(--accent-dark);
    transform: translateX(4px);
}

.roadmap-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.roadmap-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

@keyframes roadmapPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0); }
    50% { box-shadow: 0 0 12px 2px rgba(212, 160, 23, 0.15); }
}

@media (max-width: 900px) {
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
    .roadmap-section {
        padding: 28px 18px;
    }
}

/* ===== Nút Chat Nổi (Floating Action Buttons) ===== */
.chat-fab-group {
    position: fixed;
    bottom: 28px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.chat-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 50px;
    height: 50px;
    border: 1px solid var(--border);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    backdrop-filter: blur(16px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    padding: 0 13px;
    white-space: nowrap;
    animation: chatFabPulse 3s ease-in-out infinite;
}

.chat-fab svg {
    flex-shrink: 0;
}

.chat-fab-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.35s ease, opacity 0.25s ease, margin-left 0.35s ease;
    margin-left: 0;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.chat-fab:hover .chat-fab-text {
    max-width: 90px;
    opacity: 1;
    margin-left: 8px;
}

.chat-fab:hover {
    width: auto;
    padding: 0 18px 0 13px;
    animation: none;
    transform: translateX(-4px);
}

.chat-fab:active {
    transform: translateY(2px) translateX(-4px);
    box-shadow: none !important;
    transition-duration: 0.08s;
}

/* Zalo — xanh Zalo */
.chat-fab-zalo {
    background: linear-gradient(135deg, rgba(0, 106, 255, 0.2), rgba(0, 80, 200, 0.4));
    border-color: rgba(0, 106, 255, 0.3);
    color: #7cb8ff;
    box-shadow: 0 4px 20px rgba(0, 80, 200, 0.2),
                0 0 12px rgba(0, 106, 255, 0.08);
}

.chat-fab-zalo:hover {
    background: linear-gradient(135deg, rgba(0, 106, 255, 0.35), rgba(0, 80, 200, 0.55));
    border-color: rgba(0, 106, 255, 0.5);
    box-shadow: 0 6px 28px rgba(0, 106, 255, 0.3),
                0 0 20px rgba(0, 106, 255, 0.12);
    color: #b0d8ff;
}

/* Facebook — tím Messenger */
.chat-fab-fb {
    background: linear-gradient(135deg, rgba(100, 80, 220, 0.2), rgba(80, 60, 180, 0.4));
    border-color: rgba(100, 80, 220, 0.3);
    color: #b8a8ff;
    box-shadow: 0 4px 20px rgba(80, 60, 180, 0.2),
                0 0 12px rgba(100, 80, 220, 0.08);
}

.chat-fab-fb:hover {
    background: linear-gradient(135deg, rgba(100, 80, 220, 0.35), rgba(80, 60, 180, 0.55));
    border-color: rgba(100, 80, 220, 0.5);
    box-shadow: 0 6px 28px rgba(100, 80, 220, 0.3),
                0 0 20px rgba(100, 80, 220, 0.12);
    color: #d4c8ff;
}

@keyframes chatFabPulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25),
                    0 0 10px rgba(212, 160, 23, 0.05);
    }
    50% {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3),
                    0 0 18px rgba(212, 160, 23, 0.1);
    }
}

/* Mobile: nút nhỏ hơn, sát mép */
@media (max-width: 768px) {
    .chat-fab-group {
        bottom: 20px;
        right: 16px;
        gap: 10px;
    }

    .chat-fab {
        width: 44px;
        height: 44px;
        border-radius: 22px;
        padding: 0 10px;
    }
}

/* ===== FOOTER SEO TEXT ===== */
.footer-seo {
    padding: 12px 0 0;
    border-top: 1px solid rgba(139, 115, 32, 0.1);
    margin-top: 16px;
}

.footer-seo p {
    font-size: 11px;
    color: rgba(168, 152, 120, 0.35);
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== SVG ICON UTILITIES (thay thế emoji) ===== */
.badge-svg {
    vertical-align: -2px;
    margin-right: 2px;
    color: var(--accent);
}

.tag-svg {
    vertical-align: -1px;
    margin-right: 2px;
}

.di-svg {
    vertical-align: -3px;
    margin-right: 4px;
    color: var(--accent);
}

.step-icon svg {
    color: var(--accent);
}

.roadmap-icon svg {
    color: var(--accent);
}

.pricing-badge .badge-svg {
    color: currentColor;
}

.btn-icon svg {
    vertical-align: -4px;
}

/* =========================================================
   CHANGELOG PAGE
   ========================================================= */

/* --- Changelog Hero --- */
.changelog-hero {
    position: relative;
    padding: 140px 24px 60px;
    text-align: center;
    overflow: hidden;
}

.changelog-hero-content {
    position: relative;
    z-index: 1;
}

.changelog-title {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 20px 0 16px;
    text-shadow: 0 2px 20px rgba(212, 160, 23, 0.12),
                 0 4px 40px rgba(0, 0, 0, 0.5);
}

.changelog-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Changelog Section --- */
.changelog-section {
    padding-top: 20px;
    padding-bottom: 80px;
}

/* --- Timeline --- */
.changelog-timeline {
    position: relative;
    padding-left: 48px;
}

/* Đường kẻ dọc timeline */
.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-dim) 80%, transparent 100%);
    border-radius: 2px;
}

/* --- Entry (mỗi phiên bản) --- */
.changelog-entry {
    position: relative;
    margin-bottom: 60px;
}

.changelog-entry:last-child {
    margin-bottom: 0;
}

/* Dot trên timeline */
.changelog-dot {
    position: absolute;
    left: -48px;
    top: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-body);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.25),
                0 0 40px rgba(212, 160, 23, 0.08);
    z-index: 1;
}

.changelog-dot svg {
    color: var(--accent);
}

/* --- Card --- */
.changelog-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(var(--glass-blur));
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.changelog-card:hover {
    border-color: rgba(212, 160, 23, 0.4);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(212, 160, 23, 0.06);
}

/* Card Header */
.changelog-card-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(212, 160, 23, 0.02);
}

.changelog-version-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.changelog-version {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover), #f0c040);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.changelog-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.changelog-tag.tag-new {
    background: rgba(80, 200, 120, 0.12);
    color: #50c878;
    border: 1px solid rgba(80, 200, 120, 0.25);
}

.changelog-tag.tag-update {
    background: rgba(100, 180, 255, 0.12);
    color: #64b4ff;
    border: 1px solid rgba(100, 180, 255, 0.25);
}

.changelog-tag.tag-fix {
    background: rgba(255, 140, 50, 0.12);
    color: #ff9040;
    border: 1px solid rgba(255, 140, 50, 0.25);
}

.changelog-card-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
}

.changelog-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.changelog-date svg {
    color: var(--accent-dark);
}

.changelog-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

/* --- Feature Groups --- */
.changelog-groups {
    padding: 24px 32px 32px;
    display: grid;
    gap: 28px;
}

.changelog-group {
    position: relative;
}

.changelog-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.changelog-group-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 160, 23, 0.08);
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
}

.changelog-group-icon svg {
    color: var(--accent);
}

.changelog-group-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

/* --- Changelog List --- */
.changelog-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    padding-left: 44px;
}

.changelog-list li {
    position: relative;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 28px;
}

.changelog-list li .cl-icon {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--accent);
    flex-shrink: 0;
}

.changelog-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.changelog-list li em {
    color: var(--accent);
    font-style: normal;
    font-weight: 500;
}

/* --- Changelog CTA --- */
.changelog-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .changelog-hero {
        padding: 120px 16px 40px;
    }

    .changelog-timeline {
        padding-left: 36px;
    }

    .changelog-timeline::before {
        left: 12px;
    }

    .changelog-dot {
        left: -36px;
        width: 28px;
        height: 28px;
    }

    .changelog-dot svg {
        width: 14px;
        height: 14px;
    }

    .changelog-card-header {
        padding: 20px 18px 16px;
    }

    .changelog-version {
        font-size: 22px;
    }

    .changelog-card-title {
        font-size: 18px;
    }

    .changelog-groups {
        padding: 16px 18px 24px;
    }

    .changelog-list {
        padding-left: 0;
    }

    .changelog-cta {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== CHECKOUT MODAL ===== */
.checkout-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

.checkout-modal {
    background: var(--bg-card-solid, #1e1a12);
    border: 1px solid var(--border, rgba(139, 115, 32, 0.25));
    border-radius: 20px;
    padding: 40px 32px;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(212, 160, 23, 0.1);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.checkout-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(139, 115, 32, 0.25);
    background: rgba(42, 37, 24, 0.5);
    color: #a89878;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.checkout-close:hover {
    background: rgba(212, 160, 23, 0.15);
    color: #d4a017;
    border-color: #d4a017;
}

.checkout-header {
    text-align: center;
    margin-bottom: 28px;
}

.checkout-header h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.checkout-price {
    font-size: 16px;
    color: #d4a017;
    font-weight: 600;
}

.checkout-field {
    margin-bottom: 24px;
}

.checkout-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #e8dcc8;
    margin-bottom: 8px;
}

.checkout-field input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(139, 115, 32, 0.3);
    background: rgba(14, 12, 6, 0.8);
    color: #e8dcc8;
    font-family: inherit;
    font-size: 15px;
    transition: 0.3s ease;
    outline: none;
}

.checkout-field input:focus {
    border-color: #d4a017;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.checkout-field input::placeholder {
    color: #6a5a3a;
}

.checkout-field small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #6a5a3a;
}

.checkout-submit {
    margin-top: 4px;
    padding: 16px 32px;
    font-size: 16px;
}

.checkout-note {
    text-align: center;
    font-size: 12px;
    color: #6a5a3a;
    margin-top: 16px;
}

@media (max-width: 480px) {
    .checkout-modal {
        padding: 32px 20px;
    }
}
