:root {
  --bg-main: #0a0a1f;
  --bg-footer: #1c1c3a;
  --accent-cyan: #00f5ff;
  --accent-magenta: #ff2eff;
  --text-light: #e0f8ff;
  --border-card: #01585c;

  --font-display: "Audiowide", sans-serif;
  --font-body: "Inter", sans-serif;
  --side-pad: 160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
}

.section-inner {
  max-width: calc(100% - var(--side-pad) * 2);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #0a0a1f;
  border-bottom: 1px solid rgba(0, 245, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--side-pad);
}

.nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-menu a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--accent-cyan);
  transition: opacity 0.2s;
}
.nav-menu a:hover {
  opacity: 0.75;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent-cyan);
  margin: 5px 0;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 73px; /* header height */
  background: #0d0d2b;
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 22px;
  color: var(--accent-cyan);
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.mobile-nav a:hover {
  opacity: 0.7;
}

#home {
  position: relative;
  min-height: 727px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-desktop {
  display: block;
}
.hero-bg-mobile {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px var(--side-pad) 100px;
  max-width: 640px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 72px;
  line-height: 1.2;
  color: var(--accent-magenta);
  margin-bottom: 34px;
  width: 549px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.3;
  color: var(--text-light);
  margin-bottom: 50px;
  width: 485px;
}

.hero-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-light);
  width: 544px;
}

#features {
  background-color: var(--bg-main);
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.2;
  color: var(--accent-magenta);
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-item-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}
.feature-item-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-light);
}

.features-image {
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
}
.features-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#how-it-works {
  background-color: var(--bg-main);
  padding: 100px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.step-image-wrap {
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 4/3;
  background: #0d1a2a;
}
.step-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-light);
}

#reviews {
  background-color: var(--bg-main);
  padding: 100px 0;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  cursor: grab;
}
.slider-wrapper:active {
  cursor: grabbing;
}

.slider-track {
  display: grid;
  grid-template-columns: repeat(3, 448px);
  gap: 40px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 0;
}

.testimonial-card {
  padding: 0;
  /* width: 448px; */
}

.testimonial-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 24px;
}

.testimonial-author {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  color: var(--accent-cyan);
  text-align: right;
}

#faq {
  background-color: var(--bg-main);
  padding: 100px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 245, 255, 0.18);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question-text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  color: var(--accent-cyan);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  color: var(--accent-cyan);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent-cyan);
  border-radius: 2px;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}
/* Horizontal bar (always visible) */
.faq-icon::before {
  width: 18px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 18px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-light);
  padding-bottom: 22px;
}

footer {
  background-color: var(--bg-footer);
  padding: 60px var(--side-pad) 36px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.footer-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-light);
  transition: opacity 0.2s;
}
.footer-links a:hover {
  opacity: 0.7;
}

.footer-copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-light);
  text-align: center;
}

@media (max-width: 768px) {
  :root {
    --side-pad: 20px;
  }

  .nav-inner {
    padding: 16px 20px;
  }
  .nav-menu {
    display: none;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
  }

  #home {
    min-height: 812px;
    align-items: flex-start;
  }

  .hero-bg-desktop {
    display: none;
  }
  .hero-bg-mobile {
    display: block;
  }

  .hero-content {
    padding: 40px 20px 72px;

    width: 100%;
  }

  .hero-title {
    font-size: 64px;
    max-width: 307px;
    width: 100%;
    margin-bottom: 24px;
  }

  .hero-subtitle {
    font-size: 24px;
    max-width: 343px;
    width: 100%;
    margin-bottom: 32px;
  }

  .hero-text {
    font-size: 16px;
    max-width: 343px;
    width: 100%;
  }

  .section-title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  #features {
    padding: 72px 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-image {
    order: 3;
  }

  #how-it-works {
    padding: 72px 0;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  #reviews {
    padding: 72px 0;
  }
  .testimonial-card {
    padding: 28px 24px;
    width: 300px;
  }
  .slider-track {
    grid-template-columns: repeat(3, 300px);
    gap: 20px;
  }

  #faq {
    padding: 72px 0;
  }

  footer {
    padding: 48px 20px 28px;
  }
}
