/* =========================================================================
   IntelliHome Dedicated Service Pages Architecture & Design System
   Compatible with Apple Global Nav & Directory Footer
   ========================================================================= */

:root {
  --apple-font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Icons", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --apple-font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --apple-font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --mesh-bg-gradient: 
    radial-gradient(circle 800px at 16% 26%, rgba(208, 224, 255, 0.85) 0%, rgba(208, 224, 255, 0.28) 45%, transparent 75%),
    radial-gradient(circle 900px at 84% 36%, rgba(255, 224, 218, 0.90) 0%, rgba(255, 224, 218, 0.32) 48%, transparent 75%),
    radial-gradient(ellipse 95% 75% at 50% 50%, rgba(252, 253, 255, 0.94) 0%, rgba(241, 243, 248, 0.65) 60%, transparent 100%),
    radial-gradient(circle 750px at 50% 90%, rgba(235, 239, 246, 0.95) 0%, transparent 70%),
    #eef1f6;
  --bg-color: #eef1f6;
  --text-color: #0f172a;
  --text-muted: #475569;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-card-bg: rgba(255, 255, 255, 0.80);
  --glass-border: rgba(255, 255, 255, 0.95);
  --section-border: rgba(0, 0, 0, 0.08);
  --accent-color: #06170e;
  --page-pd: clamp(24px, 6vw, 100px);
  --transition-base: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body[data-color="dark"] {
  --mesh-bg-gradient: 
    radial-gradient(circle 800px at 16% 26%, rgba(208, 224, 255, 0.80) 0%, rgba(208, 224, 255, 0.24) 45%, transparent 75%),
    radial-gradient(circle 900px at 84% 36%, rgba(255, 224, 218, 0.85) 0%, rgba(255, 224, 218, 0.28) 48%, transparent 75%),
    radial-gradient(ellipse 95% 75% at 50% 50%, rgba(252, 253, 255, 0.92) 0%, rgba(241, 243, 248, 0.60) 60%, transparent 100%),
    #eef1f6;
  --bg-color: #eef1f6;
  --text-color: #0f172a;
  --text-muted: #475569;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--apple-font-text);
  color: var(--text-color);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mesh-canvas-bg, body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-image: var(--mesh-bg-gradient);
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -2;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

/* ===== Dedicated Page Hero ===== */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  padding: 90px 24px 60px;
  overflow: hidden;
  margin-top: 44px; /* Clears fixed Apple nav */
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--apple-font-display);
  font-size: clamp(38px, 5.2vw, 56px);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-color);
  margin: 0 0 16px 0;
}

.hero-title-gradient {
  background: linear-gradient(90deg, #064e3b 0%, #a855f7 35%, #ec4899 70%, #ff6624 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.glass-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  color: #ffffff !important;
  font-family: var(--apple-font-text);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 980px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.25);
}

.glass-pill-btn:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

.outline-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--text-color) !important;
  font-family: var(--apple-font-text);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 980px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.outline-pill-btn:hover {
  background-color: #ffffff;
  transform: scale(1.02);
}

/* ===== Apple Showcase Carousel Section ===== */
.apple-carousel-section {
  width: 100%;
  box-sizing: border-box;
  padding: 40px var(--page-pd) 60px;
}

.apple-carousel-title-row {
  max-width: 1240px;
  margin: 0 auto 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.apple-carousel-title {
  font-family: var(--apple-font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--text-color);
  margin: 0 0 6px 0;
}

.apple-carousel-subtitle {
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0;
}

.apple-carousel-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 980px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.apple-carousel-btn:hover {
  background: #ffffff;
  color: var(--accent-color);
}

.apple-carousel-track-wrap {
  max-width: 1240px;
  margin: 0 auto;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
}

.apple-carousel-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--glass-card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.product-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.product-card-overlay {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.profile-name {
  font-family: var(--apple-font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-color);
  margin: 0;
}

.verified-badge {
  width: 18px;
  height: 18px;
  color: var(--accent-color);
}

.profile-title {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-color);
  margin: 0 0 10px 0;
}

.profile-bio {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0 0 18px 0;
  flex-grow: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.card-detail-pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-color);
  text-decoration: none;
}

.card-detail-pill:hover {
  text-decoration: underline;
}

.follow-btn {
  background: rgba(6, 78, 59, 0.08);
  color: var(--accent-color) !important;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 980px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.follow-btn:hover {
  background: var(--accent-color);
  color: #ffffff !important;
}

/* ===== Engineering Benchmarks Section ===== */
.quality-section {
  width: 100%;
  box-sizing: border-box;
  padding: 60px var(--page-pd);
}

.quality-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.quality-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.quality-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  margin-bottom: 8px;
  display: inline-block;
}

.quality-title {
  font-family: var(--apple-font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-color);
  margin: 0;
}

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

.quality-item {
  background: var(--glass-card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.quality-item:hover {
  transform: translateY(-2px);
}

.quality-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(6, 78, 59, 0.08);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.quality-item-title {
  font-family: var(--apple-font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-color);
  margin: 0 0 8px 0;
}

.quality-item-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Localized Nagpur Section ===== */
.nagpur-section {
  width: 100%;
  box-sizing: border-box;
  padding: 40px var(--page-pd) 60px;
}

.nagpur-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.nagpur-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 247, 250, 0.88) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: clamp(30px, 5vw, 48px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.04);
}

.nagpur-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  margin-bottom: 8px;
  display: inline-block;
}

.nagpur-title {
  font-family: var(--apple-font-display);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-color);
  margin: 0 0 16px 0;
}

.nagpur-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 0 28px 0;
}

.nagpur-locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.nagpur-loc-pill {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-color);
}

.nagpur-loc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  flex-shrink: 0;
}

/* ===== Interactive FAQ Section ===== */
.faq-section {
  width: 100%;
  box-sizing: border-box;
  padding: 50px var(--page-pd) 70px;
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 36px;
}

.faq-title {
  font-family: var(--apple-font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-color);
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--glass-card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--apple-font-text);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
}

.faq-icon {
  font-size: 20px;
  line-height: 1;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ===== CTA Section ===== */
.cta-section {
  width: 100%;
  box-sizing: border-box;
  padding: 40px var(--page-pd) 80px;
}

.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #000000;
  color: #ffffff;
  border-radius: 24px;
  padding: clamp(36px, 6vw, 56px) clamp(24px, 5vw, 48px);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cta-headline {
  font-family: var(--apple-font-display);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f5f5f7;
  margin: 0 0 14px 0;
}

.cta-sub {
  font-size: 16px;
  line-height: 1.5;
  color: #d1d5db;
  max-width: 620px;
  margin: 0 auto 28px;
}

.cta-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== Responsive Breakpoints ===== */
@media (max-width: 1024px) {
  .apple-carousel-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nagpur-locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .apple-carousel-track {
    grid-template-columns: 1fr;
  }
  .quality-grid {
    grid-template-columns: 1fr;
  }
  .nagpur-locations-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Apple Global Directory Footer ===== */
.apple-footer {
  background-color: rgba(245, 245, 247, 0.95);
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.45;
  padding: 34px 16px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.apple-footer-wrapper {
  max-width: 1024px;
  margin: 0 auto;
}

.apple-footnotes {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.apple-footnotes p {
  margin: 0 0 8px 0;
  font-size: 11px;
  line-height: 1.5;
  color: #6e6e73;
}

.apple-footnotes p:last-child {
  margin-bottom: 0;
}

.apple-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  color: #6e6e73;
}

.apple-breadcrumb-logo {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.apple-breadcrumb-logo img {
  width: 14px;
  height: 14px;
}

.apple-breadcrumb-sep {
  color: #6e6e73;
}

.apple-breadcrumb-item {
  color: inherit;
  text-decoration: none;
}

.apple-breadcrumb-item:hover {
  text-decoration: underline;
  color: #1d1d1f;
}

.apple-directory-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding-bottom: 30px;
}

.apple-directory-col h3 {
  font-family: var(--apple-font-text);
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.apple-directory-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.apple-directory-list:last-child {
  margin-bottom: 0;
}

.apple-directory-list li {
  margin-bottom: 9px;
}

.apple-directory-link {
  color: #6e6e73;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s ease;
}

.apple-directory-link:hover {
  color: #1d1d1f;
  text-decoration: underline;
}

.apple-legal-row {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.apple-copyright {
  margin: 0;
  color: #6e6e73;
}

.apple-legal-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.apple-legal-link {
  color: #6e6e73;
  text-decoration: none;
}

.apple-legal-link:hover {
  text-decoration: underline;
  color: #1d1d1f;
}

.apple-country {
  color: #6e6e73;
  text-decoration: none;
  font-weight: 500;
}

.apple-country:hover {
  text-decoration: underline;
  color: #1d1d1f;
}

@media (max-width: 834px) {
  .apple-directory-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .apple-directory-col {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 0;
  }
  .apple-directory-col h3 {
    margin: 0;
    padding: 6px 0;
  }
}


/* Interactive Card Pointer & Hover Lift */
.product-card[data-href], .apple-promo-card[data-href], .apple-service-card[data-href] {
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card[data-href]:hover, .apple-promo-card[data-href]:hover, .apple-service-card[data-href]:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
  border-color: rgba(6, 78, 59, 0.35);
}

/* ===== Installation Journey: Staggered Zigzag Flowchart (30% Compact Scale) ===== */
.stagger-flow-section {
  width: 100%;
  box-sizing: border-box;
  padding: clamp(45px, 5vw, 68px) var(--page-pd, 20px);
  background: transparent;
  position: relative;
  z-index: 2;
}

.stagger-flow-container {
  max-width: 780px;
  margin: 0 auto;
}

/* Header */
.stagger-flow-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: clamp(25px, 3.5vw, 38px);
  flex-wrap: wrap;
}

.stagger-header-left {
  max-width: 520px;
}

.stagger-pill-badge {
  display: inline-block;
  background: #bef264;
  color: #14532d;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 980px;
  letter-spacing: -0.01em;
  margin-bottom: 11px;
}

body[data-color="dark"] .stagger-pill-badge {
  background: #365314;
  color: #bef264;
}

.stagger-flow-title {
  font-family: var(--apple-font-display);
  font-size: clamp(22px, 2.7vw, 31px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-color);
  margin: 0 0 10px 0;
}

.stagger-flow-desc {
  font-size: clamp(11.5px, 1.1vw, 13px);
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.stagger-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stagger-timeline-chip {
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
}

.chip-neutral {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body[data-color="dark"] .chip-neutral {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.chip-active {
  background: #bef264;
  color: #14532d;
  font-weight: 700;
}

body[data-color="dark"] .chip-active {
  background: #4d7c0f;
  color: #ecfccb;
}

/* Pipeline Layout */
.stagger-pipeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.stagger-row {
  display: flex;
  width: 100%;
}

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

.row-right {
  justify-content: flex-end;
}

/* Stagger Cards */
.stagger-card {
  width: 100%;
  max-width: 330px;
  display: flex;
  align-items: stretch;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 15px 17px 15px 13px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  box-sizing: border-box;
}

body[data-color="dark"] .stagger-card {
  background: rgba(28, 28, 30, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}

.stagger-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}

.stagger-card-tint {
  background: #f7fee7;
  border-color: #d9f99d;
}

body[data-color="dark"] .stagger-card-tint {
  background: rgba(54, 83, 20, 0.22);
  border-color: rgba(190, 242, 100, 0.3);
}

/* Vertical Capsule / Pill on the Left */
.stagger-pill {
  width: 25px;
  border-radius: 980px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px 0;
}

.stagger-pill-green {
  background: #064e3b;
  color: #ffffff;
}

body[data-color="dark"] .stagger-pill-green {
  background: #059669;
}

.stagger-pill-dark {
  background: #18181b;
  color: #ffffff;
}

body[data-color="dark"] .stagger-pill-dark {
  background: #3f3f46;
}

.stagger-pill-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Card Body */
.stagger-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.stagger-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.stagger-icon {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-color);
  background: rgba(0, 0, 0, 0.02);
}

.stagger-icon svg {
  width: 11px;
  height: 11px;
}

body[data-color="dark"] .stagger-icon {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.stagger-step-title {
  font-family: var(--apple-font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-color);
  letter-spacing: -0.015em;
  margin: 0;
}

.stagger-desc {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
}

/* Connector Wraps */
.stagger-connector-wrap {
  width: 100%;
  height: 36px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -3px 0;
  pointer-events: none;
}

.stagger-svg-connector {
  width: 100%;
  height: 100%;
  display: block;
}

.desktop-connector {
  display: block;
}

.mobile-connector {
  display: none;
}

.flowchart-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* Responsive Stacking */
@media (max-width: 860px) {
  .stagger-flow-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .stagger-row {
    justify-content: center !important;
  }
  .stagger-card {
    max-width: 100%;
  }
  .stagger-connector-wrap {
    height: 28px;
    margin: 3px 0;
  }
  .desktop-connector {
    display: none;
  }
  .mobile-connector {
    display: block;
    width: 32px;
    height: 28px;
  }
}

/* =========================================================================
   Wired Home Automation Landing Page Specific Design System
   ========================================================================= */

.wired-page-hero {
  padding-bottom: 40px;
}

.wired-hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #064e3b;
  background: #ecfccb;
  padding: 5px 16px;
  border-radius: 980px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.wired-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #15803d;
  display: inline-block;
}

.hero-subtitle-text {
  font-family: var(--apple-font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: #1e293b;
  margin: -6px auto 14px;
  max-width: 720px;
}

/* Centered Apple Hero Media Showcase (Smart Lighting & Smart Control Design) */
.apple-hero-media,
.wired-hero-media,
.wireless-hero-media {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  margin: 36px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(16px, 3vw, 24px);
  cursor: pointer;
}

.apple-lighting-media-img {
  width: 100%;
  max-width: min(640px, 92vw);
  height: auto;
  max-height: 330px;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.10));
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.wired-page-hero:hover .apple-lighting-media-img,
.wired-hero-media:hover .apple-lighting-media-img {
  transform: scale(1.02);
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.15));
}

/* Smart Control Video Styling */
.apple-lighting-video,
.apple-hero-video,
.apple-knx-video {
  width: 100%;
  max-width: 510px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  display: block;
  user-select: none;
  pointer-events: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s ease;
}

.apple-hero-img {
  width: 100%;
  height: auto;
  max-height: clamp(220px, 28vh, 300px);
  object-fit: contain;
  border-radius: 16px;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.wireless-page-hero:hover .apple-knx-video,
.wireless-hero-media:hover .apple-knx-video,
.page-hero:hover .apple-knx-video {
  transform: scale(1.015);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
}

.wireless-page-hero {
  padding-bottom: 40px;
}

/* Metrics Strip */
.wired-metrics-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 16px auto 0;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  max-width: 760px;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.04);
}

.wired-metric-card {
  text-align: center;
  flex: 1;
}

.wired-metric-num {
  font-family: var(--apple-font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.wired-metric-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
  margin-top: 3px;
  white-space: nowrap;
}

.wired-metric-divider {
  width: 1px;
  height: 28px;
  background: rgba(0, 0, 0, 0.1);
}

/* Dual Architectural Showcase Stage */
.wired-hero-stage {
  max-width: 1040px;
  width: 100%;
  margin: 40px auto 0;
  position: relative;
  z-index: 2;
}

.wired-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.wired-stage-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.wired-stage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.1);
}

.wired-stage-media {
  position: relative;
  width: 100%;
  height: 240px;
  background: #f1f5f9;
  overflow: hidden;
}

.wired-stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wired-stage-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #1e293b;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 980px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.wired-stage-badge.badge-dark {
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.badge-dot-blue {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
}

.wired-stage-info {
  padding: 20px 22px;
  text-align: left;
}

.stage-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #064e3b;
  margin-bottom: 6px;
}

.stage-title {
  font-family: var(--apple-font-display);
  font-size: 17.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.015em;
}

.stage-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

/* System Flow Architecture Section */
.wired-flow-section {
  width: 100%;
  box-sizing: border-box;
  padding: 50px var(--page-pd, 24px);
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}

.wired-flow-container {
  max-width: 1040px;
  margin: 0 auto;
}

.wired-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.wired-flow-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #064e3b;
  background: #dcfce7;
  padding: 4px 14px;
  border-radius: 980px;
  margin-bottom: 12px;
}

.wired-section-title {
  font-family: var(--apple-font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin: 0 0 10px 0;
}

.wired-section-subtitle {
  font-size: 14.5px;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

.wired-architecture-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.arch-flow-node {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: transform 0.25s ease;
}

.arch-flow-node:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 78, 59, 0.3);
}

.arch-node-num {
  font-family: var(--apple-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 8px;
}

.arch-node-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.arch-node-title {
  font-family: var(--apple-font-display);
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.arch-node-desc {
  font-size: 11.5px;
  line-height: 1.45;
  color: #64748b;
  margin: 0 0 12px 0;
}

.arch-node-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #14532d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 8px;
  border-radius: 980px;
}

.arch-arrow-connector {
  font-size: 22px;
  font-weight: 700;
  color: #94a3b8;
  user-select: none;
}

/* 3 Core Pillars Section */
.wired-pillars-section {
  width: 100%;
  box-sizing: border-box;
  padding: 60px var(--page-pd, 24px);
  position: relative;
  z-index: 2;
}

.wired-pillars-container {
  max-width: 1040px;
  margin: 0 auto;
}

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

.wired-pillar-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.wired-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 78, 59, 0.25);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ecfccb;
  color: #14532d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pillar-title {
  font-family: var(--apple-font-display);
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.015em;
}

.pillar-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 16px 0;
}

.pillar-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 14px;
}

.pillar-checklist li {
  font-size: 12px;
  font-weight: 500;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pillar-checklist li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 700;
}

/* Pricing Callout Banner */
.wired-pricing-callout-section {
  width: 100%;
  box-sizing: border-box;
  padding: 20px var(--page-pd, 24px) 50px;
  position: relative;
  z-index: 2;
}

.wired-pricing-callout-container {
  max-width: 1040px;
  margin: 0 auto;
}

.wired-pricing-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.pricing-card-left {
  flex: 1;
  min-width: 300px;
}

.pricing-badge-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #064e3b;
  background: #ecfccb;
  padding: 4px 12px;
  border-radius: 980px;
  margin-bottom: 10px;
}

.pricing-headline {
  font-family: var(--apple-font-display);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.pricing-formula-chip {
  font-family: var(--apple-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  background: #f1f5f9;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: inline-block;
  margin-bottom: 10px;
}

.pricing-subtext {
  font-size: 12.5px;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

.pricing-card-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

/* Responsive Rules */
@media (max-width: 900px) {
  .wired-hero-media,
  .wireless-hero-media {
    margin: 24px auto 16px;
    padding: 0;
    max-width: 100%;
  }
  .apple-lighting-media-img {
    max-width: min(340px, 86vw);
    max-height: clamp(180px, 32vh, 240px);
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.08));
  }
  .apple-lighting-video,
  .apple-hero-video,
  .apple-knx-video {
    max-width: min(340px, 86vw);
    border-radius: 14px;
  }
  .wired-stage-grid {
    grid-template-columns: 1fr;
  }
  .wired-architecture-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .arch-arrow-connector {
    display: none;
  }
  .wired-pillars-grid {
    grid-template-columns: 1fr;
  }
  .wired-metrics-strip {
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px;
  }
  .wired-metric-divider {
    display: none;
  }
  .wired-metric-card {
    flex: 1 1 40%;
  }
}
