@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  color-scheme: light;
  --bg-0: #0a0b10;
  --bg-1: #141824;
  --card: rgba(20, 24, 36, 0.72);
  --card-strong: rgba(18, 23, 34, 0.92);
  --border: rgba(255, 255, 255, 0.08);
  --ink: #f4f6fb;
  --muted: rgba(244, 246, 251, 0.65);
  --accent-blue: #2cc7ff;
  --accent-orange: #ff8a1f;
  --accent-cool: #4dd1ff;
  --shadow: 0 28px 70px rgba(4, 10, 20, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(900px circle at 12% 14%, rgba(44, 199, 255, 0.22), transparent 55%),
    radial-gradient(840px circle at 88% 12%, rgba(255, 138, 31, 0.22), transparent 55%),
    linear-gradient(150deg, var(--bg-0), var(--bg-1) 55%, #0b0e15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 95px 40px 120px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(600px circle at 20% 80%, rgba(44, 199, 255, 0.08), transparent 60%),
    radial-gradient(500px circle at 80% 70%, rgba(255, 138, 31, 0.1), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
}

main {
  position: relative;
  z-index: 1;
}

.home {
  display: grid;
  gap: 2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 0 0 18px 18px;
  border: 1px solid var(--border);
  background: rgba(10, 14, 22, 0.95);
  box-shadow: 0 16px 36px rgba(5, 10, 18, 0.35);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 18px 18px 0 0;
  background: rgba(10, 14, 22, 0.95);
  box-shadow: 0 -16px 36px rgba(5, 10, 18, 0.35);
}

.footer-inner {
  width: min(1120px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-copy {
  font-size: 14px;
  color: var(--muted);
}

.footer-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 8px 14px rgba(44, 199, 255, 0.35));
}

.footer-name {
  color: var(--ink);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link {
  color: var(--ink);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-link:hover {
  color: var(--accent-blue);
}

.footer-sep {
  color: var(--muted);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 10px 18px rgba(44, 199, 255, 0.35));
}

.nav-name {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.nav-link {
  text-decoration: none;
  color: var(--ink);
  transition: color 160ms ease;
}

.nav-link:hover {
  color: var(--accent-blue);
}

.nav-sep {
  color: var(--muted);
}

.maintenance-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 138, 31, 0.28);
  background: linear-gradient(120deg, rgba(20, 24, 36, 0.85), rgba(18, 23, 34, 0.6));
  box-shadow: 0 18px 36px rgba(10, 8, 4, 0.3);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  background: radial-gradient(circle at 30% 30%, #ffe0b5, var(--accent-orange));
  box-shadow: 0 0 12px rgba(255, 138, 31, 0.6);
}

.maintenance-title {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-orange);
}

.maintenance-text {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.maintenance-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 31, 0.3);
  background: rgba(20, 16, 12, 0.6);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 16px;
}

.home-hero,
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: flex-start;
}

.hero-copy {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px 40px 36px;
  box-shadow: var(--shadow);
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 12px 24px rgba(44, 199, 255, 0.35));
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-blue);
  margin: 0 0 6px;
}

.brand-tag {
  font-size: 14px;
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.lead {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 28px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.button.primary {
  color: #0a0b10;
  background: linear-gradient(120deg, var(--accent-blue), var(--accent-orange));
  box-shadow: 0 18px 36px rgba(44, 199, 255, 0.22);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.meta-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(13, 17, 26, 0.6);
}

.hero-visual {
  display: grid;
  gap: 18px;
  align-items: center;
}

.sidebar-card {
  background: rgba(13, 17, 26, 0.72);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 12px;
}

.glow-frame {
  position: relative;
  background: var(--card-strong);
  border-radius: 28px;
  border: 1px solid var(--border);
  padding: 36px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-mark {
  width: min(200px, 80%);
  border-radius: 50%;
  z-index: 1;
  filter: drop-shadow(0 16px 32px rgba(44, 199, 255, 0.4));
}

.orbit {
  position: absolute;
  border-radius: 40%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  filter: blur(0.2px);
  animation: rotate 18s linear infinite;
}

.orbit-blue {
  width: 280px;
  height: 280px;
  border-color: rgba(44, 199, 255, 0.35);
}

.orbit-orange {
  width: 220px;
  height: 220px;
  border-color: rgba(255, 138, 31, 0.35);
  animation-direction: reverse;
}

.stat-grid {
  display: grid;
  gap: 12px;
}

.stat-card {
  background: rgba(13, 17, 26, 0.7);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
}

.stat-title {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 6px;
}

.stat-value {
  font-size: 14px;
  color: var(--muted);
}

.signin-card {
  background: rgba(13, 17, 26, 0.72);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 12px;
}

.signin-card h2 {
  margin: 0;
  font-size: 20px;
}

.signin-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.signin-footer .text-link {
  margin-top: 0;
}

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

.feature-card {
  background: rgba(13, 17, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.feature-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.login-page,
.admin-page {
  width: min(600px, 100%);
}

.profile-page {
  width: min(980px, 100%);
}

.legal-page {
  width: min(860px, 100%);
}

.login-card,
.admin-card {
  background: var(--card);
  border-radius: 26px;
  padding: 34px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.profile-card {
  background: var(--card);
  border-radius: 26px;
  padding: 34px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.profile-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}

.profile-aside {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.profile-avatar {
  width: 200px;
  height: 200px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(10, 12, 18, 0.7);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(4, 10, 20, 0.35);
  display: grid;
  place-items: center;
}

.profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 72px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background:
    radial-gradient(240px circle at 25% 20%, rgba(44, 199, 255, 0.22), transparent 60%),
    radial-gradient(260px circle at 85% 80%, rgba(255, 138, 31, 0.22), transparent 60%),
    rgba(10, 12, 18, 0.7);
}

.profile-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-avatar-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.profile-address {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.profile-address h2 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.profile-address-grid {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
}

.profile-address-grid .field:nth-child(3),
.profile-address-grid .field:nth-child(4),
.profile-address-grid .field:nth-child(5) {
  grid-column: 1 / -1;
}

.legal-card {
  background: var(--card);
  border-radius: 26px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.legal-section {
  margin-top: 24px;
}

.legal-section h2 {
  margin-bottom: 10px;
  font-size: 18px;
}

.legal-section p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(10, 12, 18, 0.7);
  color: var(--ink);
  font-size: 15px;
}

.alert {
  background: rgba(199, 61, 41, 0.15);
  color: #f3c2bb;
  border: 1px solid rgba(199, 61, 41, 0.35);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.success {
  color: #b6f0cc;
  background: rgba(40, 120, 75, 0.2);
  border: 1px solid rgba(60, 165, 99, 0.35);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.warning {
  color: #ffe0b5;
  background: rgba(255, 138, 31, 0.14);
  border: 1px solid rgba(255, 138, 31, 0.35);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-aside {
    justify-items: center;
  }
}

@media (max-width: 680px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .glow-frame {
    padding: 28px;
  }

  .brand-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }
}
