:root {
  color-scheme: dark;
  color: #f4f7ff;
  background: #0f172a;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 25%),
    radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.14), transparent 20%),
    #0f172a;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.profile-badge {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  z-index: 20;
}

.profile-badge img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.profile-badge span {
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.95rem;
}

.menu-widget {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  width: 3.2rem;
  height: 3.2rem;
  border: none;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.menu-toggle {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  padding: 0;
}

.menu-toggle:hover {
  transform: translateX(2px);
}

.menu-line {
  position: absolute;
  left: 50%;
  top: 50%;
  background: #f8fafc;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease, width 0.28s ease, height 0.28s ease;
}

.menu-line.main {
  width: 1.6rem;
  height: 0.16rem;
  transform: translate(-50%, -50%) rotate(0deg);
}

.menu-line.rotator {
  width: 0.16rem;
  height: 1.6rem;
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 1;
}

.menu-line.clone {
  width: 1.6rem;
  height: 0.16rem;
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0.2);
  opacity: 0;
}

.menu-toggle.open .menu-line.rotator {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.95);
  opacity: 0;
}

.menu-toggle.open .menu-line.clone {
  transform: translate(-50%, -50%) rotate(0deg) scaleY(1);
  opacity: 1;
}

.menu-toggle.open .menu-line.main {
  width: 1.85rem;
  transform: translate(-50%, -50%) rotate(0deg);
}

.menu-toggle:not(.open) .menu-line.clone {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0.2);
  opacity: 0;
}

.menu-toggle {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: transparent;
  padding: 0;
}

.slide-menu {
  position: fixed;
  top: 5rem;
  left: 1rem;
  width: min(20rem, calc(100vw - 2rem));
  padding: 1rem;
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 0.85rem;
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  top: 5rem;
  left: 1rem;
  width: min(20rem, calc(100vw - 2rem));
  padding: 1rem;
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 0.85rem;
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.slide-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.menu-link {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
  font-weight: 600;
  text-decoration: none;
  transform: translateX(-1rem);
  animation: slideIn 0.35s ease forwards;
}

.menu-link:nth-child(1) { animation-delay: 0.05s; }
.menu-link:nth-child(2) { animation-delay: 0.1s; }
.menu-link:nth-child(3) { animation-delay: 0.15s; }
.menu-link:nth-child(4) { animation-delay: 0.2s; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-1rem); }
  to { opacity: 1; transform: translateX(0); }
}

.hero {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  padding: 5rem 6vw 3rem;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: #93c5fd;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  line-height: 0.98;
}

.hero-copy,
.card p,
.about-card p,
.footer p {
  color: #cbd5e1;
  max-width: 45rem;
}

.hero-copy {
  margin: 1.6rem 0 2rem;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-note {
  margin-top: 1rem;
  color: #cbd5e1;
  max-width: 42rem;
  font-size: 0.95rem;
}

.actions-panel {
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 32px;
  padding: 2.5rem;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-link {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: linear-gradient(135deg, #6366f1, #38bdf8);
  color: white;
  box-shadow: 0 20px 50px rgba(56, 189, 248, 0.18);
}

.secondary {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.logo-card {
  width: min(100%, 360px);
  height: auto;
  border-radius: 2.5rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 35px 90px rgba(15, 23, 42, 0.35);
  display: grid;
  place-items: center;
  padding: 2.5rem;
  gap: 1.2rem;
  text-align: center;
}

.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 1.75rem;
}

.logo-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.logo-copy p {
  margin: 0;
  color: #cbd5e1;
  font-size: 1rem;
  max-width: 24rem;
}

.section {
  padding: 4.5rem 6vw;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 2rem;
  border-radius: 32px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.card h3 {
  margin-bottom: 0.85rem;
}

.about {
  background: rgba(15, 23, 42, 0.62);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.about-card {
  max-width: 840px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 3rem 6vw;
  margin-top: 2rem;
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.auth-status {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.16);
  color: #e0f2fe;
  font-size: 0.96rem;
  max-width: 560px;
}

.footer h2 {
  margin-bottom: 0.75rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 3rem;
  }

  .hero-copy,
  .card p,
  .about-card p,
  .footer p {
    font-size: 1rem;
  }
}
