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

:root {
    --bg:      #080e1f;
    --bg2:     #0d1530;
    --bg3:     #111d3a;
    --bg4:     #162045;
    --blue:    #1a56ff;
    --blue2:   #0040e0;
    --blue3:   #4d80ff;
    --blueglow:rgba(26,86,255,0.18);
    --text:    #eef2ff;
    --text2:   #7b90c4;
    --border:  rgba(26,86,255,0.18);
    --border2: rgba(26,86,255,0.38);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(8,14,31,0.93);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 0 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}

.logo-img { height: 42px; width: auto; display: block; }

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

nav a { color: var(--text2); text-decoration: none; font-size: 14px; transition: color 0.2s; font-weight: 500; }
nav a:hover { color: var(--text); }

.btn-vinted {
    background: var(--blue); color: #fff !important;
    padding: 9px 20px; border-radius: 8px;
    font-weight: 700; font-size: 13px; transition: background 0.2s !important;
}
.btn-vinted:hover { background: var(--blue2) !important; color: #fff !important; }

/* ── HERO ── */
.hero {
    min-height: 82vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 5rem 2rem;
    position: relative; overflow: hidden;
}

.hero-glow {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 60% 55% at 50% 38%, rgba(26,86,255,0.13) 0%, transparent 65%);
}

.grid-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
            linear-gradient(rgba(26,86,255,0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(26,86,255,0.05) 1px, transparent 1px);
    background-size: 44px 44px;
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero-logo {
    height: 30vw; width: auto; margin: 0 auto 2.5rem;
    filter: drop-shadow(0 0 30px rgba(26,86,255,0.4));
    display: block;
}

.hero-tag {
    display: inline-block;
    background: rgba(26,86,255,0.12); color: var(--blue3);
    border: 1px solid var(--border2);
    padding: 6px 18px; border-radius: 100px;
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; margin-bottom: 1.6rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800; line-height: 1.12;
    margin-bottom: 1.2rem; letter-spacing: -1.5px;
}

.hero h1 .accent {
    background: linear-gradient(90deg, #4d80ff 0%, #1a56ff 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero p {
    font-size: 1.05rem; color: var(--text2); line-height: 1.75;
    margin-bottom: 2.2rem; max-width: 520px; margin-left: auto; margin-right: auto;
}

.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
    background: var(--blue); color: #fff;
    padding: 14px 30px; border-radius: 10px;
    font-weight: 700; font-size: 15px; text-decoration: none; border: none; cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--blue2); transform: translateY(-1px); }

.btn-secondary {
    background: transparent; color: var(--text);
    padding: 14px 30px; border-radius: 10px; font-weight: 600; font-size: 15px;
    text-decoration: none; border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer; transition: border-color 0.2s, transform 0.15s;
    display: inline-flex; align-items: center; gap: 8px; font-family: inherit;
}
.btn-secondary:hover { border-color: var(--border2); color: var(--text); transform: translateY(-1px); }

/* ── STATS ── */
.stats {
    display: flex; justify-content: center;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    background: var(--bg2); flex-wrap: wrap;
}

.stat {
    text-align: center; padding: 1.4rem 2.5rem;
    border-right: 1px solid var(--border); flex: 1; min-width: 140px;
}
.stat:last-child { border-right: none; }
.stat-num { font-size: 1.7rem; font-weight: 800; color: var(--blue3); letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--text2); margin-top: 3px; font-weight: 500; }

/* ── CATALOGUE ── */
.section { padding: 5rem 2rem; max-width: 1140px; margin: 0 auto; }

.section-eyebrow {
    font-size: 11px; color: var(--blue3); font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px;
}

.section-title { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.8px; }
.section-title span { color: var(--blue3); }

.section-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem;
}

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; }

.filter-btn {
    padding: 7px 18px; border-radius: 100px; font-size: 13px;
    cursor: pointer; border: 1px solid rgba(255,255,255,0.1);
    background: transparent; color: var(--text2);
    transition: all 0.2s; font-family: inherit; font-weight: 500;
}
.filter-btn.active, .filter-btn:hover {
    background: rgba(26,86,255,0.15); border-color: var(--border2); color: var(--blue3);
}

.products-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 1.5rem;
}

.product-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.product-card:hover {
    border-color: var(--border2); transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26,86,255,0.12);
}

.product-img {
    width: 100%; aspect-ratio: 1; background: var(--bg3);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }

.product-img-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    color: var(--text2); font-size: 13px;
}

.badge-new {
    position: absolute; top: 12px; right: 12px;
    background: var(--blue); color: #fff;
    font-size: 10px; font-weight: 800; padding: 4px 12px;
    border-radius: 100px; letter-spacing: 1px; text-transform: uppercase;
}

.product-info { padding: 1.1rem 1.2rem 1.3rem; }
.product-category { font-size: 11px; color: var(--blue3); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.product-name { font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.product-desc {
    font-size: 13px; color: var(--text2); line-height: 1.55; margin-bottom: 14px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 1.25rem; font-weight: 800; color: var(--text); }
.product-price span { font-size: 12px; color: var(--text2); font-weight: 400; }
.btn-buy {
    background: var(--blue); color: #fff; border: none; padding: 9px 18px; border-radius: 8px;
    font-size: 13px; font-weight: 700; text-decoration: none; transition: background 0.2s; white-space: nowrap;
}
.btn-buy:hover { background: var(--blue2); }

/* ── PROCESS ── */
.process-section {
    background: var(--bg2);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 5rem 2rem;
}
.process-inner { max-width: 1140px; margin: 0 auto; }

.process-steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem; margin-top: 2.5rem;
}

.step {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: 16px; padding: 1.6rem; position: relative; overflow: hidden;
    transition: border-color 0.2s;
}
.step:hover { border-color: var(--border2); }
.step::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--blue); opacity: 0; transition: opacity 0.2s;
}
.step:hover::before { opacity: 1; }
.step-num { font-size: 11px; font-weight: 800; color: var(--blue3); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1rem; }
.step-icon { font-size: 28px; margin-bottom: 0.8rem; }
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.step p { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ── ABOUT ── */
.about-section {
    max-width: 1140px; margin: 0 auto; padding: 5rem 2rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}

.about-visual {
    aspect-ratio: 1; background: var(--bg2);
    border: 1px solid var(--border); border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative;
}
.about-visual::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(26,86,255,0.08) 0%, transparent 70%);
}

.about-text h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 1.2rem; letter-spacing: -0.8px; line-height: 1.2; }
.about-text p { font-size: 14px; color: var(--text2); line-height: 1.75; margin-bottom: 1.1rem; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 0.5rem; }
.feature-list li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; color: var(--text2); }
.feature-list li::before { content: "→"; color: var(--blue3); flex-shrink: 0; font-weight: 700; }

/* ── FOOTER ── */
footer {
    background: var(--bg2); border-top: 1px solid var(--border);
    padding: 3rem 2rem; text-align: center;
}
.footer-logo-img { height: 52px; width: auto; margin: 0 auto 0.8rem; display: block; }
footer p { font-size: 13px; color: var(--text2); margin-bottom: 0.4rem; }
footer a { color: var(--blue3); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── ADMIN ── */
#admin-panel {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: var(--bg); overflow-y: auto;
}
.admin-header {
    background: var(--bg2); border-bottom: 1px solid var(--border);
    padding: 1rem 2rem; display: flex; align-items: center;
    justify-content: space-between; position: sticky; top: 0; z-index: 10;
}
.admin-logo { height: 36px; width: auto; }
.admin-body { padding: 2rem; max-width: 920px; margin: 0 auto; }

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 13px; color: var(--text2); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group textarea {
    width: 100%; padding: 11px 14px;
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: 9px; color: var(--text); font-size: 14px;
    font-family: inherit; outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--border2); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.admin-item {
    background: var(--bg2); border: 1px solid var(--border); border-radius: 12px;
    padding: 1rem; display: flex; gap: 1rem; align-items: center;
    margin-bottom: 0.75rem; flex-wrap: wrap;
}
.admin-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.admin-item-img-ph {
    width: 64px; height: 64px; border-radius: 8px;
    background: var(--bg3); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--blue3); font-size: 22px;
}
.admin-item-info { flex: 1; min-width: 120px; }
.admin-item-info strong { font-size: 14px; display: block; font-weight: 600; }
.admin-item-info small { font-size: 12px; color: var(--text2); }
.admin-item-actions { display: flex; gap: 8px; }
.btn-del {
    padding: 7px 14px; border-radius: 7px; font-size: 12px; cursor: pointer;
    background: rgba(226,75,74,0.1); color: #e24b4a;
    border: 1px solid rgba(226,75,74,0.3); font-family: inherit; font-weight: 600;
}
.btn-edit {
    padding: 7px 14px; border-radius: 7px; font-size: 12px; cursor: pointer;
    background: rgba(26,86,255,0.12); color: var(--blue3);
    border: 1px solid var(--border2); font-family: inherit; font-weight: 600;
}

/* ── LOGIN ── */
#login-screen {
    display: none; position: fixed; inset: 0; z-index: 10000;
    background: rgba(8,14,31,0.97);
    align-items: center; justify-content: center;
}
.login-box {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 18px; padding: 2.8rem; width: 360px; text-align: center;
}
.login-box h2 { font-size: 20px; margin-bottom: 0.3rem; font-weight: 700; }
.login-box p { font-size: 13px; color: var(--text2); margin-bottom: 1.6rem; }
.error-msg { color: #e24b4a; font-size: 13px; margin-top: 8px; display: none; }

/* ── TOAST ── */
.toast {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 99999;
    background: var(--bg2); border: 1px solid var(--border2);
    color: var(--blue3); padding: 12px 22px; border-radius: 10px;
    font-size: 14px; font-weight: 600; display: none;
    animation: fadeUp 0.3s ease;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
    nav { padding: 0 1rem; }
    .nav-links { gap: 1rem; }
    .about-section { grid-template-columns: 1fr; gap: 2.5rem; }
    .stat { border-right: none; border-bottom: 1px solid var(--border); }
    .stat:last-child { border-bottom: none; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 3rem 1rem; }
}