/* Homepage-only layout. Shared styles and other pages remain independent. */
.home-skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-navy);
}

.home-skip-link:focus { top: 1rem; }
.home-page a:focus-visible,
.home-page button:focus-visible {
  outline: 3px solid var(--primary-pink-dark);
  outline-offset: 5px;
}

.home-page .hero-title {
  font-size: clamp(2rem, 4.1vw, 3.5rem);
  line-height: 1.4;
  letter-spacing: 0;
}
.home-page .hero-subtitle { max-width: 560px; color: #cbd5e1; }
.home-page .hero-bottom-tags { color: #cbd5e1; letter-spacing: 0.08em; }
.home-page .hero-brand-tag,
.home-step-number { color: #ff86ad; }
.home-page .section-tag,
.home-page .problem-tag { color: var(--primary-pink-dark); }

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.home-services-grid h3 {
  font-size: 1.2rem;
  color: var(--brand-navy);
  margin-bottom: 0.75rem;
}
.home-services-grid .problem-card p { font-size: 0.96rem; line-height: 1.85; }
.home-service-detail {
  margin-top: auto;
  padding-top: 1.3rem;
  font-size: 0.82rem;
  color: var(--text-body);
}

.home-process .section-header { margin-bottom: 2rem; }
.home-process-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.home-process-grid li {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.2rem;
}
.home-step-number { font-weight: 800; font-size: 0.9rem; }
.home-process-grid h3 { font-size: 1.12rem; margin: 0.6rem 0; }
.home-process-grid p { font-size: 0.92rem; line-height: 1.8; color: #cbd5e1; }

.home-platform-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5.5rem 0 0;
  background: #101321;
  color: #f5f5fc;
}
.home-platform-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 85% 35%, #ff2a6d24, transparent 50%), radial-gradient(ellipse at 5% 95%, #7358ec20, transparent 50%);
}
.home-platform-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#ffffff04 1px, transparent 1px), linear-gradient(90deg, #ffffff04 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 20%, #000);
  pointer-events: none;
}
.home-development { display: grid; grid-template-columns: 1fr 1.08fr; gap: 4rem; align-items: center; }
.home-platform-copy { min-width: 0; }
.home-platform-eyebrow { display: flex; align-items: center; gap: 0.65rem; color: #ff9cbe; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 1.4rem; }
.home-platform-eyebrow > span { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #ff6e9e; box-shadow: 0 0 12px #ff4d88; }
.home-platform-copy h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.2; letter-spacing: -0.04em; font-weight: 800; color: #fff; }
.home-platform-copy h2 > span { display: block; font-size: clamp(1.3rem, 2.2vw, 1.85rem); letter-spacing: 0.04em; margin-top: 1.1rem; color: #ff9cbe; font-weight: 600; }
.home-development-copy { margin-top: 1.8rem; max-width: 470px; }
.home-development-copy p { font-size: 1rem; line-height: 1.95; color: #d0d4e4; }
.home-development-copy .home-development-note { font-size: 0.9rem; color: #a6aec5; margin-top: 1rem; }
.home-platform-link { display: inline-flex; align-items: center; gap: 1.2rem; margin-top: 2rem; padding-bottom: 0.65rem; border-bottom: 1px solid #ff8db466; font-size: 0.9rem; font-weight: 600; color: #fff; }
.home-platform-link svg { width: 19px; height: 19px; color: #ff9cbe; transition: transform 0.2s; }
.home-platform-link:hover { color: #ff9cbe; }
.home-platform-link:hover svg { transform: translate(3px, -3px); }
.home-platform-visual { position: relative; min-width: 0; margin: 0; }
.home-console { background: linear-gradient(145deg, #222638f5, #151927); border: 1px solid #ffffff26; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 70px #0006, 0 0 70px #ff2a6d12; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transition: transform 0.5s, box-shadow 0.5s; }
.home-platform-visual:hover .home-console { transform: perspective(1400px) rotateY(0) rotateX(0); box-shadow: 0 24px 70px #0006, 0 0 70px #ff2a6d22; }
.home-console-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid #ffffff12; background: #ffffff03; }
.home-console-brand { display: flex; align-items: center; gap: 0.6rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; }
.home-console-brand svg { color: #ff78a4; width: 19px; height: 19px; }
.home-console-caption { font-size: 0.68rem; color: #a6aec5; }
.home-console-body { padding: 1.4rem; }
.home-console-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.3rem; }
.home-console-kicker { font-size: 0.57rem; letter-spacing: 0.15em; color: #9ba5c0; }
.home-console-heading h3 { font-size: 1.1rem; font-weight: 600; margin-top: 0.2rem; color: #f5f5fc; }
.home-signal { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.home-signal span { width: 3px; background: #ff8db4; border-radius: 2px; height: 35%; animation: home-signal-glow 3s ease-in-out infinite; }
.home-signal span:nth-child(2) { height: 55%; animation-delay: 0.3s; }
.home-signal span:nth-child(3) { height: 75%; animation-delay: 0.6s; }
.home-signal span:nth-child(4) { height: 100%; animation-delay: 0.9s; }
.home-chart { background: #0e122077; border: 1px solid #ffffff0f; border-radius: 10px; padding: 1rem 0.85rem 0.65rem; }
.home-chart-heading, .home-chart-axis { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.7rem; color: #c4ccdf; }
.home-chart-legend { display: flex; align-items: center; gap: 0.35rem; font-size: 0.6rem; color: #a6aec5; }
.home-chart-legend b { width: 5px; height: 5px; border-radius: 50%; background: #ff83ac; }
.home-chart-svg { display: block; width: 100%; height: auto; margin-top: 0.8rem; }
.home-chart-line { filter: drop-shadow(0 0 4px #ff4d8844); }
.home-chart-axis { font-size: 0.58rem; color: #929eb8; margin-top: 0.3rem; }
.home-console-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.8rem; }
.home-console-tile { display: flex; align-items: center; gap: 0.7rem; padding: 0.8rem; border-radius: 9px; background: #ffffff04; border: 1px solid #ffffff0f; }
.home-console-tile > svg { color: #ff96b9; width: 19px; height: 19px; flex-shrink: 0; }
.home-console-tile span { display: block; font-size: 0.6rem; color: #a6aec5; }
.home-console-tile strong { display: block; font-size: 0.76rem; font-weight: 500; color: #e8eaf3; margin-top: 0.1rem; }
.home-connectors { display: flex; justify-content: space-around; height: 35px; padding: 0 1rem; }
.home-connectors > span { width: 1px; height: 100%; background: linear-gradient(#ff4d8866, #ff4d881a); position: relative; }
.home-connectors > span::after { content: ""; position: absolute; width: 3px; height: 8px; left: -1px; top: 0; border-radius: 4px; background: #ff96b9; box-shadow: 0 0 8px #ff4d88; animation: home-data-flow 3s linear infinite; }
.home-connectors > span:nth-child(2)::after { animation-delay: -1s; }
.home-connectors > span:nth-child(3)::after { animation-delay: -2s; }
.home-device-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.home-device-row > div { display: flex; justify-content: center; align-items: center; gap: 0.5rem; border: 1px solid #ffffff1f; border-radius: 9px; background: #1b1e30; padding: 0.8rem 0.4rem; font-size: 0.75rem; color: #c8cfe2; }
.home-device-row svg { width: 17px; height: 17px; color: #d1a5d9; }
.home-platform-features { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; border-top: 1px solid #ffffff1a; padding: 1.6rem 0; }
.home-platform-features > span { display: flex; align-items: center; justify-content: center; gap: 0.8rem; font-size: 0.9rem; color: #d0d4e4; }
.home-platform-features > span + span { border-left: 1px solid #ffffff1a; }
.home-platform-features svg { width: 18px; height: 18px; color: #ff9cbe; }
@keyframes home-data-flow { 0% { transform: translateY(28px); opacity: 0; } 25%, 75% { opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes home-signal-glow { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.home-page .cta-contacts-inline a { display: inline-flex; align-items: center; gap: 0.5rem; }

@media (max-width: 1024px) {
  .home-development { gap: 2rem; }
  .home-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-services-grid { gap: 1rem; }
  .home-services-grid .problem-card { padding: 1.3rem; }
}

@media (max-width: 768px) {
  .home-services-grid,
  .home-development { grid-template-columns: 1fr; }
  .home-platform-section { padding-top: 3.5rem; }
  .home-development { gap: 2.5rem; }
  .home-development-copy { max-width: none; }
  .home-platform-visual { width: 100%; max-width: 530px; justify-self: center; }
  .home-console { transform: none; }
  .home-platform-features { margin-top: 2.5rem; grid-template-columns: 1fr 1fr; gap: 1.3rem 0; }
  .home-platform-features > span:nth-child(3) { border-left: 0; }
  .home-process { padding: 2rem 1.4rem; }
  .home-page .hero-brand-tag { font-size: 0.7rem; letter-spacing: 0.1em; }
  .home-page .hero-buttons { gap: 1.2rem; }
}

@media (max-width: 480px) {
  .home-platform-copy h2 { font-size: 2.25rem; }
  .home-platform-eyebrow { font-size: 0.58rem; letter-spacing: 0.08em; }
  .home-console-body { padding: 1rem; }
  .home-console-topbar { padding: 0.8rem 1rem; }
  .home-console-tile { padding: 0.65rem; gap: 0.5rem; }
  .home-device-row { gap: 0.5rem; }
  .home-page .brand-logo { gap: 0.45rem; }
  .home-page .brand-logo .logo-img { height: 28px; }
  .home-page .brand-company-name { font-size: 0.75rem; }
  .home-process-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .home-page .section-title { font-size: 1.65rem; }
  .home-page .hero-title { font-size: clamp(1.65rem, 7.7vw, 2.3rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page *, .home-page *::before, .home-page *::after { transition: none; animation: none; }
}
