@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

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

html, body { height: 100%; }

body {
  position: relative;
  font-family: 'Inter', sans-serif;
  background: #0a0612;
  color: #f1edfb;
  padding: 40px 48px 90px;
  overflow-x: hidden;
}

/* ---------- Floating ambient glow orbs ---------- */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.bg-orb--1 {
  width: 420px; height: 420px;
  top: -120px; left: -80px;
  background: radial-gradient(circle, #a855f7, transparent 70%);
  animation: float-a 14s ease-in-out infinite;
}
.bg-orb--2 {
  width: 360px; height: 360px;
  top: 30%; right: -100px;
  background: radial-gradient(circle, #ec4899, transparent 70%);
  animation: float-b 18s ease-in-out infinite;
}
.bg-orb--3 {
  width: 300px; height: 300px;
  bottom: -100px; left: 30%;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  animation: float-c 16s ease-in-out infinite;
}
@keyframes float-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, 50px); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, 60px); }
}
@keyframes float-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -40px) scale(1.1); }
}

.page-header, .grid { position: relative; z-index: 1; }

/* ---------- Floating decorative symbols ---------- */
.bg-symbols {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-symbol {
  position: absolute;
  color: rgba(168,85,247,0.5);
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(168,85,247,0.4));
  animation: drift 16s ease-in-out infinite;
}
.bg-symbol.s1  { top: 8%;  left: 6%;   font-size: 22px; animation-duration: 15s; }
.bg-symbol.s2  { top: 18%; left: 92%;  font-size: 14px; color: rgba(236,72,153,0.5); animation-duration: 19s; animation-delay: -3s; }
.bg-symbol.s3  { top: 35%; left: 12%;  font-size: 26px; color: rgba(99,102,241,0.4); animation-duration: 22s; animation-delay: -8s; }
.bg-symbol.s4  { top: 48%; left: 88%;  font-size: 10px; animation-duration: 13s; animation-delay: -5s; }
.bg-symbol.s5  { top: 62%; left: 4%;   font-size: 16px; color: rgba(236,72,153,0.5); animation-duration: 20s; animation-delay: -11s; }
.bg-symbol.s6  { top: 72%; left: 95%;  font-size: 20px; animation-duration: 17s; animation-delay: -2s; }
.bg-symbol.s7  { top: 85%; left: 20%;  font-size: 24px; color: rgba(99,102,241,0.4); animation-duration: 24s; animation-delay: -14s; }
.bg-symbol.s8  { top: 5%;  left: 45%;  font-size: 12px; color: rgba(236,72,153,0.5); animation-duration: 14s; animation-delay: -6s; }
.bg-symbol.s9  { top: 55%; left: 50%;  font-size: 9px;  animation-duration: 12s; animation-delay: -9s; }
.bg-symbol.s10 { top: 92%; left: 70%;  font-size: 18px; color: rgba(99,102,241,0.4); animation-duration: 21s; animation-delay: -4s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
  25% { transform: translate(18px, -22px) rotate(90deg); opacity: 1; }
  50% { transform: translate(-10px, 14px) rotate(180deg); opacity: 0.5; }
  75% { transform: translate(-22px, -8px) rotate(270deg); opacity: 0.9; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 10px;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1px;
  color: #ffffff;
  margin-top: 10px;
}
.hero-sub {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(241,237,251,0.6);
  max-width: 420px;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
}
.hero-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 10px;
  padding: 13px 24px;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.hero-btn--primary {
  color: #ffffff;
  background: linear-gradient(90deg, #a855f7, #7c3aed);
  border: none;
}
.hero-btn--primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.hero-btn--ghost {
  color: #f1edfb;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-btn--ghost:hover { border-color: #a855f7; }

/* Right side: two columns auto-scrolling vertically in opposite directions */

.hero-scroller {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  height: 460px;
  overflow: hidden;
  border-radius: 18px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.scroll-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.scroll-item {
  position: relative;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.scroll-badge {
  position: absolute;
  left: 10px; bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(22,16,51,0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.scroll-col--down {
  animation: scroll-down 22s linear infinite;
}
.scroll-col--up {
  margin-top: -40%;
  animation: scroll-up 26s linear infinite;
}
.scroll-col--down2 {
  margin-top: -18%;
  animation: scroll-down 30s linear infinite;
}
@keyframes scroll-down {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0%); }
}
@keyframes scroll-up {
  0% { transform: translateY(0%); }
  100% { transform: translateY(-50%); }
}

@media (max-width: 900px) {
  .hero-scroller { height: 320px; grid-template-columns: 1fr 1fr; }
  .scroll-col--down2 { display: none; }
}

/* ---------- Navbar ---------- */
.navbar {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
}
.nav-logo span { color: #a855f7; }
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(241,237,251,0.6);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: #ffffff; }
.nav-cta { padding: 10px 20px; }
@media (max-width: 800px) {
  .nav-links { display: none; }
}

/* ---------- Features ---------- */
.features {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto 70px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 26px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: linear-gradient(180deg, #1f1745 0%, #181235 100%);
  border: 1px solid rgba(168,85,247,0.18);
  border-radius: 16px;
  padding: 22px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168,85,247,0.5);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  font-size: 19px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(168,85,247,0.25), rgba(236,72,153,0.2));
  margin-bottom: 14px;
}
.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(241,237,251,0.5);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 90px auto 0;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand p {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(241,237,251,0.5);
  max-width: 280px;
}
.footer-social {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(255,255,255,0.1);
  color: #f1edfb;
  font-size: 12px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.footer-social a:hover { background: rgba(168,85,247,0.35); border-color: #a855f7; }

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 12.5px;
  color: rgba(241,237,251,0.55);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #a855f7; }

.footer-bottom {
  margin-top: 40px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(241,237,251,0.4);
}

/* ---------- Navbar ---------- */
.navbar {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.navbar-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}
.navbar-logo span {
  background: linear-gradient(90deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.navbar-links {
  display: flex;
  gap: 28px;
}
.navbar-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(241,237,251,0.65);
  text-decoration: none;
  transition: color 0.18s ease;
}
.navbar-links a:hover { color: #ffffff; }
.navbar-cta { padding: 10px 20px; font-size: 12px; }
@media (max-width: 760px) { .navbar-links { display: none; } }

/* ---------- Features section ---------- */
.features {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 90px auto 0;
}
.features-head { margin-bottom: 30px; }
.features-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: linear-gradient(180deg, #241a4d 0%, #1c1440 100%);
  border: 1px solid rgba(168,85,247,0.18);
  border-radius: 16px;
  padding: 22px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.feature-card:hover {
  border-color: rgba(168,85,247,0.5);
  transform: translateY(-3px);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  font-size: 17px;
  border-radius: 10px;
  background: rgba(168,85,247,0.18);
  margin-bottom: 14px;
}
.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(241,237,251,0.5);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 90px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand p {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(241,237,251,0.5);
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(241,237,251,0.4);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(241,237,251,0.65);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  margin-top: 40px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: rgba(241,237,251,0.4);
}

/* ---------- Header ---------- */
.page-header {
  max-width: 1240px;
  margin: 0 auto 32px;
}
.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.page-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #ffffff;
}
.page-sub {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(241,237,251,0.55);
  max-width: 520px;
}

/* ---------- Grid ---------- */
.grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 22px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* ---------- Card ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #241a4d 0%, #1c1440 100%);
  border: 1px solid rgba(168,85,247,0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(168,85,247,0.55);
  box-shadow: 0 16px 36px rgba(124,58,237,0.25);
}
.card:focus-visible { outline: 2px solid #a855f7; outline-offset: 2px; }

.card-media {
  position: relative;
  height: 160px;
  flex-shrink: 0;
  overflow: hidden;
}
.card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-bg:not([src]), .card-bg[src=""] { display: none; }

.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,16,51,0) 50%, rgba(28,20,64,1) 100%);
}

.card-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #1c1440;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  padding: 5px 10px;
  border-radius: 20px;
}

.card-rating {
  position: absolute;
  top: 14px; right: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(168,85,247,0.35);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 9px;
  border-radius: 20px;
}
.card-rating::before {
  content: "★";
  color: #fbbf24;
}

.card-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}
.card-subtitle {
  font-size: 12.5px;
  color: #c4b5fd;
  margin-top: 3px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.card-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(241,237,251,0.5);
  margin-top: 10px;
}

.card-footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.view-more {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  background: linear-gradient(90deg, #a855f7, #7c3aed);
  border: none;
  border-radius: 9px;
  padding: 9px 18px;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease;
}
.view-more:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}
.view-more:focus-visible { outline: 2px solid #a855f7; outline-offset: 2px; }

.scroll-indicator {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  animation: fadeInIndicator 1s ease 0.6s both;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* vertical line with a traveling glow */
.scroll-line-wrap {
  width: 1px;
  height: 46px;
  background: currentColor;
  opacity: 0.25;
  position: relative;
  overflow: hidden;
}

.scroll-line {
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(
    to bottom,
    transparent,
    currentColor,
    transparent
  );
  animation: travelDown 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes travelDown {
  0% { top: -40%; }
  100% { top: 100%; }
}

/* stacked chevrons pulsing downward, like a caret trail */
.scroll-chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.chevron {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0;
  animation: chevronPulse 1.8s ease-in-out infinite;
}

.chevron:nth-child(1) { animation-delay: 0s; }
.chevron:nth-child(2) { animation-delay: 0.15s; margin-top: -4px; }
.chevron:nth-child(3) { animation-delay: 0.3s; margin-top: -4px; }

@keyframes chevronPulse {
  0%   { opacity: 0; transform: translateY(-4px) rotate(45deg); }
  30%  { opacity: 1; transform: translateY(0) rotate(45deg); }
  60%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(6px) rotate(45deg); }
}

@keyframes fadeInIndicator {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}