/* --- CSS VARIABLES & RESET --- */
:root {
    /* Palette: Dark Mode with Neon Accents */
    --bg-color: #050505;
    --bg-secondary: #111111;
    --card-bg: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    
    --accent-purple: #b026ff;
    --accent-cyan: #00f3ff;
    --accent-gradient: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    
    --font-body: 'Inter', sans-serif;
    --font-display: 'Orbitron', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    
    --border-radius: 4px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px; /* Pill shape */
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent-purple);
    color: white;
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.4);
}

.btn-primary:hover {
    background: var(--accent-cyan);
    color: black;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--text-main);
    background: transparent;
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: black;
}

/* --- HEADER & NAV --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: var(--spacing-sm) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.brand span { color: var(--accent-cyan); }

.brand-logo {
    height: 80px;
    width: auto;
    display: block;
    margin: -20px 0;
}

nav ul {
    display: flex;
    gap: var(--spacing-md);
}

nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-cyan);
    transition: var(--transition);
}

nav a:hover::after { width: 100%; }

.nav-icons {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-purple);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.menu-toggle { display: none; font-size: 1.5rem; background: none; color: white; }

/* --- HERO SECTION --- */
.hero {
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(176, 38, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px); }
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 var(--spacing-sm);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-purple);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

/* --- FEATURES STRIP --- */
.features-strip {
    background: var(--bg-secondary);
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.features-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item svg {
    fill: var(--accent-cyan);
    width: 24px;
    height: 24px;
}

/* --- PRODUCT GRID --- */
.products-section {
    padding: var(--spacing-lg) 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 125%; 
    overflow: hidden;
    background: #000;
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.9;
}

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

.product-info {
    padding: var(--spacing-sm);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-top: auto;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.add-to-cart {
    display: block;
    background: transparent;
    color: var(--accent-purple);
    border: 1.5px solid var(--accent-purple);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 8px rgba(176, 38, 255, 0.2), inset 0 0 8px rgba(176, 38, 255, 0.05);
}

.add-to-cart:hover {
    background: var(--accent-purple);
    color: #fff;
    box-shadow: 0 0 22px rgba(176, 38, 255, 0.65);
    transform: translateY(-2px);
}

/* --- UPDATED REVIEWS SECTION --- */
.reviews-section {
    background: var(--bg-secondary);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-stars {
    color: #00b67a;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-author {
    display: block;
    font-weight: 600;
    color: var(--accent-cyan);
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- UPDATED CONTACT FORM --- */
.contact-section {
    padding: var(--spacing-lg) 0;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    font-size: 0.95rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 15px;
    background: #111;
    border: 2px solid #333;
    border-radius: 4px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    background: #161616;
}

.form-input[aria-invalid="true"], .form-textarea[aria-invalid="true"] {
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.05);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    font-family: var(--font-body);
}

.form-error {
    color: #ff4757;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
    min-height: 1.2em;
}

.form-error:empty {
    display: none;
}

.success-message {
    display: none;
}

.success-message[style*="display: flex"] {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    min-height: 60px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.form-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: var(--spacing-lg) 0;
    max-width: 800px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.faq-item {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--card-bg);
    transition: border-color 0.3s;
}

.faq-item[open] {
    border-color: rgba(176, 38, 255, 0.3);
}

.faq-item summary {
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    color: var(--text-main);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--accent-purple);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    color: var(--accent-cyan);
}

.faq-item > p,
.faq-item > div {
    padding: 0 18px 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item a { color: var(--accent-cyan); }

.size-table-wrap { overflow-x: auto; }

.size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-top: 4px;
}

.size-table th, .size-table td {
    padding: 8px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.size-table th {
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.size-table tr:last-child td { border-bottom: none; }

/* --- FOOTER --- */
footer {
    background: black;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-display);
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #666;
    gap: 20px;
}

.payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pay-badge {
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* --- NOISE & SCANLINE OVERLAY --- */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    /* grain */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
    mix-blend-mode: overlay;
}
/* scanlines on top of grain */
.noise-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 0, 0, 0.025) 3px,
        rgba(0, 0, 0, 0.025) 4px
    );
}

/* --- LOGO GLITCH ANIMATION (CRT/VGA/electric — always visible) --- */
@keyframes logoGlitch {
    /* baseline */
    0%    { transform: none;                        filter: brightness(1); }
    /* subtle micro-jitter */
    10%   { transform: translate(0.5px, -0.5px);   filter: brightness(1); }
    10.5% { transform: none;                        filter: brightness(1); }
    /* CRT flicker 1 */
    22%   {                                         filter: brightness(0.82); }
    22.4% {                                         filter: brightness(1.15); }
    22.8% {                                         filter: brightness(1); }
    /* micro-jitter */
    33%   { transform: translate(-0.5px, 0.5px);   }
    33.5% { transform: none;                        }
    /* ── first glitch burst ── */
    42%   { transform: translate(-3px, 0);          filter: hue-rotate(75deg)  saturate(2.2) brightness(1.2); }
    42.8% { transform: translate(3px, 0);           filter: hue-rotate(-75deg) saturate(1.8) brightness(0.9); }
    43.6% { transform: none;                        filter: brightness(1.1); }
    44.4% { transform: translate(2px, -1px) skewX(1.2deg); filter: hue-rotate(25deg) brightness(1); }
    45.2% { transform: none;                        filter: brightness(1); }
    /* electric flicker */
    52%   {                                         filter: brightness(0.88); }
    52.3% {                                         filter: brightness(1.18); }
    52.6% {                                         filter: brightness(0.92); }
    53%   {                                         filter: brightness(1); }
    /* micro-jitter */
    61%   { transform: translate(0.5px, 0.5px);    }
    61.5% { transform: none;                        }
    /* CRT flicker 2 */
    72%   {                                         filter: brightness(0.85); }
    72.4% {                                         filter: brightness(1.1); }
    72.8% {                                         filter: brightness(1); }
    /* micro-jitter */
    78%   { transform: translate(-0.5px, -0.5px);  }
    78.5% { transform: none;                        }
    /* ── second glitch burst ── */
    87%   { transform: translate(-3px, 0);          filter: hue-rotate(75deg)  saturate(2.2) brightness(1.2); }
    87.8% { transform: translate(3px, 0);           filter: hue-rotate(-75deg) saturate(1.8) brightness(0.9); }
    88.6% { transform: none;                        filter: brightness(1.1); }
    89.4% { transform: translate(2px, -1px) skewX(1.2deg); filter: hue-rotate(25deg) brightness(1); }
    90.2% { transform: none;                        filter: brightness(1); }
    /* outro flicker */
    95%   {                                         filter: brightness(0.9); }
    95.4% {                                         filter: brightness(1.12); }
    95.8% {                                         filter: brightness(1); }
    100%  { transform: none;                        filter: brightness(1); }
}

.brand-logo {
    animation: logoGlitch 4.5s linear infinite;
}

.footer-logo {
    height: 80px;
    margin: -20px 0 4px;
}

/* --- SOCIAL ICONS --- */
.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    color: white;
    flex-shrink: 0;
}

.social-icon:hover {
    background: white;
    color: black;
    border-color: white;
    transform: translateY(-2px);
}

.social-icon svg {
    fill: currentColor;
    width: 15px;
    height: 15px;
}

/* --- TRUSTPILOT FOOTER LINK --- */
.trustpilot-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #00b67a;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: opacity 0.3s;
    letter-spacing: 0.5px;
}
.trustpilot-link:hover { opacity: 1; }
.trustpilot-link svg { flex-shrink: 0; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: clamp(1.6rem, 9vw, 2.5rem); }
    .hero p { font-size: 1rem; }
    .footer-logo { height: 60px; margin: -14px 0 4px; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    .nav-menu.active { display: flex; }
    .menu-toggle { display: block; }
    .features-grid { flex-direction: column; align-items: flex-start; padding: 0 var(--spacing-sm); }
    .footer-bottom { flex-direction: column; text-align: center; }
}
