/* Private Mac Cloud landing — glassmorphism aligned with Nabilia */
.mac-cloud-page {
  background: var(--bg, #f4f7f9);
  min-height: 100vh;
}

.mac-cloud-page .mac-hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 45% at 15% 8%, rgba(255, 51, 102, 0.14), transparent 55%),
    radial-gradient(ellipse 65% 40% at 88% 12%, rgba(153, 51, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(91, 104, 246, 0.16), transparent 55%);
}

.mac-cloud-wrap {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.mac-cloud-wrap--wide {
  max-width: 72rem;
  padding-bottom: 2rem;
}

@media (max-width: 639px) {
  .mac-cloud-wrap,
  .mac-cloud-wrap--wide {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .mac-hero-split {
    padding-top: 4.75rem;
  }

  .mac-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .mac-cta-row .btn-primary,
  .mac-cta-row .btn-ghost {
    justify-content: center;
  }
}

.mac-glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 1.25rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  padding: 1.35rem 1.25rem;
}

html.dark .mac-glass {
  background: rgba(30, 41, 59, 0.55);
  border-color: rgba(255, 255, 255, 0.12);
}

.mac-hero {
  padding-top: 5.5rem;
  padding-bottom: 2rem;
  text-align: center;
}

.mac-hero-split {
  display: grid;
  gap: 2rem;
  align-items: center;
  text-align: left;
}

@media (min-width: 992px) {
  .mac-hero-split {
    grid-template-columns: 1fr minmax(280px, 46%);
    padding-top: 6rem;
  }
}

.mac-hero-copy .mac-lead--left {
  margin-left: 0;
  max-width: 36rem;
}

.mac-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.mac-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #475569;
}

.mac-hero-visual {
  padding: 0.75rem;
  overflow: hidden;
}

.mac-hero-visual img,
.mac-hero-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.mac-hero-photo {
  object-fit: cover;
  max-height: 420px;
}

.mac-why-visual {
  margin-bottom: 1.5rem;
  padding: 0.5rem !important;
  overflow: hidden;
  border-radius: 1.25rem;
}

.mac-why-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  max-height: 280px;
}

.mac-cta-row--left {
  justify-content: flex-start;
}

.mac-section-head {
  margin-bottom: 1.25rem;
  max-width: 40rem;
}

.mac-section-head h2 {
  margin-bottom: 0.5rem;
}

.mac-section-head--center {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.mac-intro--center {
  margin-left: auto;
  margin-right: auto;
}

.mac-why-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.mac-why-metric {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px !important;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  border-radius: 999px !important;
}

.mac-why-metric i {
  color: #5b68f6;
  font-size: 14px;
}

.mac-why-bento {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .mac-why-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
  }

  .mac-why-bento-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1.25rem;
    row-gap: 0.35rem;
    align-items: start;
    padding: 1.5rem 1.75rem !important;
  }

  .mac-why-bento-card--featured .mac-why-bento-icon {
    grid-row: 1 / span 2;
    width: 56px;
    height: 56px;
    font-size: 1.35rem;
  }

  .mac-why-bento-card--featured h3 {
    font-size: 1.25rem;
  }

  .mac-why-bento-card--featured p {
    font-size: 0.95rem;
    max-width: 52rem;
  }
}

.mac-why-bento-card {
  padding: 1.25rem 1.35rem !important;
}

.mac-why-bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #eef2ff, #e0e7ff);
  color: #4f46e5;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.mac-why-bento-card--featured {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(224, 231, 255, 0.55)) !important;
  border-color: rgba(91, 104, 246, 0.25) !important;
  box-shadow: 0 16px 48px rgba(91, 104, 246, 0.12);
}

.mac-why-bento-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.mac-why-bento-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #64748b;
}

.mac-hw-scroll-hint {
  display: none;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  text-align: right;
  margin-bottom: 0.5rem;
  padding-right: 0.25rem;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .mac-hw-scroll-hint--desktop {
    display: block;
  }
}

.mac-hardware-compare {
  padding: 0 !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mac-hw-mobile {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
}

@media (max-width: 1023px) {
  .mac-hardware-compare--desktop {
    display: none;
  }

  .mac-hw-mobile {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .mac-hw-mobile {
    display: none !important;
  }
}

.mac-hw-mobile-card {
  padding: 1.25rem 1.15rem !important;
  text-align: center;
}

.mac-hw-mobile-card .mac-hw-stage {
  margin-bottom: 12px;
}

.mac-hw-mobile-specs {
  margin: 1rem 0 1.25rem;
  padding: 0;
  text-align: left;
}

.mac-hw-mobile-spec {
  display: grid;
  grid-template-columns: minmax(0, 38%) 1fr;
  gap: 0.65rem 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.mac-hw-mobile-spec:last-child {
  border-bottom: none;
}

.mac-hw-mobile-spec dt {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 0;
}

.mac-hw-mobile-spec dd {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #0f172a;
}

.mac-hw-footnote {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
  margin: 0.5rem auto 0;
  max-width: 36rem;
}

.mac-hw-grid {
  display: grid;
  grid-template-columns: minmax(96px, 15%) repeat(4, minmax(0, 1fr));
  min-width: min(100%, 920px);
  column-gap: 0;
}

.mac-hw-grid--head {
  padding: 1.25rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  align-items: stretch;
}

.mac-hw-grid--row {
  align-items: stretch;
}

.mac-hw-grid--row:last-of-type .mac-hw-label-cell,
.mac-hw-grid--row:last-of-type .mac-hw-value-cell {
  border-bottom: none;
}

.mac-hw-grid--foot {
  padding: 1.5rem 1rem 1.35rem;
  gap: 12px;
  align-items: start;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  margin-top: 0.25rem;
}

.mac-hw-label-cell {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  padding: 14px 12px 14px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  align-self: center;
}

.mac-hw-value-cell {
  padding: 14px 1.1rem 14px 1.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #0f172a;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mac-hw-product-cell ~ .mac-hw-product-cell,
.mac-hw-value-cell ~ .mac-hw-value-cell,
.mac-hw-cta-cell ~ .mac-hw-cta-cell {
  border-left: 1px solid rgba(148, 163, 184, 0.22);
}

.mac-hw-product-cell {
  padding: 0 1rem 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
}

.mac-hw-stage {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  border-radius: 16px;
  padding: 12px 10px 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  height: 172px;
  min-height: 172px;
  max-height: 172px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
}

.mac-hw-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 128px;
  object-fit: contain;
  margin: 0 auto;
}

.mac-hw-stage--mini {
  overflow: hidden;
}

.mac-hw-stage--mini img {
  max-height: 118px;
  width: auto;
  max-width: 100%;
  height: auto;
  transform: scale(1.72);
  transform-origin: center bottom;
}

.mac-hw-stage--studio img {
  max-height: 118px;
  width: auto;
  max-width: 100%;
}

.mac-hw-product-meta {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 4.35rem;
  flex: 1 1 auto;
}

.mac-hw-device {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  line-height: 1.22;
  min-height: 2.55em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
}

.mac-hw-plan {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
  min-height: 1.35em;
}

.mac-hw-cta-cell {
  padding: 0.35rem 1rem 0;
}

.mac-cloud-btn--full {
  width: 100%;
}

.mac-ia-band {
  padding: 1.5rem !important;
}

.mac-ia-band-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .mac-ia-band-grid {
    grid-template-columns: 1fr minmax(240px, 42%);
  }
}

.mac-check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.mac-check-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.mac-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5b68f6;
  font-weight: 700;
}

.mac-ia-visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  max-height: 320px;
}

.mac-sector-group {
  margin-bottom: 1.75rem;
}

.mac-sector-group:last-child {
  margin-bottom: 0;
}

.mac-sector-group-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin: 0 0 12px;
}

.mac-sector-list {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .mac-sector-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mac-sector-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 1.1rem 1.25rem !important;
}

.mac-sector-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(91, 104, 246, 0.14), rgba(224, 231, 255, 0.8));
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.mac-sector-copy h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}

.mac-sector-copy p {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
}

.mac-process-track {
  display: grid;
  gap: 1rem;
  position: relative;
}

@media (min-width: 900px) {
  .mac-process-track {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: stretch;
  }

  .mac-process-track::before {
    content: "";
    position: absolute;
    top: 2.35rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, rgba(91, 104, 246, 0.5), rgba(153, 51, 255, 0.35));
    z-index: 0;
    pointer-events: none;
  }
}

.mac-process-step {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.15rem !important;
  text-align: left;
}

.mac-process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mac-process-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #5b68f6;
}

.mac-process-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #eef2ff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.mac-process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.mac-process-lead {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 6px;
}

.mac-process-detail {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

.mac-process-cta {
  margin-top: 2.25rem;
  padding-top: 0.5rem;
}

.mac-fine-print {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem !important;
  font-size: 0.72rem;
  line-height: 1.55;
  color: #64748b;
}

.mac-fine-print summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
}

.mac-fine-print p {
  margin: 0.75rem 0 0;
}

html.dark .mac-hero-chip {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(71, 85, 105, 0.6);
  color: #cbd5e1;
}

html.dark .mac-why-metric {
  color: #e2e8f0;
}

html.dark .mac-why-bento-card p,
html.dark .mac-check-list li,
html.dark .mac-sector-copy p,
html.dark .mac-process-lead {
  color: #94a3b8;
}

html.dark .mac-why-bento-card h3,
html.dark .mac-hw-value-cell,
html.dark .mac-hw-device,
html.dark .mac-sector-copy h3,
html.dark .mac-process-step h3 {
  color: #f1f5f9;
}

html.dark .mac-why-bento-card--featured {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(49, 46, 129, 0.35)) !important;
}

html.dark .mac-hw-stage {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.8), rgba(49, 46, 129, 0.25));
  border-color: rgba(71, 85, 105, 0.5);
}

html.dark .mac-hw-plan {
  color: #94a3b8;
}

html.dark .mac-hw-mobile-spec dd {
  color: #f1f5f9;
}

html.dark .mac-cloud-section--after-process,
html.dark .mac-cloud-ficha-cta {
  border-top-color: rgba(71, 85, 105, 0.55);
}

html.dark .mac-process-icon {
  background: rgba(91, 104, 246, 0.2);
  color: #c4b5fd;
}

.mac-hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.65rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.mac-hero .text-gradient {
  background: linear-gradient(105deg, #ff3366 0%, #9933ff 45%, #5b68f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mac-eyebrow {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.mac-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #64748b;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}

.mac-section {
  margin-top: 2.5rem;
}

.mac-section h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.mac-section > p.mac-intro {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.mac-grid-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .mac-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.mac-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mac-card-title i {
  color: #5b68f6;
}

.mac-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
}

.mac-list li {
  margin-bottom: 0.35rem;
}

.mac-table-wrap {
  overflow-x: auto;
  margin-top: 0.75rem;
}

.mac-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.mac-table th,
.mac-table td {
  text-align: left;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  vertical-align: top;
}

.mac-table th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.mac-pkg {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
}

.mac-pkg strong {
  font-size: 1rem;
}

.mac-pkg span {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
}

.mac-sectors {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.mac-sector h3 {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.mac-sector p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.mac-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.mac-fine {
  margin-top: 3rem;
  font-size: 0.68rem;
  line-height: 1.55;
  color: #94a3b8;
}

.mac-fine h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 0 0 0.5rem;
}

.mac-nav-link--active {
  color: #5b68f6 !important;
  font-weight: 600;
}
