:root {
  --bg: #0b1220;
  --panel: #0f1626;
  --card: #152036;
  --line: rgba(255,255,255,0.09);
  --txt: #e8ecf4;
  --muted: #93a0b8;
  --brand: #a78bfa;
  --brand2: #34d399;
  --green: #3ddc97;
  --red: #ff5d6c;
  --amber: #fbbf24;
  --radius: 16px;
  --shadow: 0 22px 60px rgba(0,0,0,0.45);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--txt); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; overflow-x: hidden; }

img { max-width: 100%; display: block; }

header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11,18,32,0.8);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; max-width: 1180px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #07101f; font-weight: 800; font-size: 16px; }
.brand b { display: block; font-size: 15px; }
.brand .sub { display: block; font-size: 11px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
nav { display: flex; gap: 10px; align-items: center; }

.btn { border: 0; cursor: pointer; font-family: inherit; border-radius: 999px; font-weight: 700; font-size: 14px; padding: 10px 18px; transition: transform .2s, background .2s; text-decoration: none; display: inline-block; }
.btn-solid { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #07101f; }
.btn-solid:hover { transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--txt); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-lg { padding: 13px 26px; font-size: 15px; width: 100%; }

.kicker { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.grad { background: linear-gradient(135deg, var(--brand), var(--brand2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* hero */
.hero { max-width: 1180px; margin: 0 auto; padding: 48px 24px 24px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero-media { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.hero-copy h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin: 10px 0 14px; }
.hero-copy .lead { color: var(--muted); font-size: 16.5px; margin-bottom: 22px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn-solid { flex: 1; min-width: 160px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 13.5px; }
.trust span::before { content: "✓ "; color: var(--green); font-weight: 800; }

/* gallery */
.gallery { max-width: 1180px; margin: 0 auto; padding: 44px 24px; text-align: center; }
.gallery h2, .steps h2, .faq h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin: 8px 0 24px; }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.g-grid img { border-radius: 16px; border: 1px solid var(--line); aspect-ratio: 1/1; object-fit: cover; transition: transform .25s; }
.g-grid img:hover { transform: scale(1.02); }
.g-grid .glow { box-shadow: 0 0 40px rgba(167,139,250,0.25); }

/* features */
.features { max-width: 1180px; margin: 0 auto; padding: 10px 24px 44px; }
.f-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-t { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card-t h3 { margin: 12px 0 6px; font-size: 16.5px; }
.card-t p { color: var(--muted); font-size: 14px; }
.card-ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(167,139,250,0.12); display: grid; place-items: center; font-size: 18px; }
.card-ico.shield::before { content: "🛡"; }
.card-ico.truck::before { content: "🚚"; }
.card-ico.phone::before { content: "📞"; }

/* order */
.order-section { max-width: 860px; margin: 0 auto; padding: 10px 24px 44px; }
.order-box {
  background: linear-gradient(160deg, rgba(167,139,250,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(167,139,250,0.35);
  border-radius: 22px; box-shadow: var(--shadow); padding: 28px;
}
.order-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 20px; flex-wrap: wrap; }
.order-head h3 { font-size: 22px; font-weight: 800; }
.order-sub { color: var(--muted); font-size: 13.5px; }
.order-price b { display: block; font-size: 24px; font-weight: 800; color: var(--brand2); }
.order-price b.soon { font-size: 16px; color: var(--muted); font-weight: 700; }
.order-price span { font-size: 12px; color: var(--muted); }
form { display: grid; gap: 12px; }
input, select, textarea { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--txt); padding: 12px 14px; font: inherit; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
textarea { resize: vertical; }
label { font-size: 12.5px; color: var(--muted); display: block; margin-bottom: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qty { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px 8px; max-width: 130px; }
.qty button { width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255,255,255,0.07); color: var(--txt); font-size: 18px; cursor: pointer; }
.qty b { flex: 1; text-align: center; font-size: 16px; }
.form-msg { padding: 12px 14px; border-radius: 12px; font-size: 14px; text-align: center; }
.form-msg.ok { background: rgba(61,220,151,0.13); color: var(--green); }
.form-msg.err { background: rgba(255,93,108,0.13); color: var(--red); }
.form-msg.info { background: rgba(251,191,36,0.12); color: var(--amber); }

/* steps */
.steps { max-width: 1180px; margin: 0 auto; padding: 44px 24px; text-align: center; }
.s-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; }
.step b { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #07101f; font-size: 17px; margin: 0 auto 12px; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 13.5px; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; padding: 10px 24px 50px; }
.faq h2 { text-align: center; }
.item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; color: var(--txt); font: inherit; font-weight: 600; font-size: 15px; padding: 16px 18px; cursor: pointer; }
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; }
.plus::before { left: 0; top: 6px; width: 14px; height: 2px; }
.plus::after { left: 6px; top: 0; width: 2px; height: 14px; transition: transform .2s; }
.item.open .plus::after { transform: rotate(90deg); }
.faq-a { display: none; padding: 0 18px 16px; color: var(--muted); font-size: 14px; }
.item.open .faq-a { display: block; }

footer { border-top: 1px solid var(--line); padding: 26px 24px 40px; }
.foot-grid { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-grid a { color: var(--brand); text-decoration: none; font-size: 15px; }
.foot-grid p { margin: 4px 0; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(4,8,16,0.7); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 100; padding: 20px; }
.modal-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; width: 100%; max-width: 520px; max-height: 82vh; overflow-y: auto; box-shadow: var(--shadow); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.x { background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; }
.pin { margin: 12px 0; }
.orders-list { margin-top: 16px; display: grid; gap: 10px; max-height: 40vh; overflow-y: auto; }
.o-item { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; }
.o-item .who { font-weight: 700; }
.o-item small { color: var(--muted); }
.o-item .st { float: right; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 99px; text-transform: capitalize; }
.st.new { background: rgba(251,191,36,0.15); color: var(--amber); }
.st.confirmed { background: rgba(167,139,250,0.15); color: var(--brand); }
.st.delivered { background: rgba(61,220,151,0.15); color: var(--green); }
.st.cancelled { background: rgba(255,93,108,0.15); color: var(--red); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .g-grid { grid-template-columns: 1fr 1fr; }
  .f-list, .s-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  header { padding: 12px 16px; }
}
@media (max-width: 500px) {
  .g-grid { grid-template-columns: 1fr; }
}