/* ============================================================
   MULTIVO — Aurora North Design System | Coming Soon
   ============================================================ */

/* --- CSS Custom Properties (Tokens) --- */
:root {
  --primary: #0d6b5e;
  --primary-hover: #0a5449;
  --primary-dark: #073d36;
  --primary-dm: #3da090;
  --amber: #e8894a;
  --amber-hover: #d4733a;
  --amber-dm: #f0a068;
  --success: #2e7d52;
  --bg: #f5f4f0;
  --card: #ffffff;
  --border: #d8ddd9;
  --dark-bg: #111816;
  --ink: #1e2d2a;
  --muted: #6b7f7c;
  --footer-text: #a8b5b2;
  --footer-bg: #1a2420;
  --alert: #c0392b;
  --selection-bg: #0d6b5e;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow: 0 2px 16px rgba(13, 107, 94, 0.1);
  --shadow-lg: 0 6px 32px rgba(13, 107, 94, 0.16);
  --transition: 0.22s ease;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max-width: 1140px;
}

::selection {
  background: var(--selection-bg);
  color: #fff;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font);
  background: var(--dark-bg);
  color: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
a {
  color: var(--amber);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--amber-hover);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   CANVAS BACKGROUND
   ============================================================ */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   ANIMATED GRADIENT ORBS
   ============================================================ */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(13, 107, 94, 0.7) 0%,
    transparent 70%
  );
  top: -15%;
  left: -10%;
  animation: orbFloat1 18s ease-in-out infinite;
}
.orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(232, 137, 74, 0.5) 0%,
    transparent 70%
  );
  bottom: -10%;
  right: -10%;
  animation: orbFloat2 22s ease-in-out infinite;
}
.orb--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(61, 160, 144, 0.45) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat3 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(80px, 60px) scale(1.1);
  }
  50% {
    transform: translate(40px, -30px) scale(0.9);
  }
  75% {
    transform: translate(-30px, 50px) scale(1.05);
  }
}
@keyframes orbFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-60px, -40px) scale(1.15);
  }
  50% {
    transform: translate(-20px, 50px) scale(0.85);
  }
  75% {
    transform: translate(50px, -20px) scale(1.08);
  }
}
@keyframes orbFloat3 {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  33% {
    transform: translate(-40%, -55%) scale(1.12);
  }
  66% {
    transform: translate(-55%, -45%) scale(0.9);
  }
}

/* ============================================================
   NOISE OVERLAY
   ============================================================ */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 4rem 1.5rem 2rem;
  text-align: center;
}

/* ============================================================
   LOGO SECTION
   ============================================================ */
.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.logo-mark-main {
  position: relative;
  width: 56px;
  height: 56px;
  background: var(--amber);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    0 0 40px rgba(232, 137, 74, 0.35),
    0 0 80px rgba(232, 137, 74, 0.15);
}
.logo-letter {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  z-index: 1;
}
.logo-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  border: 2px solid rgba(232, 137, 74, 0.5);
  animation: logoPulse 2.5s ease-in-out infinite;
}
@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.12);
    opacity: 0;
  }
}

.brand-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand-tagline {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--footer-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-top: 2px;
}

/* ============================================================
   HEADLINE
   ============================================================ */
.headline-section {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.headline {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}
.headline-line {
  display: block;
}
.headline-line.accent {
  background: linear-gradient(
    135deg,
    var(--amber) 0%,
    var(--amber-dm) 50%,
    var(--primary-dm) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subheadline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown-section {
  margin-bottom: 2.5rem;
}
.countdown-grid {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.countdown-flip {
  position: relative;
  width: 72px;
  height: 82px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}
.countdown-flip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.flip-value {
  position: relative;
  z-index: 1;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.countdown-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--footer-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.countdown-sep {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--amber);
  padding-bottom: 1.5rem;
}

/* ============================================================
   SIGNUP FORM
   ============================================================ */
.signup-section {
  margin-bottom: 2.5rem;
  max-width: 480px;
  width: 100%;
}

.signup-form {
  width: 100%;
}
.input-group {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.input-group:focus-within {
  border-color: var(--primary-dm);
  box-shadow:
    0 0 0 4px rgba(13, 107, 94, 0.15),
    0 0 30px rgba(13, 107, 94, 0.1);
}
.signup-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.95rem 1.3rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: #fff;
  min-width: 0;
}
.signup-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.signup-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px var(--dark-bg) inset !important;
  -webkit-text-fill-color: #fff !important;
}
.signup-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  background: var(--amber);
  color: #fff;
  border: none;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.signup-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.signup-btn:hover {
  background: var(--amber-hover);
  box-shadow: 0 4px 24px rgba(232, 137, 74, 0.3);
}
.signup-btn:hover::before {
  transform: translateX(100%);
}
.signup-btn:active {
  transform: scale(0.97);
}
.signup-btn.loading .btn-text {
  opacity: 0;
}
.signup-btn.loading .btn-icon i {
  animation: spin 0.6s linear infinite;
}
.signup-btn.success {
  background: var(--success);
  pointer-events: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.signup-message {
  font-size: 0.82rem;
  margin-top: 0.6rem;
  min-height: 1.2em;
  transition: color var(--transition);
}
.signup-message.error {
  color: var(--alert);
}
.signup-message.success {
  color: var(--success);
}

.signup-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0.75rem;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  min-width: 140px;
}

.stat-value-row {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}
.stat-suffix {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber);
}
.stat-decimal {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber);
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* ============================================================
   SCROLL INDICATOR
   ============================================================ */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  transition: opacity var(--transition);
  cursor: pointer;
}
.scroll-indicator:hover {
  opacity: 1;
}
.scroll-text {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--footer-text);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
.scroll-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 12px;
  background: var(--amber);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% {
    top: -12px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    top: 42px;
    opacity: 0;
  }
}

/* ============================================================
   TEASER SECTION
   ============================================================ */
.teaser-section {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(7, 61, 54, 0.3) 30%,
    rgba(7, 61, 54, 0.5) 100%
  );
}
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.teaser-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}
.teaser-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.teaser-icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 107, 94, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-dm);
  margin-bottom: 1.25rem;
}
.teaser-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
}
.teaser-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  position: relative;
  z-index: 2;
  background: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 0;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark-small {
  width: 28px;
  height: 28px;
  background: var(--amber);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
  color: #fff;
}
.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 0.78rem;
  color: var(--footer-text);
  margin: 0;
}
.footer-links a {
  color: var(--footer-text);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  font-size: 0.9rem;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p {
  color: var(--footer-text);
  font-size: 0.8rem;
  margin: 0;
}
.footer-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.canada-flag {
  font-size: 0.9rem;
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.75rem;
}
.toast {
  background: var(--footer-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation:
    toastIn 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    toastOut 0.3s cubic-bezier(0.4, 0, 1, 1) 3.5s forwards;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.toast i {
  color: var(--success);
  flex-shrink: 0;
}
@keyframes toastIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes toastOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
.teaser-card:nth-child(1) {
  transition-delay: 0s;
}
.teaser-card:nth-child(2) {
  transition-delay: 0.12s;
}
.teaser-card:nth-child(3) {
  transition-delay: 0.24s;
}

/* ============================================================
   CUSTOM CURSOR (desktop only)
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--amber);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition:
      width 0.3s,
      height 0.3s,
      border-color 0.3s,
      background 0.3s;
    mix-blend-mode: difference;
  }
  .custom-cursor-dot {
    position: fixed;
    width: 5px;
    height: 5px;
    background: var(--amber);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition:
      width 0.15s,
      height 0.15s;
    mix-blend-mode: difference;
  }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 900px) {
  .teaser-grid {
    grid-template-columns: 1fr;
  }
  .stats-row {
    gap: 0.75rem;
  }
  .stat-card {
    min-width: 120px;
    padding: 1rem 1rem;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .countdown-flip {
    width: 56px;
    height: 64px;
    font-size: 1.6rem;
  }
  .countdown-sep {
    font-size: 1.3rem;
  }
}

@media (max-width: 600px) {
  .main-content {
    padding: 3rem 1rem 1.5rem;
  }
  .logo-mark-main {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  .logo-letter {
    font-size: 1.3rem;
  }
  .brand-text {
    font-size: 1.2rem;
  }
  .headline {
    font-size: 1.5rem;
  }
  .subheadline {
    font-size: 0.9rem;
  }
  .input-group {
    flex-direction: column;
    border-radius: var(--radius);
  }
  .signup-input {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .signup-btn {
    justify-content: center;
    padding: 0.85rem;
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .stats-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  .stat-card {
    flex-direction: row;
    justify-content: space-between;
    min-width: auto;
    padding: 0.8rem 1rem;
  }
  .stat-card .stat-label {
    margin-top: 0;
  }
  .countdown-grid {
    gap: 0.3rem;
  }
  .countdown-flip {
    width: 50px;
    height: 56px;
    font-size: 1.3rem;
  }
  .countdown-label {
    font-size: 0.6rem;
  }
  .countdown-sep {
    font-size: 1rem;
    padding-bottom: 0.8rem;
  }
  .teaser-section {
    padding: 3rem 0;
  }
  .orb--1 {
    width: 300px;
    height: 300px;
  }
  .orb--2 {
    width: 250px;
    height: 250px;
  }
  .orb--3 {
    width: 200px;
    height: 200px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
