/* ========================================
   UFOLAB — Landing Page Styles
   ======================================== */

:root {
  --color-bg: #0a0a0f;
  --color-bg-card: #12121a;
  --color-bg-card-hover: #1a1a26;
  --color-text: #e0e0e8;
  --color-text-muted: #8888a0;
  --color-accent: #4af0c0;
  --color-accent-dim: #2a7a60;
  --color-white: #ffffff;

  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Chakra Petch', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  --container-max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.25) 0%,
    rgba(10, 10, 15, 0.4) 50%,
    rgba(10, 10, 15, 0.85) 85%,
    rgba(10, 10, 15, 1) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.15em;
  line-height: 1;
  text-shadow:
    0 0 40px rgba(74, 240, 192, 0.3),
    0 0 80px rgba(74, 240, 192, 0.1);
  animation: title-reveal 1.5s ease-out both;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: var(--space-sm);
  animation: tagline-reveal 1.5s ease-out 0.4s both;
}

@keyframes title-reveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes tagline-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
  opacity: 0.6;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: rotate(45deg) translateY(0);
  }
  40% {
    transform: rotate(45deg) translateY(10px);
  }
  60% {
    transform: rotate(45deg) translateY(5px);
  }
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
  padding: var(--space-xl) var(--space-md);
  background-color: var(--color-bg);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section--visible {
  opacity: 1;
  transform: translateY(0);
}

.section__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  position: relative;
  padding-bottom: var(--space-sm);
}

.section__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--color-accent);
}

.section__text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 640px;
}

/* ========================================
   FEATURES GRID
   ======================================== */

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.features__card {
  background: var(--color-bg-card);
  border: 1px solid rgba(74, 240, 192, 0.08);
  border-radius: 4px;
  padding: var(--space-md);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.features__card:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(74, 240, 192, 0.25);
  transform: translateY(-4px);
}

.features__icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.features__card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.features__card-text {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ========================================
   CTA BUTTON
   ======================================== */

.section__cta {
  display: inline-block;
  margin-top: var(--space-md);
  padding: 0.85rem 2.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-bg);
  background: var(--color-accent);
  border: none;
  border-radius: 2px;
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.section__cta:hover {
  box-shadow: 0 0 24px rgba(74, 240, 192, 0.4), 0 0 60px rgba(74, 240, 192, 0.15);
  transform: translateY(-2px);
}

.section__cta:active {
  transform: translateY(0);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  padding: var(--space-lg) var(--space-md);
  background-color: var(--color-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer__text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}
