@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes heroProgress {
  from {
    width: 46%;
  }

  to {
    width: 88%;
  }
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.hero-band {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.hero-band::before {
  content: "";
  position: absolute;
  inset: auto -18% -52% -18%;
  height: 68%;
  background: radial-gradient(circle at center, rgba(15, 17, 21, 0.05), transparent 62%);
  pointer-events: none;
}

.hero-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 72px;
  width: min(calc(100% - 40px), var(--wrap));
  min-height: 680px;
  margin: 0 auto;
  padding: 80px 0 72px;
}

.hero-content {
  max-width: 560px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 17, 21, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-h1 {
  max-width: 10.5ch;
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(46px, 5.8vw, 80px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.hero-h1 .dim {
  color: #8e8e93;
  font-weight: 600;
}

.hero-sub {
  max-width: 43ch;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: -0.01em;
}

.hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.btn-apple.primary {
  background: #1d1d1f;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-apple.primary:hover {
  background: #3a3a3c;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.btn-apple.secondary {
  border: 1px solid rgba(15, 17, 21, 0.08);
  background: rgba(15, 17, 21, 0.05);
  color: var(--text);
}

.btn-apple.secondary:hover {
  background: rgba(15, 17, 21, 0.09);
}

.hero-device-wrap {
  position: relative;
  min-width: 0;
}

.hero-card-shell {
  position: relative;
  width: 100%;
  max-width: 648px;
  margin-left: auto;
}

.hero-card-grid {
  position: absolute;
  inset: -34px;
  background-image:
    linear-gradient(rgba(15, 17, 21, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 17, 21, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at center, #000000 42%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at center, #000000 42%, transparent 82%);
  opacity: 0.65;
  pointer-events: none;
}

.hero-card-main {
  position: relative;
  height: 590px;
  overflow: hidden;
  border: 1px solid rgba(15, 17, 21, 0.06);
  border-radius: 36px;
  background: linear-gradient(180deg, #ffffff 0%, #eff1f5 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.hero-card-main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 44%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), transparent 92%);
  pointer-events: none;
}

.hero-card-main::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(15, 17, 21, 0.04);
  border-radius: 28px;
  pointer-events: none;
}

.hero-device-wrap-new {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroFloat 7s ease-in-out infinite;
}

.hero-device-wrap-new img {
  width: 58%;
  max-width: 58%;
  height: auto;
  filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.18));
}

.hero-stat-card {
  position: absolute;
  padding: 18px 18px 16px;
  border-radius: 24px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-stat-primary {
  top: 28px;
  left: 28px;
  min-width: 186px;
  background: #121214;
  color: var(--white);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.hero-stat-label,
.hero-stat-meta {
  display: block;
  font-size: 11px;
  letter-spacing: -0.01em;
  opacity: 0.72;
}

.hero-stat-primary strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-stat-meta {
  opacity: 0.62;
}

.hero-stat-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-stat-pulse,
.hero-activity-dot {
  border-radius: 999px;
  animation: pulseDot 2.2s ease-in-out infinite;
}

.hero-stat-pulse {
  width: 8px;
  height: 8px;
  background: var(--white);
}

.hero-activity-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 256px;
  padding: 18px;
  border: 1px solid rgba(15, 17, 21, 0.06);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.hero-activity-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-activity-dot {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  background: #1d1d1f;
}

.hero-activity-row strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-activity-row p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.hero-progress-track {
  height: 6px;
  margin: 14px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
}

.hero-progress-fill {
  width: 72%;
  height: 100%;
  border-radius: 999px;
  background: #1d1d1f;
  animation: heroProgress 4s ease-in-out infinite alternate;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-mini-stats span {
  display: block;
  margin-bottom: 5px;
  color: #8e8e93;
  font-size: 10px;
  letter-spacing: -0.01em;
}

.hero-mini-stats strong {
  font-size: 12px;
  letter-spacing: -0.01em;
}

.trust-bar {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.trust-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.trust-sep {
  width: 1px;
  height: 14px;
  background: var(--line-md);
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-num,
.principle-kicker {
  display: block;
  color: var(--muted-2);
  font-weight: 700;
  text-transform: uppercase;
}

.problem-num {
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.problem-cell h3,
.service-item h3,
.feature-cell h3,
.principle-cell h3 {
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.problem-cell p,
.service-item p,
.feature-cell p,
.principle-cell p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.product-grid-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-visual-cell {
  padding: 0;
}

.product-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(150deg, #f5f5f7 0%, #e5e5ea 100%);
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
}

.product-visual img {
  position: relative;
  z-index: 1;
  width: 54%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.13));
}

.product-body {
  padding: 26px;
}

.product-card-title {
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.product-card-sub {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
  letter-spacing: -0.01em;
}

.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.size-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 18px;
  border: 1px solid var(--line-md);
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  user-select: none;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}

.size-chip input {
  display: none;
}

.size-chip:hover {
  border-color: rgba(15, 17, 21, 0.2);
  color: var(--text);
}

.size-chip.active {
  border-color: var(--text);
  background: var(--text);
  color: var(--white);
}

.product-note {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
}

.product-note a,
.service-item a,
.faq-a a,
.principle-cell a {
  color: var(--blue);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.price-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.price-was {
  color: var(--muted-2);
  font-size: 14px;
  text-decoration: line-through;
}

.price-save {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(26, 127, 75, 0.09);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
}

.add-btn {
  min-height: 40px;
  padding: 11px 22px;
  border-radius: 999px;
  background: #1d1d1f;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.add-btn:hover {
  background: #3a3a3c;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.product-side-cell {
  padding: 26px;
}

.product-divider {
  height: 1px;
  margin-bottom: 4px;
  background: var(--line);
}

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

.service-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.service-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(26, 127, 75, 0.08);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sp-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1px;
}

.sp-badges-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sp-val {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.sp-lbl {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.sp-badge-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.sp-badge-icon svg {
  width: 17px;
  height: 17px;
  color: var(--text);
}

.sp-badge-label {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.corral-shell {
  position: relative;
  overflow: hidden;
}

.corral-shell::before,
.corral-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.corral-shell::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.corral-shell::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.corral-row {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  animation: scrollLeft 30s linear infinite;
}

.corral-row[data-dir="right"] {
  margin-top: 8px;
  animation: scrollRight 34s linear infinite;
}

.app-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 9px 15px;
  border: 1px solid var(--line-md);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.app-pill-icon img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: contain;
}

.corral-empty {
  padding: 20px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-icon {
  display: flex;
  align-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
}

.feature-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.5;
}

.principle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.principle-kicker {
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.faq-list {
  overflow: hidden;
  border: 1px solid rgba(15, 17, 21, 0.06);
  border-radius: 28px;
  box-shadow: 0 16px 32px rgba(12, 18, 28, 0.05);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: left;
  transition: background 0.18s var(--ease);
}

.faq-q:hover {
  background: #fafafa;
}

.faq-chev {
  flex-shrink: 0;
  margin-top: -1px;
  color: var(--muted-2);
  font-size: 22px;
  font-weight: 200;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.faq-a {
  display: none;
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

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

.faq-item.open .faq-a {
  display: block;
}

.cart-empty-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto;
  opacity: 0.14;
  filter: brightness(0);
}

@media (max-width: 1200px) {
  .hero-section {
    gap: 48px;
  }
}

@media (max-width: 1100px) {
  .hero-card-main {
    height: 560px;
  }

  .feature-grid,
  .sp-badges-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
    padding-top: 64px;
  }

  .hero-content {
    max-width: none;
  }

  .hero-card-shell {
    max-width: 720px;
    margin: 0 auto;
  }

  .problem-grid,
  .product-grid-layout,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .sp-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-section {
    width: min(calc(100% - 24px), var(--wrap));
    padding-bottom: 60px;
  }

  .hero-card-grid {
    inset: -18px;
  }

  .hero-card-main {
    height: 500px;
    border-radius: 30px;
  }

  .hero-card-main::after {
    inset: 14px;
    border-radius: 22px;
  }

  .hero-stat-primary {
    top: 18px;
    left: 18px;
  }

  .hero-activity-card {
    right: 18px;
    bottom: 18px;
  }

  .trust-inner {
    gap: 18px;
  }

  .trust-sep {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-h1 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .hero-card-main {
    height: 430px;
  }

  .hero-device-wrap-new img {
    width: 64%;
    max-width: 64%;
  }

  .hero-stat-primary {
    min-width: 156px;
    padding: 15px 15px 14px;
  }

  .hero-stat-primary strong {
    font-size: 28px;
  }

  .hero-activity-card {
    width: min(220px, calc(100% - 36px));
    padding: 15px;
  }

  .apple-grid,
  .faq-list {
    border-radius: 22px;
  }

  .feature-grid,
  .sp-badges-grid,
  .sp-stats-grid {
    grid-template-columns: 1fr;
  }
}
