/* ==========================================================================
   Padua Labs — Landing Page
   Color palette:
   - Background: #0a1628 (deep navy)
   - Gold: #c9a96e
   - Light gold: #d4bc8a
   - Muted gold: #8a7a5a
   ========================================================================== */

:root {
  --bg-primary: #0a1628;
  --bg-secondary: #0d1f35;
  --gold: #c9a96e;
  --gold-light: #d4bc8a;
  --gold-muted: #8a7a5a;
  --gold-dim: #3d3425;
  --text-primary: #f5f4f2;
  --text-secondary: #9ba4b2;
  --text-muted: #5a6577;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* --- Canvas background --- */

#network-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Vignette overlay to focus attention on center */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 50% 40% at 50% 50%,
    rgba(10, 22, 40, 0.6) 0%,
    rgba(10, 22, 40, 0.45) 50%,
    rgba(10, 22, 40, 0.7) 100%
  );
}

/* --- Main content --- */

main {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
  max-width: 640px;
  width: 100%;
  animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Logo + Brand --- */

.logo-container {
  margin-bottom: 2.5rem;
}

.logo {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 32px rgba(201, 169, 110, 0.25));
  margin-bottom: 1.25rem;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 0.35rem;
  text-shadow: 0 0 40px rgba(201, 169, 110, 0.15);
}

.brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

/* --- Divider --- */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2.5rem;
}

.divider-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-muted), transparent);
}

.divider-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* --- Typography --- */

.tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

/* --- Status indicator --- */

.status-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--gold-dim);
  border-radius: 100px;
  margin-bottom: 3rem;
  background: rgba(201, 169, 110, 0.04);
  backdrop-filter: blur(8px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.status-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* --- Email capture --- */

.notify-section {
  margin-bottom: 4rem;
}

.notify-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.notify-form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(12px);
}

.notify-form:focus-within {
  border-color: var(--gold-muted);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.08);
}

.notify-form input {
  flex: 1;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: transparent;
  border: none;
  outline: none;
}

.notify-form input::placeholder {
  color: var(--text-muted);
}

.notify-form input:disabled {
  opacity: 0.5;
}

.notify-form button {
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bg-primary);
  background: var(--gold);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.notify-form button:hover:not(:disabled) {
  background: var(--gold-light);
}

.notify-form button:disabled {
  cursor: default;
}

.notify-form button.sent {
  background: #2a6a4a;
  color: #b8e6cc;
}

.notify-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* --- Footer --- */

footer {
  padding-top: 1rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--gold-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.copyright {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* --- Responsive --- */

@media (max-width: 480px) {
  main {
    padding: 2rem 1.25rem;
  }

  .logo {
    width: 100px;
  }

  .brand-name {
    font-size: 2.2rem;
  }

  .tagline {
    font-size: 1.25rem;
  }

  .subtitle {
    font-size: 0.88rem;
  }

  .notify-form {
    flex-direction: column;
    border-radius: 6px;
  }

  .notify-form input {
    border-bottom: 1px solid var(--gold-dim);
  }

  .notify-form button {
    padding: 14px;
  }
}
