/* ----- CSS Custom Properties ----- */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #12122a;
    --bg-tertiary: #1a1a3a;
    --bg-card: #161630;
    --bg-elevated: #1e1e44;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0c0;
    --text-tertiary: #6a6a8a;
    --text-inverse: #0a0a1a;
    --accent-1: #667eea;
    --accent-2: #764ba2;
    --accent-3: #f093fb;
    --accent-4: #f5576c;
    --accent-gradient: linear-gradient(135deg, #667eea, #764ba2);
    --accent-gradient-2: linear-gradient(135deg, #f093fb, #f5576c);
    --accent-gradient-3: linear-gradient(135deg, #4facfe, #00f2fe);
    --gold: #f0c040;
    --green: #43e97b;
    --border-color: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(102,126,234,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-h: 72px;
    --max-w: 1280px;
    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.light {
    --bg-primary: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f2f8;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-tertiary: #8a8aaa;
    --text-inverse: #f0f0f5;
    --border-color: rgba(0,0,0,0.06);
    --border-hover: rgba(0,0,0,0.12);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 40px rgba(102,126,234,0.1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; width: 100%; position: relative; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    transition: background var(--transition), color var(--transition);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }
input { font-family: var(--font-body); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-secondary);
    transition: background var(--transition);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}
.top-bar-links { display: flex; align-items: center; gap: 16px; }
.top-bar-link { color: var(--text-tertiary); transition: color 0.2s; }
.top-bar-link:hover { color: var(--accent-1); }

/* ========== HEADER ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition), backdrop-filter var(--transition);
}
.light .header { background: rgba(255, 255, 255, 0.85); }
.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 24px;
    overflow: hidden;
}
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-icon {
    font-size: 28px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-text { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.logo-img { max-height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: transform 0.3s ease;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-tertiary); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: var(--text-primary); }
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    cursor: pointer;
}
.header-icon-btn:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }
.light .theme-toggle .sun-icon { display: block; }
.light .theme-toggle .moon-icon { display: none; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s; }

/* ========== SEARCH OVERLAY ========== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10,10,26,0.95);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-overlay-inner { width: 100%; max-width: 600px; padding: 0 24px; }
.search-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    transition: color 0.2s;
    cursor: pointer;
}
.search-close:hover { color: var(--text-primary); }
.search-box {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 2px solid var(--border-hover);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.search-box-icon { color: var(--text-tertiary); flex-shrink: 0; }
.search-input {
    flex: 1;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    outline: none;
}
.search-input::placeholder { color: var(--text-tertiary); }
.search-hints { display: flex; gap: 10px; flex-wrap: wrap; }
.search-hints span {
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--bg-tertiary);
    font-size: 13px;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.2s;
}
.search-hints span:hover { background: var(--accent-1); color: white; }
.search-results {
    margin-top: 24px;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
}
.search-results::-webkit-scrollbar { width: 4px; }
.search-results::-webkit-scrollbar-track { background: transparent; }
.search-results::-webkit-scrollbar-thumb { background: var(--text-tertiary); border-radius: 2px; }
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}
.search-result-item:hover {
    background: var(--bg-elevated);
    border-color: var(--accent-1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.search-result-cover {
    width: 36px; height: 48px; border-radius: 4px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 8px; font-weight: 700; text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-title {
    font-size: 14px; font-weight: 600; color: var(--text-primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}
.search-result-meta { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }
.search-result-count { font-size: 12px; color: var(--accent-1); font-weight: 500; flex-shrink: 0; }
.search-no-results { text-align: center; padding: 32px 16px; color: var(--text-tertiary); }
.search-no-results svg { width: 40px; height: 40px; margin-bottom: 12px; opacity: 0.3; }
.search-no-results p { font-size: 15px; }

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-particle {
    position: absolute;
    width: var(--s); height: var(--s);
    left: var(--x); top: var(--y);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102,126,234,0.08) 0%, transparent 70%);
    animation: heroPulse 6s ease-in-out infinite;
    animation-delay: var(--d);
}
@keyframes heroPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
.hero-inner {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 60px; padding: 80px 24px;
}
.hero-content { flex: 1; max-width: 580px; }
.hero-badge {
    display: inline-block; padding: 6px 16px; border-radius: 100px;
    background: rgba(102,126,234,0.15); border: 1px solid rgba(102,126,234,0.3);
    color: var(--accent-1); font-size: 13px; font-weight: 600; margin-bottom: 20px;
    animation: fadeInUp 0.6s ease;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 60px); font-weight: 800;
    line-height: 1.05; margin-bottom: 20px; letter-spacing: -1px;
    animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
    font-size: 17px; color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 32px; max-width: 480px; animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; animation: fadeInUp 0.6s ease 0.3s both; }
.hero-stats { display: flex; gap: 32px; animation: fadeInUp 0.6s ease 0.4s both; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.hero-stat-label { font-size: 13px; color: var(--text-tertiary); }
.hero-visual { flex: 1; display: flex; justify-content: center; perspective: 1000px; animation: fadeInUp 0.8s ease 0.3s both; }
.hero-cover-stack { position: relative; width: 280px; height: 360px; }
.hero-cover {
    position: absolute; width: 180px; height: 240px;
    transform: rotateY(var(--rot)) translateY(var(--y));
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1); cursor: pointer;
}
.hero-cover:hover { transform: rotateY(0deg) translateY(-20px) scale(1.05); z-index: 10; }
.hero-cover-1 { z-index: 1; left: 0; top: 20px; }
.hero-cover-2 { z-index: 2; left: 50px; top: 80px; }
.hero-cover-3 { z-index: 3; left: 100px; top: 50px; }
.hero-cover-4 { z-index: 0; left: 30px; top: 140px; }
.cover-art {
    width: 100%; height: 100%; border-radius: var(--radius-md);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: white; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative; overflow: hidden;
}
.cover-art::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 40%, rgba(0,0,0,0.3) 100%);
}
.cover-label { position: relative; z-index: 1; font-family: var(--font-display); font-size: 22px; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.cover-vol { position: relative; z-index: 1; font-size: 11px; font-weight: 500; opacity: 0.8; letter-spacing: 1px; margin-top: 4px; }
.hero-scroll-indicator {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--text-tertiary);
    animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 12px;
    font-size: 14px; font-weight: 600; font-family: var(--font-body);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    border: none; cursor: pointer;
}
.btn-primary {
    background: var(--accent-gradient); color: white;
    position: relative; overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(102,126,234,0.35); }
.btn-glow { box-shadow: 0 4px 20px rgba(102,126,234,0.25); }
.btn-glow:hover { box-shadow: 0 12px 40px rgba(102,126,234,0.45); }
.btn-outline {
    background: transparent; border: 2px solid var(--border-hover); color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--accent-1); color: var(--accent-1); transform: translateY(-2px); }
.btn-white { border-color: rgba(255,255,255,0.2); color: white; }
.btn-white:hover { border-color: rgba(255,255,255,0.5); color: white; }
.btn-ghost {
    background: transparent; color: var(--text-secondary); padding: 8px 16px;
}
.btn-ghost span { transition: transform 0.2s; display: inline-block; }
.btn-ghost:hover { color: var(--accent-1); }
.btn-ghost:hover span { transform: translateX(4px); }

/* ========== TRUST BAR ========== */
.trust-bar { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: var(--bg-secondary); }
.trust-bar-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; gap: 16px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.trust-item strong { display: block; font-weight: 600; color: var(--text-primary); }
.trust-item span { font-size: 13px; color: var(--text-tertiary); }
.trust-icon-wrapper { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-divider { width: 1px; height: 32px; background: var(--border-color); }

/* ========== SECTIONS ========== */
.section { padding: 60px 24px; }
.alt-bg { background: var(--bg-secondary); }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; gap: 16px; }
.section-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent-1); margin-bottom: 8px; }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 36px); font-weight: 800; line-height: 1.15; margin-bottom: 8px; }
.section-desc { color: var(--text-tertiary); font-size: 15px; }
.text-gradient { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ========== MAGAZINE GRID ========== */
.mag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
@media (min-width: 640px) { .mag-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .mag-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }
.mag-card {
    display: flex; flex-direction: column; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0; transform: translateY(30px);
}
.mag-card.visible { opacity: 1; transform: translateY(0); }
.mag-card:hover { transform: translateY(-8px); }
.mag-card:hover .mag-card-cover { box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.light .mag-card:hover .mag-card-cover { box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.mag-card-cover-wrap { position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.mag-card-cover {
    width: 100%; aspect-ratio: 93/125;
    border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: white; text-align: center; padding: 24px 16px;
    position: relative; overflow: hidden;
}
.mag-card-cover::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 35%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}
.mag-card-cover .cover-main {
    position: relative; z-index: 1;
    font-family: var(--font-display); font-size: 16px; font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3); line-height: 1.2;
}
.mag-card-info { padding: 12px 2px 0; }
.mag-card-title { font-size: 14px; font-weight: 600; color: var(--text-primary); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mag-card-price { font-size: 13px; color: var(--text-secondary); margin-top: 4px; font-weight: 500; }
.mag-card-price strong { font-weight: 700; color: var(--text-primary); }
.mag-card-saving { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }
.mag-card.free .mag-card-price { color: var(--green); font-weight: 600; }

/* ========== CATEGORIES STRIP ========== */
.categories-strip { padding: 40px 24px; background: var(--bg-secondary); }
.strip-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.strip-header h2 { font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.strip-arrows { display: flex; gap: 8px; }
.strip-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-color); background: var(--bg-card); color: var(--text-secondary); font-size: 20px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; cursor: pointer; }
.strip-arrow:hover { background: var(--accent-1); color: white; border-color: var(--accent-1); }
.categories-scroll-wrap { overflow: hidden; }
.categories-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; }
.categories-scroll::-webkit-scrollbar { display: none; }
.category-chip { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 100px; color: white; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: all 0.3s ease; flex-shrink: 0; }
.category-chip:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
.category-chip span { font-size: 18px; }

/* ========== PLUS BANNER ========== */
.plus-banner-new { padding: 60px 24px; }
.plus-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: linear-gradient(135deg, #0d0d2b, #1a1a4e); padding: 48px; display: flex; align-items: center; gap: 48px; }
.light .plus-card { background: linear-gradient(135deg, #e8ecf8, #d0d8f0); }
.light .plus-card-title, .light .plus-badge, .light .plus-card-desc, .light .plus-card-features span { color: var(--text-primary); }
.light .plus-badge { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); }
.plus-card-bg { position: absolute; inset: 0; overflow: hidden; }
.plus-glow { position: absolute; width: 400px; height: 400px; left: var(--x); top: var(--y); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(102,126,234,0.1) 0%, transparent 70%); }
.plus-card-content { position: relative; z-index: 2; flex: 1; color: white; }
.plus-badge { display: inline-block; padding: 6px 14px; border-radius: 100px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); font-size: 12px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 16px; }
.plus-card-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 36px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.plus-card-desc { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 24px; max-width: 480px; }
.plus-card-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.plus-card-features { display: flex; gap: 16px; flex-wrap: wrap; }
.plus-card-features span { font-size: 14px; color: rgba(255,255,255,0.6); }
.plus-card-visual { position: relative; z-index: 2; flex-shrink: 0; }
.plus-devices-showcase { display: flex; align-items: flex-end; gap: 12px; height: 240px; }
.plus-device { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s; }
.plus-device:hover { transform: translateY(-8px); }
.plus-screen { width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 10px; }
.plus-phone { width: 60px; height: 110px; border-radius: 10px; }
.plus-tablet { width: 110px; height: 150px; border-radius: 8px; }
.plus-laptop { width: 170px; height: 110px; border-radius: 6px; }

/* ========== TESTIMONIALS ========== */
.testimonials-new { padding: 60px 24px; background: var(--bg-secondary); }
.testimonials-track { display: flex; gap: 20px; max-width: var(--max-w); margin: 0 auto 24px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; padding: 4px; }
.testimonials-track::-webkit-scrollbar { display: none; }
.testi-card { flex: 0 0 calc(33.33% - 14px); min-width: 280px; scroll-snap-align: start; }
@media (max-width: 768px) { .testi-card { flex: 0 0 calc(100% - 4px); } }
.testi-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 28px; transition: all 0.3s ease; }
.testi-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow-md); }
.testi-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.testi-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.testi-author strong { display: block; font-size: 14px; color: var(--text-primary); }
.testi-author span { font-size: 12px; color: var(--text-tertiary); }
.testi-controls { display: flex; justify-content: center; gap: 8px; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--text-tertiary); opacity: 0.3; cursor: pointer; transition: all 0.3s; padding: 0; }
.testi-dot.active { width: 28px; border-radius: 4px; opacity: 1; background: var(--accent-1); }

/* ========== FOOTER ========== */
.footer-new { background: var(--bg-tertiary); border-top: 1px solid var(--border-color); padding: 48px 24px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; max-width: var(--max-w); margin: 0 auto 40px; }
.footer-brand-col { max-width: 320px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-text { color: var(--text-primary); }
.footer-brand-desc { font-size: 14px; color: var(--text-tertiary); line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.footer-social-link { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; color: var(--text-tertiary); transition: all 0.3s; }
.footer-social-link:hover { background: var(--accent-1); color: white; transform: translateY(-2px); }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-primary); margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: var(--text-tertiary); transition: all 0.2s; }
.footer-col a:hover { color: var(--accent-1); padding-left: 4px; }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.payment-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.payment-badges span { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; background: var(--bg-elevated); color: var(--text-tertiary); letter-spacing: 0.5px; }
.footer-copy { font-size: 13px; color: var(--text-tertiary); }

/* ========== MOBILE MENU ========== */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-menu-new { display: none; position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 85vw; background: var(--bg-primary); z-index: 300; transform: translateX(-100%); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); padding: 24px; overflow-y: auto; }
.mobile-menu-new.open { transform: translateX(0); }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-close { background: none; border: none; font-size: 24px; color: var(--text-secondary); transition: color 0.2s; cursor: pointer; }
.mobile-close:hover { color: var(--text-primary); }
.mobile-menu-links { margin-bottom: 24px; }
.mobile-link { display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--text-secondary); border-bottom: 1px solid var(--border-color); transition: color 0.2s; }
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover, .mobile-link.active { color: var(--accent-1); }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.mag-card { transition-delay: calc(var(--i, 0) * 0.05s); }

/* ========== LOADING SPINNER ========== */
.page-loader { position: fixed; inset: 0; z-index: 9999; background: var(--bg-primary); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; transition: opacity 0.5s ease, visibility 0.5s ease; opacity: 1; visibility: visible; }
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader .loader-logo { font-family: var(--font-display); font-size: 28px; font-weight: 800; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.page-loader .loader-logo .logo-icon { font-size: 32px; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--border-color); border-top-color: var(--accent-1); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-progress { width: 160px; height: 3px; border-radius: 3px; background: var(--border-color); overflow: hidden; }
.loader-progress-bar { height: 100%; width: 0%; border-radius: 3px; background: var(--accent-gradient); animation: loadProgress 1.2s ease-in-out forwards; }
@keyframes loadProgress { 0% { width: 0%; } 50% { width: 70%; } 100% { width: 100%; } }

/* ========== BACK TO TOP ========== */
.back-to-top { position: fixed; bottom: 32px; right: 32px; z-index: 150; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-gradient); border: none; color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 20px rgba(102,126,234,0.35); transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none; }
.back-to-top.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.back-to-top:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 30px rgba(102,126,234,0.5); }
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top .btt-tooltip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); background: var(--bg-elevated); color: var(--text-secondary); font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; border: 1px solid var(--border-color); }
.back-to-top .btt-tooltip::after { content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-left-color: var(--bg-elevated); }
.back-to-top:hover .btt-tooltip { opacity: 1; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--text-tertiary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

::selection { background: var(--accent-1); color: white; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-brand-col { grid-column: 1 / -1; max-width: none; }
    .plus-devices-showcase { display: none; }
    .plus-card { flex-direction: column; text-align: center; padding: 32px; }
    .plus-card-desc { margin: 0 auto 24px; }
    .plus-card-actions { justify-content: center; }
    .plus-card-features { justify-content: center; }
}
@media (max-width: 768px) {
    .top-bar-links { display: none; }
    .top-bar-msg { overflow: hidden; }
    .nav { display: none; }
    .menu-toggle { display: flex; }
    .hero-inner { flex-direction: column; text-align: center; padding: 60px 24px; }
    .hero-content { max-width: none; }
    .hero-desc { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .hero-scroll-indicator { display: none; }
    .trust-divider { display: none; }
    .trust-bar-inner { justify-content: center; gap: 16px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .mag-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .section { padding: 40px 16px; }
    .search-input { font-size: 20px; }
    .mobile-menu-new, .mobile-overlay { display: block; }
    .categories-scroll { gap: 8px; }
    .category-chip { padding: 10px 16px; font-size: 13px; }
    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
    .back-to-top .btt-tooltip { display: none; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 32px; }
    .mag-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .plus-card { padding: 24px; }
    .plus-card-features { flex-direction: column; align-items: center; }
}
