:root {
    --bg: #0b0f13;
    --accent: #3ea6ff;
    --muted: #98a0ad;
    --card: #0f1620;
    --surface: #0b1116;
    --container: 1000px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
    margin: 0;
    background: var(--bg);
    color: #e6eef8;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 20px;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.nav a {
    margin-left: 16px;
    color: #e6eef8;
    text-decoration: none;
}

.hero {
    padding: 48px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 28px;
    margin: 0 0 12px;
}

.cta {
    margin-top: 16px;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 6px;
    background: var(--accent);
    color: #07101a;
    text-decoration: none;
}

.btn.ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(62,166,255,0.12);
    margin-left: 8px;
}

.btn.small {
    padding: 6px 8px;
    font-size: 12px;
}

.features {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    justify-content: center;
}

.features article {
    background: var(--card);
    padding: 16px;
    border-radius: 8px;
    flex: 1;
    max-width: 260px;
}

.form {
    background: var(--card);
    padding: 18px;
    border-radius: 8px;
}

.field-row {
    display: flex;
    gap: 12px;
}

.field-row .field {
    flex: 1 1 0;
    min-width: 0;
}

.form .field a {
    display: block;
    width: 100%;
}

.form .field a input.full-input {
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.form .field input[readonly] {
    background: #0b1116;
    color: #e6eef8;
}

.field-row { align-items: center; }

label {
    display: block;
    margin-bottom: 10px;
}

input[type=text], input[type=email], input[type=number], select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    font-size: 14px;
    background: #081018;
    color: #e6eef8;
}

textarea {
    height: 180px;
    resize: vertical;
    padding: 12px;
}

.form textarea.wide-notes {
    width: calc(100%);
    margin-left: 0;
    padding: 16px;
    border-radius: 10px;
}

.full-input {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    background: #081018;
    color: #e6eef8;
}

fieldset {
    border: 1px dashed rgba(255,255,255,0.04);
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
}

.notice {
    margin-top: 14px;
    color: var(--muted);
}

.whatsapp-note {
    margin-top: 12px;
    color: #dff2e6;
    background: #0b2f1f;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(223,242,230,0.06);
}

.whatsapp-box {
    margin-top: 10px;
    background: #1a2a21;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.04);
}

.whatsapp-box p {
    margin: 0 0 8px;
    color: #c9d7cc;
}

.footer {
    padding: 16px 20px;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 720px) {
    .features {
        flex-direction: column;
    }
    .field-row {
        flex-direction: column;
    }
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.modal {
    background: var(--card);
    padding: 20px;
    border-radius: 8px;
    max-width: 420px;
    width: calc(100% - 40px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
.modal h3 { margin-top:0 }
.modal .actions { margin-top:12px; text-align:right }
.modal-backdrop.show { display:flex }

.category-box {
    background: var(--card);
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.03);
}
.category-box:hover { box-shadow: 0 6px 16px rgba(62,166,255,0.06); }
.category-box .cat-name { margin-top:8px; font-size:13px; color:#e6eef8 }
.product { background: transparent }

@media (max-width: 720px) {
    #products { grid-template-columns: 1fr !important }
    #categoryBoxes { grid-template-columns: repeat(2,1fr) !important }
}

