/* ============================================================
   Pro Cards Zone - Cyber Hacker Theme
   Ultra Advanced Cyber Security Interface
   ============================================================ */

/* === CSS Variables === */
:root {
    --primary: #000000;
    --primary-dark: #0a0a0a;
    --secondary: #1a1a2e;
    --accent-red: #8b0000;
    --accent-red-light: #cc0000;
    --accent-red-glow: #ff0000;
    --accent-green: #00ff41;
    --accent-green-dim: #00cc33;
    --accent-green-glow: rgba(0, 255, 65, 0.3);
    --text-primary: #e0e0e0;
    --text-secondary: #888888;
    --text-muted: #555555;
    --border-color: #2a2a2a;
    --border-glow: rgba(139, 0, 0, 0.3);
    --bg-card: rgba(10, 10, 10, 0.95);
    --bg-card-hover: rgba(20, 20, 20, 0.98);
    --shadow-red: rgba(139, 0, 0, 0.2);
    --shadow-green: rgba(0, 255, 65, 0.15);
    --font-mono: 'Courier New', 'Consolas', 'Monaco', 'Lucida Console', monospace;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-mono);
    background: var(--primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: var(--accent-red-light);
    text-decoration: none;
    transition: all var(--transition-speed);
}

a:hover {
    color: var(--accent-red-glow);
    text-shadow: 0 0 10px var(--accent-red-glow);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--accent-red);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red-light);
}

/* === Matrix Rain Canvas === */
#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.08;
}

/* === Cyber Grid Overlay === */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(139, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* === Container === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

/* === Cyber Navigation === */
.cyber-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all var(--transition-speed);
}

.cyber-nav.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 0 20px var(--shadow-red);
}

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

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-red-light);
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-brand .brand-icon {
    font-size: 1.5rem;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 5px var(--accent-red-glow)); }
    50% { filter: drop-shadow(0 0 15px var(--accent-red-glow)); }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent;
    transition: all var(--transition-speed);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--accent-red-light);
    border-color: var(--border-glow);
    background: rgba(139, 0, 0, 0.1);
    text-shadow: 0 0 10px var(--accent-red-glow);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(0, 0, 0, 0.98);
    border: 1px solid var(--border-color);
    border-top: 2px solid var(--accent-red);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed);
    z-index: 100;
    padding: 5px 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    transition: all var(--transition-speed);
}

.dropdown-menu li a:hover {
    color: var(--accent-red-light);
    background: rgba(139, 0, 0, 0.1);
    padding-left: 25px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 5px 10px;
}

/* Cart */
.nav-cart .cart-link {
    position: relative;
    font-size: 1.1rem;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 10px var(--accent-red-glow);
}

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--accent-red-light);
    transition: all var(--transition-speed);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-red-light));
    z-index: 1001;
    width: 0%;
    transition: width 0.1s;
    box-shadow: 0 0 10px var(--accent-red-glow);
}

/* === Main Content === */
.main-content {
    min-height: calc(100vh - 300px);
    padding-top: 90px;
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* === Buttons === */
.cyber-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: transparent;
    color: var(--accent-red-light);
    border: 1px solid var(--accent-red);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.2), transparent);
    transition: all 0.5s;
}

.cyber-btn:hover::before {
    left: 100%;
}

.cyber-btn:hover {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 20px var(--shadow-red), inset 0 0 20px var(--shadow-red);
    transform: translateY(-2px);
}

.cyber-btn:active {
    transform: translateY(0);
}

.cyber-btn-green {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.cyber-btn-green:hover {
    background: var(--accent-green);
    color: var(--primary);
    box-shadow: 0 0 20px var(--shadow-green), inset 0 0 20px var(--shadow-green);
}

.cyber-btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.cyber-btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.cyber-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* === Cards === */
.cyber-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 25px;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
    opacity: 0;
    transition: all var(--transition-speed);
}

.cyber-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 0 20px var(--shadow-red), inset 0 0 20px rgba(139, 0, 0, 0.05);
    transform: translateY(-3px);
}

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

/* === Form Elements === */
.cyber-form-group {
    margin-bottom: 20px;
}

.cyber-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cyber-input,
.cyber-textarea,
.cyber-select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: all var(--transition-speed);
    outline: none;
}

.cyber-input:focus,
.cyber-textarea:focus,
.cyber-select:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 15px var(--shadow-red);
}

.cyber-input::placeholder,
.cyber-textarea::placeholder {
    color: var(--text-muted);
}

.cyber-textarea {
    min-height: 120px;
    resize: vertical;
}

.cyber-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* === Alerts === */
.cyber-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 0.9rem;
    animation: slideInDown 0.3s ease;
}

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

.cyber-alert-success {
    background: rgba(0, 255, 65, 0.1);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.cyber-alert-error {
    background: rgba(139, 0, 0, 0.2);
    border-color: var(--accent-red);
    color: var(--accent-red-light);
}

.cyber-alert-info {
    background: rgba(0, 100, 255, 0.1);
    border-color: #0066ff;
    color: #0066ff;
}

.cyber-alert-warning {
    background: rgba(255, 165, 0, 0.1);
    border-color: #ffa500;
    color: #ffa500;
}

.cyber-alert-close {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity var(--transition-speed);
}

.cyber-alert-close:hover {
    opacity: 1;
}

/* === Loading === */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.cyber-loader {
    position: relative;
    text-align: center;
}

.loader-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: spin 1.5s linear infinite;
}

.loader-ring:nth-child(1) {
    border-top-color: var(--accent-red);
    animation-delay: 0s;
}

.loader-ring:nth-child(2) {
    width: 80px;
    height: 80px;
    margin: -10px;
    border-right-color: var(--accent-green);
    animation-direction: reverse;
    animation-delay: 0.2s;
}

.loader-ring:nth-child(3) {
    width: 100px;
    height: 100px;
    margin: -20px;
    border-bottom-color: var(--accent-red-light);
    animation-delay: 0.4s;
}

.loader-text {
    margin-top: 40px;
    color: var(--accent-red-light);
    font-size: 0.8rem;
    letter-spacing: 5px;
    animation: blink 1s infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--accent-red-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px var(--shadow-red);
}

.section-header .section-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
    margin: 10px auto;
}

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

/* === Page Header === */
.page-header {
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
    position: relative;
}

.page-header h1 {
    font-size: 2.2rem;
    color: var(--accent-red-light);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 30px var(--shadow-red);
}

.page-header .breadcrumb {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.page-header .breadcrumb a {
    color: var(--text-muted);
}

.page-header .breadcrumb a:hover {
    color: var(--accent-red-light);
}

.page-header .breadcrumb span {
    color: var(--text-secondary);
}

/* === Hero Section === */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(139, 0, 0, 0.1) 0%, transparent 70%);
    animation: heroPulse 4s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: flicker 3s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.3; }
    94% { opacity: 1; }
    96% { opacity: 0.3; }
    97% { opacity: 1; }
}

.hero-title {
    font-size: 3.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px var(--shadow-red), 0 0 60px var(--shadow-red);
}

.hero-title .highlight {
    color: var(--accent-red-light);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-terminal {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 20px;
    margin-top: 30px;
    text-align: left;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

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

.terminal-dot.red { background: var(--accent-red); }
.terminal-dot.yellow { background: #ffaa00; }
.terminal-dot.green { background: var(--accent-green); }

.terminal-body {
    font-size: 0.85rem;
    line-height: 1.8;
}

.terminal-body .line {
    opacity: 0;
    animation: typeLine 0.5s forwards;
}

.terminal-body .line:nth-child(1) { animation-delay: 0.5s; }
.terminal-body .line:nth-child(2) { animation-delay: 1s; }
.terminal-body .line:nth-child(3) { animation-delay: 1.5s; }
.terminal-body .line:nth-child(4) { animation-delay: 2s; }
.terminal-body .line:nth-child(5) { animation-delay: 2.5s; }

@keyframes typeLine {
    to { opacity: 1; }
}

.terminal-prompt {
    color: var(--accent-green);
}

.terminal-command {
    color: #fff;
}

.terminal-output {
    color: var(--text-secondary);
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: var(--accent-green);
    animation: cursorBlink 1s infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* === Products Grid === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    transition: all var(--transition-speed);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
    opacity: 0;
    transition: all var(--transition-speed);
    z-index: 2;
}

.product-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 0 30px var(--shadow-red), inset 0 0 30px rgba(139, 0, 0, 0.05);
    transform: translateY(-5px);
}

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.product-badge .badge {
    padding: 4px 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}

.badge-featured {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 10px var(--accent-red-glow);
}

.badge-type {
    background: rgba(0, 255, 65, 0.2);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--secondary);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    color: var(--text-muted);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a {
    color: inherit;
}

.product-name a:hover {
    color: var(--accent-red-light);
}

.product-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 1.3rem;
    color: var(--accent-red-light);
    font-weight: bold;
}

.product-price .compare-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.product-rating .stars {
    color: #ffaa00;
}

/* === Category Cards === */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 30px 20px;
    text-align: center;
    transition: all var(--transition-speed);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--accent-red);
    box-shadow: 0 0 20px var(--shadow-red);
    transform: translateY(-3px);
}

.category-card .cat-icon {
    font-size: 2.5rem;
    color: var(--accent-red-light);
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 8px;
}

.category-card .cat-count {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* === Reviews === */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 25px;
    transition: all var(--transition-speed);
}

.review-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 0 15px var(--shadow-red);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-red-light);
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author h4 {
    color: #fff;
    font-size: 0.9rem;
}

.review-stars {
    color: #ffaa00;
    font-size: 0.8rem;
    margin-top: 3px;
}

.review-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === FAQ === */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all var(--transition-speed);
}

.faq-item:hover {
    border-color: var(--border-glow);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all var(--transition-speed);
}

.faq-question:hover {
    color: var(--accent-red-light);
}

.faq-question .faq-toggle {
    transition: transform var(--transition-speed);
}

.faq-item.active .faq-question .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed);
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 18px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* === Statistics === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 30px 20px;
    text-align: center;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}

.stat-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 0 20px var(--shadow-red);
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-red-light);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* === Newsletter === */
.newsletter-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 50px;
    text-align: center;
    margin: 60px 0;
}

.newsletter-section h2 {
    color: var(--accent-red-light);
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.newsletter-section p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
}

.newsletter-input-group input {
    flex: 1;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
    border-right: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    outline: none;
    transition: all var(--transition-speed);
}

.newsletter-input-group input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 15px var(--shadow-red);
}

.newsletter-input-group button {
    padding: 15px 25px;
    background: var(--accent-red);
    border: 1px solid var(--accent-red);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.newsletter-input-group button:hover {
    background: var(--accent-red-light);
    box-shadow: 0 0 20px var(--shadow-red);
}

/* === Contact Section === */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    padding: 30px;
}

.contact-info h3 {
    color: var(--accent-red-light);
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.contact-detail i {
    color: var(--accent-red-light);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* === Footer === */
.cyber-footer {
    background: rgba(0, 0, 0, 0.98);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-brand i {
    font-size: 1.5rem;
    color: var(--accent-red-light);
}

.footer-brand h3 {
    color: var(--accent-red-light);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-col h4 {
    color: var(--accent-red-light);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all var(--transition-speed);
}

.footer-col ul li a:hover {
    color: var(--accent-red-light);
    padding-left: 5px;
}

.footer-col ul li a i {
    font-size: 0.6rem;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all var(--transition-speed);
    border-radius: 3px;
}

.social-link:hover {
    border-color: var(--accent-red);
    color: var(--accent-red-light);
    box-shadow: 0 0 15px var(--shadow-red);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-stats {
    display: flex;
    gap: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.stat-item i {
    color: var(--accent-green);
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--accent-red);
    color: var(--accent-red-light);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-red);
    color: #fff;
    box-shadow: 0 0 20px var(--shadow-red);
}

/* === Auth Forms === */
.auth-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.auth-box {
    width: 100%;
    max-width: 450px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 40px;
    position: relative;
}

.auth-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-red-light), var(--accent-red));
    background-size: 200% 100%;
    animation: gradientScan 3s linear infinite;
}

@keyframes gradientScan {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .auth-icon {
    font-size: 2.5rem;
    color: var(--accent-red-light);
    margin-bottom: 15px;
}

.auth-header h2 {
    color: var(--accent-red-light);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.auth-footer a {
    color: var(--accent-red-light);
}

.auth-separator {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* === Product Detail === */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-gallery {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: 400px;
    background: var(--secondary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-main-image .no-image {
    font-size: 5rem;
    color: var(--text-muted);
}

.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-thumb {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.product-thumb:hover,
.product-thumb.active {
    border-color: var(--accent-red);
    box-shadow: 0 0 10px var(--shadow-red);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail h1 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.product-meta-item i {
    color: var(--accent-red-light);
}

.product-price-box {
    margin-bottom: 25px;
}

.product-price-box .current-price {
    font-size: 2rem;
    color: var(--accent-red-light);
    font-weight: bold;
}

.product-price-box .old-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 10px;
}

.product-description-full {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.product-features {
    margin-bottom: 25px;
}

.product-features h3 {
    color: var(--accent-red-light);
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-features ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.product-features ul li i {
    color: var(--accent-green);
    margin-top: 3px;
}

.product-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.quantity-selector button:hover {
    background: rgba(139, 0, 0, 0.2);
    color: var(--accent-red-light);
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1rem;
    outline: none;
}

/* === Cart Page === */
.cart-page {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.cart-items {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-image .no-image {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.cart-item-info h3 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 5px;
}

.cart-item-info .item-type {
    font-size: 0.75rem;
    color: var(--accent-green);
}

.cart-item-info .item-price {
    font-size: 1.1rem;
    color: var(--accent-red-light);
    margin-top: 5px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-actions .item-total {
    font-size: 1.1rem;
    color: var(--accent-red-light);
    font-weight: bold;
    min-width: 80px;
    text-align: right;
}

.cart-item-remove {
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-speed);
    font-size: 1.1rem;
}

.cart-item-remove:hover {
    color: var(--accent-red-glow);
}

.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 25px;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    color: var(--accent-red-light);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cart-summary-row.total {
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
    padding-top: 15px;
    font-size: 1.2rem;
    color: var(--accent-red-light);
    font-weight: bold;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cart-empty h3 {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* === Checkout === */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.checkout-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 25px;
    margin-bottom: 20px;
}

.checkout-section h3 {
    color: var(--accent-red-light);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-methods {
    display: grid;
    gap: 10px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.payment-method:hover,
.payment-method.selected {
    border-color: var(--accent-red);
    background: rgba(139, 0, 0, 0.1);
}

.payment-method input[type="radio"] {
    accent-color: var(--accent-red);
    width: 18px;
    height: 18px;
}

.payment-method-info {
    flex: 1;
}

.payment-method-info h4 {
    color: #fff;
    font-size: 0.9rem;
}

.payment-method-info p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.payment-method-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* === Orders Table === */
.orders-table-wrapper {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.orders-table th {
    color: var(--accent-red-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    background: rgba(139, 0, 0, 0.05);
}

.orders-table td {
    color: var(--text-secondary);
}

.orders-table tr:hover td {
    background: rgba(139, 0, 0, 0.03);
}

.order-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}

.status-pending { background: rgba(255, 165, 0, 0.2); color: #ffa500; border: 1px solid #ffa500; }
.status-processing { background: rgba(0, 100, 255, 0.2); color: #0066ff; border: 1px solid #0066ff; }
.status-payment_review { background: rgba(255, 165, 0, 0.2); color: #ffa500; border: 1px solid #ffa500; }
.status-completed { background: rgba(0, 255, 65, 0.2); color: var(--accent-green); border: 1px solid var(--accent-green); }
.status-cancelled { background: rgba(139, 0, 0, 0.2); color: var(--accent-red-light); border: 1px solid var(--accent-red); }
.status-refunded { background: rgba(255, 0, 0, 0.2); color: #ff4444; border: 1px solid #ff4444; }
.status-failed { background: rgba(139, 0, 0, 0.3); color: var(--accent-red-glow); border: 1px solid var(--accent-red-glow); }
.status-stuck { background: rgba(255, 0, 100, 0.2); color: #ff0066; border: 1px solid #ff0066; }

/* === Product Type Management === */
.admin-product-types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.admin-product-types label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.admin-product-types label:hover,
.admin-product-types input:checked + label {
    border-color: var(--accent-red);
    background: rgba(139, 0, 0, 0.1);
    color: var(--accent-red-light);
}

/* === Stuck Order Message === */
.stuck-warning {
    background: rgba(255, 0, 100, 0.1);
    border: 2px solid #ff0066;
    border-radius: 5px;
    padding: 30px;
    margin: 20px 0;
    text-align: center;
    animation: pulseWarning 2s infinite;
}

@keyframes pulseWarning {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 0, 100, 0.2); }
    50% { box-shadow: 0 0 30px rgba(255, 0, 100, 0.4); }
}

.stuck-warning .warning-icon {
    font-size: 3rem;
    color: #ff0066;
    margin-bottom: 15px;
}

.stuck-warning h3 {
    color: #ff0066;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stuck-warning p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-speed);
    }
    
    .nav-menu.open {
        max-height: 500px;
    }
    
    .nav-menu > li > a {
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        background: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-speed);
    }
    
    .nav-dropdown.open .dropdown-menu {
        max-height: 300px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .cart-page {
        grid-template-columns: 1fr;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .auth-box {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .product-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .product-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .product-actions .cyber-btn {
        width: 100%;
        justify-content: center;
    }
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.w-100 { width: 100%; }
