:root {
  color-scheme: dark;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(139,92,246,0.08), transparent 12%),
              radial-gradient(900px 500px at 90% 90%, rgba(16,185,129,0.06), transparent 10%),
              #071028;
  color: #e2e8f0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero,
.admin-hero {
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04)),
              linear-gradient(135deg, rgba(14,165,233,0.06), rgba(139,92,246,0.06));
  text-align: center;
  border-bottom: 1px solid rgba(148,163,184,0.04);
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
}
.top-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.brand h1 { margin:0; }
.lang-select select {
  background: rgba(255,255,255,0.04);
  color: #e6eef8;
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(148,163,184,0.06);
}
.sr-only { position:absolute; left:-9999px; }
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.04em;
}
.hero p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  margin-top: 1rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg,#2563eb,#8b5cf6);
  color: white;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(11,22,50,0.45);
}
.button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}
.primary {
  background: #10b981;
}
.primary:hover {
  background: #059669;
}
main {
  flex: 1;
  padding: 2rem 1.5rem 3rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 2.5rem;
}
.section h2 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 2rem;
}
.section p,
.section ul,
.section li {
  margin: 0;
  line-height: 1.8;
  color: #cbd5e1;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.card {
  padding: 1.6rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));
  border: 1px solid rgba(148,163,184,0.06);
  box-shadow: 0 10px 30px rgba(2,6,23,0.6);
  position: relative;
  overflow: visible;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(2,6,23,0.7); }
.ribbon {
  position: absolute;
  left: 1rem;
  top: -12px;
  background: linear-gradient(90deg,#f59e0b,#f97316);
  color: #061025;
  font-weight:700;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
}
.ribbon.premium { background: linear-gradient(90deg,#8b5cf6,#ef476f); color:#fff; }
.card h3 {
  margin-top: 0;
  font-size: 1.45rem;
  color: #f8fafc;
}
.card .price {
  font-size: 1.75rem;
  margin: 0.5rem 0 1rem;
}
.card ul {
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}
.card li {
  margin-bottom: 0.65rem;
}
.card button {
  width: 100%;
  margin-top: auto;
}
.card-gold { border-image: linear-gradient(90deg,#f59e0b,#f97316) 1; }
.card-silver { border-image: linear-gradient(90deg,#93c5fd,#9ca3af) 1; }
.card-premium { border-image: linear-gradient(90deg,#8b5cf6,#ef476f) 1; }
.order-form {
  max-width: 680px;
  width: 100%;
  display: grid;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(12,14,23,0.06));
  border: 1px solid rgba(148, 163, 184, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
}
.form-row {
  display: flex;
  flex-direction: column;
}
.form-row label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #e2e8f0;
}
.form-row input,
.form-row select {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: #0f172a;
  color: #e2e8f0;
}
.form-row input::placeholder {
  color: #94a3b8;
}
.order-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(16, 185, 129, 0.12);
  color: #a7f3d0;
}
.chat-panel {
  max-width: 800px;
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}
.chat-history {
  min-height: 260px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.02));
  padding: 1rem;
  overflow-y: auto;
  border: 1px solid rgba(148, 163, 184, 0.06);
}
.chat-message {
  margin-bottom: 0.9rem;
  line-height: 1.6;
}
.chat-message.user {
  text-align: right;
  color: #c7d2fe;
}
.chat-message.bot {
  text-align: left;
  color: #f8fafc;
}
.chat-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}
.chat-input-row input {
  width: 100%;
}
.orders-list {
  overflow-x: auto;
}
.order-card {
  margin-bottom: 1rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.02));
  border: 1px solid rgba(148, 163, 184, 0.06);
  border-radius: 12px;
}
.order-card h3 {
  margin: 0 0 0.75rem;
}
.order-card p {
  margin: 0.35rem 0;
}
.order-card button {
  margin-top: 1rem;
}
.hidden {
  display: none;
}
.footer {
  padding: 1.25rem 1.5rem;
  text-align: center;
  color: #94a3b8;
  background: #020617;
}
@media (max-width: 680px) {
  .hero,
  main,
  .footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
