/* =========================
   NOVA MASTER – GLOBAL RESET
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #0f2027, #05080c 60%);
    color: #eaeaea;
    overflow-x: hidden;
}

/* =========================
   CONTAINERS
   ========================= */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* =========================
   GLASS BASE
   ========================= */
.glass,
.header-glass,
.footer-glass,
.card,
.form-container,
.admin-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* =========================
   HEADER
   ========================= */
.header-glass {
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 16px 0;
}

.header-glass .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    text-decoration: none;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #cfd8dc;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00f5ff, #00ff88);
    transition: width .3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* =========================
   HERO / TITLES
   ========================= */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

/* =========================
   FORMS
   ========================= */
.form-container {
    max-width: 420px;
    margin: 80px auto;
    padding: 40px;
    animation: fadeUp .6s ease;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.form-container input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 15px;
}

.form-container input::placeholder {
    color: #aaa;
}

.form-container button {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: #000;
    background: linear-gradient(135deg, #00f5ff, #00ff88);
    transition: transform .2s ease, box-shadow .2s ease;
}

.form-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,255,200,0.4);
}

/* =========================
   ALERTS
   ========================= */
.errors, .success {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
}

.errors {
    background: rgba(255,0,0,0.15);
    border: 1px solid rgba(255,0,0,0.3);
}

.success {
    background: rgba(0,255,150,0.15);
    border: 1px solid rgba(0,255,150,0.3);
}

/* =========================
   PRODUCT GRID
   ========================= */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.card {
    padding: 30px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: #b0bec5;
    margin-bottom: 20px;
}

.card .price {
    font-size: 26px;
    font-weight: 800;
    color: #00ffcc;
}

.card button {
    margin-top: 20px;
    width: 100%;
}

/* =========================
   FOOTER
   ========================= */
.footer-glass {
    margin-top: 80px;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: #90a4ae;
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    nav a {
        margin-left: 12px;
    }

    .form-container {
        margin: 40px 15px;
    }
}
