/* ═══════════════════════════════════════════════════════════
   Vultronix Industries — Home Page (#p-home)
═══════════════════════════════════════════════════════════ */

/* ── Shared home typography ──────────────────────────────────── */
.home-h1 {
  font-family: var(--fd);
  font-size: clamp(2.1rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--t1);
  margin-bottom: 1.25rem;
}

.home-h2 {
  font-family: var(--fd);
  font-size: clamp(1.65rem, 3.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--t1);
  margin-bottom: .75rem;
}

.home-h2 em {
  color: var(--elec);
  font-style: normal;
}

.home-lead {
  font-size: clamp(.95rem, 1.8vw, 1.08rem);
  color: var(--t2);
  line-height: 1.75;
  max-width: 54ch;
}

.home-section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.home-section-head .home-lead {
  margin: .75rem auto 0;
  max-width: 62ch;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 1 — HERO
═══════════════════════════════════════════════════════════ */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  background: var(--ink);
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(0,212,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 100%);
}

.home-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .45;
  animation: home-orb-float 9s ease-in-out infinite;
}

.home-hero__orb--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(37,99,235,.35), transparent 70%);
}

.home-hero__orb--2 {
  width: 360px;
  height: 360px;
  top: 10%;
  right: -60px;
  background: radial-gradient(circle, rgba(0,212,255,.28), transparent 70%);
  animation-delay: -3s;
}

.home-hero__orb--3 {
  width: 280px;
  height: 280px;
  bottom: -60px;
  left: 35%;
  background: radial-gradient(circle, rgba(99,102,241,.25), transparent 70%);
  animation-delay: -5s;
}

@keyframes home-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -22px) scale(1.06); }
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  margin-bottom: 1.35rem;
  font-family: var(--fm);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--elec);
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.22);
  border-radius: 99px;
}

.home-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--elec);
  animation: pulse-dot 2s infinite;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.75rem;
}

.home-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--edge);
}

.home-trust span {
  font-size: .78rem;
  color: var(--t3);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.home-trust span strong {
  color: var(--t2);
  font-weight: 600;
}

.home-hero__visual {
  position: relative;
}

.home-hero__frame {
  border-radius: var(--r3);
  overflow: hidden;
  border: 1px solid var(--edge2);
  box-shadow:
    0 0 0 1px rgba(0,212,255,.08),
    0 32px 80px rgba(0,0,0,.55),
    0 0 60px rgba(0,212,255,.12);
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s;
}

.home-hero__frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(0,212,255,.18),
    0 40px 100px rgba(0,0,0,.6),
    0 0 80px rgba(0,212,255,.18);
}

.home-hero__frame img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 2 — STATS STRIP
═══════════════════════════════════════════════════════════ */
.home-stats {
  padding: 3rem 0;
  background: var(--ink2);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

.home-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.home-stat {
  position: relative;
  padding: .5rem 1rem;
}

.home-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--edge);
}

.home-stat__num {
  font-family: var(--fd);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--elec);
  line-height: 1;
  margin-bottom: .45rem;
}

.home-stat__num em {
  font-style: normal;
  font-size: .65em;
  color: var(--t2);
}

.home-stat__label {
  font-size: .82rem;
  color: var(--t3);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 3 — PLATFORM GALLERY
═══════════════════════════════════════════════════════════ */
.home-gallery {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.home-panorama {
  position: relative;
  border-radius: var(--r3);
  overflow: hidden;
  border: 1px solid var(--edge);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  margin-bottom: 1.25rem;
  cursor: pointer;
  transition: border-color .3s, transform .3s;
}

.home-panorama:hover {
  border-color: var(--edge2);
  transform: translateY(-2px);
}

.home-panorama img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: clamp(200px, 28vw, 380px);
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}

.home-panorama:hover img {
  transform: scale(1.02);
}

.home-pv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.home-pv-card {
  position: relative;
  border-radius: var(--r2);
  overflow: hidden;
  border: 1px solid var(--edge);
  background: var(--ink2);
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  transition: transform .35s, border-color .35s, box-shadow .35s;
  display: grid;
  grid-template-rows: auto auto;
}

.home-pv-card:hover {
  border-color: var(--edge2);
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(0,0,0,.55);
}

.home-pv-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: clamp(220px, 26vw, 360px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--ink2);
  overflow: hidden;
}

.home-pv-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: top center;
  background: var(--ink2);
}

.home-pv-card__label {
  position: static;
  padding: .85rem 1rem;
  background: var(--ink3);
  border-top: 1px solid var(--edge);
  font-family: var(--fd);
  font-size: .88rem;
  font-weight: 800;
  color: var(--t1);
}

.home-pv-card__label .accent-crusher { color: #f59e0b; }
.home-pv-card__label .accent-home { color: #d4a96a; }
.home-pv-card__label .accent-building { color: #22d3ee; }
.home-pv-card__label .accent-crop { color: #10d9a0; }

.home-panorama--wide img {
  height: clamp(180px, 22vw, 320px);
  object-fit: cover;
  object-position: center;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 4 — OPTIMA SUITE
═══════════════════════════════════════════════════════════ */
.home-suite {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: var(--ink2);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

.home-suite__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.home-suite-card {
  position: relative;
  padding: 1.75rem 1.35rem;
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: var(--r2);
  cursor: pointer;
  transition: transform .35s, border-color .35s, box-shadow .35s, background .35s;
  overflow: hidden;
}

.home-suite-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--suite-accent, var(--d-card-top));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}

.home-suite-card:hover {
  transform: translateY(-6px);
  border-color: var(--edge2);
  background: var(--glass2);
  box-shadow: 0 24px 56px rgba(0,0,0,.45);
}

.home-suite-card:hover::before {
  transform: scaleX(1);
}

.home-suite-card--crusher { --suite-accent: linear-gradient(90deg,#dc2626,#f59e0b); }
.home-suite-card--home { --suite-accent: linear-gradient(90deg,#d4a96a,#e2c99a); }
.home-suite-card--building { --suite-accent: linear-gradient(90deg,#1e40af,#22d3ee); }
.home-suite-card--crop { --suite-accent: linear-gradient(90deg,#059669,#10d9a0); }

.home-suite-card__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.home-suite-card h3 {
  font-family: var(--fd);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .65rem;
}

.home-suite-card p {
  font-size: .84rem;
  color: var(--t2);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.home-suite-card__link {
  font-family: var(--fm);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--elec);
}

/* ═══════════════════════════════════════════════════════════
   SECTION 5 — HOW IT WORKS
═══════════════════════════════════════════════════════════ */
.home-process {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.home-steps::before {
  content: '';
  position: absolute;
  top: 2.1rem;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--edge2), transparent);
  pointer-events: none;
}

.home-step {
  position: relative;
  padding: 1.5rem 1.15rem;
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: var(--r2);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.home-step:hover {
  border-color: rgba(0,212,255,.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.home-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  font-family: var(--fm);
  font-size: .75rem;
  font-weight: 700;
  color: var(--elec);
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.25);
  border-radius: 50%;
}

.home-step h3 {
  font-family: var(--fd);
  font-size: .95rem;
  font-weight: 800;
  margin-bottom: .55rem;
}

.home-step p {
  font-size: .82rem;
  color: var(--t2);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 6 — TESTIMONIALS
═══════════════════════════════════════════════════════════ */
.home-testimonials {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: var(--ink2);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

.home-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.home-testi {
  padding: 1.75rem 1.5rem;
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: var(--r2);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.home-testi:hover {
  transform: translateY(-4px);
  border-color: var(--edge2);
  box-shadow: 0 20px 48px rgba(0,0,0,.4);
}

.home-testi__stars {
  color: #f59e0b;
  font-size: .85rem;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}

.home-testi blockquote {
  font-size: .9rem;
  color: var(--t2);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.home-testi__author {
  font-size: .78rem;
  color: var(--t3);
  line-height: 1.5;
}

.home-testi__author strong {
  display: block;
  color: var(--t1);
  font-weight: 600;
  font-style: normal;
  margin-bottom: .15rem;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 7 — SYNAPRAXIS BANNER
═══════════════════════════════════════════════════════════ */
.home-synapraxis {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.home-syn-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--edge2);
  border-radius: var(--r3);
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
}

.home-syn-card__logo {
  width: clamp(72px, 10vw, 96px);
  height: clamp(72px, 10vw, 96px);
  padding: .75rem;
  background: var(--ink3);
  border: 1px solid var(--edge);
  border-radius: var(--r2);
  object-fit: contain;
}

.home-syn-card__badge {
  display: inline-flex;
  margin-bottom: .75rem;
  padding: .3rem .75rem;
  font-family: var(--fm);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--spark);
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.28);
  border-radius: 99px;
}

.home-syn-card h2 {
  font-family: var(--fd);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin-bottom: .65rem;
}

.home-syn-card p {
  font-size: .9rem;
  color: var(--t2);
  line-height: 1.75;
  max-width: 72ch;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 8 — CTA BANNER
═══════════════════════════════════════════════════════════ */
.home-cta {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}

.home-cta__banner {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,255,.12), transparent),
    linear-gradient(135deg, var(--ink3), var(--ink2));
  border: 1px solid var(--edge2);
  border-radius: var(--r3);
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}

.home-cta__banner .home-h2 {
  margin-bottom: .65rem;
}

.home-cta__banner .home-lead {
  margin: 0 auto 1.75rem;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .home-suite__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .home-steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__visual {
    order: -1;
  }

  .home-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .home-stat:nth-child(2)::after {
    display: none;
  }

  .home-pv-grid {
    grid-template-columns: 1fr;
  }

  .home-testi-grid {
    grid-template-columns: 1fr;
  }

  .home-syn-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-syn-card__logo {
    margin: 0 auto;
  }
}

@media (max-width: 540px) {
  .home-stats__grid {
    grid-template-columns: 1fr;
  }

  .home-stat::after {
    display: none;
  }

  .home-suite__grid,
  .home-steps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__orb {
    animation: none;
  }
}
