:root {
    --primary: #00c805;
    --background: #020617;
    --card: #0f172a;
    --border: #1e293b;
    --muted: #94a3b8;
    --text: #f8fafc;
}

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

body {
    background: var(--background);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegação */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 64px;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    padding-left: 20px;
}

.logo span {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 140px 0 60px;
    text-align: center;
    background: radial-gradient(circle at top, #1e293b 0%, #020617 100%);
}

.hero h1 {
    margin-bottom: 20px;
}

/* Grid de Produtos */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

/* Card */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 200, 5, 0.1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Botões */
.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    width: 100%;
    box-sizing: border-box;
}

.btn-primary:hover {
    background: #00a003;
    transform: scale(1.02);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 200, 5, 0.1);
}

/* Preço */
.price {
    color: var(--primary);
    font-size: 28px;
    font-weight: 800;
    margin: 15px 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--card);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    border: 1px solid var(--primary);
    box-shadow: 0 20px 60px rgba(0, 200, 5, 0.2);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Inputs */
input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: #1e293b;
    border: 1px solid var(--border);
    color: #fff;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 200, 5, 0.2);
}

input::placeholder {
    color: var(--muted);
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    margin-top: 80px;
    color: var(--muted);
}

/* Responsividade */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
    }
    
    .modal-content {
        width: 95%;
    }
    
    nav {
        height: auto;
        flex-wrap: wrap;
        padding: 10px 20px;
    }
    
    nav div {
        width: 100%;
        padding: 10px 0 !important;
    }
}
