/* ========================================
   HORIZON SUITE — Premium Command-Center Section
   File: assets/css/sections/horizon-suite.css
======================================== */

/* --- Section wrapper --- */
.hs {
  position: relative;
  background: linear-gradient(168deg, #0b1120 0%, #070a14 55%, #05070d 100%);
  padding: clamp(5rem, 8vw, 8rem) 0;
  overflow: hidden;
  isolation: isolate;
}

/* Dotted grid overlay */
.hs::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* Subtle gradient orbs (depth) */
.hs::after {
  content: '';
  position: absolute;
  top: -15%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Container — matches site gutters */
.hs-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--page-gutter, 4rem);
}


/* ====================================================
   TOP ROW — 2-column: text left, featured card right
==================================================== */
.hs-top {
  display: grid;
  grid-template-columns: .42fr .58fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}


/* --- Left text stack --- */
.hs-text {
  padding-top: 1.5rem;
}

.hs-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #10b981;
  margin-bottom: 1.25rem;
}

.hs-overline::before {
  content: '';
  width: 28px;
  height: 1px;
  background: #10b981;
}

.hs-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hs-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.25rem;
}

.hs-subtitle strong {
  color: rgba(255,255,255,.82);
  font-weight: 500;
}

.hs-supporting {
  font-size: 0.92rem;
  color: rgba(255,255,255,.35);
  line-height: 1.65;
  max-width: 380px;
}


/* ====================================================
   FEATURED E2M CARD — Right column, dominant
==================================================== */
.hs-featured {
  justify-self: end;
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.hs-featured:hover {
  border-color: rgba(16,185,129,.2);
  box-shadow: 0 0 40px rgba(16,185,129,.06);
}

/* Dashboard mock */
.hs-dash {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.hs-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.hs-dash-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.4);
}

.hs-dash-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Simulated chart area */
.hs-chart {
  height: 140px;
  position: relative;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(16,185,129,.04);
}

.hs-chart svg {
  width: 100%;
  height: 100%;
}

/* Status badges */
.hs-dash-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,.4);
}

.hs-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

.hs-badge-val {
  color: rgba(255,255,255,.7);
  font-weight: 600;
}

/* Card copy below dashboard */
.hs-featured-copy {
  padding: 1.5rem 1.75rem 1.75rem;
}

.hs-featured-hook {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.hs-featured-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hs-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #10b981;
  text-decoration: none;
  transition: gap 0.3s;
}

.hs-explore:hover {
  gap: 10px;
}

.hs-explore svg {
  width: 14px;
  height: 14px;
}


/* ====================================================
   TOOL CARDS ROW — 4 equal cards
==================================================== */
.hs-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hs-tool {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}

.hs-tool:hover {
  border-color: rgba(16,185,129,.18);
  box-shadow: 0 0 30px rgba(16,185,129,.05);
  transform: translateY(-3px);
}

.hs-tool-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.hs-tool-hook {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.hs-tool-line {
  font-size: 0.8rem;
  color: rgba(255,255,255,.32);
  line-height: 1.55;
  margin-bottom: 1rem;
}


/* ====================================================
   GOVERNANCE BLOCK — Centered
==================================================== */
.hs-gov {
  text-align: center;
  margin-bottom: 3rem;
}

.hs-gov-statement {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hs-gov-list {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hs-gov-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.01em;
}

.hs-gov-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(16,185,129,.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hs-gov-check svg {
  width: 10px;
  height: 10px;
  stroke: #10b981;
  fill: none;
  stroke-width: 2.5;
}


/* ====================================================
   CTA BLOCK — Centered
==================================================== */
.hs-cta {
  text-align: center;
}

.hs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  background: #10b981;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #10b981;
  transition: all 0.35s;
  letter-spacing: -0.01em;
}

.hs-cta-btn:hover {
  background: transparent;
  color: #10b981;
}

.hs-cta-btn svg {
  width: 16px;
  height: 16px;
}

.hs-cta-trust {
  font-size: 0.72rem;
  color: rgba(255,255,255,.25);
  margin-top: 1rem;
  letter-spacing: 0.01em;
}


/* ====================================================
   SCROLL ANIMATION (fade-up)
==================================================== */
.hs-tool[data-scroll],
.hs-featured[data-scroll] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hs-tool[data-scroll].visible,
.hs-featured[data-scroll].visible {
  opacity: 1;
  transform: translateY(0);
}


/* ====================================================
   MOBILE RESPONSIVE — Home Page Horizon Suite Section
   Single column on mobile, 2-col on tablet, full on desktop
   NOTE: These rules ONLY affect mobile/tablet viewports.
         Desktop layout (≥1025px) is completely unchanged.
==================================================== */

/* Tablet: 2 columns for tool cards */
@media (max-width: 1024px) and (min-width: 769px) {
  .hs-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hs-tools {
    grid-template-columns: repeat(2, 1fr);
  }
  .hs-featured {
    justify-self: stretch;
  }
}

/* Mobile: single column for all HS home sections */
@media (max-width: 768px) {
  .hs-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
  }
  .hs-inner {
    padding: 0 1.25rem;
  }
  .hs-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hs-featured {
    justify-self: stretch;
    width: 100%;
  }
  .hs-tools {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .hs-tool {
    padding: 1rem 1.25rem;
  }
  .hs-cta {
    text-align: left;
  }
  .hs-summary {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hs-inner {
    padding: 0 1rem;
  }
  .hs-top {
    gap: 1.25rem;
  }
}
