/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F8F9FA;
  color: #1A1A2E;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #FAFBFC;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  clip-path: inset(0);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  will-change: transform, opacity;
}

.hero__title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0F0F1A;
  line-height: 1;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: #6B7280;
  letter-spacing: 0.04em;
  margin-bottom: 3rem;
}

.hero__cta {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FAFBFC;
  background: #0F0F1A;
  border: none;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.hero__cta:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 15, 26, 0.15);
}

/* ── Products ── */
.products {
  padding: 8rem 0;
}

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.product + .product {
  margin-top: 4rem;
}

.product--right {
  direction: ltr;
}

/* Text */
.product__text {
  will-change: transform, opacity;
}

.product__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 1.5rem;
}

.product__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0F0F1A;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.product__tagline {
  font-size: 1.125rem;
  font-weight: 400;
  color: #6B7280;
  margin-bottom: 1.75rem;
  letter-spacing: 0.01em;
}

.product__value {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0F0F1A;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.product__args {
  list-style: none;
  padding: 0;
  max-width: 480px;
}

.product__args li {
  position: relative;
  font-size: 1rem;
  font-weight: 300;
  color: #4B5563;
  line-height: 1.7;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.product__args li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #D1D5DB;
}

.product__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #0F0F1A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product__link span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.product__link:hover {
  color: #4B5563;
}

.product__link:hover span {
  transform: translateX(4px);
}

/* Visual */
.product__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
  justify-self: center;
  will-change: transform;
}

.product__canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Fade-in animation */
.product__text,
.product__visual {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.product__text.is-visible,
.product__visual.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product__visual.is-visible {
  transition-delay: 0.15s;
}

/* ── Footer ── */
.footer {
  padding: 4rem 2rem;
  border-top: 1px solid #E5E7EB;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__brand {
  font-size: 1rem;
  font-weight: 600;
  color: #0F0F1A;
  letter-spacing: -0.01em;
}

.footer__copy {
  font-size: 0.8125rem;
  color: #9CA3AF;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .product {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 1.5rem;
  }

  .product--right {
    direction: ltr;
  }

  .product--right .product__visual {
    order: -1;
  }

  .product__visual {
    max-width: 320px;
  }

  .product__description {
    max-width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
