:root {
  --primary: #a384ff;
  --primary-dim: rgba(163, 132, 255, 0.15);
  --primary-glow: rgba(163, 132, 255, 0.25);
  --primary-glow-strong: rgba(163, 132, 255, 0.4);
  --secondary: #1e1e2e;
  --tertiary: #64748b;
  --neutral: #0f0f12;
  --neutral-light: #16161c;
  --surface: #1a1a28;
  --surface-elevated: #222236;
  --white: #f0ece4;
  --white-pure: #ffffff;
  --off-white: #c8c3b8;
  --text-muted: #7a7580;
  --border-subtle: rgba(163, 132, 255, 0.1);
  --border-medium: rgba(163, 132, 255, 0.2);
  --green: #34d399;
  --green-dim: rgba(52, 211, 153, 0.12);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Manrope", sans-serif;
  background-color: var(--neutral);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(163, 132, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

a {
  text-decoration: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-mono {
  font-family: "Space Grotesk", sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.header.scrolled {
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  position: relative;
}

.logo-cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeRotate 12s ease-in-out infinite;
}

.cube-face {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--primary);
  background: var(--primary-dim);
}

.cube-face--front {
  transform: translateZ(14px) translateX(6px) translateY(6px);
}
.cube-face--back {
  transform: translateZ(-14px) translateX(6px) translateY(6px);
}
.cube-face--right {
  transform: rotateY(90deg) translateZ(14px) translateX(6px) translateY(6px);
}
.cube-face--left {
  transform: rotateY(-90deg) translateZ(14px) translateX(6px) translateY(6px);
}
.cube-face--top {
  transform: rotateX(90deg) translateZ(14px) translateX(6px) translateY(6px);
}
.cube-face--bottom {
  transform: rotateX(-90deg) translateZ(14px) translateX(6px) translateY(6px);
}

@keyframes cubeRotate {
  0%,
  100% {
    transform: rotateX(-20deg) rotateY(25deg);
  }
  25% {
    transform: rotateX(-15deg) rotateY(50deg);
  }
  50% {
    transform: rotateX(-25deg) rotateY(70deg);
  }
  75% {
    transform: rotateX(-10deg) rotateY(45deg);
  }
}

.logo-wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--white);
}
.logo-wordmark span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav a {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--tertiary);
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}
.nav a:hover {
  color: var(--primary);
}

.btn-header {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--primary);
  border-radius: 6px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}
.btn-header:hover,
.btn-header:hover a:active,
.btn-header:hover a:link {
  background: var(--primary);
  color: var(--neutral) !important;
  box-shadow: 0 0 24px var(--primary-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-header--primary {
  background: var(--primary);
  color: var(--white-pure);
}
.btn-header--primary:hover {
  background: transparent;
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}
.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}
.mobile-toggle span:nth-child(1) {
  top: 0;
}
.mobile-toggle span:nth-child(2) {
  top: 9px;
}
.mobile-toggle span:nth-child(3) {
  top: 18px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.4;
}

.hero-glow-secondary {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 116, 139, 0.15) 0%, transparent 70%);
  bottom: 10%;
  left: -5%;
  pointer-events: none;
  filter: blur(60px);
}

.hero-content {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-medium);
  border-radius: 100px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--primary);
  background: var(--primary-dim);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.08;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.4s;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #c4b5fd 50%, var(--primary) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-description {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--tertiary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.6s;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.8s;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: var(--primary);
  color: var(--neutral);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px var(--primary-glow-strong),
    0 0 60px var(--primary-dim);
}
.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}
.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 1s;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--tertiary);
  margin-top: 0.25rem;
  font-weight: 400;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
  background: rgba(30, 30, 46, 0.3);
}

.trust-bar-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

@keyframes shiny-text {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.shiny-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.35) 40%,
    #ffffff 50%,
    rgba(255, 255, 255, 0.35) 60%,
    rgba(255, 255, 255, 0.35) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  animation: shiny-text 3.5s linear infinite;
  cursor: default;
  transition: transform 0.3s ease;
}

.shiny-text:hover {
  transform: translateY(-2px);
}

.shiny-text:nth-child(1) {
  animation-delay: 0s;
}
.shiny-text:nth-child(2) {
  animation-delay: 0.8s;
}
.shiny-text:nth-child(3) {
  animation-delay: 1.6s;
}
.shiny-text:nth-child(4) {
  animation-delay: 2.4s;
}

.cert-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.cert-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cert-badge--aws {
  border-color: rgba(255, 153, 0, 0.3);
}
.cert-badge--aws:hover {
  border-color: rgba(255, 153, 0, 0.7);
  box-shadow: 0 0 16px rgba(255, 153, 0, 0.2);
}
.cert-badge--aws span {
  color: #ff9900;
}

.cert-badge--gcp {
  border-color: rgba(66, 133, 244, 0.3);
}
.cert-badge--gcp:hover {
  border-color: rgba(66, 133, 244, 0.7);
  box-shadow: 0 0 16px rgba(66, 133, 244, 0.2);
}
.cert-badge--gcp span {
  color: #4285f4;
}

.cert-badge-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-label-line {
  width: 24px;
  height: 1px;
  background: var(--primary);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--tertiary);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 0 0 1px var(--border-medium);
}
.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-dim);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  box-shadow: 0 0 20px var(--primary-dim);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--tertiary);
  line-height: 1.65;
}

.service-card-tag {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid var(--border-subtle);
}

/* ===== FEATURE SPLIT ===== */
.feature-split {
  padding: 6rem 0;
  position: relative;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-visual {
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--secondary);
}

.split-visual-inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, var(--primary-dim) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(100, 116, 139, 0.08) 0%, transparent 50%),
    var(--secondary);
}

.arch-grid {
  position: absolute;
  inset: 2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 0.75rem;
}

.arch-node {
  background: var(--primary-dim);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  position: relative;
  transition: all 0.4s ease;
  animation: nodePulse 3s ease-in-out infinite;
}
.arch-node:nth-child(odd) {
  animation-delay: 0.5s;
}
.arch-node:nth-child(3n) {
  animation-delay: 1s;
}
.arch-node:nth-child(5n) {
  animation-delay: 1.5s;
}
.arch-node:nth-child(7n) {
  animation-delay: 2s;
}
.arch-node.active {
  background: rgba(163, 132, 255, 0.2);
  border-color: var(--primary);
  box-shadow: 0 0 16px var(--primary-dim);
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

.split-visual-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(15, 15, 18, 0.8);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.split-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.split-content > p {
  font-size: 1rem;
  color: var(--tertiary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 6px;
  background: var(--primary-dim);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-item-check svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
}

.feature-item h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--tertiary);
  line-height: 1.55;
}

/* ===== METRICS ===== */
.metrics {
  padding: 6rem 0;
  position: relative;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.metric-card {
  background: var(--secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}
.metric-card:hover {
  border-color: var(--border-medium);
  box-shadow: 0 0 30px var(--primary-dim);
}

.metric-value {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.metric-unit {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.7;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--tertiary);
  margin-top: 0.5rem;
  font-weight: 400;
}

.metric-bar {
  width: 100%;
  height: 3px;
  background: var(--border-subtle);
  border-radius: 100px;
  margin-top: 1rem;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #c4b5fd);
  border-radius: 100px;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  width: 0;
}
.metric-bar-fill.animated {
  width: var(--fill);
}

/* Growth card special styling */
.metric-card--growth {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2.5rem;
  text-align: left;
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.metric-card--growth::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--green), transparent);
}

.metric-card--growth::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 50%, var(--primary-dim) 0%, transparent 50%);
  pointer-events: none;
}

.growth-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.growth-steps {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.growth-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.growth-bar-wrapper {
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.growth-bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  transition: height 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.growth-bar--1 {
  background: linear-gradient(180deg, var(--tertiary), rgba(100, 116, 139, 0.4));
  height: 0;
}
.growth-bar--2 {
  background: linear-gradient(180deg, var(--primary), rgba(163, 132, 255, 0.4));
  height: 0;
}
.growth-bar--3 {
  background: linear-gradient(180deg, var(--green), rgba(52, 211, 153, 0.4));
  height: 0;
}

.growth-bar--1.animated {
  height: 50px;
}
.growth-bar--2.animated {
  height: 100px;
}
.growth-bar--3.animated {
  height: 150px;
}

.growth-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-dim);
  border: 1px solid rgba(52, 211, 153, 0.3);
  margin: 0.75rem 0;
}

.growth-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.growth-info {
  position: relative;
  z-index: 1;
}

.growth-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.growth-label-line {
  width: 20px;
  height: 1px;
  background: var(--primary);
}

.growth-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.growth-description {
  font-size: 0.95rem;
  color: var(--tertiary);
  line-height: 1.6;
  max-width: 500px;
}

.growth-metric-inline {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 1rem;
}

.growth-metric-value {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--green);
  letter-spacing: -0.02em;
}

.growth-metric-sub {
  font-size: 0.85rem;
  color: var(--tertiary);
  font-weight: 400;
}

/* ===== PROCESS ===== */
.process {
  padding: 8rem 0;
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
}

.process-step-number {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--border-medium);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}
.process-step:hover .process-step-number {
  color: var(--primary);
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--tertiary);
  line-height: 1.6;
}

.process-connector {
  position: absolute;
  top: 3.5rem;
  right: -1rem;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--border-medium), transparent);
}
.process-step:last-child .process-connector {
  display: none;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 6rem 0;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--off-white);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-dim);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
}

.testimonial-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--tertiary);
}

/* ===== CTA ===== */
.cta-section {
  padding: 8rem 0;
  position: relative;
}

.cta-card {
  background: var(--secondary);
  border: 1px solid var(--border-medium);
  border-radius: 24px;
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--primary-dim) 0%, transparent 60%);
  pointer-events: none;
}
.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.cta-card p {
  font-size: 1.1rem;
  color: var(--tertiary);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
}
.cta-card .btn-primary {
  font-size: 1rem;
  padding: 1rem 2.5rem;
  position: relative;
}
.cta-sub {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  padding-top: 24px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--tertiary);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul li {
  margin-bottom: 0.75rem;
}
.footer-col ul li a,
.footer-col ul li span {
  font-size: 0.85rem;
  color: var(--tertiary);
  transition: color 0.2s ease;
}
.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  gap: 1rem;
}
.footer-bottom p,
.footer-cnpj {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-cnpj {
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.03em;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.footer-social-link:hover {
  border-color: var(--primary);
  background: var(--primary-dim);
}
.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: var(--tertiary);
  transition: fill 0.3s ease;
}
.footer-social-link:hover svg {
  fill: var(--primary);
}
.footer-social-link--gcp svg {
  width: 18px;
  height: 18px;
  fill: none;
}
.footer-social-link--gcp:hover svg {
  fill: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-card--growth {
    grid-column: 1 / -1;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-connector {
    display: none;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .split-visual {
    height: 350px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .metric-card--growth {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .growth-info {
    text-align: center;
  }
  .growth-description {
    margin: 0 auto;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .cta-card {
    padding: 3rem 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .trust-logos {
    gap: 1.5rem;
  }
  .shiny-text {
    font-size: 1rem;
  }
  .growth-steps {
    gap: 0.5rem;
  }
  .growth-bar-wrapper {
    width: 42px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 6rem 0 3rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .trust-logos {
    flex-direction: column;
    gap: 0.75rem;
  }
}
