* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  background: #f5f5f7;
  color: #0a0a0a;
  line-height: 1.45;
}

a {
  text-decoration: none;
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  background: rgba(245,245,247,0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #0a0a0a;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.03em;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-sub {
  font-size: 12px;
  opacity: 0.55;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  font-size: 14px;
  opacity: 0.72;
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-link:hover {
  background: rgba(0,0,0,0.05);
  opacity: 1;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  transition: 0.2s ease;
}

.primary-btn {
  background: #0a0a0a;
  color: #ffffff;
}

.primary-btn:hover {
  transform: translateY(-1px);
}

.secondary-btn {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
}

.secondary-btn:hover {
  transform: translateY(-1px);
}

.large-btn {
  padding: 14px 22px;
  font-size: 15px;
}

.hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 28px 44px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 36px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  opacity: 0.58;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 720px;
}

.hero-text,
.section-subtext,
.feature-card p,
.preview-card p,
.cta-card p,
.tutorial-card p {
  font-size: 16px;
  opacity: 0.72;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.mini-points span {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  opacity: 0.8;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.device-shell {
  width: min(100%, 640px);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

.device-topbar {
  display: flex;
  gap: 8px;
  padding: 4px 4px 14px;
}

.device-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.14);
}

.mock-app {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  min-height: 520px;
}

.mock-sidebar,
.mock-main,
.feature-card,
.preview-card,
.tutorial-panel,
.cta-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.06);
}

.mock-sidebar {
  border-radius: 28px;
  padding: 16px;
}

.mock-title {
  background: #f2f2f4;
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
  margin-bottom: 12px;
}

.mock-btn {
  background: #0a0a0a;
  color: #fff;
  border-radius: 16px;
  padding: 14px;
  font-size: 14px;
  text-align: center;
  margin-bottom: 16px;
}

.mock-nav {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  opacity: 0.6;
}

.mock-nav.active {
  background: #f3f3f5;
  opacity: 1;
}

.mock-main {
  border-radius: 28px;
  padding: 16px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
}

.mock-canvas {
  border-radius: 24px;
  background: linear-gradient(180deg, #fafafa 0%, #f0f0f2 100%);
  border: 1px dashed rgba(0,0,0,0.14);
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 22px;
}

.mock-canvas-inner {
  width: 180px;
  height: 300px;
  position: relative;
}

.mock-fit-item {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 18px;
  background: linear-gradient(135deg, #111 0%, #444 100%);
  opacity: 0.94;
}

.mock-fit-item.top {
  top: 8%;
  width: 110px;
  height: 90px;
}

.mock-fit-item.bottom {
  top: 40%;
  width: 88px;
  height: 105px;
}

.mock-fit-item.shoe {
  top: 80%;
  width: 120px;
  height: 28px;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mock-card {
  height: 88px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ececef 0%, #dfe1e7 100%);
}

.section-block,
.cta-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 28px 72px;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2,
.cta-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 860px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.preview-card {
  border-radius: 30px;
  padding: 22px;
}

.feature-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  margin-bottom: 18px;
}

.feature-card h3,
.preview-card h3,
.tutorial-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.device-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.device-tab {
  border: none;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  cursor: pointer;
}

.device-tab.active {
  background: #0a0a0a;
  color: #fff;
}

.tutorial-panel {
  border-radius: 32px;
  padding: 18px;
}

.tutorial-content {
  display: none;
}

.tutorial-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tutorial-card {
  border-radius: 24px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tutorial-step {
  min-width: 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.preview-card.tall {
  grid-row: span 2;
  min-height: 300px;
}

.preview-card.wide {
  grid-column: span 2;
}

.cta-card {
  border-radius: 34px;
  padding: 34px;
  text-align: center;
}

.cta-card p {
  max-width: 700px;
  margin: 16px auto 0;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .preview-grid,
  .tutorial-content.active {
    grid-template-columns: 1fr;
  }

  .preview-card.wide,
  .preview-card.tall {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 16px 18px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .hero,
  .section-block,
  .cta-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mock-app {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: none;
  }

  .cta-card {
    padding: 24px;
  }
}
.interactive-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

.showcase-stage,
.showcase-side {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 32px;
}

.showcase-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfbfc 0%, #efeff3 100%);
}

.floating-card {
  position: absolute;
  border-radius: 22px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  display: grid;
  place-items: center;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: rgba(0,0,0,0.55);
  transition: all 0.5s ease;
}

.top-card {
  width: 150px;
  height: 120px;
  top: 70px;
  left: 70px;
  animation: floatOne 4.8s ease-in-out infinite;
}

.bottom-card {
  width: 130px;
  height: 150px;
  top: 200px;
  left: 120px;
  animation: floatTwo 5.2s ease-in-out infinite;
}

.shoe-card {
  width: 160px;
  height: 72px;
  bottom: 85px;
  left: 90px;
  animation: floatThree 4.4s ease-in-out infinite;
}

.accessory-card {
  width: 110px;
  height: 90px;
  top: 120px;
  right: 90px;
  animation: floatFour 5s ease-in-out infinite;
}

.assembled-fit {
  position: absolute;
  right: 80px;
  top: 55px;
  width: 210px;
  height: 390px;
  border-radius: 32px;
  background: rgba(255,255,255,0.7);
  border: 1px dashed rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 24px;
  overflow: hidden;
}

.assembled-piece {
  border-radius: 22px;
  background: linear-gradient(135deg, #121212 0%, #4a4a4a 100%);
  opacity: 0.95;
  transition: all 0.45s ease;
}

.assembled-top {
  width: 118px;
  height: 92px;
  margin-bottom: 18px;
}

.assembled-bottom {
  width: 90px;
  height: 118px;
  margin-bottom: 28px;
}

.assembled-shoes {
  width: 126px;
  height: 26px;
  border-radius: 14px;
}

.showcase-side {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-step {
  width: 100%;
  text-align: left;
  border: none;
  background: #f3f3f5;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.25s ease;
}

.showcase-step.active {
  background: #0a0a0a;
  color: #ffffff;
}

.showcase-caption {
  margin-top: 18px;
  padding: 6px 2px 0;
}

.showcase-caption h3 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.showcase-caption p {
  margin: 0;
  font-size: 15px;
  opacity: 0.7;
  max-width: 340px;
}

/* Better assembled fit in hero */
.hero-fit {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 22px;
  background: linear-gradient(135deg, #111111 0%, #4a4a4a 100%);
  box-shadow: 0 16px 32px rgba(0,0,0,0.10);
}

.hero-fit-top {
  top: 8%;
  width: 110px;
  height: 92px;
}

.hero-fit-bottom {
  top: 40%;
  width: 88px;
  height: 108px;
}

.hero-fit-shoes {
  top: 80%;
  width: 120px;
  height: 24px;
  border-radius: 14px;
}

@keyframes floatOne {
  0%, 100% { transform: translateY(0px) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes floatTwo {
  0%, 100% { transform: translateY(0px) rotate(4deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes floatThree {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes floatFour {
  0%, 100% { transform: translateY(0px) rotate(6deg); }
  50% { transform: translateY(-11px) rotate(2deg); }
}

@media (max-width: 1080px) {
  .interactive-showcase {
    grid-template-columns: 1fr;
  }

  .showcase-stage {
    min-height: 420px;
  }

  .assembled-fit {
    right: 30px;
    top: 35px;
    width: 180px;
    height: 330px;
  }
}

@media (max-width: 760px) {
  .floating-card {
    transform: scale(0.9);
  }

  .top-card {
    left: 24px;
  }

  .bottom-card {
    left: 50px;
  }

  .shoe-card {
    left: 30px;
  }

  .accessory-card {
    right: 24px;
  }

  .assembled-fit {
    right: 18px;
    width: 155px;
    height: 300px;
    padding-top: 20px;
  }

  .showcase-caption h3 {
    font-size: 24px;
  }
}