:root {
  --device-red: #e7192a;
  --device-red-dark: #b80f1e;
  --device-ink: #0a0a0b;
  --device-ink-soft: #151517;
  --device-paper: #ffffff;
  --device-off-white: #f4f3f2;
  --device-muted: #68686e;
  --device-line: #dedddd;
  --device-radius-lg: 32px;
  --device-radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.device-page {
  margin: 0;
  overflow-x: hidden;
  color: var(--device-ink);
  background: var(--device-paper);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.device-page a {
  color: inherit;
  text-decoration: none;
}

.device-page img {
  max-width: 100%;
}

.device-page svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.device-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.device-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 25%, rgba(231, 25, 42, 0.2), transparent 25%),
    linear-gradient(125deg, #080809 0%, #111114 58%, #190b0e 100%);
}

.device-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, black, transparent 72%);
}

.device-breadcrumbs {
  position: relative;
  z-index: 2;
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  font-weight: 600;
}

.device-breadcrumbs a:hover {
  color: #fff;
}

.device-hero-grid {
  position: relative;
  z-index: 2;
  min-height: 650px;
  padding: 68px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.device-kicker {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.device-kicker::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--device-red);
}

.device-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 5.6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.device-hero h1 em {
  color: var(--device-red);
  font-style: normal;
}

.device-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.78;
}

.device-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.device-button {
  min-height: 52px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.device-button:hover {
  transform: translateY(-2px);
}

.device-button-primary {
  color: #fff;
  background: var(--device-red);
  box-shadow: 0 14px 34px rgba(231, 25, 42, 0.25);
}

.device-button-primary:hover {
  background: var(--device-red-dark);
}

.device-button-outline {
  border-color: rgba(255, 255, 255, 0.23);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.device-button-outline:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.device-trust {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.72rem;
}

.device-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.device-trust svg {
  width: 16px;
  height: 16px;
  color: var(--device-red);
  stroke-width: 2.5;
}

.device-showcase {
  position: relative;
  min-height: 480px;
  padding: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
  box-shadow: 0 42px 95px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
}

.device-product-frame {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 27px;
  background:
    radial-gradient(circle at 50% 42%, #fff 0%, #f5f4f2 52%, #e7e5e2 100%);
}

.device-product-frame::after {
  position: absolute;
  right: 8%;
  bottom: 7%;
  left: 8%;
  height: 18%;
  border-radius: 50%;
  content: "";
  background: rgba(0, 0, 0, 0.18);
  filter: blur(26px);
}

.device-product-frame img {
  position: relative;
  z-index: 2;
  width: 88%;
  max-height: 330px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 22px 25px rgba(0, 0, 0, 0.16));
}

.watch-page .device-product-frame img {
  width: 76%;
  max-height: 350px;
}

.ipad-page .device-product-frame img {
  width: 74%;
  max-height: 355px;
}

.device-floating-tag {
  position: absolute;
  z-index: 3;
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 8, 9, 0.8);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  font-size: 0.66rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.device-floating-tag.top {
  top: 22px;
  right: 20px;
}

.device-floating-tag.bottom {
  bottom: 22px;
  left: 20px;
}

.device-floating-tag b {
  color: var(--device-red);
}

.device-facts {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  color: #fff;
  background: #111113;
}

.device-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.device-fact {
  min-height: 126px;
  padding: 27px 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.device-fact:last-child {
  border-right: 0;
}

.device-fact > span {
  color: var(--device-red);
  font-size: 0.72rem;
  font-weight: 700;
}

.device-fact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  line-height: 1.55;
}

.device-fact strong {
  color: #fff;
  font-size: 0.88rem;
}

.device-section {
  padding: 100px 0;
}

.device-section-soft {
  background: var(--device-off-white);
}

.device-section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 92% 10%, rgba(231, 25, 42, 0.14), transparent 24%),
    #0b0b0c;
}

.device-heading {
  margin-bottom: 42px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.55fr);
  align-items: end;
  gap: 50px;
}

.device-heading small {
  margin-bottom: 12px;
  display: block;
  color: var(--device-red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.device-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4.1rem);
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.device-heading > p {
  margin: 0;
  color: var(--device-muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.device-section-dark .device-heading > p {
  color: rgba(255, 255, 255, 0.56);
}

.device-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.device-service-card {
  min-height: 275px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--device-line);
  border-radius: var(--device-radius-md);
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.device-service-card:hover {
  border-color: rgba(231, 25, 42, 0.34);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.09);
  transform: translateY(-5px);
}

.device-service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--device-red);
  background: #fff0f2;
}

.device-service-icon svg {
  width: 24px;
  height: 24px;
}

.device-service-card h3 {
  margin: 28px 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.035em;
}

.device-service-card p {
  margin: 0;
  color: var(--device-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.device-service-card a,
.device-service-card > span:last-child {
  margin-top: auto;
  padding-top: 23px;
  color: var(--device-red);
  font-size: 0.72rem;
  font-weight: 700;
}

.device-model-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.device-model-card {
  min-height: 210px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  transition: background 180ms ease, transform 180ms ease;
}

.device-model-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.device-model-card small {
  color: var(--device-red);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.device-model-card h3 {
  margin: 14px 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.device-model-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.71rem;
  line-height: 1.6;
}

.device-model-card > span {
  margin-top: auto;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.69rem;
  font-weight: 700;
}

.device-price-wrap {
  overflow: hidden;
  border: 1px solid var(--device-line);
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.07);
}

.device-price-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.device-price-table th {
  padding: 20px 25px;
  color: rgba(255, 255, 255, 0.55);
  background: #111113;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-align: left;
  text-transform: uppercase;
}

.device-price-table th:not(:first-child),
.device-price-table td:not(:first-child) {
  text-align: right;
}

.device-price-table td {
  padding: 20px 25px;
  border-bottom: 1px solid #ebe9e8;
  font-size: 0.8rem;
}

.device-price-table tr:last-child td {
  border-bottom: 0;
}

.device-price-table tbody tr {
  transition: background 160ms ease;
}

.device-price-table tbody tr:hover {
  background: #faf8f7;
}

.device-price-table td:first-child {
  font-weight: 700;
}

.device-price-table strong {
  color: var(--device-red);
  font-size: 0.9rem;
}

.device-price-note {
  margin: 18px 0 0;
  color: var(--device-muted);
  font-size: 0.7rem;
}

.device-page .price-calculator-notice {
  width: min(100%, 980px);
  margin: 0 auto 12px;
  color: var(--device-red);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.device-page .price-calculator {
  margin: 0 auto 28px !important;
  border-color: var(--device-line) !important;
  border-radius: 27px !important;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.07) !important;
}

.device-page .price-calculator__action--primary,
.device-page .price-calculator__field-step {
  background: var(--device-red) !important;
}

.ipad-page .device-price-table {
  min-width: 920px;
}

.device-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.device-process-card {
  min-height: 260px;
  padding: 29px;
  border: 1px solid var(--device-line);
  border-radius: var(--device-radius-md);
  background: #fff;
}

.device-process-card.featured {
  color: #fff;
  border-color: var(--device-red);
  background: var(--device-red);
}

.device-process-number {
  color: var(--device-red);
  font-size: 0.72rem;
  font-weight: 700;
}

.device-process-card.featured .device-process-number {
  color: rgba(255, 255, 255, 0.7);
}

.device-process-card h3 {
  margin: 55px 0 10px;
  font-size: 1.28rem;
  letter-spacing: -0.04em;
}

.device-process-card p {
  margin: 0;
  color: var(--device-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.device-process-card.featured p {
  color: rgba(255, 255, 255, 0.74);
}

.device-callout {
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  border-radius: var(--device-radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 14% 20%, rgba(231, 25, 42, 0.3), transparent 30%),
    linear-gradient(135deg, #09090a, #18181b);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.18);
}

.device-callout h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.device-callout p {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  line-height: 1.7;
}

.device-faq {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
}

.device-faq-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.device-faq-intro p {
  margin: 18px 0 0;
  color: var(--device-muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.device-faq-list details {
  border-top: 1px solid var(--device-line);
}

.device-faq-list details:last-child {
  border-bottom: 1px solid var(--device-line);
}

.device-faq-list summary {
  padding: 22px 42px 22px 0;
  position: relative;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  list-style: none;
}

.device-faq-list summary::-webkit-details-marker {
  display: none;
}

.device-faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 4px;
  color: var(--device-red);
  content: "+";
  font-size: 1.2rem;
}

.device-faq-list details[open] summary::after {
  content: "–";
}

.device-faq-list details p {
  max-width: 760px;
  margin: -4px 0 22px;
  color: var(--device-muted);
  font-size: 0.78rem;
  line-height: 1.75;
}

.device-page .site-footer {
  padding: 68px 0 0;
  color: #fff;
  background: #0a0a0b;
}

.device-page .footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 65px;
}

.device-page .site-footer h2 {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.device-page .site-footer p,
.device-page .site-footer a {
  margin: 0 0 9px;
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
}

.device-page .site-footer a:hover {
  color: #fff;
}

.device-page .footer-brand img {
  width: 112px;
  margin-bottom: 20px;
}

.device-page .footer-bottom {
  margin-top: 52px;
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.device-page .footer-bottom p {
  margin: 0;
  font-size: 0.66rem;
}

@media (max-width: 1000px) {
  .device-hero-grid {
    grid-template-columns: 1fr 340px;
    gap: 40px;
  }

  .device-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .device-model-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .device-shell {
    width: min(100% - 32px, 1180px);
  }

  .device-hero-grid {
    min-height: auto;
    padding: 55px 0 70px;
    grid-template-columns: 1fr;
  }

  .device-showcase {
    min-height: 420px;
  }

  .device-facts-grid,
  .device-heading,
  .device-process-grid,
  .device-callout,
  .device-faq {
    grid-template-columns: 1fr;
  }

  .device-fact {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .device-fact:last-child {
    border-bottom: 0;
  }

  .device-heading {
    gap: 20px;
  }

  .device-callout {
    align-items: start;
  }

  .device-faq {
    gap: 35px;
  }
}

@media (max-width: 620px) {
  .device-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .device-showcase {
    min-height: 350px;
    padding: 18px;
    border-radius: 27px;
  }

  .device-product-frame {
    min-height: 310px;
  }

  .device-product-frame img {
    width: 94%;
  }

  .watch-page .device-product-frame img {
    width: 80%;
  }

  .ipad-page .device-product-frame img {
    width: 78%;
  }

  .device-section {
    padding: 76px 0;
  }

  .device-service-grid,
  .device-model-grid {
    grid-template-columns: 1fr;
  }

  .device-service-card {
    min-height: 240px;
  }

  .device-price-wrap {
    overflow-x: auto;
  }

  .device-price-table {
    min-width: 620px;
  }

  .device-callout {
    padding: 35px 27px;
  }

  .device-page .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .device-page .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
