/* ============================================
   MIGAJEROS STORE - CLEAN MINIMAL DESIGN
   Inspired by animalmade.com
   ============================================ */

:root {
    --bg-dark: #000b38;
    --bg-darker: #000620;
    --primary: #21ffe2;
    --primary-glow: rgba(33, 255, 226, 0.3);
    --text-light: #ffffff;
    --text-muted: #8892b0;
    --card-bg: #0a1854;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: var(--bg-dark);
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   HEADER - MINIMAL & CLEAN
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 11, 56, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(33, 255, 226, 0.1);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    margin: 0;
}

.logo-text .tagline {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 50px;
    align-items: center;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--primary);
}

.nav a:hover::after {
    width: 100%;
}

.btn-login {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 30px;
    border-radius: 0;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-login::after {
    display: none;
}

.btn-login:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* ============================================
   HERO - FULL SCREEN MINIMAL
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
    padding-top: 100px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 40px;
}

.hero h2 {
    font-size: 80px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 50px;
    line-height: 1.8;
}

.btn-hero {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 18px 60px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-2px);
}

/* Minimal particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
}

/* ============================================
   PRODUCTS - GRID LAYOUT
   ============================================ */
.products {
    padding: 120px 0;
    position: relative;
    background: var(--bg-darker);
}

.section-title {
    text-align: center;
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 80px;
    color: var(--text-light);
    letter-spacing: -1px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid rgba(33, 255, 226, 0.1);
    padding: 50px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    transform: translateY(-10px);
}

.product-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    object-fit: cover;
    border-radius: 0;
}

.product-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.8;
}

.product-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.btn-buy {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 14px 40px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* ============================================
   MODAL - MINIMAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--card-bg);
    margin: 10% auto;
    padding: 60px;
    border: 1px solid var(--primary);
    width: 90%;
    max-width: 600px;
    box-shadow: 0 0 50px rgba(33, 255, 226, 0.2);
}

.close {
    color: var(--text-muted);
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close:hover {
    color: var(--primary);
}

.modal-content h3 {
    margin-bottom: 30px;
    font-size: 32px;
    clear: both;
    color: var(--text-light);
    font-weight: 700;
}

.checkout-form {
    margin-top: 40px;
}

.checkout-form label {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.checkout-form input {
    width: 100%;
    padding: 18px;
    border-radius: 0;
    border: 1px solid rgba(33, 255, 226, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.checkout-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(33, 255, 226, 0.1);
}

.btn-primary {
    width: 100%;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 18px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--primary-glow);
}

/* ============================================
   FOOTER - MINIMAL
   ============================================ */
.footer {
    background: var(--bg-darker);
    padding: 50px 0;
    text-align: center;
    margin-top: 120px;
    border-top: 1px solid rgba(33, 255, 226, 0.1);
}

.footer p {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 1px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.product-card {
    opacity: 0;
    transform: translateY(30px);
}

.product-card.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header .container {
        padding: 20px;
    }

    .nav {
        gap: 25px;
    }

    .nav a {
        font-size: 12px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero h2 {
        font-size: 48px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 36px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modal-content {
        padding: 40px 30px;
        margin: 20% auto;
    }
}

/* Hide parallax layers - not needed for minimal design */
.hero-bg-layer {
    display: none;
}