:root {
  --gradient-primary: linear-gradient(135deg, #8f4df7, #4cc5ff);
  --gradient-hero: linear-gradient(180deg, #0d0b14 0%, #141026 100%);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
}

.font-display {
  font-family: "Space Grotesk", sans-serif;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-bg {
  background: var(--gradient-hero);
}

.glow-left,
.glow-right,
.how-glow,
.phone-glow {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

.glow-left {
  top: 24%;
  left: 10%;
  width: 24rem;
  height: 24rem;
  background: rgba(143, 77, 247, 0.14);
  filter: blur(120px);
}

.glow-right {
  bottom: 18%;
  right: 8%;
  width: 18rem;
  height: 18rem;
  background: rgba(76, 197, 255, 0.12);
  filter: blur(100px);
}

.how-glow {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20rem;
  height: 20rem;
  background: rgba(76, 197, 255, 0.07);
  filter: blur(100px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.65rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary,
.btn-hero {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 0 40px rgba(143, 77, 247, 0.2);
}

.btn-primary:hover,
.btn-hero:hover {
  opacity: 0.92;
}

.btn-outline {
  border: 1px solid rgba(143, 77, 247, 0.5);
  color: #f1f3ff;
}

.btn-outline:hover {
  background: rgba(143, 77, 247, 0.12);
}

.mobile-link {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: #9ca0bf;
}

.mobile-link:hover {
  color: #f1f3ff;
}

.phone-wrap {
  position: relative;
  animation: float 5.5s ease-in-out infinite;
}

.phone-glow {
  inset: 0;
  background: rgba(143, 77, 247, 0.28);
  filter: blur(60px);
  transform: scale(0.75);
}

.phone-card {
  position: relative;
  z-index: 2;
  width: 230px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  background: linear-gradient(180deg, #1a1830, #11101d);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
  transform: perspective(600px) rotateY(-15deg) rotateX(5deg) rotateZ(2deg);
}

.hero-mockup {
  position: relative;
  z-index: 2;
  width: 230px;
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
  transform: perspective(600px) rotateY(-15deg) rotateX(5deg) rotateZ(2deg);
}

.phone-notch {
  width: 40%;
  height: 14px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.phone-content {
  padding: 14px;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.chip {
  border: 1px solid rgba(76, 197, 255, 0.3);
  background: rgba(76, 197, 255, 0.1);
  color: #9adbff;
  border-radius: 999px;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
}

.phone-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.phone-subtitle {
  color: #9ca0bf;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.phone-image {
  height: 120px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(143, 77, 247, 0.35), rgba(76, 197, 255, 0.25));
  margin-bottom: 0.7rem;
}

.btn-mini {
  width: 100%;
  border: 0;
  border-radius: 0.7rem;
  padding: 0.55rem;
  color: #fff;
  background: var(--gradient-primary);
  font-weight: 600;
}

.step-icon-wrap {
  position: relative;
  margin: 0 auto 1.5rem;
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  border: 1px solid #2b2940;
  background: #151323;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 rgba(143, 77, 247, 0);
  transition: box-shadow 0.25s ease;
}

.step-icon-wrap:hover {
  box-shadow: 0 0 40px rgba(143, 77, 247, 0.2);
}

.step-number {
  position: absolute;
  top: -0.72rem;
  right: -0.72rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  font-size: 1.6rem;
}

.card-feature,
.testimonial-card {
  border: 1px solid #2b2940;
  background: #151323;
  border-radius: 1rem;
  padding: 1.5rem;
}

.card-feature {
  transition: box-shadow 0.25s ease;
}

.card-feature:hover {
  box-shadow: 0 0 40px rgba(143, 77, 247, 0.2);
}

.icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  margin-bottom: 1rem;
  background: rgba(143, 77, 247, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.category-card {
  border: 1px solid #2b2940;
  background: #151323;
  border-radius: 1rem;
  padding: 1.5rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  cursor: default;
  transition: all 0.25s ease;
}

.category-card:hover {
  border-color: rgba(143, 77, 247, 0.45);
  box-shadow: 0 0 40px rgba(143, 77, 247, 0.2);
  transform: translateY(-2px);
}

.category-card span:first-child {
  font-size: 1.7rem;
}

.category-card span:last-child {
  font-size: 0.9rem;
  font-weight: 500;
}

.faq-item {
  border: 1px solid #2b2940;
  background: #151323;
  border-radius: 0.85rem;
  padding: 1rem 1.1rem;
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  color: #f1f3ff;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
  font-weight: 600;
  padding-right: 1.4rem;
  position: relative;
  padding-left: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.faq-trigger::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: #9ca0bf;
  transition: transform 0.22s ease;
}

.faq-item.open .faq-trigger::after {
  transform: rotate(45deg);
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 180ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 140ms ease;
  will-change: grid-template-rows, opacity;
}

.faq-item.open .faq-content {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-content > p {
  overflow: hidden;
}

.faq-content p {
  margin-top: 0.7rem;
  color: #9ca0bf;
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
