/* ═══════════════════════════════════════════════════════════════
   GIO Platform - Section Styles
   Page section-specific styles
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--section-padding-x);
  transition: background var(--duration-slow),
              box-shadow var(--duration-slow),
              padding var(--duration-normal);
}

.nav--scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  box-shadow: 0 1px 0 var(--border-medium), var(--shadow-md);
  padding: 14px var(--section-padding-x);
}

.nav__logo {
  font-family: var(--ff-hero);
  font-size: 24px;
  font-weight: var(--fw-semibold);
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__logo-dot {
  width: 8px; height: 8px;
  background: var(--azure);
  border-radius: 50%;
  display: inline-block;
  animation: navdot 2.5s ease-in-out infinite;
}

@keyframes navdot {
  0%,100% { transform: scale(1); background: var(--azure); }
  50% { transform: scale(1.4); background: var(--teal); }
}

.nav__logo-image {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-right: 12px;
  border-radius: 50%;
  animation: logoGlow 2.5s ease-in-out infinite;
}

@keyframes logoGlow {
  0%,100% { box-shadow: 0 0 12px rgba(16,185,129,0.4), 0 0 24px rgba(16,185,129,0.2); }
  50% { box-shadow: 0 0 20px rgba(16,185,129,0.6), 0 0 40px rgba(16,185,129,0.3); }
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: var(--fw-regular);
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--duration-fast);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1.5px;
  background: var(--azure);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.nav__links a:hover {
  color: var(--azure);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

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

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--off-white);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px var(--section-padding-x) 80px;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(37,99,235,0.35) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 15% 85%, rgba(14,165,233,0.25) 0%, transparent 50%),
    radial-gradient(ellipse 30% 30% at 70% 75%, rgba(232,184,75,0.20) 0%, transparent 50%);
  animation: meshshift 10s ease-in-out infinite alternate;
}

@keyframes meshshift {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
  100% { filter: brightness(1); }
}

.hero__network-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__nanduti {
  position: absolute;
  top: 10%;
  right: 15%;
  width: min(500px, 65vw);
  height: min(500px, 65vw);
  display: block;
  pointer-events: none;
  z-index: 1;
}

.hero__line {
  position: absolute;
  top: 0; right: 20%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(37,99,235,0.12) 30%, rgba(37,99,235,0.12) 70%, transparent);
  transform: rotate(-8deg) translateX(50%);
}

.hero__line-2 {
  position: absolute;
  top: 0; right: 35%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(14,165,233,0.07) 40%, rgba(14,165,233,0.07) 60%, transparent);
  transform: rotate(-8deg) translateX(50%);
}

.hero__content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.18);
  border-radius: 100px;
  margin-bottom: 36px;
  font-size: 12px;
  font-weight: 500;
  color: var(--azure);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: slideIn 0.8s 0.2s ease forwards;
}

.hero__badge-dot {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.5);
  animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__title {
  font-family: var(--ff-hero);
  font-size: clamp(54px, 6.5vw, 90px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 24px;
}

.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  animation: wordIn 0.7s ease forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--azure);
}

@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero__subtitle {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 44px;
  font-weight: 300;
  max-width: 520px;
  opacity: 0;
  animation: slideIn 0.8s 0.9s ease forwards;
}

.hero__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  opacity: 0;
  animation: slideIn 0.8s 1.1s ease forwards;
}

.hero__trust {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: slideIn 0.8s 1.3s ease forwards;
}

.hero__visual {
  position: absolute;
  right: var(--section-padding-x);
  top: 50%;
  transform: translateY(-50%);
  width: min(420px, 38vw);
  z-index: 2;
  opacity: 0;
  animation: slideInRight 1s 0.6s var(--ease-out) forwards;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateY(-50%) translateX(40px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE / STATS BAR
   ═══════════════════════════════════════════════════════════════ */
.marquee {
  background: var(--navy);
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--navy), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--navy), transparent);
}

.marquee__track {
  display: flex;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee__track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 52px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.marquee__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.marquee__value {
  font-family: var(--ff-mono);
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS COMMON
   ═══════════════════════════════════════════════════════════════ */
.section {
  padding: var(--section-padding-y) var(--section-padding-x);
}

.section__header {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section__title {
  font-family: var(--ff-hero);
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}

.section__title em {
  font-style: italic;
  color: var(--azure);
}

.section__description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  max-width: 480px;
}

.section--off-white {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   BENTO GRID SECTION
   ═══════════════════════════════════════════════════════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
  margin-top: 60px;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES GRID
   ═══════════════════════════════════════════════════════════════ */
.services-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════
   CLIENTS SCROLL SECTION
   ═══════════════════════════════════════════════════════════════ */
.clients-scroll {
  background: var(--off-white);
  padding: var(--section-padding-y) var(--section-padding-x);
  overflow: hidden;
}

.clients-scroll__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: var(--container-max);
  margin: 60px auto 0;
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .clients-scroll__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Responsive: Mobile */
@media (max-width: 640px) {
  .clients-scroll__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
  }
  
  .scroll-column-wrapper {
    height: auto !important;
    max-height: 400px;
  }
  
  .scroll-track {
    animation: none !important;
  }
  
  .client-scroll-card {
    min-height: 100px;
    padding: 16px;
  }
  
  .scroll-name {
    font-size: 14px;
  }
  
  .scroll-description {
    font-size: 11px;
    line-height: 1.4;
  }
}

.scroll-column {
  overflow: hidden;
  height: 600px;
  position: relative;
}

.scroll-column::before,
.scroll-column::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}

.scroll-column::before {
  top: 0;
  background: linear-gradient(to bottom, var(--off-white), transparent);
}

.scroll-column::after {
  bottom: 0;
  background: linear-gradient(to top, var(--off-white), transparent);
}

.scroll-column__track {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scroll-column--left .scroll-column__track {
  animation: scrollDown 30s linear infinite;
}

.scroll-column--right .scroll-column__track {
  animation: scrollUp 35s linear infinite;
}

.scroll-column:hover .scroll-column__track {
  animation-play-state: paused;
}

@keyframes scrollDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes scrollUp {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   COUNTER STATS
   ═══════════════════════════════════════════════════════════════ */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border-radius: 20px;
  overflow: hidden;
  max-width: var(--container-max);
  margin: 56px auto 0;
}

.counter-item {
  padding: 48px 36px;
  background: var(--navy);
  position: relative;
  transition: background var(--duration-normal);
}

.counter-item:hover {
  background: var(--navy-2);
}

.counter-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--azure), var(--teal));
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out);
}

.counter-item:hover::after {
  transform: scaleX(1);
}

.counter__value {
  font-family: var(--ff-hero);
  font-size: 54px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 10px;
}

.counter__value span {
  color: var(--teal);
}

.counter__label {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container-max);
  margin: 60px auto 0;
}

.testimonial {
  background: var(--off-white);
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--border-subtle);
  transition: transform var(--duration-normal),
              box-shadow var(--duration-normal);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2a54 60%, #0a1e3d 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--section-padding-y) var(--section-padding-x);
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 60%);
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 80px solid rgba(14,165,233,0.06);
}

.cta__inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--ff-hero);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  line-height: 1.08;
}

.cta__title em {
  font-style: italic;
  color: var(--teal);
}

.cta__description {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  line-height: 1.7;
}

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

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--off-white);
  border-top: 1px solid var(--border-subtle);
  padding: 72px var(--section-padding-x) 40px;
}

.footer__top {
  max-width: var(--container-max);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer__brand-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 12px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 20px;
}

.footer__col li {
  margin-bottom: 12px;
}

.footer__col a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  transition: color var(--duration-fast);
}

.footer__col a:hover {
  color: var(--azure);
}

.footer__bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted-2);
}
