/*
  Home page styles.
  Values below are the literal tokens from applications/DESIGN.md (colors,
  typography, effects, spacing, rounded) — same glassmorphism language used
  in styles/about-us.css, kept inline to match that convention.
*/

/* Shared type styles */
.home-main h2,
.hm-hero-split h1 {
  font-family: "Dela Gothic One", cursive;
  font-weight: 400;
}

.home-main p,
.hm-hero-split p {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.6;
}

.hm-white {
  color: #ffffff;
}

.hm-accent {
  color: #d9c7f0;
}

/* Hero (split layout) */
.hm-hero-split {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d0d0d, #782dbf);
  color: white;
  padding: 3rem 1.5rem;
}

.hm-hero-split-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 900px) {
  .hm-hero-split-inner {
    flex-direction: row;
    align-items: center;
  }
}

.hm-hero-split-text {
  flex: 1 1 420px;
  text-align: left;
}

.hm-hero-split-text h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  text-align: left; /* style.css sets a global h1 { text-align: left } */
}

.hm-hero-split-text .hm-hero-body {
  text-align: left;
  margin: 0 0 2rem;
  max-width: 520px;
}

.hm-hero-split-text .hm-hero-buttons {
  justify-content: flex-start;
}

.hm-hero-split-media {
  flex: 1 1 380px;
  aspect-ratio: 4 / 3;
  border-radius: 12px; /* rounded.md */
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
}

.hm-hero-split-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hm-hero-body {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem; /* body-lg */
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #ffffff;
}

.hm-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hm-button {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hm-button-primary {
  background: linear-gradient(to right, #6a0dad, #8a2be2); /* gradient-primary */
  color: white;
  border: none;
}

.hm-button-primary:hover {
  transform: translateY(-3px) scale(1.02); /* hover-lift-strong */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.hm-button-secondary {
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
}

.hm-button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.02);
}

/* Hero-specific buttons */
.hm-btn-connect,
.hm-btn-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 2rem;
  border-radius: 8px; /* rounded.sm */
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.hm-btn-connect {
  background: linear-gradient(to right, #6a0dad, #8a2be2); /* gradient-primary */
  color: #fff;
}

.hm-btn-connect:hover {
  transform: translateY(-3px) scale(1.02); /* hover-lift-strong */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.hm-btn-explore {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2); /* hairline-strong */
  backdrop-filter: blur(5px); /* glass-blur */
  color: #fff;
}

.hm-btn-explore:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Global Tech Presence strip */
.hm-tech-presence {
  background-color: #1a1a1a; /* colors.canvas */
  padding: 2rem 0;
}

.hm-tech-presence-label {
  text-align: center;
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.hm-tech-presence-bar {
  background-color: #1a1a1a;
}

.hm-tech-presence-strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%; /* spacing.page */
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.hm-tech-badge {
  flex: 0 1 160px;
  min-width: 0;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: transparent;
}

.hm-tech-badge img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Main / sections */
.home-main {
  padding: 2rem;
  color: #fff;
  background-color: #1a1a1a; /* colors.canvas */
}

.section-home {
  max-width: 1100px;
  margin: 0 auto;
}

.hm-section {
  padding: 64px 0; /* spacing.section */
}

.home-main h2 {
  font-size: 2.5rem; /* display-sm */
  text-align: center;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hm-section-intro {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem; /* body-lg */
  line-height: 1.6;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #a0a0a0; /* ink-muted */
}

/* Solutions cards (glass) */
.hm-solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; /* spacing.lg */
}

.hm-solution-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: rgba(255, 255, 255, 0.05); /* surface-glass */
  border: 1px solid rgba(255, 255, 255, 0.1); /* hairline */
  border-radius: 8px; /* rounded.sm */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* card-shadow */
  backdrop-filter: blur(5px); /* glass-blur */
  color: #fff;
  padding: 1.75rem 1.75rem 2rem;
  transition: all 0.3s ease;
}

.hm-solution-card:hover {
  background-color: rgba(255, 255, 255, 0.08); /* surface-glass-hover */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* card-shadow-hover */
  transform: translateY(-2px); /* hover-lift */
}

.hm-solution-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.hm-solution-card p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #a0a0a0; /* ink-muted */
  margin: 0 0 1.75rem;
}

.hm-solution-cta {
  display: inline-block;
  align-self: center;
  margin-top: auto;
  padding: 0.65rem 1.5rem;
  border-radius: 9999px; /* rounded.pill */
  background: linear-gradient(to right, #6a0dad, #8a2be2); /* gradient-primary */
  color: #fff;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.hm-solution-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Recognitions */
.hm-recognitions-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px; /* spacing.xs */
}

.hm-recognition-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px; /* rounded.pill */
  background-color: rgba(255, 255, 255, 0.08); /* surface-glass-hover */
  color: #a0a0a0; /* ink-muted */
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

/* Final CTA — gradient border wrapper + glass panel */
.hm-final-cta {
  background-color: #1a1a1a;
  color: white;
  text-align: center;
  padding: 4rem 1.5rem;
}

.hm-final-cta-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(to right, #6a0dad, #8a2be2); /* gradient-primary */
  padding: 3px; /* call-to-action.gradientBorderWidth */
  border-radius: 12px; /* rounded.md */
}

.hm-final-cta-box {
  background-color: rgba(26, 26, 26, 0.8); /* surface-glass-cta */
  backdrop-filter: blur(10px); /* glass-blur-strong */
  border-radius: 10px;
  padding: 3rem 2rem;
}

.hm-final-cta h2 {
  font-family: "Dela Gothic One", cursive;
  font-weight: 400;
  font-size: 2.5rem; /* display-sm */
  text-align: center;
  margin-bottom: 1rem;
}

.hm-final-cta p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem; /* body-lg */
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: #a0a0a0; /* ink-muted */
}

.hm-final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
