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

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #f0f4ff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-pink: #ec4899;
    --gradient-main: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
    --gradient-card: linear-gradient(145deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.05));
    --gradient-border: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.4));
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.bg-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(59, 130, 246, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(139, 92, 246, 0.06), transparent),
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(6, 182, 212, 0.04), transparent);
}

.bg-particles::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1.5px 1.5px at 50% 30%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 15% 85%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1.5px 1.5px at 85% 15%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 60% 90%, rgba(255,255,255,0.3), transparent);
    animation: twinkle 8s ease-in-out infinite alternate;
}

.bg-particles::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(59, 130, 246, 0.03) 49.5%, rgba(59, 130, 246, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(139, 92, 246, 0.02) 49.5%, rgba(139, 92, 246, 0.02) 50.5%, transparent 50.5%);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

@keyframes twinkle {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-logo i {
    font-size: 1.4rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    display: block;
    padding: 8px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

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

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

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

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12), transparent 70%);
    top: -100px;
    left: -200px;
    animation: float 12s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    bottom: -100px;
    right: -150px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-slogan {
    display: inline-block;
    padding: 8px 28px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fff;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 30px;
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
    animation: sloganGlow 3s ease-in-out infinite alternate;
}

@keyframes sloganGlow {
    0% { box-shadow: 0 0 10px rgba(236, 72, 153, 0.2), inset 0 0 10px rgba(236, 72, 153, 0.1); }
    100% { box-shadow: 0 0 25px rgba(236, 72, 153, 0.4), inset 0 0 20px rgba(139, 92, 246, 0.15); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

.wechat-id-text {
    color: var(--accent-green);
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-weight: 600;
    font-size: 1.05em;
}

.btn-copy-inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    color: var(--accent-green);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-copy-inline:hover {
    background: rgba(16, 185, 129, 0.25);
}

.btn-copy-inline:active {
    transform: scale(0.95);
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-1 { top: 25%; left: 8%; animation-delay: 0s; }
.card-2 { top: 35%; right: 8%; animation-delay: 2s; }
.card-3 { bottom: 25%; left: 12%; animation-delay: 4s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.82rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
}

.btn-copy {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.btn-copy:hover {
    background: rgba(59, 130, 246, 0.2);
}

.btn-download {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.btn-download:hover {
    background: rgba(16, 185, 129, 0.2);
}

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

.section-alt {
    background: rgba(255, 255, 255, 0.01);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title i {
    font-size: 1.6rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 50px;
}

/* ===== PRODUCTS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-glow);
}

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

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 20px;
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-orange);
    border: 1px solid rgba(245, 158, 11, 0.3);
    z-index: 2;
}

.product-badge.new {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    border-color: rgba(16, 185, 129, 0.3);
}

.product-badge.vip {
    background: rgba(236, 72, 153, 0.15);
    color: var(--accent-pink);
    border-color: rgba(236, 72, 153, 0.3);
}

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
}

.price {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-original {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ===== DOWNLOADS ===== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 28px;
}

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

.download-card:hover {
    border-color: rgba(59, 130, 246, 0.2);
}

.download-card.baidu .download-header i { color: #2932e1; }
.download-card.quark .download-header i { color: #6d5cff; }

.download-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.download-header i {
    font-size: 1.5rem;
}

.download-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.download-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.download-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.download-list li:hover {
    background: rgba(255, 255, 255, 0.04);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-info > i {
    font-size: 1.2rem;
    color: var(--accent-blue);
}

.file-info .file-name {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
}

.file-info .file-size {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.download-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-notice i {
    color: var(--accent-blue);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.contact-card {
    text-align: center;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 18px;
}

.contact-icon.wechat {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
}

.contact-icon.qq {
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-blue);
}

.contact-icon.time {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-orange);
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.contact-note {
    display: block;
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.btn-copy-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 8px;
    color: var(--accent-blue);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    margin-top: 4px;
}

.btn-copy-contact:hover {
    background: rgba(59, 130, 246, 0.2);
}

.btn-copy-contact:active {
    transform: scale(0.96);
}

.contact-id {
    user-select: all;
    cursor: text;
}

.qr-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
}

.qr-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.qr-container {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    animation: qrFadeIn 0.3s ease;
}

@keyframes qrFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.qr-container img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
}

.qr-hint {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-brand i {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.78rem;
    opacity: 0.7;
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

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

.modal-header {
    padding: 28px 28px 0;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-body {
    padding: 24px 28px 28px;
}

.order-info {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin-bottom: 24px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.order-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.order-row span:first-child {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.order-price {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-methods {
    margin-bottom: 24px;
}

.payment-methods h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.pay-options {
    display: flex;
    gap: 12px;
}

.pay-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.pay-option.active {
    border-color: var(--accent-green);
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent-green);
}

.pay-option:hover {
    background: rgba(255, 255, 255, 0.04);
}

.qr-section {
    margin-bottom: 24px;
}

.qr-placeholder {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

.qr-placeholder i {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 12px;
}

.qr-placeholder p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.qr-tip {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    margin-top: 8px;
}

.order-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.step.active {
    color: var(--accent-blue);
}

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step.active .step-num {
    background: var(--gradient-main);
    border-color: transparent;
    color: #fff;
}

.step-line {
    width: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-secondary);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-sm);
    color: var(--accent-green);
    font-size: 0.88rem;
    z-index: 3000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast i {
    font-size: 1rem;
}

/* ===== FEATURED PRODUCT CARD ===== */
.product-card-featured {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.featured-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.featured-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.featured-models {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.model-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.model-tabs::-webkit-scrollbar {
    display: none;
}

.model-tab {
    flex: 1;
    min-width: 0;
    padding: 8px 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-align: center;
    line-height: 1.3;
}

.model-tab:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.model-tab.active {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
    font-weight: 600;
}

.firmware-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 16px;
    user-select: none;
}

.firmware-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.firmware-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.service-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 16px;
    user-select: none;
}

.service-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.service-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.firmware-panels {
    position: relative;
    min-height: 80px;
}

.firmware-panel {
    display: none;
    padding: 14px 16px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 10px;
    margin-bottom: 20px;
}

.firmware-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.firmware-panel p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 4px;
}

.firmware-panel p:last-child {
    margin-bottom: 0;
}

.firmware-panel strong {
    color: var(--accent-orange);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-item.active {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
}

.service-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
}

.service-item.active .service-radio {
    border-color: var(--accent-blue);
}

.service-item.active .service-radio::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-blue);
}

.service-name {
    flex: 1;
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.service-item.active .service-name {
    color: var(--text-primary);
    font-weight: 500;
}

.service-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.card-warning {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    margin-bottom: 20px;
}

.card-warning i {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.card-warning span {
    font-size: 0.78rem;
    color: #f87171;
    line-height: 1.5;
}

.featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.featured-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.featured-footer .btn {
    padding: 12px 32px;
}

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

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .floating-card {
        display: none;
    }

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

    .product-card-featured {
        max-width: 100%;
    }

    .featured-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .featured-footer .btn {
        justify-content: center;
    }

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

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

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .modal {
        max-height: 85vh;
    }

    .order-steps {
        gap: 4px;
    }

    .step span:last-child {
        display: none;
    }
}

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

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

    .pay-options {
        flex-direction: column;
    }
}
