:root {
    --bg-primary: #050816;
    --bg-secondary: #0a0f1e;
    --bg-card: rgba(12, 17, 35, 0.7);
    --bg-glass: rgba(15, 23, 42, 0.6);
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --purple: #8b5cf6;
    --purple-glow: rgba(139, 92, 246, 0.15);
    --green: #10b981;
    --green-light: #34d399;
    --yellow: #f59e0b;
    --red: #ef4444;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(148, 163, 184, 0.08);
    --border-hover: rgba(59, 130, 246, 0.25);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

.bg-effects { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--accent-glow), transparent 70%); top: -200px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, var(--purple-glow), transparent 70%); top: 40%; right: -150px; animation-delay: -7s; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(16, 185, 129, 0.1), transparent 70%); bottom: -100px; left: 30%; animation-delay: -14s; }

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

.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

#particleCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.announcement-bar {
    background: linear-gradient(90deg, var(--accent), var(--purple));
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    z-index: 200;
}
.announcement-icon { margin-right: 0.5rem; }

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(5, 8, 22, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.header.scrolled {
    padding: 0.75rem 0;
    background: rgba(5, 8, 22, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-icon { flex-shrink: 0; }
.logo-text { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); }
.header-right { display: flex; align-items: center; gap: 1.5rem; }

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--green);
}
.live-dot {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.nav { display: flex; gap: 0.25rem; }
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-menu-btn span {
    width: 22px; height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: rgba(5, 8, 22, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    z-index: 99;
    flex-direction: column;
    gap: 0.25rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
}
.mobile-nav.open { transform: translateY(0); opacity: 1; }
.mobile-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}
.mobile-nav-link:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }

.hero {
    padding: 6rem 0 4rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('/assets/images/hero-bg.png') center center / cover no-repeat;
    opacity: 0.35;
    z-index: -2;
    filter: blur(1px);
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg,
        rgba(10, 10, 14, 0.4) 0%,
        rgba(10, 10, 14, 0.6) 40%,
        rgba(10, 10, 14, 0.85) 80%,
        rgba(10, 10, 14, 1) 100%
    );
    z-index: -1;
}
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}
.badge-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}
.hero-gradient {
    display: block;
    background: linear-gradient(135deg, var(--accent), var(--purple), var(--accent-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.75rem;
}
.hero-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.hero-tag:hover {
    background: var(--accent-glow);
    border-color: var(--accent-primary);
    color: var(--accent-light);
    transform: translateY(-1px);
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #2563eb);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border-color: var(--border-hover);
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-danger { background: linear-gradient(135deg, var(--red), #dc2626); color: white; }
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(239, 68, 68, 0.35); }

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
}
.stat-text { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.25rem; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.products-section { padding: 4rem 0 6rem; position: relative; z-index: 1; }
.section-header { margin-bottom: 2.5rem; }
.section-header:not(.centered) { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.section-header.centered { text-align: center; }
.section-title { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.section-desc { color: var(--text-muted); font-size: 1rem; }

.search-bar {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-top: 1rem;
}
.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.3s ease;
}
.search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 2.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow), 0 4px 20px rgba(0,0,0,0.2);
}
.search-input:focus + .search-kbd, .search-input:not(:placeholder-shown) + .search-kbd { display: inline-flex; }
.search-kbd {
    display: none;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.15rem 0.4rem;
    font-size: 0.65rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 4px;
    pointer-events: none;
}
.filter-tabs-wrap { margin-bottom: 2rem; }

.filter-tabs { display: flex; gap: 0.375rem; flex-wrap: wrap; }
.filter-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.filter-tab:hover { border-color: var(--border-hover); color: var(--text-primary); }
.filter-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: default;
}
.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--accent-glow);
}
.product-card.hidden {
    display: none;
}

.card-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: left 0.6s ease;
    z-index: 5;
    pointer-events: none;
}
.product-card:hover .card-shine { left: 100%; }

.card-badge-group {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    justify-content: space-between;
    z-index: 4;
}
.badge {
    padding: 0.3rem 0.625rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
}
.badge-region { background: rgba(59, 130, 246, 0.2); border: 1px solid rgba(59, 130, 246, 0.3); color: var(--accent-light); }
.badge-discount { background: rgba(16, 185, 129, 0.2); border: 1px solid rgba(16, 185, 129, 0.3); color: var(--green-light); }
.badge-low-stock {
    position: absolute;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    z-index: 4;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    top: 2.75rem;
    left: 0.75rem;
    transform: none;
}

.card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .card-image img { transform: scale(1.08); }
.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--bg-primary) 100%);
}

.card-body { padding: 1.25rem; }
.card-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.375rem; line-height: 1.4; }
.card-desc { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1.25rem; }

.card-footer { display: flex; justify-content: space-between; align-items: center; }
.card-pricing { display: flex; align-items: baseline; gap: 0.5rem; }
.price-current { font-size: 1.5rem; font-weight: 800; color: var(--accent); font-family: var(--font-mono); }
.price-original { font-size: 0.875rem; color: var(--text-muted); text-decoration: line-through; }

.btn-buy {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

.reviews-section { padding: 5rem 0; position: relative; z-index: 1; }
.reviews-marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.reviews-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marquee 40s linear infinite;
}
.reviews-track:hover { animation-play-state: paused; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    min-width: 380px;
    max-width: 380px;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.review-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.review-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.reviewer { display: flex; gap: 0.75rem; align-items: center; }
.reviewer-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}
.reviewer-name { font-weight: 600; font-size: 0.9375rem; }
.reviewer-loc { font-size: 0.75rem; color: var(--text-muted); }
.review-stars { display: flex; gap: 2px; }
.review-text { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1rem; font-style: italic; }
.review-bottom { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.review-product {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--accent-glow);
    border-radius: 4px;
    color: var(--accent-light);
    font-weight: 500;
}
.review-date { font-size: 0.75rem; color: var(--text-muted); }
.verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--green);
    font-weight: 500;
}

.faq-section { padding: 5rem 0; position: relative; z-index: 1; }
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item.open { border-color: var(--border-hover); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}
.faq-icon { transition: transform 0.3s ease; color: var(--text-muted); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    background: rgba(5, 8, 22, 0.9);
    position: relative;
    z-index: 1;
}
.footer-top { display: flex; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { max-width: 350px; }
.footer-desc { color: var(--text-muted); font-size: 0.875rem; margin-top: 1rem; line-height: 1.7; }
.footer-links-grid { display: flex; gap: 4rem; }
.footer-heading { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-primary); }
.footer-link {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.375rem 0;
    transition: var(--transition);
}
.footer-link:hover { color: var(--accent-light); }
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-bottom p { font-size: 0.8125rem; color: var(--text-muted); }
.footer-disclaimer { margin-top: 0.5rem; font-size: 0.75rem; max-width: 700px; margin-left: auto; margin-right: auto; }

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

.checkout-wrap { min-height: 100vh; position: relative; z-index: 1; padding: 2rem 0; }
.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
}
.checkout-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

.checkout-header { margin-bottom: 2.5rem; }
.checkout-logo { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.checkout-breadcrumb { font-size: 0.8125rem; color: var(--text-muted); }
.checkout-breadcrumb a { color: var(--accent); text-decoration: none; }
.checkout-breadcrumb a:hover { text-decoration: underline; }

.progress-steps { display: flex; justify-content: space-between; margin-bottom: 2.5rem; position: relative; }
.progress-steps::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 32px;
    right: 32px;
    height: 2px;
    background: var(--border);
}
.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}
.step-circle {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}
.progress-step.active .step-circle {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}
.progress-step.completed .step-circle {
    background: var(--green);
    border-color: var(--green);
    color: white;
}
.step-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.progress-step.active .step-label { color: var(--accent-light); }
.progress-step.completed .step-label { color: var(--green); }

.form-section { margin-bottom: 2rem; }
.form-section-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.8125rem; font-weight: 500; margin-bottom: 0.375rem; color: var(--text-secondary); }
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(10, 15, 30, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-input.error { border-color: var(--red); }
.form-input.success { border-color: var(--green); }
select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
select.form-input:disabled { opacity: 0.5; cursor: not-allowed; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.error-message {
    margin-top: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 6px;
    color: #f87171;
    font-size: 0.75rem;
    font-weight: 500;
}

.sidebar-sticky { position: sticky; top: 100px; }
.order-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    backdrop-filter: blur(20px);
}
.summary-product {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(10, 15, 30, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}
.summary-product img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.summary-product-name { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; }
.summary-product-desc { font-size: 0.75rem; color: var(--text-muted); }
.price-breakdown { border-top: 1px solid var(--border); padding-top: 1.25rem; }
.price-row { display: flex; justify-content: space-between; margin-bottom: 0.625rem; font-size: 0.875rem; color: var(--text-secondary); }
.price-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}
.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent), #2563eb);
    border: none;
    border-radius: var(--radius);
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1.25rem;
}
.checkout-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35); }
.checkout-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.security-note {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    margin-top: 0.75rem; font-size: 0.75rem; color: var(--text-muted);
}
.trust-badges { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.trust-badge { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; font-size: 0.6875rem; color: var(--text-muted); }

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
}
.success-card {
    max-width: 550px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(20px);
}
.success-icon {
    width: 72px; height: 72px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--green), #059669);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes successPop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}
.success-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.success-message { color: var(--text-secondary); font-size: 1rem; margin-bottom: 2rem; line-height: 1.7; }
.order-details {
    background: rgba(10, 15, 30, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 2rem;
    text-align: left;
}
.order-detail-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.875rem; }
.order-detail-label { color: var(--text-muted); }
.order-detail-value { color: var(--text-primary); font-weight: 600; font-family: var(--font-mono); }

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .mobile-nav { display: flex; }
    .nav { display: none; }
    .live-indicator { display: none; }
    .hero { padding: 4rem 0 3rem; }
    .hero-stats { gap: 1rem; }
    .stat-divider { display: none; }
    .hero-stat { flex: 1; min-width: 100px; }
    .filter-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
    .filter-tab { white-space: nowrap; }
    .products-grid { grid-template-columns: 1fr; }
    .section-header:not(.centered) { flex-direction: column; }
    .review-card { min-width: 300px; max-width: 300px; }
    .footer-top { flex-direction: column; gap: 2rem; }
    .footer-links-grid { gap: 2rem; }
    .checkout-container { grid-template-columns: 1fr; }
    .sidebar-sticky { position: static; }
    .progress-steps { gap: 0; }
    .step-label { font-size: 0.625rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero-title { font-size: 2rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .review-card { min-width: 260px; max-width: 260px; }
    .checkout-panel { padding: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
