/* ═══════════════════════════════════════════
   GES HOMEPAGE STYLES
   assets/css/ges-home.css
═══════════════════════════════════════════ */

/* ── HERO ── */
.ges-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 56px 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79,70,229,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(124,58,237,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 10% 60%, rgba(56,189,248,0.08) 0%, transparent 50%),
    var(--ges-bg);
}

.ges-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.ges-hero h1 {
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 26px;
}

.ges-hero__sub {
  font-size: 18px;
  color: var(--ges-muted);
  max-width: 560px;
  margin: 0 auto 44px;
  font-weight: 300;
  line-height: 1.85;
}

.ges-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Particle canvas */
.ges-hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Network SVG background */
.ges-hero__network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.12;
  z-index: 1;
}

/* ── TRUST STRIP ── */
.ges-trust {
  padding: 36px 56px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--ges-border);
  border-bottom: 1px solid var(--ges-border);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.ges-trust__label {
  font-size: 11px;
  color: var(--ges-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-right: 8px;
}

.ges-trust__badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  background: var(--ges-glass);
  border: 1px solid var(--ges-border);
  border-radius: var(--ges-radius-sm);
  font-size: 13px;
  color: var(--ges-muted);
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}

.ges-trust__badge:hover {
  border-color: rgba(79,70,229,0.35);
  color: var(--ges-text);
}

.ges-trust__badge svg {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: #A5B4FC;
}

/* ── VISION ── */
.ges-vision__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.ges-vision__card {
  padding: 32px 26px;
  border-radius: var(--ges-radius-lg);
  border: 1px solid var(--ges-border);
  background: var(--ges-glass);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.ges-vision__card:hover {
  border-color: rgba(79,70,229,0.38);
  transform: translateY(-4px);
}

.ges-vision__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,70,229,0.45), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.ges-vision__card:hover::before { opacity: 1; }

.ges-vision__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}

.ges-vision__card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 9px;
}

.ges-vision__card p {
  font-size: 13.5px;
  color: var(--ges-muted);
  line-height: 1.7;
}

/* ── MODULES ── */
.ges-modules__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.ges-module__card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--ges-border);
  border-radius: var(--ges-radius-lg);
  padding: 34px 28px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.ges-module__card:hover {
  border-color: rgba(79,70,229,0.48);
  box-shadow: 0 0 40px rgba(79,70,229,0.1), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(-4px);
}

.ges-module__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(79,70,229,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.ges-module__card:hover::after { opacity: 1; }

.ges-module__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79,70,229,0.18), rgba(124,58,237,0.18));
  border: 1px solid rgba(79,70,229,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.ges-module__card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 9px;
}

.ges-module__card p {
  font-size: 13.5px;
  color: var(--ges-muted);
  line-height: 1.65;
}

.ges-module__arrow {
  position: absolute;
  bottom: 24px; right: 24px;
  font-size: 18px;
  color: rgba(79,70,229,0.45);
  transition: transform 0.2s, color 0.2s;
}

.ges-module__card:hover .ges-module__arrow {
  transform: translate(4px,-4px);
  color: var(--ges-indigo);
}

/* ── HOW IT WORKS ── */
.ges-steps {
  display: flex;
  gap: 0;
  position: relative;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
}
.ges-steps::-webkit-scrollbar { display: none; }

.ges-step {
  flex: 1;
  min-width: 150px;
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.ges-step::after {
  content: '';
  position: absolute;
  top: 27px; left: 50%; right: -50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(79,70,229,0.5), rgba(79,70,229,0.08));
}

.ges-step:last-child::after { display: none; }

.ges-step__num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ges-indigo), var(--ges-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: sans-serif;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 0 28px rgba(79,70,229,0.4);
  position: relative;
  z-index: 1;
}

.ges-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.ges-step p  { font-size: 13px; color: var(--ges-muted); line-height: 1.65; }

/* ── COMMUNITIES ── */
.ges-communities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.ges-community__card {
  background: var(--ges-glass);
  border: 1px solid var(--ges-border);
  border-radius: var(--ges-radius-md);
  padding: 26px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.ges-community__card:hover {
  background: rgba(79,70,229,0.08);
  border-color: rgba(79,70,229,0.38);
  transform: scale(1.04);
}

.ges-community__emoji {
  font-size: 30px;
  margin-bottom: 12px;
  display: block;
}

.ges-community__card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
}

.ges-community__card p {
  font-size: 12px;
  color: var(--ges-muted);
}

/* ── STATS ── */
.ges-stats {
  background: linear-gradient(135deg, rgba(79,70,229,0.08) 0%, rgba(124,58,237,0.06) 100%);
  border-top: 1px solid rgba(79,70,229,0.14);
  border-bottom: 1px solid rgba(79,70,229,0.14);
}

.ges-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  text-align: center;
}

.ges-stat__num {
  font-family: sans-serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #A5B4FC, var(--ges-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.ges-stat__label {
  font-size: 13.5px;
  color: var(--ges-muted);
  margin-top: 6px;
}

/* ── TESTIMONIALS ── */
.ges-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.ges-testimonial {
  background: var(--ges-glass);
  border: 1px solid var(--ges-border);
  border-radius: var(--ges-radius-lg);
  padding: 34px 30px;
  position: relative;
}

.ges-testimonial::before {
  content: '"';
  position: absolute;
  top: 16px; left: 28px;
  font-size: 72px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(79,70,229,0.18);
  pointer-events: none;
}

.ges-testimonial p {
  font-size: 14.5px;
  color: #C4CCE0;
  line-height: 1.8;
  margin-bottom: 26px;
  padding-top: 16px;
}

.ges-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ges-testimonial__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  font-family: sans-serif;
  flex-shrink: 0;
}

.ges-testimonial__name { font-size: 14px; font-weight: 700; }
.ges-testimonial__role { font-size: 12px; color: var(--ges-muted); }

/* ── FINAL CTA ── */
.ges-cta {
  text-align: center;
  padding: 110px 56px;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(79,70,229,0.14) 0%, transparent 65%);
}

.ges-cta h2 {
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 22px;
  line-height: 1.05;
}

.ges-cta p {
  font-size: 17px;
  color: var(--ges-muted);
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.85;
  font-weight: 300;
}

.ges-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── WORKFORCE SPLIT ── */
.ges-workforce {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ges-workforce__features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.ges-workforce__feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ges-workforce__feat-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

.ges-workforce__feat strong { font-size: 14.5px; display: block; margin-bottom: 3px; }
.ges-workforce__feat p { font-size: 12.5px; color: var(--ges-muted); margin: 0; }

/* ── RESPONSIVE HOME ── */
@media (max-width: 900px) {
  .ges-hero { padding: 80px 20px 60px; min-height: 92vh; }
  .ges-trust { padding: 28px 20px; }
  .ges-workforce { grid-template-columns: 1fr; gap: 40px; }
  .ges-cta { padding: 80px 20px; }
}

@media (max-width: 600px) {
  .ges-hero h1 { letter-spacing: -1.5px; }
  .ges-steps { flex-wrap: wrap; gap: 32px; }
  .ges-step::after { display: none; }
  .ges-stats__grid { gap: 28px; }
}
