* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  background: #000;
}

/* NAVBAR */

.navbar {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 43px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 10;
}

.logo {
  width: 182px;
  height: 64px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  line-height: 32px;
  transition: 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: #fff;
}

.nav-button {
  background: #8200db;
  color: #fff;
  border-radius: 30px;
  padding: 0 32px;
  height: 47px;
  line-height: 47px;
  font-weight: 600;
  white-space: nowrap;
}

/* HERO */

.product-hero {
  position: relative;
  min-height: 1380px;
  padding: 120px 24px 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 180px 0 auto 0;
  width: 100%;
  height: 1120px;
  object-fit: cover;
  z-index: 0;
  opacity: 0.95;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 60px;
  align-items: start;
}

.hero-content h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(42px, 5vw, 56px);
  line-height: 1.34;
  font-weight: 500;
}

.hero-content h1 span {
  color: #d677ff;
}

.hero-copy {
  margin: 150px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 25px;
}

/* FEATURE CARDS */

.feature-grid {
  position: relative;
  z-index: 2;
  width: min(100%, 1280px);
  margin: 190px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 90px 62px;
}

.feature-card {
  min-height: 172px;
  padding: 28px 30px;
  background: rgba(107, 38, 203, 0.2);
  border: 0.3px solid #fff;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.feature-card h3 {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 20px;
  line-height: 25px;
  font-weight: 300;
}

.see-more {
  position: relative;
  z-index: 3;
  width: 250px;
  height: 48px;
  margin: 90px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  border-radius: 40px;
  font-size: 22px;
  font-weight: 500;
}

/* DETAIL SECTIONS */

.detail-section {
  width: min(100% - 48px, 1280px);
  margin: 120px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.detail-image img {
  width: 100%;
  height: 407px;
  object-fit: cover;
  border-radius: 20px;
}

.detail-content h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.45;
  font-weight: 500;
}

.detail-content p {
  margin: 34px 0 0;
  font-size: 24px;
  line-height: 43px;
  font-weight: 300;
}

.purple-button {
  width: 221px;
  height: 50px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #8200db;
  border-radius: 40px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

/* QUESTIONS */

.questions-section {
  width: min(100% - 48px, 1280px);
  margin: 120px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: stretch;
}

.questions-card {
  background: #fff;
  color: #000;
  border-radius: 30px;
  padding: 52px 42px;
  min-height: 614px;
}

.questions-card h2 {
  margin: 0 0 64px;
  font-size: 32px;
  line-height: 47px;
  font-weight: 600;
}

.question-list {
  display: grid;
  gap: 34px;
}

.question-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 24px;
  align-items: start;
}

.question-item span {
  width: 50px;
  height: 50px;
  background: #eed6ff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 18px;
}

.question-item p {
  margin: 0;
  font-size: 20px;
  line-height: 27px;
}

.questions-image img {
  width: 100%;
  height: 614px;
  object-fit: cover;
  border-radius: 30px;
}

/* LEARNING BANNER */

.learning-banner {
  width: min(100% - 48px, 1280px);
  margin: 120px auto 0;
  padding: 42px 50px;
  background: #9700ff;
  border-radius: 30px;
}

.learning-banner h2 {
  margin: 0;
  font-size: 32px;
  line-height: 47px;
  font-weight: 600;
}

.learning-banner p {
  margin: 16px 0 0;
  font-size: 22px;
  line-height: 47px;
  font-weight: 300;
}

/* FOOTER */

.footer {
  background: #7228d9;
  margin-top: 120px;
  padding: 74px 24px 36px;
}

.footer-inner {
  width: min(100%, 1268px);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-start;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  width: 182px;
  height: 64px;
  object-fit: cover;
}

.footer-brand p,
.footer-newsletter p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 26px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 0.5px solid #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.footer-social img {
  width: 22px;
  height: 22px;
  object-fit: cover;
}

.footer-nav-cols {
  display: flex;
  gap: 60px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-col h4,
.footer-newsletter h4,
.footer-newsletter label {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 32px;
  font-weight: 500;
}

.footer-nav-col a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 28px;
}

.footer-newsletter {
  max-width: 262px;
}

.footer-newsletter input {
  width: 262px;
  height: 55px;
  border: none;
  outline: none;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 14px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  margin: 36px 0 18px;
  background: rgba(255, 255, 255, 0.3);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.8;
  font-size: 14px;
  line-height: 32px;
}

/* ANIMATIONS */

.zoom-on-scroll {
  opacity: 0;
  transform: scale(0.92);
  transform-origin: center;
}

.zoom-on-scroll.visible {
  animation: featurePillZoom 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes featurePillZoom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.load-type.typing-ready .load-type-char {
  opacity: 0;
  display: inline-block;
  transform: translateY(10px);
  animation: heroTypeInChar 0.22s ease-out forwards;
  animation-delay: var(--char-delay);
}

@keyframes heroTypeInChar {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-left-scroll {
  opacity: 0;
  transform: translateX(-80px);
}

.fade-left-scroll.visible {
  animation: fadeLeftScrollIn 0.9s ease-out forwards;
}

.fade-right-scroll {
  opacity: 0;
  transform: translateX(80px);
}

.fade-right-scroll.visible {
  animation: fadeRightScrollIn 0.9s ease-out forwards;
}

@keyframes fadeLeftScrollIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRightScrollIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    margin-top: 24px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .detail-section,
  .questions-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bottom-section .questions-image {
    order: 1;
  }

  .bottom-section .questions-card {
    order: 2;
  }

  .footer-top {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .navbar {
    width: min(100% - 32px, 1120px);
    padding-top: 28px;
  }

  .logo {
    width: 150px;
    height: auto;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .nav-button {
    width: 100%;
    text-align: center;
  }

  .product-hero {
    min-height: auto;
    padding: 80px 18px 70px;
  }

  .hero-bg {
    top: 260px;
    height: 980px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 80px;
  }

  .detail-section,
  .questions-section,
  .learning-banner {
    width: min(100% - 32px, 1280px);
  }

  .detail-content p,
  .learning-banner p {
    font-size: 18px;
    line-height: 34px;
  }

  .questions-card {
    padding: 36px 24px;
  }

  .questions-card h2,
  .learning-banner h2 {
    font-size: 26px;
    line-height: 36px;
  }

  .question-item {
    grid-template-columns: 42px 1fr;
    gap: 18px;
  }

  .question-item span {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .question-item p {
    font-size: 17px;
    line-height: 26px;
  }

  .footer-top,
  .footer-nav-cols {
    flex-direction: column;
  }

  .footer-newsletter,
  .footer-newsletter input {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 31px;
  }

  .feature-card p {
    font-size: 17px;
    line-height: 26px;
  }

  .detail-image img,
  .questions-image img {
    height: 320px;
  }

  .questions-card {
    min-height: auto;
  }

  .purple-button,
  .see-more {
    width: 100%;
  }
}