:root {
  --bg: #06111f;
  --bg-2: #081829;
  --panel: rgba(14, 31, 51, 0.82);
  --panel-2: rgba(255, 255, 255, 0.055);
  --line: rgba(145, 220, 255, 0.16);
  --line-strong: rgba(34, 211, 238, 0.34);
  --text: #f4fbff;
  --muted: #aec2d4;
  --soft: #7e95a8;
  --cyan: #22d3ee;
  --cyan-2: #67e8f9;
  --orange: #f59e0b;
  --danger: #fb7185;
  --success: #34d399;
  --radius: 24px;
  --shadow: 0 26px 80px rgba(0, 8, 22, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% 8%, rgba(34, 211, 238, 0.18), transparent 30%),
    linear-gradient(135deg, #030814 0%, #071426 42%, #04101d 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 82%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
  padding: 14px max(18px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(4, 12, 24, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(8, 18, 31, 0.86));
  color: var(--cyan-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.14);
}

.brand strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.86rem;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #d8e8f4;
  font-size: 0.94rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.site-nav a:not(.nav-primary):not(.nav-secondary):hover { color: var(--cyan-2); }
.nav-primary,
.button-primary {
  justify-content: center;
  padding: 0 18px;
  border: 0;
  background: var(--cyan);
  color: #04111f;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(34, 211, 238, 0.18);
  cursor: pointer;
}

.nav-secondary,
.button-secondary {
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.08);
  color: #eaffff;
  font-weight: 700;
  cursor: pointer;
}

.menu-button {
  display: none;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  padding: 0 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 74px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 52px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  background: rgba(4, 12, 24, 0.56);
  color: #c7f8ff;
  padding: 9px 13px;
  font-size: 0.92rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
}

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
h1 { max-width: 760px; margin-top: 22px; font-size: clamp(2.45rem, 7vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: 1.22rem; }
p { color: var(--muted); }

.hero p.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: #d4e3ef;
  font-size: clamp(1.06rem, 2vw, 1.24rem);
  line-height: 1.75;
}

.hero-actions,
.cta-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-primary,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 20px;
}

.button-ghost {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  color: var(--text);
  font-weight: 700;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.trust-item,
.stat-card,
.admin-card,
.card,
.form-card {
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--panel-2);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 16px 50px rgba(0, 8, 22, 0.22);
}

.trust-item {
  padding: 16px;
  color: #dcebf7;
  font-size: 0.96rem;
}

.visual-card {
  position: relative;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 32px;
  background: rgba(4, 12, 24, 0.72);
  padding: 10px;
  box-shadow: var(--shadow);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 64%);
  filter: blur(16px);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 54% 50%;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.09);
}

.section {
  padding: 84px 0;
}

.section.alt {
  border-block: 1px solid rgba(255,255,255,0.08);
  background: rgba(5, 14, 25, 0.52);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p {
  margin: 16px 0 0;
  font-size: 1.04rem;
  line-height: 1.72;
}

.kicker {
  color: var(--cyan-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(34, 211, 238, 0.06);
}

.card .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan-2);
  font-weight: 900;
}

.card p { margin-bottom: 0; line-height: 1.65; }

.catalog-box,
.cta-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 32px;
  background:
    linear-gradient(rgba(34,211,238,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,0.04) 1px, transparent 1px),
    linear-gradient(135deg, rgba(18, 35, 57, 0.9), rgba(4, 12, 24, 0.96));
  background-size: 48px 48px, 48px 48px, auto;
  padding: 38px;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 92px 0 42px;
}

.page-hero p {
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.form-card {
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #edf8ff; font-weight: 700; font-size: 0.96rem; }
.field small { color: var(--soft); }

input, textarea, select {
  width: 100%;
  border: 1px solid rgba(145,220,255,0.16);
  border-radius: 17px;
  background: rgba(9, 24, 42, 0.82);
  color: var(--text);
  min-height: 48px;
  padding: 12px 15px;
  outline: none;
}

textarea { min-height: 132px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
}

.check-row input { width: auto; min-height: auto; margin-top: 4px; }

.file-drop {
  display: grid;
  place-items: center;
  min-height: 130px;
  border: 1px dashed rgba(34, 211, 238, 0.42);
  border-radius: 20px;
  background: rgba(34, 211, 238, 0.055);
  text-align: center;
  cursor: pointer;
}

.file-drop input { display: none; }
.file-drop strong { display: block; color: var(--text); }
.file-drop span { color: var(--soft); }

.notice {
  border: 1px solid rgba(245,158,11,0.28);
  border-radius: 18px;
  background: rgba(245,158,11,0.09);
  color: #ffe7b3;
  padding: 15px 17px;
  margin-bottom: 18px;
}

.flash-wrap {
  position: fixed;
  z-index: 80;
  top: 90px;
  right: 18px;
  display: grid;
  gap: 10px;
}

.flash {
  max-width: 420px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  background: rgba(4, 12, 24, 0.92);
  color: var(--text);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.flash-success { border-color: rgba(52,211,153,0.35); }
.flash-error { border-color: rgba(251,113,133,0.4); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 13px 10px;
  text-align: left;
  vertical-align: top;
}
th { color: #bfefff; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
td { color: #e7f2fb; }

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(34,211,238,0.24);
  border-radius: 999px;
  background: rgba(34,211,238,0.08);
  color: #caf9ff;
  padding: 0 10px;
  font-size: 0.86rem;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  position: relative;
  border-left: 2px solid rgba(34, 211, 238, 0.38);
  padding: 0 0 0 16px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.55);
}

.timeline-item strong,
.timeline-item span {
  display: block;
}

.timeline-item span {
  color: var(--soft);
  font-size: 0.88rem;
  margin-top: 3px;
}

.timeline-item p {
  margin: 8px 0 0;
}

.admin-body {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: #06111f;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  border-right: 1px solid rgba(255,255,255,0.08);
  background: rgba(3, 9, 18, 0.9);
  padding: 22px;
}

.admin-sidebar nav {
  display: grid;
  gap: 7px;
  margin-top: 28px;
}

.admin-sidebar nav a {
  border-radius: 14px;
  color: #d8e8f4;
  padding: 11px 12px;
}

.admin-sidebar nav a:hover {
  background: rgba(34,211,238,0.08);
  color: var(--cyan-2);
}

.admin-main {
  min-height: 100vh;
  padding: 28px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-topbar span { color: var(--muted); }
.admin-card { padding: 22px; margin-bottom: 18px; }
.admin-card h2 { font-size: 1.45rem; margin-bottom: 14px; }
.stat-card { padding: 22px; }
.stat-card strong { display: block; margin-top: 8px; font-size: 2rem; }

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.login-card {
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(10, 26, 45, 0.88);
  padding: 30px;
  box-shadow: var(--shadow);
}

.product-media,
.gallery-media {
  display: grid;
  place-items: center;
  height: 190px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34,211,238,0.14), rgba(255,255,255,0.04));
  color: var(--cyan-2);
  font-size: 2.4rem;
  font-weight: 900;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  background: #25d366;
  color: #03130b;
  font-weight: 900;
  padding: 0 18px;
  box-shadow: 0 18px 44px rgba(37,211,102,0.28);
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(2, 8, 16, 0.78);
  padding: 48px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 34px;
}

.footer-grid h3 { margin-bottom: 16px; font-size: 1rem; }
.footer-grid a, .footer-grid span { display: block; margin-top: 9px; color: var(--muted); }
.footer-grid a:hover { color: var(--cyan-2); }
.footer-brand { margin-bottom: 16px; }
.footer-bottom { margin-top: 34px; color: var(--soft); font-size: 0.9rem; }

@media (max-width: 980px) {
  .menu-button { display: inline-flex; align-items: center; }
  .site-header { flex-wrap: wrap; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 14px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { justify-content: flex-start; }
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .trust-row { grid-template-columns: 1fr; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; min-height: auto; }
  .admin-sidebar nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding-top: 62px; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-main { padding: 18px; }
  .admin-sidebar nav { grid-template-columns: 1fr; }
  .catalog-box, .cta-box, .form-card { padding: 22px; }
  .flash-wrap { left: 16px; right: 16px; }
  .whatsapp-float { left: 18px; right: 18px; }
}
