/* ===== K2 PRISON SHEETZ — PURE BLACK LASER GREEN HACKER AESTHETIC ===== */
:root {
    --bg: #000000;
    --bg-deep: #000000;
    --surface: #0a0a0a;
    --surface-2: #111111;
    --border: #39FF14;
    --border-muted: #1a1a1a;
    --primary: #39FF14;
    --primary-dim: #39FF14;
    --neon-glow: rgba(57, 255, 20, 0.3);
    --text: #39FF14;
    --text-bright: #39FF14;
    --text-muted: #888888;
    --text-dim: #555555;
    --mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
    --mono-wide: 'Space Mono', 'JetBrains Mono', 'Consolas', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--mono);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    overflow-x: hidden;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.1);
}

/* ===== NAV ===== */
.nav {
    background: var(--bg-deep);
    border-bottom: 2px solid var(--border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-logo {
    font-family: var(--mono-wide);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 20px #39FF14);
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s;
    border: 1px solid transparent;
    padding: 0.25rem 0;
}

.nav-links a:hover {
    color: var(--primary);
    border-color: var(--border);
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-deep);
    border-bottom: 3px solid var(--border);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(57, 255, 20, 0.05) 50%, transparent 70%);
    animation: scan 3s linear infinite;
    z-index: 0;
}

@keyframes scan {
    0%, 100% { transform: translateY(-100%); }
    50% { transform: translateY(100%); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(57, 255, 20, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 255, 20, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.hero-scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(57, 255, 20, 0.03) 2px,
        rgba(57, 255, 20, 0.03) 4px
    );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    border: 1px solid var(--border-muted);
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.02), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(10px);
}

.hero-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-logo {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(57, 255, 20, 0.6));
}

.hero-tag {
    font-family: var(--mono-wide);
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--primary-dim);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-headline {
    font-family: var(--mono-wide);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-bright);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
}

.hero-headline .highlight {
    color: var(--primary);
    text-shadow: 0 0 40px rgba(57, 255, 20, 0.8);
}

.hero-sub {
    font-family: var(--mono);
    font-size: clamp(0.85rem, 2vw, 1.2rem);
    color: var(--text);
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
}

.hero-cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-wallet {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    word-break: break-all;
}

.hero-wallet code {
    color: var(--primary);
    font-size: 0.6rem;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-deep);
    font-family: var(--mono-wide);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

.btn-primary:hover {
    background: var(--text-bright);
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.8);
    transform: translateY(-1px);
    border-color: var(--text-bright);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    font-family: var(--mono-wide);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 2px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--neon-glow);
    border-color: var(--text-bright);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.6);
}

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

/* ===== SECTIONS ===== */
.section {
    padding: 6rem 0;
    border-bottom: 2px solid var(--border);
    background: var(--bg);
}

.section-alt {
    background: var(--surface);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-label {
    font-family: var(--mono-wide);
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--primary-dim);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--mono-wide);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--surface);
    border: 2px solid var(--border);
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.3);
    transform: translateY(-5px);
}

.product-card.flagship {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(57, 255, 20, 0.1), var(--surface) 100%);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.2);
}

.badge-flagship {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: var(--bg-deep);
    font-family: var(--mono-wide);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.3rem 1rem;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
}

.product-name {
    font-family: var(--mono-wide);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.product-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

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

.product-desc strong {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.product-meta {
    display: flex;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.product-meta .price {
    font-family: var(--mono-wide);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

.product-meta .price-usd {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== TRUST / SPECS GRID ===== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.trust-item {
    padding: 2rem;
    border: 2px solid var(--border-muted);
    background: var(--bg);
    transition: all 0.3s ease;
}

.trust-item:hover {
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.2);
}

.trust-num {
    font-family: var(--mono-wide);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

.trust-item h4 {
    font-family: var(--mono-wide);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.7;
}

/* ===== CHECKOUT FORM ===== */
.checkout-form {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.checkout-form label {
    font-family: var(--mono-wide);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--primary-dim);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    font-family: var(--mono);
    font-size: 0.85rem;
    background: var(--bg);
    border: 2px solid var(--border-muted);
    color: var(--text);
    padding: 0.75rem 1rem;
    outline: none;
    transition: all 0.2s;
    width: 100%;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.checkout-form select {
    appearance: none;
    cursor: pointer;
}

.checkout-form textarea {
    resize: vertical;
}

.form-hint {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 1rem;
    letter-spacing: 0.5px;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.detail-header {
    background: var(--bg-deep);
    color: var(--text);
    padding: 60px 0;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border);
}

.detail-header h1 {
    font-family: var(--mono-wide);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--primary);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
    text-transform: uppercase;
}

.photo-section img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 2px solid var(--border-muted);
}

.price-block {
    font-family: var(--mono-wide);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-family: var(--mono-wide);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.2s;
}

.back-link:hover {
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

/* ===== PAYMENT / CHECKOUT PAGE ===== */
.payment-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.payment-container h2 {
    font-family: var(--mono-wide);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.payment-card {
    background: var(--surface);
    border: 2px solid var(--border);
    padding: 2rem;
    margin-bottom: 2rem;
}

.payment-card h4 {
    font-family: var(--mono-wide);
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.wallet-address {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--primary);
    word-break: break-all;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

.status-success {
    color: var(--primary);
    font-family: var(--mono-wide);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

.status-error {
    color: #ff3333;
    font-family: var(--mono-wide);
    font-weight: 700;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-deep);
    border-top: 2px solid var(--border);
    padding: 3rem 0;
    text-align: center;
    box-shadow: inset 0 5px 20px rgba(57, 255, 20, 0.1);
}

.footer-inner p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.footer-inner a {
    color: var(--primary);
    text-decoration: none;
}

.footer-inner a:hover {
    color: var(--text-bright);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.6);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border: 2px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
    transform: translateY(-3px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%) contrast(1.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .nav-logo img {
        height: 32px;
    }

    .nav-logo {
        font-size: 0.75rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .nav-links a {
        font-size: 0.65rem;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 180px;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-headline {
        font-size: clamp(1.5rem, 8vw, 3rem);
    }

    .section {
        padding: 4rem 0;
    }

    .section-inner {
        padding: 0 15px;
    }

    .product-card {
        padding: 1.5rem;
    }

    .checkout-form input,
    .checkout-form select,
    .checkout-form textarea {
        font-size: 1rem; /* Prevent iOS zoom */
        padding: 0.85rem 1rem;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 0.85rem;
        padding: 1rem 1.5rem;
        min-height: 44px; /* Touch target */
    }
}

@media (max-width: 480px) {
    .hero-tag {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    .hero-wallet {
        font-size: 0.55rem;
    }

    .product-meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    .trust-num {
        font-size: 1.5rem;
    }
}