*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #191926;
  --surface: #1e1e2e;
  --accent:  #89b5fa;
  --accent2: #b4d0ff;
  --text:    #cdd6f4;
  --muted:   #6c7086;
  --font-display: 'Syne', sans-serif;
  --font-mono:    'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(137,181,250,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137,181,250,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(137,181,250,.13) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(137,181,250,.3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp .6s .1s forwards;
}

.hero-title {
  font-size: clamp(5rem, 16vw, 12rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 80px rgba(137,181,250,.35);
  opacity: 0;
  animation: fadeUp .7s .25s forwards;
}

.hero-sub {
  max-width: 520px;
  margin: 28px auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  opacity: 0;
  animation: fadeUp .7s .4s forwards;
}

/* ── BUTTONS ── */
.cta {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp .7s .55s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 24px rgba(137,181,250,.3);
}
.btn-primary:hover { box-shadow: 0 8px 36px rgba(137,181,250,.5); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-ghost:hover { background: rgba(137,181,250,.08); }

.btn svg { flex-shrink: 0; }

/* ── SECTION WRAPPER ── */
.section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}

/* ── SHOWCASE (carousel section) ── */
.showcase {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.carousel-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ── CAROUSEL ── */
.carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(137,181,250,.12);
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  aspect-ratio: 560 / 340;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: none;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30,30,46,.85);
  border: 1px solid rgba(137,181,250,.2);
  color: var(--accent);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  z-index: 10;
}
.carousel-arrow:hover {
  background: rgba(137,181,250,.15);
  border-color: var(--accent);
}
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }

/* dots */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(137,181,250,.25);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ── CAROUSEL TEXT ── */
.carousel-text {
  position: relative;
  min-height: 220px;
}

.text-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.text-tag {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--accent);
  opacity: .7;
}

.carousel-text h3 {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}

.carousel-text p {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--muted);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.feature-list li {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── FAQ ── */
.faq-section .section { max-width: 720px; }

.faq { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(137,181,250,.1);
  border-radius: 10px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 700;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color .15s;
}
.faq-q:hover { color: var(--accent); }

.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s;
  font-size: .75rem;
  line-height: 1;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--muted);
  padding: 0 20px;
  font-family: var(--font-mono);
}

.faq-item.open .faq-a { max-height: 200px; padding: 0 20px 18px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── DIVIDER ── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(137,181,250,.2), transparent);
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 40px 24px;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .06em;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .carousel-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .carousel-text {
    min-height: 200px;
  }
  .section { max-width: 720px; }
}