/* Ayster proprietary software. Copyright © 2026 Ayster. All rights reserved. */
/* =========================
   AYSTER GLOBAL STYLES
========================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --card: #ffffff;
  --card-border: #ece7e4;
  --text: #23262b;
  --muted: #6b7280;
  --gold: #7c3aed;
  --gold-dark: #6d28d9;
  --blue: #7c3aed;
  --purple: #7a5cff;
  --green: #5cf2b5;
  --max-width: 1180px;
}

•⁠  ⁠{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* =========================
   BACKGROUND GLOW
========================= */

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: none;
  filter: blur(20px);
}

/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav {
  width: min(92%, var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.links a {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.25s ease;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transition: width 0.25s ease;
}

.links a:hover {
  color: var(--text);
}

.links a:hover::after {
  width: 100%;
}

/* =========================
   MAIN LAYOUT
========================= */

main {
  width: 100%;
}

.hero,
.section,
.footer {
  width: min(92%, var(--max-width));
  margin-inline: auto;
}

/* =========================
/* HERO */

.hero{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:60px;
    min-height:100vh;
}

.earth-container{
    width:100%;
    height:600px;
    position:relative;
}

#earthCanvas{
    width:100%;
    height:100%;
    display:block;
}* ==================================
   AYSTER HERO + EARTH UPGRADE
================================== */

body {
  background: #ffffff;
  overflow-x: hidden;
}

.hero {
  width: min(92%, 1200px);
  min-height: calc(100vh - 75px);
  margin: 0 auto;
  padding: 65px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.hero-text,
.hero-copy {
  position: relative;
  z-index: 5;
}

.hero h1{
  margin-top: 20px;
  max-width: 650px;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 1;
  color: var(--text);
}
/* =========================
   AYSTER AUTH PAGES
========================= */

.auth-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #23262b;
  background: #ffffff;
}

.auth-box {
  width: 100%;
  max-width: 460px;
  padding: 38px;
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(35, 10, 16, 0.14);
}

.auth-box h1 {
  margin: 0 0 8px;
  color: #7c3aed;
  font-size: 36px;
}

.auth-box h2 {
  margin: 0 0 28px;
  color: #23262b;
  font-size: 20px;
}

.auth-box form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-box input {
  width: 100%;
  padding: 15px 16px;
  color: #23262b;
  font-size: 16px;
  border: 1px solid #ddd6d1;
  border-radius: 12px;
  outline: none;
  background: #ffffff;
}

.auth-box input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.auth-box button {
  width: 100%;
  padding: 15px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(135deg, #7c3aed, #7c3aed);
}

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

.auth-box p {
  margin-top: 18px;
  color: #6b7280;
}

.auth-box a {
  color: #7c3aed;
  text-decoration: none;
  font-weight: 700;
}

#signupMessage {
  min-height: 22px;
  margin-top: 14px;
  color: #ff8585;
}

@media (max-width: 520px) {
  .auth-box {
    padding: 28px 20px;
  }
}