/* ======================================
   HOLO·AI Landing Page
   ====================================== */

:root {
  --bg: #03060f;
  --bg-card: rgba(13, 28, 45, 0.55);
  --cyan: #19e6ff;
  --violet: #b46bff;
  --glass-border: rgba(80, 220, 255, 0.22);
  --text: #dff6ff;
  --text-dim: #7fa6bd;
  --font-display: "Orbitron", monospace;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- Background effects ---- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(25, 230, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 230, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
}

.bg-glow--cyan {
  width: 600px;
  height: 600px;
  background: var(--cyan);
  top: -200px;
  right: -100px;
  animation: float-glow 8s ease-in-out infinite alternate;
}

.bg-glow--violet {
  width: 500px;
  height: 500px;
  background: var(--violet);
  bottom: -150px;
  left: -100px;
  animation: float-glow 10s ease-in-out infinite alternate-reverse;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(3, 6, 15, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--cyan);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 24px;
}

.hero__title--holo {
  background: linear-gradient(135deg, var(--cyan), #00c9db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__dot {
  color: var(--violet);
  -webkit-text-fill-color: var(--violet);
}

.hero__title--ai {
  background: linear-gradient(135deg, var(--violet), #d18fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  max-width: 640px;
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__orb {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

.hero__orb canvas {
  width: 100%;
  height: 100%;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), #00b8d4);
  color: #03060f;
  box-shadow: 0 0 30px rgba(25, 230, 255, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 0 50px rgba(25, 230, 255, 0.5);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 13px;
}

/* ---- Section titles ---- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 48px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Features ---- */
.features {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(25, 230, 255, 0.5);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--cyan);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- Screenshots ---- */
.screenshots {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.screenshots__carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.screenshot-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
}

.screenshot-card:hover {
  border-color: rgba(25, 230, 255, 0.45);
  transform: translateY(-4px);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-card__label {
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  text-align: center;
  text-transform: uppercase;
}

/* ---- Download ---- */
.download {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.download__subtitle {
  text-align: center;
  color: var(--text-dim);
  margin-top: -32px;
  margin-bottom: 48px;
  font-size: 16px;
}

.download__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s;
}

.download-card:hover {
  border-color: rgba(180, 107, 255, 0.5);
  transform: translateY(-4px);
}

.download-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--violet);
}

.download-card__icon svg {
  width: 100%;
  height: 100%;
}

.download-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.download-card p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.download-card__size {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0.7;
}

/* ---- Tech stack ---- */
.tech {
  padding: 80px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.tech__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-pill {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  transition: border-color 0.2s, color 0.2s;
}

.tech-pill:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---- Footer ---- */
.footer {
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.footer__copy {
  color: var(--text-dim);
  font-size: 13px;
}

/* ---- Animations ---- */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__badge,
.hero__title,
.hero__subtitle,
.hero__cta {
  animation: fade-up 0.8s ease forwards;
}

.hero__title { animation-delay: 0.1s; }
.hero__subtitle { animation-delay: 0.2s; }
.hero__cta { animation-delay: 0.3s; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
  }

  .nav__links {
    gap: 16px;
  }

  .nav__links a {
    font-size: 12px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .screenshots__carousel {
    grid-template-columns: 1fr;
  }

  .download__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }
}
