/* =========================
   VARIABLES
========================= */

:root {
  --primary: #009dff;
  --primary-dark: #0077cc;
  --purple: #7c3aed;

  --accent-green: #22c55e;
  --accent-orange: #f97316;
  --accent-pink: #ec4899;

  --bg: #f6f8fc;
  --alt-bg: #eaf2ff;

  --text: #0f172a;
  --muted: #475569;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* =========================
   BASE
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;

  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* =========================
   CANVAS
========================= */

#universe {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.25;
}

/* =========================
   HEADER
========================= */

header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 60px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(0,0,0,0.05);

  z-index: 100;
}

.logo {
  font-family: Orbitron, sans-serif;
  font-size: 1.3rem;

  background: linear-gradient(90deg, var(--primary), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  display: flex;
  gap: 14px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  opacity: 0.7;
}

nav a:hover {
  opacity: 1;
  color: var(--primary);
}

/* =========================
   CONTAINER
========================= */

.container {
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 140px 20px 60px;

  background:
    radial-gradient(circle at 20% 30%, rgba(0,157,255,0.10), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(124,58,237,0.10), transparent 40%);
}

/* =========================
   PANEL
========================= */

.panel {
  width: 100%;
  max-width: 720px;

  background: #ffffff;

  border-radius: 22px;

  padding: 50px;

  box-shadow: var(--shadow);

  border: 1px solid rgba(0,0,0,0.05);

  position: relative;
  overflow: hidden;

  z-index: 1;
}

/* glow effect */
.panel::before,
.panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.panel::before {
  width: 240px;
  height: 240px;
  top: -100px;
  right: -100px;
  background: rgba(0,157,255,0.10);
}

.panel::after {
  width: 200px;
  height: 200px;
  bottom: -80px;
  left: -80px;
  background: rgba(124,58,237,0.10);
}

/* =========================
   CONTENT
========================= */

.panel h1,
.panel p,
form,
.signal {
  position: relative;
  z-index: 2;
}

.panel h1 {
  font-family: Orbitron, sans-serif;
  font-size: 2.8rem;
  text-align: center;

  margin-bottom: 18px;

  background: linear-gradient(90deg, var(--primary), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.panel p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 35px;
}

/* =========================
   FORM
========================= */

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* =========================
   INPUTS
========================= */

input,
textarea {
  width: 100%;

  padding: 16px;

  border-radius: 14px;

  border: 1px solid #e2e8f0;

  background: #fff;

  font-size: 1rem;

  color: var(--text);

  transition: 0.25s ease;
}

textarea {
  min-height: 160px;
  resize: none;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input:focus,
textarea:focus {
  outline: none;

  border-color: var(--primary);

  box-shadow: 0 0 0 4px rgba(0,157,255,0.12);

  transform: translateY(-2px);
}

/* =========================
   BUTTON
========================= */

button {
  width: 100%;

  padding: 16px;

  border: none;

  border-radius: 14px;

  cursor: pointer;

  font-size: 1rem;
  font-weight: 600;

  letter-spacing: 1px;

  color: #fff;

  background: linear-gradient(135deg, var(--primary), var(--purple));

  box-shadow: 0 10px 25px rgba(0,157,255,0.25);

  transition: 0.25s ease;

  display: flex;
  justify-content: center;
  align-items: center;
}

button:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,157,255,0.30);
}

/* =========================
   SUCCESS MESSAGE
========================= */

.signal {
  display: none;
  margin-top: 20px;
  text-align: center;
  color: var(--accent-green);
  font-weight: 600;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .panel {
    padding: 35px;
  }

  .panel h1 {
    font-size: 2.2rem;
  }

  header {
    padding: 14px 20px;
  }
}

@media (max-width: 600px) {
  .panel {
    padding: 28px;
  }

  .panel h1 {
    font-size: 1.8rem;
  }

  button,
  input,
  textarea {
    padding: 14px;
  }
}