.page-products {
  --p-fire: #E63946;
  --p-fire-deep: #A4133C;
  --p-orange: #F4A261;
  --p-yellow: #FFD166;
  --p-dark: #1D3557;
  --p-dark-light: #2A3B54;
  --p-cream: #FFF8F0;
  --p-text: #0F172A;
  --p-muted: #64748B;
  position: relative;
  overflow-x: hidden;
  background: var(--p-cream);
  color: var(--p-text);
  font-family: var(--font-body);
}

.page-products__breadcrumb {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px var(--container-pad) 0;
  font-size: 14px;
  color: var(--p-muted);
}
.page-products__breadcrumb a {
  color: var(--p-fire);
  text-decoration: none;
}
.page-products__breadcrumb a:hover {
  text-decoration: underline;
}
.page-products__breadcrumb .breadcrumb-sep {
  margin: 0 8px;
  color: var(--p-muted);
}

.page-products__hero {
  position: relative;
  background: var(--p-dark);
  background-image:
    linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(244, 162, 97, 0.12) 0%, transparent 50%);
  padding: 80px 0 96px;
  overflow: hidden;
}
.page-products__hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--p-fire) 0%, var(--p-orange) 100%);
}
.page-products__hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 209, 102, 0.2);
  transform: rotate(15deg);
  border-radius: 0;
}
.page-products__hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.page-products__hero-kicker,
.page-products__section-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--p-fire);
  margin: 0 0 16px;
}
.page-products__hero-kicker {
  color: var(--p-orange);
}
.page-products__section-kicker--light {
  color: var(--p-yellow);
}
.page-products__section-kicker {
  margin-bottom: 12px;
}

.page-products__hero-title {
  font-family: var(--font-title);
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.05;
  color: var(--p-cream);
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 900;
}
.page-products__hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 248, 240, 0.85);
  max-width: 560px;
  margin: 0 0 32px;
}
.page-products__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.page-products__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-products__hero-meta li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 248, 240, 0.7);
  border: 1px solid rgba(255, 248, 240, 0.25);
  padding: 6px 14px;
  letter-spacing: 0.08em;
}

.page-products__hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}
.page-products__app-badge-wrap {
  position: relative;
  width: 220px;
  height: 220px;
}
.page-products__app-badge-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  box-shadow: 0 20px 60px rgba(230, 57, 70, 0.3);
}
.page-products__app-badge-wrap::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 2px solid rgba(244, 162, 97, 0.6);
  transform: rotate(6deg);
  z-index: -1;
}
.page-products__app-badge-version {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 48px;
  height: 48px;
  background: var(--p-yellow);
  color: var(--p-dark);
  font-family: var(--font-title);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(8deg);
  font-weight: 900;
}
.page-products__app-badge-caption {
  font-size: 14px;
  color: rgba(255, 248, 240, 0.6);
  letter-spacing: 0.1em;
  text-align: center;
  margin: 0;
}

.page-products__skills {
  position: relative;
  padding: 96px 0;
  background: var(--p-cream);
}
.page-products__skills--dark {
  background: var(--p-dark);
  color: var(--p-cream);
}
.page-products__skills--dark .page-products__section-title {
  color: var(--p-cream);
}
.page-products__skills--dark .page-products__section-subtitle {
  color: rgba(255, 248, 240, 0.7);
}
.page-products__section-head {
  text-align: left;
  margin-bottom: 56px;
}
.page-products__section-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.15;
  color: var(--p-dark);
  margin: 0 0 16px;
  font-weight: 900;
}
.page-products__section-subtitle {
  font-size: 16px;
  color: var(--p-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 480px;
}

.page-products__skill-tree {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.page-products__skill-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-products__skill-connector {
  display: none;
  justify-content: center;
  padding: 0 0 0 30px;
}
.page-products__skill-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: 1px solid rgba(255, 248, 240, 0.18);
  color: rgba(255, 248, 240, 0.7);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  padding: 18px 24px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  position: relative;
  border-radius: 0;
  width: 100%;
}
.page-products__skill-tab:hover {
  background: rgba(244, 162, 97, 0.08);
  color: var(--p-cream);
  border-color: rgba(244, 162, 97, 0.5);
  transform: translateX(4px);
}
.page-products__skill-tab.is-active {
  background: rgba(230, 57, 70, 0.15);
  border-color: var(--p-fire);
  color: var(--p-cream);
  box-shadow: 0 0 30px rgba(230, 57, 70, 0.25);
}
.page-products__skill-tab.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--p-fire);
}
.page-products__skill-tab-index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--p-orange);
  flex-shrink: 0;
}
.page-products__skill-tab-label {
  flex: 1;
}
.page-products__skill-tab[data-tab="skill-panel-3"] .page-products__skill-tab-index {
  color: var(--p-yellow);
}

.page-products__skill-panels {
  position: relative;
}
.page-products__skill-panel {
  background: rgba(255, 248, 240, 0.04);
  border-left: 3px solid var(--p-fire);
  padding: 32px 28px;
}
.page-products__skill-panel-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.page-products__skill-panel-copy h3 {
  font-family: var(--font-title);
  font-size: 24px;
  color: var(--p-cream);
  margin: 0 0 14px;
  font-weight: 900;
  line-height: 1.3;
}
.page-products__skill-panel-copy p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 248, 240, 0.75);
  margin: 0 0 20px;
}
.page-products__skill-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.page-products__skill-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: rgba(255, 248, 240, 0.85);
  line-height: 1.5;
}
.page-products__skill-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--p-orange);
  transform: rotate(45deg);
}
.page-products__skill-panel-visual.img-frame {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 5 / 3;
  box-shadow: 12px 12px 0 rgba(230, 57, 70, 0.3);
}
.page-products__skill-panel-visual.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-products__highlights {
  padding: 96px 0;
  background: var(--p-cream);
}
.page-products__highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.page-products__highlight-card {
  position: relative;
  background: var(--p-cream);
  border: 1px solid rgba(29, 53, 87, 0.12);
  border-top: 4px solid var(--p-fire);
  padding: 32px 28px 28px;
  transition: all var(--transition);
  overflow: hidden;
}
.page-products__highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(29, 53, 87, 0.15);
}
.page-products__highlight-card::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, transparent 50%, rgba(244, 162, 97, 0.15) 50%);
}
.page-products__highlight-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--p-fire);
  border: 1px solid rgba(230, 57, 70, 0.3);
  padding: 4px 12px;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}
.page-products__highlight-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--p-dark);
  margin: 0 0 12px;
  font-weight: 900;
  line-height: 1.3;
}
.page-products__highlight-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--p-muted);
  margin: 0;
}

.page-products__download {
  position: relative;
  background: var(--p-dark);
  padding: 100px 0;
  overflow: hidden;
  color: var(--p-cream);
}
.page-products__download-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-products__download-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  display: block;
}
.page-products__download-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--p-dark) 0%, rgba(29, 53, 87, 0.6) 50%, rgba(29, 53, 87, 0.5) 100%);
}
.page-products__download-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
.page-products__download-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 5vw, 44px);
  color: var(--p-cream);
  margin: 0 0 16px;
  font-weight: 900;
}
.page-products__download-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 248, 240, 0.8);
  margin: 0 0 32px;
  max-width: 480px;
}
.page-products__download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.page-products__btn-apple,
.page-products__btn-android {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--p-yellow);
  color: var(--p-dark);
  font-weight: 800;
  font-size: 16px;
  border: none;
  padding: 16px 32px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 24px rgba(255, 209, 102, 0.3);
  border-radius: 0;
  font-family: var(--font-body);
}
.page-products__btn-apple:hover,
.page-products__btn-android:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(255, 209, 102, 0.45);
  background: #ffe08a;
}
.page-products__btn-apple svg,
.page-products__btn-android svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.page-products__download-note {
  font-size: 14px;
  color: rgba(255, 248, 240, 0.6);
  margin: 0;
  letter-spacing: 0.04em;
}
.page-products__sys-requirements {
  background: rgba(255, 248, 240, 0.06);
  border: 1px solid rgba(255, 248, 240, 0.14);
  padding: 32px 28px;
  backdrop-filter: blur(4px);
}
.page-products__sys-requirements h3 {
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--p-cream);
  margin: 0 0 24px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.page-products__sys-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.page-products__sys-requirements li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 248, 240, 0.08);
}
.page-products__sys-requirements li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.page-products__sys-icon {
  width: 44px;
  height: 44px;
  background: rgba(230, 57, 70, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-orange);
  flex-shrink: 0;
}
.page-products__sys-requirements strong {
  display: block;
  font-size: 16px;
  color: var(--p-cream);
  margin-bottom: 2px;
}
.page-products__sys-requirements small {
  font-size: 13px;
  color: rgba(255, 248, 240, 0.55);
}

.page-products__mobile {
  padding: 96px 0;
  background: var(--p-cream);
}
.page-products__mobile-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.page-products__mobile-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.page-products__phone-frame {
  position: relative;
  width: 280px;
  height: 560px;
  background: var(--p-dark);
  border-radius: 36px;
  padding: 14px;
  box-shadow:
    0 24px 60px rgba(29, 53, 87, 0.25),
    inset 0 0 0 2px rgba(255, 248, 240, 0.1);
}
.page-products__phone-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--p-dark-light);
  border-radius: 2px;
  z-index: 2;
}
.page-products__phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--p-dark-light) 0%, var(--p-dark) 60%);
  border-radius: 24px;
  padding: 44px 20px 20px;
  overflow: hidden;
}
.page-products__phone-screen::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.3) 0%, transparent 70%);
}
.page-products__phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: var(--p-dark);
  border-radius: 0 0 12px 12px;
  z-index: 3;
}
.page-products__phone-status {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 248, 240, 0.7);
  margin-bottom: 28px;
}
.page-products__phone-lines {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}
.page-products__phone-line {
  display: block;
  height: 10px;
  background: rgba(255, 248, 240, 0.12);
  border-radius: 2px;
}
.page-products__phone-line--lg {
  height: 32px;
  background: rgba(230, 57, 70, 0.4);
  border-left: 4px solid var(--p-fire);
}
.page-products__phone-line--sm {
  width: 60%;
}
.page-products__phone-line--orange {
  background: rgba(244, 162, 97, 0.3);
  border-left: 4px solid var(--p-orange);
}
.page-products__phone-cards {
  display: grid;
  gap: 14px;
}
.page-products__phone-card {
  display: block;
  height: 70px;
  background: rgba(255, 248, 240, 0.06);
  border: 1px solid rgba(255, 248, 240, 0.1);
}
.page-products__phone-card--accent {
  background: rgba(230, 57, 70, 0.12);
  border-left: 3px solid var(--p-fire);
}
.page-products__mobile-caption {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--p-muted);
  letter-spacing: 0.12em;
  text-align: center;
  margin: 0;
}
.page-products__mobile-copy {
  padding: 0 12px;
}
.page-products__mobile-copy .page-products__section-title {
  color: var(--p-dark);
}
.page-products__mobile-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--p-muted);
  margin: 0 0 32px;
  max-width: 420px;
}
.page-products__mobile-points {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 20px;
}
.page-products__mobile-points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.page-products__mobile-point-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--p-fire);
  border: 1px solid rgba(230, 57, 70, 0.3);
  padding: 4px 10px;
  flex-shrink: 0;
}
.page-products__mobile-points strong {
  display: block;
  font-size: 16px;
  color: var(--p-dark);
  margin-bottom: 4px;
}
.page-products__mobile-points span:last-child {
  font-size: 14px;
  color: var(--p-muted);
  line-height: 1.6;
}
.page-products__btn-faq {
  border-color: var(--p-fire);
  color: var(--p-fire);
  background: transparent;
}
.page-products__btn-faq:hover {
  background: rgba(230, 57, 70, 0.08);
}

.page-products__related {
  padding: 96px 0 108px;
  background: var(--p-cream);
}
.page-products__related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.page-products__related-card {
  display: block;
  padding: 32px 28px;
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid rgba(29, 53, 87, 0.12);
  background: var(--p-cream);
}
.page-products__related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(29, 53, 87, 0.12);
  border-color: rgba(230, 57, 70, 0.3);
}
.page-products__related-tag {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.page-products__related-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--p-dark);
  margin: 0 0 10px;
  font-weight: 900;
}
.page-products__related-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--p-muted);
  margin: 0 0 16px;
}
.page-products__related-link {
  font-size: 14px;
  color: var(--p-fire);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 0;
  font-family: var(--font-body);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255, 248, 240, 0.6);
  color: var(--p-cream);
}
.btn-outline:hover {
  border-color: var(--p-cream);
  background: rgba(255, 248, 240, 0.08);
}

@media (min-width: 640px) {
  .page-products__skill-panel-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .page-products__highlight-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-products__related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .page-products__skill-list {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .page-products__skill-connector {
    display: flex;
    padding: 0;
    flex-shrink: 0;
  }
  .page-products__skill-tab {
    width: auto;
    min-width: 180px;
    justify-content: center;
  }
  .page-products__skill-tab:hover {
    transform: translateY(-2px);
  }
  .page-products__download-inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .page-products__download-title {
    font-size: 44px;
  }
  .page-products__mobile-inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

@media (min-width: 1024px) {
  .page-products__hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
  .page-products__hero {
    padding: 96px 0 120px;
  }
  .page-products__hero-title {
    font-size: 72px;
  }
  .page-products__hero-desc {
    font-size: 18px;
  }
  .page-products__skill-panel {
    padding: 48px 56px;
  }
  .page-products__skill-panel-copy h3 {
    font-size: 28px;
  }
  .page-products__skill-panel-copy p {
    font-size: 16px;
  }
  .page-products__highlight-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .page-products__highlight-card {
    padding: 36px 24px 28px;
  }
  .page-products__mobile-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1240px) {
  .page-products__mobile-inner {
    gap: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
