.language-control select {
  min-height: 40px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 720;
}

.portfolio-hero {
  min-height: 720px;
}

.product-orbit {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.product-orbit::before,
.product-orbit::after {
  position: absolute;
  border: 1px dashed rgba(17, 16, 14, 0.16);
  border-radius: 50%;
  content: "";
}

.product-orbit::before { inset: 64px; }
.product-orbit::after { inset: 150px; }

.orbit-icon {
  position: absolute;
  z-index: 2;
  width: 88px;
  border-radius: 24px;
  box-shadow: 0 20px 42px rgba(7, 19, 38, 0.2);
}

.orbit-icon-1 { top: 2%; left: 42%; }
.orbit-icon-2 { top: 22%; right: 2%; }
.orbit-icon-3 { right: 13%; bottom: 5%; }
.orbit-icon-4 { bottom: 2%; left: 30%; }
.orbit-icon-5 { bottom: 23%; left: 1%; }
.orbit-icon-6 { top: 20%; left: 10%; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.portfolio-card {
  position: relative;
  display: grid;
  min-height: 600px;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
}

.portfolio-irecordscreen { background: #131416; }
.portfolio-irecordaudio { background: #073c73; }
.portfolio-ivideorepair { background: #37245c; }
.portfolio-xbscribe { background: #123660; }
.portfolio-beginclass { background: #322253; }

.portfolio-copy {
  position: relative;
  z-index: 2;
  padding: 46px 12px 44px 44px;
}

.portfolio-icon {
  width: 76px;
  margin-bottom: 24px;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.portfolio-copy h3 {
  margin: 5px 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.portfolio-copy > p:not(.app-category) {
  color: rgba(255, 255, 255, 0.76);
}

.portfolio-copy .app-tagline {
  color: var(--white) !important;
  font-size: 20px;
  font-weight: 760;
  line-height: 1.35;
}

.portfolio-preview {
  position: relative;
  min-height: 100%;
}

.portfolio-preview img {
  position: absolute;
  width: 190px;
  border-radius: 26px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
}

.portfolio-preview img:first-child {
  top: 58px;
  right: 70px;
  transform: rotate(-5deg);
}

.portfolio-preview img:last-child {
  right: -45px;
  bottom: -46px;
  transform: rotate(6deg);
}

.product-page .site-header {
  position: relative;
}

.product-hero {
  padding: 82px 0 110px;
  overflow: hidden;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: 80px;
}

.product-back {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--muted);
  font-weight: 760;
}

.product-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.product-identity img {
  width: 76px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(17, 16, 14, 0.16);
}

.product-identity p { margin: 2px 0; }
.product-identity div > p:last-child { font-size: 20px; font-weight: 850; }

.product-copy h1 {
  max-width: 720px;
  margin: 34px 0 26px;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.068em;
}

.product-lede {
  max-width: 650px;
  color: #4d4943;
  font-size: 21px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button-outline { border: 1px solid var(--ink); }

.product-screens {
  position: relative;
  min-height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(10, 99, 255, 0.22), transparent 63%);
}

.product-screens img {
  position: absolute;
  top: 10px;
  left: 18%;
  width: 260px;
  border-radius: 38px;
  box-shadow: 0 28px 60px rgba(7, 19, 38, 0.24);
  transform: rotate(-5deg);
}

.product-screens img:last-child {
  top: 85px;
  left: 48%;
  transform: rotate(6deg);
}

.product-features {
  padding: 100px 0;
  background: var(--ink);
  color: var(--white);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-list article {
  min-height: 230px;
  padding: 32px 36px 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-list span { color: var(--orange); font-weight: 850; }
.feature-list h2 { max-width: 320px; font-size: 28px; line-height: 1.2; }

.related-products { padding: 100px 0 120px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.related-grid a {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 4px 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.45);
}

.related-grid img { grid-row: span 2; width: 62px; border-radius: 16px; }
.related-grid span { font-size: 18px; font-weight: 850; }
.related-grid small { color: var(--muted); }

@media (max-width: 1050px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .product-screens { min-height: 560px; }
}

@media (max-width: 760px) {
  .language-control { width: 100%; }
  .language-control select { width: 100%; }
  .product-orbit { min-height: 390px; }
  .orbit-icon { width: 64px; border-radius: 18px; }
  .portfolio-card { min-height: 760px; grid-template-columns: 1fr; }
  .portfolio-copy { padding: 36px 32px; }
  .portfolio-preview { min-height: 300px; }
  .portfolio-preview img { width: 150px; }
  .portfolio-preview img:first-child { top: 10px; right: 45%; }
  .product-hero { padding-top: 40px; }
  .product-back { margin-bottom: 34px; }
  .product-copy h1 { font-size: 50px; }
  .product-screens { min-height: 430px; }
  .product-screens img { left: 4%; width: 190px; border-radius: 28px; }
  .product-screens img:last-child { top: 65px; left: 43%; }
  .feature-list,
  .related-grid { grid-template-columns: 1fr; }
  .feature-list article { min-height: 160px; }
}
