﻿:root{--bg:#0f172a;--bg2:#111827;--text:#e5e7eb;--muted:#9ca3af;--line:#253047;--card:#111b2f;--btn:#22d3ee;--btnText:#042b34}
*{box-sizing:border-box} body{margin:0;font-family:"Segoe UI",Tahoma,sans-serif;color:var(--text);background:radial-gradient(circle at 10% 10%,#1d4ed8 0,transparent 35%),linear-gradient(140deg,var(--bg),var(--bg2))}
.container{width:min(1160px,93%);margin:0 auto}
nav{display:flex;justify-content:space-between;align-items:center;padding:18px 0}.logo{font-size:28px;font-weight:800}.nav-links{display:flex;gap:12px;align-items:center}nav a{color:var(--text);text-decoration:none}.cart-open{border:1px solid #22d3ee;background:#22d3ee;color:#042b34;border-radius:999px;padding:8px 14px;cursor:pointer}

.products{display:grid;grid-template-columns:repeat(5,minmax(160px,1fr));gap:14px}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden}.card img{width:100%;height:190px;object-fit:cover}.card-body{padding:12px}.card h3{margin:0 0 6px}.meta{margin:0 0 8px;color:var(--muted);font-size:14px}.price{margin:0 0 10px;font-weight:700}.buy-btn{width:100%;border:0;border-radius:8px;padding:10px;background:var(--btn);color:var(--btnText);font-weight:700}
footer{margin-top:24px;padding:18px 0 24px;border-top:1px solid var(--line);color:var(--muted)}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;align-items:center;justify-content:center;padding:14px;z-index:50}.modal.open{display:flex}.modal-card{width:min(760px,100%);max-height:92vh;overflow:auto;background:#0f172a;border:1px solid var(--line);border-radius:12px;padding:16px}.modal-head{display:flex;justify-content:space-between;align-items:center}.close-modal{border:1px solid var(--line);background:#0f172a;color:var(--text);border-radius:8px;padding:6px 10px}
#cart-items{padding-left:18px}.cart-row{display:flex;justify-content:space-between;gap:8px}.qty-controls{display:flex;gap:6px}.qty-controls button{border:1px solid var(--line);background:transparent;color:var(--text);border-radius:6px;padding:3px 8px}.total{font-weight:700}
.order-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.order-form .full{grid-column:1/-1}.order-form input,.order-form textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;background:#0b1222;color:var(--text)}.order-submit{border:0;border-radius:8px;background:var(--btn);color:var(--btnText);padding:10px 14px}
@media (max-width:980px){.products{grid-template-columns:repeat(2,1fr)}} @media (max-width:700px){nav{flex-direction:column;align-items:flex-start}.products{grid-template-columns:1fr}.order-form{grid-template-columns:1fr}}

.hero-aurora{padding:30px 0 18px;display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:end}.hero-kicker{margin:0 0 8px;color:#67e8f9;font-weight:700;letter-spacing:.7px}.hero-aurora h1{margin:0 0 10px;font-size:clamp(30px,5vw,52px)}.hero-aurora p{margin:0;color:var(--muted)}.hero-aurora-points{margin:0;padding:14px 16px;list-style:none;border:1px solid var(--line);border-radius:12px;background:rgba(17,27,47,.8)}.hero-aurora-points li{padding:6px 0;border-bottom:1px solid var(--line)}.hero-aurora-points li:last-child{border-bottom:0}@media (max-width:800px){.hero-aurora{grid-template-columns:1fr}}

/* about-site1-start */
.about1-head{padding:30px 0 16px;max-width:70ch;animation:a1Rise .8s ease both}
.about1-kicker{margin:0 0 10px;color:#67e8f9;letter-spacing:1px;font-size:12px}
.about1-head h1{margin:0 0 10px;font-size:clamp(30px,5vw,48px)}
.about1-head p{margin:0;color:var(--muted)}
.about1-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:4px 0 14px}
.about1-metrics article{border:1px solid var(--line);border-radius:12px;padding:12px;background:rgba(17,27,47,.85);animation:a1Rise .7s ease both}
.about1-metrics article:nth-child(2){animation-delay:.12s}.about1-metrics article:nth-child(3){animation-delay:.24s}
.about1-metrics strong{display:block;font-size:22px;color:#22d3ee}
.about1-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-bottom:10px}
.about1-card{border:1px solid var(--line);border-radius:12px;padding:14px;background:var(--card);animation:a1Rise .7s ease both}
.about1-card:nth-child(2){animation-delay:.12s}.about1-card:nth-child(3){animation-delay:.24s}
.about1-card h3{margin:0 0 8px}
@keyframes a1Rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@media (max-width:900px){.about1-metrics,.about1-grid{grid-template-columns:1fr}}
/* about-site1-end */

/* main-anim-start */
section[class^="hero-"] {
  animation: mainHeroIn .82s cubic-bezier(.2,.7,.2,1) both;
}

.products .card {
  opacity: 0;
  transform: translateY(22px) scale(.99);
  animation: mainCardIn .68s ease forwards;
}

.products .card:nth-child(1) { animation-delay: .08s; }
.products .card:nth-child(2) { animation-delay: .16s; }
.products .card:nth-child(3) { animation-delay: .24s; }
.products .card:nth-child(4) { animation-delay: .32s; }
.products .card:nth-child(5) { animation-delay: .40s; }

.products .card {
  transition: transform .24s ease, box-shadow .24s ease;
}

.products .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,.14);
}

footer {
  animation: mainFooterIn .75s ease .35s both;
}

@keyframes mainHeroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes mainCardIn {
  from { opacity: 0; transform: translateY(22px) scale(.99); }
  to { opacity: 1; transform: none; }
}

@keyframes mainFooterIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .products .card:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  section[class^="hero-"],
  .products .card,
  footer {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
/* main-anim-end */

/* ux-patch-start */
html { scroll-behavior: smooth; }

body { line-height: 1.45; }

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

button,
.cart-open,
nav a,
.about-link,
.order-submit,
.buy-btn,
.close-modal,
.secondary-btn {
  min-height: 42px;
}

:focus-visible {
  outline: 2px solid var(--btn);
  outline-offset: 2px;
}

.modal-card {
  scrollbar-gutter: stable;
}

#cart-items {
  max-height: 220px;
  overflow: auto;
  padding-right: 4px;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.secondary-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
}

.form-status {
  margin: 8px 0 0;
  font-size: 14px;
}

.form-status.info { color: var(--muted); }
.form-status.ok { color: #16a34a; }
.form-status.error { color: #dc2626; }

.order-submit[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

@media (max-width: 700px) {
  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal-card {
    width: 100%;
    max-height: 95vh;
    border-radius: 14px 14px 0 0;
  }

  .cart-actions button,
  .order-submit {
    width: 100%;
  }
}
/* ux-patch-end */

