:root {
  --bg: #05060a;
  --panel: rgba(255, 255, 255, 0.04);
  --card: rgba(255, 255, 255, 0.06);
  --text: #e8eefc;
  --muted: #9aa6c5;
  --accent: #7af0ff;
  --accent-2: #ff8bd1;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --curve: cubic-bezier(0.16, 1, 0.3, 1);
  font-family: "Space Grotesk", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(122, 240, 255, 0.1), transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(255, 139, 209, 0.2), transparent 30%),
    radial-gradient(circle at 60% 60%, rgba(108, 92, 231, 0.15), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body[dir='rtl'] {
  direction: rtl;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 16px;
  backdrop-filter: blur(12px);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(122, 240, 255, 0.7);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 14px;
}

.hero {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.05;
  margin: 12px 0;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
}

.hero-text p {
  color: #d0d7ef;
  max-width: 540px;
}

.cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 220ms var(--curve), box-shadow 220ms var(--curve), border-color 220ms var(--curve);
  color: var(--bg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 35px rgba(122, 240, 255, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-1px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.metric {
  padding: 14px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.metric strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}

.panel {
  margin-top: 44px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.panel h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.panel p.subtle {
  color: var(--muted);
  margin: 0 0 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.card {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 220ms var(--curve), border-color 220ms var(--curve), box-shadow 220ms var(--curve);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  font-weight: 700;
  font-size: 12px;
}

.price {
  font-size: 24px;
  font-weight: 700;
  margin: 6px 0;
}

.capacity {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.4px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  color: var(--muted);
}

.features li {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.dotline {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  margin: 14px 0;
}

.cta-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
}

.cta-banner strong {
  font-size: 20px;
}

.footer {
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* Admin */
.admin-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 18px 70px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

.table {
  width: 100%;
  border-spacing: 0;
  margin-top: 16px;
}

.table th,
.table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pill.muted {
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
}

@media (min-width: 860px) {
  .cta-banner {
    grid-template-columns: 2fr auto auto;
  }
}

@keyframes floaty {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

.floating {
  animation: floaty 2s ease-in-out infinite alternate;
}
