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

:root {
  --radius: 0.75rem;

  --background: oklch(0 0 0);
  --foreground: oklch(0.985 0 0);

  --surface: oklch(0.08 0.005 260);
  --surface-elevated: oklch(0.13 0.01 260);

  --card: oklch(0.08 0.005 260);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.1 0.005 260);
  --popover-foreground: oklch(0.985 0 0);

  --primary: oklch(0.65 0.22 252);
  --primary-foreground: oklch(0.02 0 0);
  --primary-glow: oklch(0.78 0.18 245);

  --secondary: oklch(0.18 0.01 260);
  --secondary-foreground: oklch(0.985 0 0);

  --muted: oklch(0.16 0.008 260);
  --muted-foreground: oklch(0.7 0.015 260);

  --accent: oklch(0.65 0.22 252);
  --accent-foreground: oklch(0.02 0 0);

  --destructive: oklch(0.62 0.24 27);
  --destructive-foreground: oklch(0.985 0 0);

  --border: oklch(1 0 0 / 8%);
  --input: oklch(1 0 0 / 12%);
  --ring: oklch(0.65 0.22 252);

  --gradient-primary: linear-gradient(135deg, oklch(0.65 0.22 252), oklch(0.78 0.18 245));
  --gradient-radial-glow: radial-gradient(circle at 50% 0%, oklch(0.65 0.22 252 / 0.18), transparent 60%);
  --gradient-text: linear-gradient(180deg, oklch(1 0 0), oklch(0.7 0.02 260));

  --shadow-glow: 0 0 40px -8px oklch(0.65 0.22 252 / 0.55), 0 0 80px -20px oklch(0.65 0.22 252 / 0.35);
  --shadow-glow-soft: 0 0 30px -10px oklch(0.65 0.22 252 / 0.4);
  --shadow-card: 0 10px 30px -10px oklch(0 0 0 / 0.6);
  --transition-smooth: 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  color-scheme: dark;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

::selection {
  background: oklch(0.65 0.22 252 / 0.35);
  color: oklch(0.985 0 0);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Text Utilities ===== */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

/* ===== Glass / Surface ===== */
.surface-glass {
  background: color-mix(in oklab, var(--background) 60%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
}

/* ===== Grid Fade ===== */
.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
}

/* ===== Glow Effects ===== */
.glow {
  box-shadow: var(--shadow-glow);
}

.glow-soft {
  box-shadow: var(--shadow-glow-soft);
}

.shadow-card {
  box-shadow: var(--shadow-card);
}

/* ===== Section Spacing ===== */
.section {
  position: relative;
  z-index: 2;
  background: var(--background);
  padding: 6rem 0;
}

@media (min-width: 640px) {
  .section {
    padding: 8rem 0;
  }
}

#hero-toggled {
  position: relative;
  z-index: 2;
  background: var(--background);
}

/* ===== Navbar ===== */
.navbar {
  z-index: 50;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 0.625rem 1rem;
  background: color-mix(in oklab, var(--background) 40%, transparent);
  backdrop-filter: blur(12px);
  transition: all 0.5s;
}

@media (min-width: 768px) {
  .navbar-inner {
    padding: 0.625rem 1.5rem;
  }
}

.navbar-inner.scrolled {
  background: color-mix(in oklab, var(--background) 60%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow-card);
}

.navbar-toggler {
  color: var(--foreground);
  font-size: 0.875rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-link-custom {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground) !important;
  transition: color 0.2s;
  padding: 0.5rem 0 !important;
}

.nav-link-custom:hover {
  color: var(--foreground) !important;
}

@media (max-width: 767.98px) {
  .navbar-collapse {
    background: color-mix(in oklab, var(--background) 85%, transparent);
    backdrop-filter: blur(20px);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    padding: 1rem;
    margin-top: 0.75rem;
  }

  .navbar-collapse .btn-nav {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
  }
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--primary);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-foreground);
  transition: all 0.3s;
  border: none;
}

.btn-nav:hover {
  box-shadow: var(--shadow-glow-soft);
  color: var(--primary-foreground);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 6rem 0 7rem;
}

@media (min-width: 640px) {
  .hero {
    padding: 10rem 0 9rem;
  }
}

.hero-radial {
  position: absolute;
  inset: 0;
  height: 100%;
  background: var(--gradient-radial-glow);
}

.hero-blur {
  position: absolute;
  left: 50%;
  top: 8rem;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(140px);
  background: var(--primary);
  transform: translateX(-50%);
}

/* Entrada escalonada do conteúdo principal */
.hero-radial {
  animation: hero-glow-enter 1.5s ease-out both;
}

.hero-blur {
  animation: hero-blur-enter 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-badge,
.hero-title,
.hero-subtitle,
.hero-actions,
.hero-marquee {
  animation: hero-content-enter 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-badge {
  animation-delay: 0.12s;
}

.hero-title {
  animation-delay: 0.28s;
}

.hero-subtitle {
  animation-delay: 0.48s;
}

.hero-actions {
  animation-delay: 0.68s;
}

.hero-marquee {
  animation-delay: 0.88s;
}

@keyframes hero-content-enter {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-glow-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hero-blur-enter {
  from {
    opacity: 0;
    transform: translateX(-50%) scale(0.7);
  }
  to {
    opacity: 0.4;
    transform: translateX(-50%) scale(1);
  }
}

/* Evita artefatos de composição do WebKit ao animar filtros na Hero. */
@keyframes hero-content-enter-ios {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 575.98px) {
    .hero-radial,
    .hero-blur {
      animation: none;
    }

    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-actions,
    .hero-marquee {
      animation-name: hero-content-enter-ios;
      animation-fill-mode: backwards;
    }
  }
}



.hero-content {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 60%, transparent);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  backdrop-filter: blur(4px);
}

.badge-dot {
  position: relative;
  display: flex;
  height: 0.5rem;
  width: 0.5rem;
}

.badge-dot .ping {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.75;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.badge-dot .solid {
  position: relative;
  display: inline-flex;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hero-title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.hero-subtitle {
  margin-top: 2rem;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-subtitle span {
  color: var(--foreground);
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: fit-content;
  margin: 3rem auto 0;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  justify-content: center;
}

.hero-actions .btn-secondary {
  padding: calc(0.875rem - 1px) calc(1.75rem - 1px);
}

@media (min-width: 640px) {
  .hero-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 9999px;
  background: var(--primary);
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-foreground);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow-glow-soft);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  color: var(--primary-foreground);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 50%, transparent);
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: oklch(0.65 0.22 252 / 0.4);
  background: var(--surface);
  color: var(--foreground);
}

.hero-marquee {
  margin-top: 5rem;
  margin-left: calc(-50vw + 50%);
  width: 100vw;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.marquee-track {
  display: inline-flex;
  animation: marquee-scroll 20s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-radial,
  .hero-blur,
  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-actions,
  .hero-marquee,
  .marquee-track,
  .badge-dot .ping {
    animation: none;
  }
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1rem 1rem;
  font-size: 1rem;
  flex-shrink: 0;
}

.marquee-tag {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--foreground);
  white-space: nowrap;
}

.marquee-dot {
  color: var(--primary);
  font-size: clamp(0.6rem, 1.2vw, 0.8rem);
  opacity: 0.6;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 575.98px) {
  .hero-badge {
    margin-bottom: 1.25rem;
  }

  .hero-subtitle {
    margin-top: 1.25rem;
  }

  .hero-actions {
    margin-top: 2rem;
  }

  .hero-marquee {
    margin-top: 3rem;
    padding: 0.875rem 0;
  }
}

/* ===== Section Headers ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface) 60%, transparent);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.section-title {
  margin-top: 1.5rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-desc {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .section-desc {
    font-size: 1.125rem;
  }
}

/* ===== Differential ===== */
.card-differential {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem;
  transition: all 0.5s;
}

.card-differential:hover {
  border-color: oklch(0.65 0.22 252 / 0.4);
  box-shadow: var(--shadow-card);
}

.card-differential::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.card-differential:hover::before {
  opacity: 1;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
}

.card-icon-box {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid oklch(0.65 0.22 252 / 0.3);
  background: oklch(0.65 0.22 252 / 0.1);
}

.card-icon-box svg {
  width: 1.5rem;
  height: 1.5rem;
}

.card-side-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.card-title-diff {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.card-desc {
  margin-top: 1rem;
  font-size: 15px;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.card-points {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.card-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: oklch(0.985 0 0 / 0.9);
}

.card-point-dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  flex-shrink: 0;
}

/* ===== Services ===== */
.services-desc {
  font-size: 1rem;
  color: var(--muted-foreground);
}

.card-service {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.75rem;
  transition: all 0.5s;
}

.card-service:hover {
  transform: translateY(-0.25rem);
  border-color: oklch(0.65 0.22 252 / 0.5);
}

.card-service::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: -1px;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.5s;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
    oklch(0.65 0.35 252 / 0.25),
    transparent 40%
  );
}

.card-service:hover::before {
  opacity: 1;
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.service-icon-box {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid oklch(0.65 0.22 252 / 0.3);
  background: oklch(0.65 0.22 252 / 0.1);
  color: var(--primary);
  transition: all 0.5s;
}

.card-service:hover .service-icon-box {
  box-shadow: var(--shadow-glow-soft);
}

.service-icon-box svg {
  width: 1.25rem;
  height: 1.25rem;
}

.service-number {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

.service-title {
  margin-top: 2rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
  position: relative;
  z-index: 1;
}

.service-desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  position: relative;
  z-index: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  position: relative;
  z-index: 1;
}

.service-tag {
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 50%, transparent);
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

/* ===== Methodology (vertical timeline) ===== */
.methodology-center {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.methodology-steps {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.steps-track {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 3px;
}

@media (min-width: 768px) {
  .steps-track {
    left: 50%;
    transform: translateX(-50%);
  }
}

.steps-line-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  background: oklch(0.65 0.22 252 / 0.15);
  border-radius: 3px;
}

.steps-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--gradient-primary);
  border-radius: 3px;
  box-shadow: 0 0 12px oklch(0.65 0.22 252 / 0.4);
}

.steps-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.step-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .step-item {
    gap: 0;
  }
  .step-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
  }
  .step-item:nth-child(odd) .step-card {
    margin-right: calc(50% + 2rem);
    margin-left: 0;
  }
  .step-item:nth-child(even) .step-card {
    margin-left: calc(50% + 2rem);
    margin-right: 0;
  }
}

.step-dot {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--background);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px var(--background), 0 0 16px oklch(0.65 0.22 252 / 0.3);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: 24px;
}

.step-dot.active {
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--background), 0 0 24px oklch(0.65 0.22 252 / 0.6);
  transform: scale(1.15);
}

@media (min-width: 768px) {
  .step-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 24px;
  }
  .step-dot.active {
    transform: translateX(-50%) scale(1.15);
  }
}

.step-card {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.step-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-card:hover {
  border-color: oklch(0.65 0.22 252 / 0.4);
  box-shadow: var(--shadow-card);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid oklch(0.65 0.22 252 / 0.3);
  background: oklch(0.65 0.22 252 / 0.1);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.step-body {
  margin-top: 1rem;
}

.step-title {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.step-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ===== Contact ===== */
.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem;
}

@media (min-width: 640px) {
  .contact-card {
    padding: 3.5rem;
  }
}

.contact-glow {
  position: absolute;
  pointer-events: none;
  inset: 0;
  background: var(--gradient-radial-glow);
}

.contact-line {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 66.666%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.contact-subtitle {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.contact-text {
  max-width: 28rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--foreground);
}

.contact-icon-box {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 60%, transparent);
  color: var(--primary);
  transition: all 0.2s;
  flex-shrink: 0;
}

.contact-link:hover .contact-icon-box {
  border-color: oklch(0.65 0.22 252 / 0.4);
}

.contact-icon-box svg {
  width: 1rem;
  height: 1rem;
}

.contact-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: oklch(0.7 0.015 260 / 0.7);
}

.contact-info-value {
  color: oklch(0.985 0 0 / 0.9);
}

/* ===== Form ===== */
.form {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
}

.form-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 60%, transparent);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  font-family: inherit;
  transition: all 0.2s;
}

.form-input::placeholder {
  color: oklch(0.7 0.015 260 / 0.6);
}

.form-input:focus {
  border-color: oklch(0.65 0.22 252 / 0.5);
  outline: none;
  box-shadow: 0 0 0 2px oklch(0.65 0.22 252 / 0.2);
}

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px color-mix(in oklab, var(--background) 60%, transparent) inset;
  -webkit-text-fill-color: var(--foreground);
  transition: background-color 5000s ease-in-out 0s;
}

.form-textarea {
  width: 100%;
  resize: none;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 60%, transparent);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  font-family: inherit;
  transition: all 0.2s;
}

.form-textarea::placeholder {
  color: oklch(0.7 0.015 260 / 0.6);
}

.form-textarea:focus {
  border-color: oklch(0.65 0.22 252 / 0.5);
  outline: none;
  box-shadow: 0 0 0 2px oklch(0.65 0.22 252 / 0.2);
}

.form-textarea:-webkit-autofill,
.form-textarea:-webkit-autofill:hover,
.form-textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px color-mix(in oklab, var(--background) 60%, transparent) inset;
  -webkit-text-fill-color: var(--foreground);
  transition: background-color 5000s ease-in-out 0s;
}

.form-error {
  display: block;
  color: oklch(0.65 0.25 25);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  min-height: 1.2em;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: var(--primary);
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-foreground);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow-glow-soft);
}

.btn-submit:hover {
  box-shadow: var(--shadow-glow);
  color: var(--primary-foreground);
}

/* ===== Footer ===== */
.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.footer-wordmark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  inset: auto 0;
  bottom: -2.5rem;
  text-align: center;
}

.footer-wordmark span {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 18vw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  opacity: 0.04;
}

.footer-wordmark .fg {
  color: var(--foreground);
}

.footer-wordmark .primary {
  color: var(--primary);
}

.footer-inner {
  position: relative;
  padding: 5rem 0 3rem;
}

.footer-desc {
  max-width: 28rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.footer-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

@media (max-width: 767.98px) {
  .footer-status {
    justify-content: center;
  }
}

.footer-status-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  flex-shrink: 0;
}

/* ===== Logo Component ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo-img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.logo-text {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.logo-text-fg {
  color: var(--foreground);
}

.logo-text-primary {
  color: var(--primary);
}

/* ===== Arrow Icon ===== */
.icon-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.btn-primary:hover .icon-arrow,
.btn-nav:hover .icon-arrow,
.btn-submit:hover .icon-arrow {
  transform: translateX(2px);
}

/* ===== Bootstrap Overrides ===== */
.modal-backdrop.show {
  opacity: 0.8;
}
