/* EchoPre - Coming Soon */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  /* Off-white with orange accent */
  --color-bg: #FAFAFA;
  --color-surface: #FFFFFF;
  --color-text: #1a1a1a;
  --color-text-muted: #525252;
  --color-text-subtle: #a3a3a3;

  /* Accent: vibrant orange */
  --color-accent: #F97B22;
  --color-accent-light: #FB923C;
  --color-accent-muted: rgba(249, 123, 34, 0.08);
  --color-accent-ring: rgba(249, 123, 34, 0.12);

  /* Orbital ring variations */
  --color-orbital-center: #F97B22;
  --color-orbital-ring-1: rgba(249, 123, 34, 0.18);
  --color-orbital-ring-2: rgba(249, 123, 34, 0.10);
  --color-orbital-ring-3: rgba(249, 123, 34, 0.05);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;

  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
}

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

html, body {
  font-size: 16px;
  background: #FAFAFA;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  position: relative;
  background: #FAFAFA;
}

/* Header */
.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.6s ease-out both;
}

.logo {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
}

.hero-tag {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent-muted);
  border: 1px solid rgba(249, 123, 34, 0.25);
}

/* Main content */
.hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) 0;
  gap: var(--space-xl);
}

.hero-content {
  text-align: center;
  max-width: 600px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.hero-title-line {
  display: block;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title-line:nth-child(1) { animation-delay: 0.1s; }
.hero-title-line:nth-child(2) { animation-delay: 0.2s; }
.hero-title-line:nth-child(3) { animation-delay: 0.3s; }

.hero-title-accent {
  font-style: italic;
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 440px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out 0.5s both;
}

/* Footer */
.hero-footer {
  display: flex;
  justify-content: center;
  animation: fadeIn 0.6s ease-out 0.7s both;
}

.hero-footer-text {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text-subtle);
}

/* Orbital animation - mobile first */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s ease-out 0.4s both;
  background: radial-gradient(circle at center, rgba(249, 123, 34, 0.03) 0%, transparent 70%);
  padding: var(--space-lg) 0;
}

/* Orbital component */
.orbital {
  position: relative;
  width: 280px;
  height: 280px;
}

.orbital-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbital-ring-1 {
  width: 80px;
  height: 80px;
  background: var(--color-orbital-ring-1);
}

.orbital-ring-2 {
  width: 160px;
  height: 160px;
  border: 1px solid var(--color-orbital-ring-2);
  background: radial-gradient(circle, var(--color-orbital-ring-2) 0%, transparent 70%);
}

.orbital-ring-3 {
  width: 250px;
  height: 250px;
  border: 1px solid var(--color-orbital-ring-3);
}

.orbital-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 32px rgba(249, 123, 34, 0.35);
  z-index: 10;
}

.orbital-center svg {
  width: 20px;
  height: 20px;
}

/* Orbits */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform-origin: center;
}

.orbit-1 {
  width: 110px;
  height: 110px;
  margin-left: -55px;
  margin-top: -55px;
  animation: orbit 25s linear infinite;
}

.orbit-2 {
  width: 175px;
  height: 175px;
  margin-left: -87.5px;
  margin-top: -87.5px;
  animation: orbit 40s linear infinite reverse;
}

.orbit-3 {
  width: 250px;
  height: 250px;
  margin-left: -125px;
  margin-top: -125px;
  animation: orbit 60s linear infinite;
}

/* Avatars */
.avatar {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-surface);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.avatar-photo {
  background-size: cover;
  background-position: center;
}

.avatar-photo span {
  display: none;
}

.avatar-1 {
  top: 0;
  left: 50%;
  margin-left: -16px;
  animation: counterOrbit 25s linear infinite;
}

.avatar-2 {
  top: 15%;
  right: 5%;
  animation: counterOrbit 40s linear infinite reverse;
}

.avatar-3 {
  bottom: 20%;
  left: 0;
  animation: counterOrbit 40s linear infinite reverse;
}

.avatar-4 {
  top: 5%;
  left: 20%;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  animation: counterOrbit 60s linear infinite;
}

.avatar-5 {
  bottom: 10%;
  right: 15%;
  width: 28px;
  height: 28px;
  font-size: 0.5rem;
  animation: counterOrbit 60s linear infinite;
}

.avatar-6 {
  bottom: 30%;
  right: 0;
  width: 34px;
  height: 34px;
  animation: counterOrbit 60s linear infinite;
}

@keyframes orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes counterOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Desktop layout */
@media (min-width: 1024px) {
  .hero-main {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-content {
    text-align: left;
    flex: 1;
    max-width: 550px;
  }

  .hero-visual {
    flex: 1;
    padding: 0;
  }

  /* Scale up orbital for desktop */
  .orbital {
    width: 420px;
    height: 420px;
  }

  .orbital-ring-1 {
    width: 120px;
    height: 120px;
  }

  .orbital-ring-2 {
    width: 240px;
    height: 240px;
  }

  .orbital-ring-3 {
    width: 380px;
    height: 380px;
  }

  .orbital-center {
    width: 56px;
    height: 56px;
  }

  .orbital-center svg {
    width: 24px;
    height: 24px;
  }

  .orbit-1 {
    width: 160px;
    height: 160px;
    margin-left: -80px;
    margin-top: -80px;
  }

  .orbit-2 {
    width: 260px;
    height: 260px;
    margin-left: -130px;
    margin-top: -130px;
  }

  .orbit-3 {
    width: 380px;
    height: 380px;
    margin-left: -190px;
    margin-top: -190px;
  }

  .avatar {
    width: 44px;
    height: 44px;
    font-size: 0.75rem;
  }

  .avatar-1 {
    margin-left: -22px;
  }

  .avatar-4 {
    width: 52px;
    height: 52px;
    margin-left: -26px;
  }

  .avatar-5 {
    width: 40px;
    height: 40px;
    font-size: 0.6875rem;
  }

  .avatar-6 {
    width: 48px;
    height: 48px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Responsive */
@media (max-width: 640px) {
  .hero {
    padding: var(--space-lg);
  }

  .hero-tag {
    font-size: 0.625rem;
    padding: 6px 12px;
  }
}

/* 404 Page */
.hero-content-centered {
  text-align: center;
}

.hero-back {
  margin-top: var(--space-xl);
  animation: fadeIn 0.8s ease-out 0.5s both;
}

.hero-back a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.hero-back a:hover {
  border-bottom-color: var(--color-accent);
}

.logo {
  text-decoration: none;
}

::selection {
  background: var(--color-accent);
  color: white;
}
