/* ========================================
   PHASE H7.C.2 - HOMEPAGE-SPECIFIC STYLES
   Scoped CSS for parent company gateway
   ======================================== */

/* Hero Homepage - Single Column, Identity-First
   ============================================= */
.hero-homepage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 3rem;
  background: var(--bg-primary);
}

.hero-homepage-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-symbol {
  margin-bottom: 2.5rem;
  position: relative;
}

/* Downward gradient connector (guides eye to divisions) */
.hero-symbol::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 50px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  pointer-events: none;
}

.infinity-mark {
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  opacity: 0.9;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hero Typography - Confident, Solid Color
   ========================================== */
.hero-homepage .hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: #ffffff;
  letter-spacing: -0.03em;
  /* No gradient, no glow - solid for gravitas */
}

.hero-homepage .hero-statement {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.6;
  margin: 0 0 2rem;
  color: #8a8a95;
  /* Warm steel gray instead of cold blue-gray */
}

.hero-homepage .hero-subtext {
  font-size: 1rem;
  opacity: 0.7;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 3rem;
  color: #8a8a95;
}

/* Scroll Indicator
   ================ */
.hero-arrow {
  margin-top: 3rem;
}

.arrow-link {
  display: inline-block;
  font-size: 2.5rem;
  color: #ffffff;
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.3s ease, filter 0.3s ease;
  animation: bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
  /* Only decorative element with glow - draws eye to action */
}

.arrow-link:hover {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Human Anchor - Single Operational Truth
   ======================================== */
.human-anchor {
  padding: 4rem 1.5rem;
  background: var(--bg-primary);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.anchor-line {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
  /* One grounded operational truth - no fluff */
}

/* Division Section - Above Fold
   ============================== */
.divisions-section {
  padding: 4.5rem 1.5rem;
  background: var(--bg-secondary);
  position: relative;
}

/* Section flow gradient (creates visual connection from hero) */
.divisions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(
    180deg,
    var(--bg-primary),
    transparent
  );
  pointer-events: none;
  z-index: 0;
}

.divisions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .divisions-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Division Cards - Clean, No Neon
   ================================ */
.division-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  /* Directional lighting instead of flat surface */
}

/* Top edge highlight (subtle) */
.division-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.division-card:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  /* Depth through shadow, not glow */
}

.division-header {
  margin-bottom: 1.5rem;
}

.division-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #ffffff;
  letter-spacing: -0.02em;
  /* Pure white for contrast, no glow */
}

.division-location {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin: 0;
}

.division-description {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 2rem;
  color: #8a8a95;
  /* Warm steel gray instead of cold blue-gray */
}

.division-cta {
  margin: 2rem 0 1.5rem;
}

.btn-division {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-radius: 6px;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  /* Decisive authority - gradient, thicker border, shadow depth */
}

.btn-division:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.12) 100%
  );
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.division-meta {
  font-size: 0.875rem;
  opacity: 0.6;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Emotional Differentiation - Division Temperature
   ================================================= */

/* Property Services: Tactile & Local (warmer) */
.division-str {
  border-left: 2px solid rgba(138, 138, 149, 0.3);
  /* Subtle warm accent - tactile grounding */
}

.division-str .division-description {
  color: #9a9aa5;
  /* Slightly warmer gray for tactile feel */
}

/* Digital Solutions: Precise & Engineered (cooler) */
.division-digital {
  border-left: 2px solid rgba(90, 90, 101, 0.3);
  /* Subtle cool accent - engineered precision */
}

.division-digital .division-description {
  color: #8a8a95;
  /* Standard steel gray for technical precision */
}

/* Credibility Section - Minimal Footer
   ===================================== */
.credibility-section {
  padding: 5rem 1.5rem;
  background: var(--bg-primary);
  text-align: center;
}

.credibility-grid {
  max-width: 700px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .credibility-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Pressure Point - The One Unavoidable Metric
   ============================================= */
.credibility-metric.pressure-point {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.metric-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin-bottom: 1rem;
  font-weight: 500;
}

.metric-value {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.metric-value.metric-after {
  color: #00ff88;
  /* Success green for after metric */
}

/* Proof Line */
.credibility-proof {
  margin: 2.5rem 0 3rem;
}

.proof-line {
  font-size: 0.9rem;
  font-weight: 500;
  color: #8a8a95;
  margin: 0;
  letter-spacing: 0.03em;
}

/* Trust Signals Footer */
.credibility-signals-footer {
  margin: 3rem 0 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer Brand Identity Reinforcement
   ==================================== */
.footer {
  position: relative;
  padding-top: 5rem;
}

/* Subtle brand gradient separator (logo colors: green → pink) */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #00ff88 20%,
    #ec4899 80%,
    transparent 100%
  );
  opacity: 0.4;
}

.footer-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: #00ff88;
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

/* Trust Signals - Icon + Text (No Cards)
   ======================================= */
.credibility-signals {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.signal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.signal-icon {
  font-size: 1.25rem;
  opacity: 0.7;
}

.signal-text {
  opacity: 0.8;
  font-weight: 500;
  color: #8a8a95;
}

/* Credibility Statement
   ===================== */
.credibility-statement {
  max-width: 720px;
  margin: 3rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.credibility-statement p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
  color: #8a8a95;
  /* Warm steel gray for grounded feel */
}

/* Responsive Typography
   ===================== */
@media (max-width: 768px) {
  .hero-homepage {
    min-height: auto;
    padding: 4rem 1.5rem;
  }
  
  .divisions-section,
  .credibility-section {
    padding: 3rem 1.5rem;
  }
  
  .division-card {
    padding: 2rem;
  }
}

/* Visual Restraint Overrides for Homepage
   ======================================== */

/* Remove theme.css headline glow on homepage */
body[data-page="home"] h1,
body[data-page="home"] h2,
body[data-page="home"] h3,
body[data-page="home"] h4 {
  text-shadow: none !important;
}

/* Remove card hover glow from theme.css */
body[data-page="home"] .card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  /* Depth shadow only, no cyan glow */
}

body[data-page="home"] .card.neon-border {
  /* Override any neon borders on homepage */
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

body[data-page="home"] .pulse {
  /* Disable pulse animation on homepage */
  animation: none !important;
}

body[data-page="home"] .module-label {
  /* Hide module labels on homepage */
  display: none;
}

/* Warm gray body text (replace cold blue-gray from theme) */
body[data-page="home"] p {
  color: #8a8a95;
}
