/* BT Creative Tech Store Design System */
:root {
    --primary: #8b5cf6;
    /* Violets/Purples for tech feel */
    --primary-dark: #6d28d9;
    --accent: #06b6d4;
    /* Cyan accent */
    --dark-bg: #0b0f19;
    --card-bg: #151b2b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Buttons & Elements */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.badge {
    background: rgba(6, 182, 212, 0.1);
    color: #22d3ee;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    display: inline-block;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Header */
header {
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: white;
}

/* Hero */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    background: radial-gradient(circle at center, #1e1b4b 0%, #0b0f19 60%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
    opacity: 0.5;
    pointer-events: none;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

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

.hero p {
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Ticker */
.scrolling-ticker {
    background: #0f172a;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.8rem 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ticker-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
    padding-left: 100%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.ticker-content span {
    margin-right: 4rem;
    display: inline-flex;
    align-items: center;
}

.ticker-content span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 10px;
}

/* Products Section */
.products-section {
    padding: 6rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.filter-tabs button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.filter-tabs button::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: 0.3s;
}

.filter-tabs button:hover,
.filter-tabs button.active {
    color: white;
}

.filter-tabs button.active::after {
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    transition: all 0.3s ease-in-out;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-image-container {
    height: 300px;
    background: #1a202e;
    position: relative;
    overflow: hidden;
}

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

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

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(4px);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid var(--border);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

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

.btn-quick-view {
    background: white;
    color: black;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    transform: translateY(20px);
    transition: 0.3s;
    cursor: pointer;
}

.product-card:hover .btn-quick-view {
    transform: translateY(0);
}

.product-info {
    padding: 1.5rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    opacity: 0.8;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.btn-add {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-add:hover {
    background: white;
    color: black;
}

/* Reviews */
.reviews-section {
    padding: 6rem 0;
    background: #0f172a;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
}

.review-card::before {
    content: '“';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.author {
    font-weight: 700;
    color: white;
}

.author span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

/* Checkout / Contact */
.contact-section {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.order-summary {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.summary-item {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.summary-thumb {
    width: 60px;
    height: 60px;
    background: #333;
    border-radius: 6px;
}

.form-header h2 {
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.input-field {
    width: 100%;
    padding: 1rem;
    background: #0f172a;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: white;
    font-family: var(--font-body);
    transition: 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Footer */
footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
    background: #0b0f19;
    color: var(--text-muted);
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: auto;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    opacity: 0;
    pointer-events: none;
    flex-direction: column;
    width: 300px;
    gap: 1rem;
    transition: 0.3s;
    z-index: 2000;
}

.cookie-banner.show {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
    }
}