/* LANDING PAGE STYLES */
.landing {
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 30%, #1a3a5c 0%, #0d1f2d 50%, #070f16 100%);
  display: flex;
  flex-direction: column;
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../IMAGES/backgrounds/landing_hero.png') center/cover no-repeat;
  opacity: 0.25;
  filter: blur(1px);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero-logo {
  font-family: var(--font-title);
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--c-secondary);
  letter-spacing: 0.15em;
  text-shadow: 0 0 40px rgba(200,168,75,0.4), 0 4px 20px rgba(0,0,0,0.8);
  line-height: 1;
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--c-light);
  margin: 1rem 0 2.5rem;
  opacity: 0.85;
  font-style: italic;
}
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
}

/* Wave animation */
.waves { width: 100%; height: 80px; }
.wave-path { animation: wave 8s ease-in-out infinite; transform-origin: center bottom; }
.wave-path:nth-child(2) { animation-delay: -2s; animation-duration: 10s; opacity: 0.7; }
.wave-path:nth-child(3) { animation-delay: -4s; animation-duration: 12s; opacity: 0.5; }
@keyframes wave {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(-3%) scaleY(1.1); }
}

/* Feature Bar */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--c-border);
  border-top: 1px solid var(--c-border);
}
.feature-item {
  background: var(--c-panel);
  padding: 1.5rem;
  text-align: center;
  transition: background var(--transition);
}
.feature-item:hover { background: rgba(26,58,92,0.8); }
.feature-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.feature-title { font-family: var(--font-title); color: var(--c-secondary); font-size: 1rem; }
.feature-desc { font-size: 0.85rem; color: var(--c-muted); margin-top: 0.3rem; }

/* Nav */
.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--c-border);
  background: rgba(7,15,22,0.8);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo { font-family: var(--font-title); color: var(--c-secondary); font-size: 1.5rem; letter-spacing: 0.1em; }
.nav-logo-img { height: 40px; object-fit: contain; mix-blend-mode: lighten; }
.hero-logo-img { height: clamp(100px, 20vw, 180px); object-fit: contain; mix-blend-mode: lighten; margin-bottom: 0.5rem; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { font-family: var(--font-ui); font-size: 0.9rem; color: var(--c-muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--c-light); }

/* Auth Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  width: 100%;
  max-width: 420px;
  margin: 1rem;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.modal-close {
  background: none;
  border: none;
  color: var(--c-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--c-light); }
.modal-tabs { display: flex; gap: 0; margin-bottom: 1.5rem; border-bottom: 1px solid var(--c-border); }
.tab-btn {
  flex: 1;
  padding: 0.6rem;
  background: none;
  border: none;
  color: var(--c-muted);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}
.tab-btn.active { color: var(--c-secondary); border-bottom-color: var(--c-secondary); }

/* Hero buttons */
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-hero {
  padding: 0.85rem 2.5rem;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}
