/* =============================================
   ATLAS AI — Design System & Styles
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors — extracted from Atlas AI logo */
  --deep-blue: #0A2463;
  --deep-blue-rgb: 10, 36, 99;
  --cyan: #36B5D8;
  --cyan-rgb: 54, 181, 216;
  --turquoise: #3CDFCF;
  --turquoise-rgb: 60, 223, 207;
  --gradient-brand: linear-gradient(135deg, #36B5D8 0%, #3CDFCF 100%);
  --gradient-brand-hover: linear-gradient(135deg, #2DA3C4 0%, #30CDB9 100%);

  --bg: #FFFFFF;
  --bg-alt: #F6F9FB;
  --bg-dark: #06173D;

  --text: #1A1A2E;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --text-inverse: #FFFFFF;

  --border: #E5E7EB;
  --border-light: #F0F2F4;

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --fs-hero: clamp(2.5rem, 5vw, 4rem);
  --fs-h2: clamp(1.875rem, 3.5vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-h4: clamp(1.05rem, 1.5vw, 1.25rem);
  --fs-body: clamp(0.95rem, 1.2vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-label: 0.8125rem;

  /* Spacing (8pt grid) */
  --sp-4: 0.25rem;
  --sp-8: 0.5rem;
  --sp-12: 0.75rem;
  --sp-16: 1rem;
  --sp-24: 1.5rem;
  --sp-32: 2rem;
  --sp-40: 2.5rem;
  --sp-48: 3rem;
  --sp-64: 4rem;
  --sp-80: 5rem;
  --sp-96: 6rem;
  --sp-120: 7.5rem;

  /* Layout */
  --max-width: 1240px;
  --header-height: 80px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 14px 44px rgba(var(--cyan-rgb), 0.12), 0 6px 16px rgba(0, 0, 0, 0.06);

  /* Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-btn: 4px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* Focus-visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) {
  outline: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-24);
}

.section {
  padding: var(--sp-96) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__label {
  font-family: var(--font-heading);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: var(--sp-12);
}

.section__title {
  font-size: var(--fs-h2);
  color: var(--deep-blue);
  margin-bottom: var(--sp-16);
  max-width: 680px;
}

.section__subtitle {
  font-size: var(--fs-body);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.section__header {
  text-align: center;
  margin-bottom: var(--sp-64);
}

.section__header .section__title,
.section__header .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-small);
  padding: var(--sp-12) var(--sp-32);
  border-radius: var(--radius-btn);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-brand);
  color: var(--text-inverse);
  box-shadow: 0 4px 16px rgba(var(--cyan-rgb), 0.3);
}

.btn--primary:hover {
  background: var(--gradient-brand-hover);
  box-shadow: 0 6px 24px rgba(var(--cyan-rgb), 0.4);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0) scale(0.98);
}

.btn--outline {
  border: 1.5px solid var(--deep-blue);
  color: var(--deep-blue);
  background: transparent;
}

.btn--outline:hover {
  background: var(--deep-blue);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--bg);
  color: var(--deep-blue);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.btn--lg {
  padding: var(--sp-16) var(--sp-40);
  font-size: var(--fs-body);
}

/* Link Style */
.link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--deep-blue);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  transition: gap var(--duration-normal) var(--ease-out);
}

.link:hover {
  gap: var(--sp-12);
  color: var(--cyan);
}

.link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-normal) var(--ease-out);
}

.link:hover svg {
  transform: translateX(4px);
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.header--scrolled {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 100px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-32);
}

.header__nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--text);
  position: relative;
  padding: var(--sp-4) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width var(--duration-normal) var(--ease-out);
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--cyan);
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  width: 100%;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
}

/* Mobile Menu Toggle */
.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 110;
}

.header__menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.header__menu-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__menu-toggle--open span:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  padding-top: calc(var(--header-height) + var(--sp-64));
  padding-bottom: var(--sp-96);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--cyan-rgb), 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
  align-items: center;
}

.hero__content {
  max-width: 580px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  background: rgba(var(--cyan-rgb), 0.08);
  border: 1px solid rgba(var(--cyan-rgb), 0.2);
  padding: var(--sp-4) var(--sp-16);
  border-radius: 100px;
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: var(--sp-24);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--turquoise);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero__title {
  font-size: var(--fs-hero);
  color: var(--deep-blue);
  margin-bottom: var(--sp-24);
  letter-spacing: -0.02em;
}

.hero__title span {
  background: linear-gradient(135deg, #1E96B8 0%, #28B8A8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-40);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-24);
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.hero__image {
  width: 100%;
  max-width: 580px;
  border-radius: 16px;
  position: relative;
  z-index: 2;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
  animation: hero-float 6s ease-in-out infinite;
  /* Soft fade mask — edges dissolve into the background */
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, #000 55%, transparent 100%);
}

.hero__visual:hover .hero__image {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

@keyframes hero-float {

  0%,
  100% {
    transform: rotateY(-4deg) rotateX(2deg) translateY(0px);
  }

  50% {
    transform: rotateY(-4deg) rotateX(2deg) translateY(-12px);
  }
}

.hero__visual-bg {
  position: absolute;
  width: 140%;
  height: 140%;
  background:
    radial-gradient(ellipse at 40% 50%, rgba(var(--cyan-rgb), 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(var(--turquoise-rgb), 0.08) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
  filter: blur(40px);
  animation: glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* =============================================
   TECH STACK — Marquee Carousel
   ============================================= */
.tech-stack {
  padding: var(--sp-48) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg);
  overflow: hidden;
}

.tech-stack__label {
  text-align: center;
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--sp-32);
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Edge fade masks */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--sp-48);
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--sp-8);
}

.marquee__item img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.marquee__item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =============================================
   WHY US — Differentials
   ============================================= */
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-32);
}

.why-us__card {
  padding: var(--sp-40);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.why-us__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.why-us__card:hover {
  border-color: rgba(var(--cyan-rgb), 0.3);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.why-us__card:hover::before {
  transform: scaleX(1);
}

.why-us__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-24);
  font-size: 24px;
}

.why-us__icon--blue {
  background: rgba(var(--deep-blue-rgb), 0.08);
  color: var(--deep-blue);
}

.why-us__icon--cyan {
  background: rgba(var(--cyan-rgb), 0.1);
  color: var(--cyan);
}

.why-us__icon--gradient {
  background: var(--gradient-brand);
  color: white;
}

.why-us__card-title {
  font-size: var(--fs-h4);
  color: var(--deep-blue);
  margin-bottom: var(--sp-12);
}

.why-us__card-text {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: var(--fs-small);
}

/* =============================================
   SOLUTIONS — Alternating Layout
   ============================================= */
.solutions__block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
  align-items: center;
  margin-bottom: var(--sp-80);
}

.solutions__block:last-child {
  margin-bottom: 0;
}

.solutions__block--reverse .solutions__content {
  order: 2;
}

.solutions__block--reverse .solutions__visual {
  order: 1;
}

.solutions__number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  line-height: 1;
  margin-bottom: var(--sp-16);
}

.solutions__title {
  font-size: var(--fs-h3);
  color: var(--deep-blue);
  margin-bottom: var(--sp-16);
}

.solutions__text {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-24);
}

.solutions__visual {
  perspective: 800px;
}

.solutions__image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(10, 36, 99, 0.12),
    0 2px 8px rgba(10, 36, 99, 0.08);
  transition: all var(--duration-slow) var(--ease-out);
  transform: rotateY(-3deg) rotateX(1deg);
  /* Glassmorphism border glow */
  border: 1px solid rgba(54, 181, 216, 0.15);
  /* Soft edge fade */
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 60%, transparent 100%);
}

.solutions__image:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow:
    0 16px 48px rgba(10, 36, 99, 0.16),
    0 4px 12px rgba(54, 181, 216, 0.12);
  border-color: rgba(54, 181, 216, 0.3);
}

/* =============================================
   METHODOLOGY — Steps Timeline
   ============================================= */
.methodology__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-32);
  position: relative;
}

.methodology__steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.methodology__step {
  text-align: center;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.methodology__step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 auto var(--sp-24);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.methodology__step-number--active {
  background: var(--gradient-brand);
  color: white;
  box-shadow: 0 4px 16px rgba(var(--cyan-rgb), 0.3);
}

.methodology__step-number--inactive {
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 2px solid var(--border);
}

.methodology__step:hover .methodology__step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(var(--cyan-rgb), 0.3);
}

.methodology__step-title {
  font-size: var(--fs-h4);
  color: var(--deep-blue);
  margin-bottom: var(--sp-8);
}

.methodology__step-text {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   CTA FINAL
   ============================================= */
.cta-final {
  background: var(--deep-blue);
  padding: var(--sp-96) 0;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--cyan-rgb), 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-final::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--turquoise-rgb), 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-final__inner {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-final__title {
  font-size: var(--fs-h2);
  color: var(--text-inverse);
  margin-bottom: var(--sp-16);
}

.cta-final__subtitle {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  margin-bottom: var(--sp-48);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-dark);
  padding: var(--sp-64) 0 var(--sp-32);
  color: rgba(255, 255, 255, 0.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-48);
  margin-bottom: var(--sp-48);
}

.footer__brand-logo {
  height: 80px;
  width: auto;
  margin-bottom: var(--sp-16);
  filter: brightness(0) invert(1);
}

.footer__brand-text {
  font-size: var(--fs-small);
  line-height: 1.7;
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--text-inverse);
  margin-bottom: var(--sp-24);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

.footer__link {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--turquoise);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-12);
  margin-bottom: var(--sp-16);
  font-size: var(--fs-small);
}

.footer__contact-icon {
  color: var(--turquoise);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--sp-24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-label);
  color: rgba(255, 255, 255, 0.4);
}

.footer__socials {
  display: flex;
  gap: var(--sp-16);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 100ms;
}

.reveal--delay-2 {
  transition-delay: 200ms;
}

.reveal--delay-3 {
  transition-delay: 300ms;
}

.reveal--delay-4 {
  transition-delay: 400ms;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-48);
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions__block {
    grid-template-columns: 1fr;
    gap: var(--sp-40);
  }

  .solutions__block--reverse .solutions__content,
  .solutions__block--reverse .solutions__visual {
    order: unset;
  }

  .methodology__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-40);
  }

  .methodology__steps::before {
    display: none;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: var(--sp-64) 0;
  }

  .container {
    padding: 0 var(--sp-16);
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: var(--sp-32);
    padding: var(--sp-48);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--duration-normal) var(--ease-out);
    z-index: 105;
  }

  .header__nav--open {
    right: 0;
  }

  .header__cta {
    display: none;
  }

  .header__menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--sp-40));
    padding-bottom: var(--sp-64);
  }

  .hero__badge {
    margin-left: auto;
    margin-right: auto;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .methodology__steps {
    grid-template-columns: 1fr;
  }

  .marquee__item img {
    height: 36px;
  }

  .marquee__track {
    gap: var(--sp-32);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-40);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--sp-16);
    text-align: center;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =============================================
   LEGAL PAGES & FOOTER SECONDARY NAV
   ============================================= */
.footer__bottom-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.footer__legal {
  display: flex;
  gap: var(--sp-16);
  font-size: 14px;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__legal a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer__legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--sp-12);
  }
}

/* Legal Pages (Termos, Privacidade, etc) */
.legal-page {
  background-color: var(--bg-alt);
  color: var(--text-muted);
  padding-top: calc(var(--header-height) + var(--sp-48));
  padding-bottom: var(--sp-96);
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--sp-24);
  background-color: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-64);
  border: 1px solid var(--border-light);
}

.legal-header {
  margin-bottom: var(--sp-48);
  text-align: center;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text);
  margin-bottom: var(--sp-12);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.legal-updated {
  font-size: var(--fs-small);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-content .legal-subtitle {
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 600;
  margin-top: var(--sp-48);
  margin-bottom: var(--sp-16);
}

.legal-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: var(--sp-16);
}

.legal-content .legal-highlight {
  font-weight: 600;
  color: var(--text);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  margin-bottom: var(--sp-32);
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease-out);
}

.legal-back:hover {
  color: var(--deep-blue);
}

.legal-section {
  margin-bottom: 32px;
}

.legal-list {
  padding-left: 20px;
  list-style-type: disc;
  margin-bottom: var(--sp-16);
}

.legal-list li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--sp-12);
}

.legal-list li::marker {
  color: var(--text-light);
}

.legal-icon-title {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-12);
}

.legal-icon-title svg {
  color: var(--cyan);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .legal-container {
    padding: var(--sp-32) var(--sp-24);
  }

  .legal-title {
    font-size: 1.5rem;
  }
}

/* =============================================
   COOKIE BANNER (TOAST/SNACKBAR)
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 100%;
  max-width: 380px;
  background-color: #1F2937;
  color: #F3F4F6;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 9999;
  font-size: 13px;
  line-height: 1.5;
  font-family: var(--font-body);
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__text {
  margin: 0;
  font-size: 14px;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
}

.cookie-banner__btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  border: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cookie-banner__btn--accept {
  background-color: var(--cyan);
  color: #111827;
}

.cookie-banner__btn--accept:hover {
  background-color: var(--turquoise);
  transform: translateY(-1px);
}

.cookie-banner__btn--config {
  background-color: transparent;
  color: #D1D5DB;
  border: 1px solid #4B5563;
}

.cookie-banner__btn--config:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
  }
}