/*
Theme Name: RevLabs Theme
Theme URI: https://revlabs.com
Author: RevLabs
Author URI: https://revlabs.com
Description: Tema WordPress da Rev.Labs - Engenharia de receita para crescimento previsível.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: revlabs
*/

/* ══════════════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300;400;500;600;700;800&display=swap');

:root {
  --background: hsl(195, 100%, 3%);
  --foreground: hsl(0, 0%, 96%);
  --card: hsl(197, 30%, 6%);
  --card-foreground: hsl(0, 0%, 96%);
  --primary: hsl(211, 96%, 41%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(197, 15%, 12%);
  --secondary-foreground: hsl(0, 0%, 96%);
  --muted: hsl(200, 8%, 15%);
  --muted-foreground: hsl(204, 8%, 65%);
  --accent: hsl(120, 73%, 55%);
  --accent-foreground: hsl(195, 100%, 3%);
  --destructive: hsl(0, 72%, 51%);
  --border: hsl(200, 10%, 14%);
  --input: hsl(200, 10%, 14%);
  --ring: hsl(211, 96%, 41%);
  --radius: 0px;

  /* Brand */
  --brand-blue: hsl(211, 96%, 41%);
  --brand-green: hsl(120, 73%, 55%);
  --brand-light: hsl(0, 0%, 96%);
  --brand-gray: hsl(204, 8%, 79%);
  --brand-dark: hsl(197, 20%, 8%);
  --brand-darkest: hsl(195, 100%, 3%);
  --brand-purple: hsl(262, 100%, 64%);
  --brand-pink: hsl(299, 73%, 55%);
  --brand-red: hsl(0, 78%, 58%);
  --brand-orange: hsl(16, 100%, 63%);
  --brand-yellow: hsl(56, 89%, 57%);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Funnel Display", system-ui, sans-serif;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ══════════════════════════════════════════════════════════════
   CONTAINER
   ══════════════════════════════════════════════════════════════ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ══════════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════════ */
.sq-mark {
  font-size: 0.42em;
  vertical-align: -0.18em;
  line-height: 0;
}

.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
}

.gradient-blue-green {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
}

.glow-blue {
  box-shadow: 0 0 40px -10px hsla(211, 96%, 41%, 0.4);
}

.text-brand-green { color: var(--brand-green); }
.text-brand-blue { color: var(--brand-blue); }
.text-brand-orange { color: var(--brand-orange); }
.text-brand-purple { color: var(--brand-purple); }
.text-brand-red { color: var(--brand-red); }
.text-brand-yellow { color: var(--brand-yellow); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-foreground { color: var(--foreground); }
.text-primary-foreground { color: var(--primary-foreground); }

.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }

.border-border { border-color: var(--border); }

.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }

/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }

/* ══════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
  background: transparent;
}

.navbar.scrolled {
  background: hsla(195, 100%, 3%, 0.9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  position: relative;
}

.navbar-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  background: transparent;
  border: 0;
  padding: 0;
}

.navbar-logo img {
  height: 3rem;
  display: block;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.navbar-links button {
  transition: color 0.2s;
}

.navbar-links button:hover {
  color: var(--foreground);
}

.navbar-cta {
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.navbar-cta:hover {
  opacity: 0.9;
}

.navbar-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: hsla(195, 100%, 3%, 0.72);
  border: 1px solid var(--border);
  padding: 0;
}

.navbar-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--foreground);
}

@media (max-width: 767px) {
  .navbar-inner {
    padding: 0.875rem 1rem;
  }

  .navbar-logo {
    justify-content: flex-start;
  }

  .navbar-logo img {
    height: 2.25rem;
  }

  .navbar-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    background: hsla(195, 100%, 3%, 0.96);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
  }

  .navbar-links.is-open {
    display: flex;
  }

  .navbar-links button {
    width: 100%;
    text-align: left;
    padding: 0.25rem 0;
  }
}

@media (min-width: 768px) {
  .navbar-toggle {
    display: none;
  }

  .navbar-links {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .navbar-actions {
    gap: 0.75rem;
  }

  .navbar-cta {
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
  }
}
@media (max-width: 767px) {
  .navbar-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    background: hsla(195, 100%, 3%, 0.96);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
  }

  .navbar-links.is-open {
    display: flex;
  }
}
/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 115vh;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: hsla(195, 100%, 3%, 0.3);
}
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}
.hero-text-wrap {
  max-width: 48rem;
  margin-left: auto;
  margin-right: 5%;
  width: 100%;
}
.hero-logo {
  height: 5rem;
  margin-bottom: 1rem;
  margin-top: 3rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--brand-green);
}
.hero-badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.3em;
}
.hero-headline {
  font-family: "Funnel Display", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 1.25rem;
  max-width: 42rem;
  line-height: 1.6;
}
.hero-p1, .hero-p2 {
  max-width: 42rem;
  line-height: 1.6;
  will-change: transform;
}
.hero-p1 {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}
.hero-p2 {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}
.hero-cta {
  font-family: "Funnel Display", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 1rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.hero-cta:hover {
  opacity: 0.9;
  transform: scale(1.05);
}
.hero-hint {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.hero-hint svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
  animation: bounce 1s infinite;
}
.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
  z-index: 10;
}

@media (min-width: 768px) {
  .hero-logo { height: 7rem; }
  .hero-headline { font-size: 1.5rem; }
  .hero-p1 { font-size: 1.125rem; }
}
@media (min-width: 1024px) {
  .hero-logo { height: 8rem; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    align-items: flex-start;
  }

  .hero-content {
    height: 100svh;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 7.5rem;
    padding-bottom: 2rem;
  }

  .hero-text-wrap {
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 34rem;
  }

  #hero-head,
  #hero-p1,
  #hero-p2,
  #hero-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #hero-head {
    transform: translateY(calc(2vh - 0px)) !important;
  }

  .hero-logo {
    height: 3.4rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
  }

  .hero-badge {
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
  }

  .hero-badge-text {
    font-size: 0.76rem;
    letter-spacing: 0.18em;
  }

  .hero-headline {
    max-width: 18.5rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.75rem;
    font-size: 0.96rem;
    line-height: 1.38;
    text-align: center;
  }

  .hero-p1,
  .hero-p2 {
    max-width: 18.75rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-p1 {
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
  }

  .hero-p2 {
    font-size: 0.82rem;
    margin-bottom: 0.9rem;
  }

  .hero-cta {
    width: 100%;
    max-width: 18.5rem;
    justify-content: center;
    font-size: 0.92rem;
    padding: 0.9rem 1.15rem;
  }

  .hero-hint {
    bottom: 1rem;
  }

  .hero-hint svg {
    width: 1rem;
    height: 1rem;
  }
}
/* ══════════════════════════════════════════════════════════════
   CLIENT BAR
   ══════════════════════════════════════════════════════════════ */
.client-bar {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.client-bar-corner-tl {
  position: absolute;
  top: 0;
  left: 0;
  width: 8rem;
  height: 8rem;
  border-left: 2px solid hsla(211, 96%, 41%, 0.2);
  border-top: 2px solid hsla(211, 96%, 41%, 0.2);
}
.client-bar-corner-br {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  border-right: 2px solid hsla(120, 73%, 55%, 0.2);
  border-bottom: 2px solid hsla(120, 73%, 55%, 0.2);
}
.client-bar-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 0 1.5rem;
}
.client-bar-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.client-bar-title {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-align: center;
  white-space: nowrap;
}
.client-bar-track {
  position: relative;
}
.client-bar-scroll {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.client-bar-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 2.5rem;
}
.client-bar-item-dot {
  width: 0.375rem;
  height: 0.375rem;
  background: hsla(211, 96%, 41%, 0.4);
  transition: background 0.2s;
}
.client-bar-item:hover .client-bar-item-dot {
  background: var(--brand-green);
}
.client-bar-item-name {
  font-family: "Funnel Display", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsla(204, 8%, 65%, 0.4);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.client-bar-item:hover .client-bar-item-name {
  color: hsla(204, 8%, 65%, 0.7);
}
.client-bar-fade-left,
.client-bar-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10rem;
  pointer-events: none;
  z-index: 2;
}
.client-bar-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--background), transparent);
}
.client-bar-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--background), transparent);
}
.client-bar-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.85;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.client-bar-item:hover .client-bar-logo {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .client-bar-header {
    justify-content: center;
    padding: 0 1rem;
    gap: 0.75rem;
  }

  .client-bar-line {
    display: none;
  }

  .client-bar-title {
    width: 100%;
    text-align: center;
    white-space: normal;
    line-height: 1.5;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    margin: 0 auto;
  }
}
/* ══════════════════════════════════════════════════════════════
   PROBLEM SECTION
   ══════════════════════════════════════════════════════════════ */
.problem-section {
  padding: 6rem 0 8rem;
}

.problem-section .container {
  max-width: 72rem;
}

.problem-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 1.5rem;
}

.problem-subtitle {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 4rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: stretch;
}

.problem-card {
  position: relative;
  overflow: hidden;
  border: 1px solid hsla(12, 85%, 60%, 0.14);
  background: linear-gradient(180deg, hsla(10, 28%, 10%, 0.88), hsla(197, 30%, 6%, 0.86));
  backdrop-filter: blur(6px);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  text-align: center;
  box-shadow:
    0 0 40px -16px hsla(12, 85%, 60%, 0.22),
    inset 0 1px 0 0 hsla(12, 85%, 60%, 0.08);
}

.problem-card-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.problem-card-left .problem-card-gradient,
.problem-card-right .problem-card-gradient {
  background:
    radial-gradient(circle at top, hsla(12, 85%, 60%, 0.10), transparent 55%),
    linear-gradient(to bottom, hsla(0, 70%, 55%, 0.05), transparent 65%);
}

.problem-card-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 24rem;
  margin: 0 auto;
}

.problem-card-icon {
  display: none;
}

.problem-card p {
  color: hsla(0, 0%, 100%, 0.92);
  font-size: 1.06rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.problem-card p:last-child {
  margin-bottom: 0;
}

.problem-card-bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, hsla(12, 85%, 60%, 0.28), transparent);
}

/* Center chaos block */
.problem-chaos {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: transparent;
}

.problem-chaos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--background) 0%, transparent 14%, transparent 86%, var(--background) 100%),
    linear-gradient(to bottom, var(--background) 0%, transparent 14%, transparent 86%, var(--background) 100%);
}

.problem-chaos canvas,
#chaos-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.problem-chaos-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  pointer-events: none;
  padding: 2rem;
}

.problem-chaos-label span {
  font-family: "Funnel Display", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: hsla(16, 100%, 66%, 0.96);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow:
    0 0 18px hsla(16, 100%, 63%, 0.18),
    0 0 40px hsla(0, 80%, 56%, 0.10);
}

/* Bottom alert */
.problem-alert {
  position: relative;
  overflow: hidden;
  border: 1px solid hsla(16, 100%, 63%, 0.18);
  background:
    linear-gradient(90deg, hsla(10, 30%, 10%, 0.78), hsla(197, 30%, 6%, 0.72), hsla(10, 30%, 10%, 0.78));
  backdrop-filter: blur(6px);
  padding: 1.75rem 2rem;
  max-width: 62rem;
  margin: 0 auto;
  box-shadow:
    0 0 34px -12px hsla(16, 100%, 63%, 0.24),
    inset 0 1px 0 0 hsla(16, 100%, 63%, 0.08);
}

.problem-alert-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(16, 100%, 63%, 0.05), transparent, hsla(0, 78%, 56%, 0.05));
  pointer-events: none;
}

.problem-alert-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: left;
}

.problem-alert-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsla(16, 100%, 63%, 0.22);
  background: hsla(16, 100%, 63%, 0.10);
  flex-shrink: 0;
}

.problem-alert-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-orange);
  stroke-width: 1.8;
}

.problem-alert p {
  color: hsla(0, 0%, 100%, 0.78);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}

.problem-alert-bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, hsla(16, 100%, 63%, 0.32), transparent);
}

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .problem-title {
    font-size: 3rem;
  }

  .problem-chaos-label span {
    font-size: 1.2rem;
  }
}

@media (max-width: 767px) {
  .problem-alert-content {
    flex-direction: column;
    text-align: center;
  }
}
/* ══════════════════════════════════════════════════════════════
   ROLE SECTION
   ══════════════════════════════════════════════════════════════ */
.role-section {
  padding: 6rem 0 8rem;
  position: relative;
}
.role-section-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsla(211, 96%, 41%, 0.05), transparent);
  pointer-events: none;
}
.role-section .container {
  max-width: 56rem;
  position: relative;
  z-index: 1;
}
.role-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
}
.role-p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.role-box {
  padding: 2rem;
  border: 1px solid hsla(211, 96%, 41%, 0.2);
  background: hsla(211, 96%, 41%, 0.05);
  backdrop-filter: blur(4px);
  margin-top: 2.5rem;
}
.role-box p {
  color: var(--foreground);
  font-size: 1.125rem;
  line-height: 1.6;
}
.role-box .highlight {
  color: var(--brand-green);
  font-weight: 600;
}

@media (min-width: 768px) {
  .role-title { font-size: 3rem; }
}

/* ══════════════════════════════════════════════════════════════
   ENGINEERING SECTION
   ══════════════════════════════════════════════════════════════ */
.engineering-section {
  position: relative;
  background: #f5f6f8;
}
.engineering-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  overflow: hidden;
}
.engineering-header {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}
.engineering-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0a1628;
}
.engineering-title-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, var(--brand-blue), var(--brand-green));
}
.engineering-cards {
  position: relative;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 420px;
}
.engineering-card {
  position: absolute;
  inset: 0;
  transition: all 0.7s ease-out;
  border-top: 2px solid;
}
.engineering-card-inner {
  background: #fff;
  border: 1px solid #e2e5ea;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.engineering-card-anim {
  position: relative;
  flex: 1;
  background: #0a1628;
  overflow: hidden;
}
.engineering-card-anim canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.engineering-card-icon-overlay {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.engineering-card-icon-overlay svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 1.8;
}
.engineering-card-body {
  padding: 1.25rem 1.75rem 1.5rem;
}
.engineering-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0a1628;
  margin-bottom: 0.5rem;
}
.engineering-card-body .desc {
  color: #5a6274;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.engineering-card-body .impact {
  font-size: 0.75rem;
  color: rgba(10, 22, 40, 0.7);
  font-weight: 500;
  border-top: 1px solid #e2e5ea;
  padding-top: 0.75rem;
}

/* Card colors */
.engineering-card.color-blue { border-top-color: var(--brand-blue); }
.engineering-card.color-green { border-top-color: var(--brand-green); }
.engineering-card.color-orange { border-top-color: var(--brand-orange); }
.engineering-card.color-purple { border-top-color: var(--brand-purple); }

/* Progress dots */
.engineering-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}
.engineering-dot {
  width: 0.5rem;
  height: 0.5rem;
  transition: all 0.3s;
  background: #c8ccd4;
  transform: scale(0.75);
}
.engineering-dot.active {
  background: var(--brand-blue);
  transform: scale(1);
}

@media (min-width: 768px) {
  .engineering-title { font-size: 3rem; }
}

/* ══════════════════════════════════════════════════════════════
   METHOD SECTION
   ══════════════════════════════════════════════════════════════ */
.method-section {
  padding: 6rem 0 8rem;
  position: relative;
}
.method-section-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsla(120, 73%, 55%, 0.03), transparent);
  pointer-events: none;
}
.method-section .container {
  max-width: 56rem;
  position: relative;
  z-index: 1;
}
.method-header {
  text-align: center;
  margin-bottom: 4rem;
}
.method-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
}
.method-title img {
  display: inline;
  height: 0.85em;
  vertical-align: baseline;
  margin: 0 0.25rem;
}
.method-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 1rem;
}
.method-steps {
  background: var(--border);
}
.method-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
  margin-bottom: 1px;
}
.method-step:hover {
  border-color: hsla(211, 96%, 41%, 0.3);
}
.method-step-letter {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Funnel Display", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-foreground);
}
.method-step h3 {
  font-weight: 600;
  color: var(--foreground);
  font-size: 1.125rem;
}
.method-step p {
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .method-title { font-size: 3rem; }
  .method-subtitle { font-size: 1.875rem; }
}

/* ══════════════════════════════════════════════════════════════
   RADAR SECTION
   ══════════════════════════════════════════════════════════════ */
.radar-section {
  padding: 6rem 0 8rem;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.radar-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}
.radar-intro-text {
  flex: 1;
  max-width: 36rem;
}
.radar-intro-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary-foreground);
}
.radar-intro-title span {
  opacity: 0.9;
}
.radar-intro-p {
  font-size: 1rem;
  color: hsla(0, 0%, 100%, 0.8);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.radar-intro-p-small {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.6);
  margin-bottom: 2.5rem;
}
.radar-start-btn {
  background: var(--primary-foreground);
  color: var(--primary);
  padding: 1rem 2rem;
  font-family: "Funnel Display", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.radar-start-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}
.radar-chart-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}
.radar-chart-wrap svg {
  width: 100%;
  max-width: 320px;
}

/* Quiz */
.radar-quiz {
  max-width: 48rem;
  margin: 0 auto;
}
.radar-quiz-inner {
  padding: 2rem;
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  background: hsla(0, 0%, 100%, 0.05);
  backdrop-filter: blur(4px);
}
.radar-quiz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.radar-quiz-count {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
}
.radar-quiz-category {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: hsla(0, 0%, 100%, 0.1);
  color: var(--primary-foreground);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.radar-quiz-progress {
  width: 100%;
  height: 0.25rem;
  background: hsla(0, 0%, 100%, 0.1);
  margin-bottom: 2rem;
}
.radar-quiz-progress-bar {
  height: 100%;
  background: var(--primary-foreground);
  transition: width 0.5s;
}
.radar-quiz-question {
  font-family: "Funnel Display", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}
.radar-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.radar-quiz-option {
  width: 100%;
  text-align: left;
  padding: 1rem;
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  background: hsla(211, 96%, 41%, 0.5);
  color: var(--primary-foreground);
  transition: all 0.2s;
  font-size: 1rem;
}
.radar-quiz-option:hover {
  border-color: hsla(0, 0%, 100%, 0.5);
  background: hsla(0, 0%, 100%, 0.1);
}
.radar-quiz-back {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.6);
  transition: color 0.2s;
}
.radar-quiz-back:hover {
  color: var(--primary-foreground);
}
.radar-quiz-back svg {
  width: 1rem;
  height: 1rem;
}

/* Results */
.radar-results {
  max-width: 48rem;
  margin: 0 auto;
}
.radar-results-inner {
  padding: 2rem;
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  background: hsla(0, 0%, 100%, 0.05);
  backdrop-filter: blur(4px);
}
.radar-results-score {
  text-align: center;
  margin-bottom: 2rem;
}
.radar-results-score-num {
  font-family: "Funnel Display", system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}
.radar-results-score-label {
  color: hsla(0, 0%, 100%, 0.7);
}
.radar-results-list {
  margin-bottom: 2rem;
}
.radar-results-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: hsla(211, 96%, 41%, 0.5);
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  margin-bottom: 1px;
}
.radar-results-item-name {
  font-weight: 500;
  color: var(--primary-foreground);
}
.radar-results-item-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.radar-results-bar {
  width: 6rem;
  height: 0.5rem;
  background: hsla(0, 0%, 100%, 0.1);
}
.radar-results-bar-fill {
  height: 100%;
  background: var(--primary-foreground);
}
.radar-results-item-label {
  font-size: 0.875rem;
  font-weight: 500;
}
.radar-results-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}
.radar-reset-btn {
  padding: 0.75rem 1.5rem;
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  color: var(--primary-foreground);
  font-weight: 500;
  transition: background 0.2s;
}
.radar-reset-btn:hover {
  background: hsla(0, 0%, 100%, 0.1);
}
.radar-download-btn {
  background: var(--primary-foreground);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  transition: opacity 0.2s;
}
.radar-download-btn:hover {
  opacity: 0.9;
}
.radar-download-btn svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 1024px) {
  .radar-intro {
    flex-direction: row;
    gap: 5rem;
  }
  .radar-intro-title { font-size: 3rem; }
  .radar-intro-p { font-size: 1.125rem; }
  .radar-chart-wrap svg { max-width: 400px; }
  .radar-results-actions { flex-direction: row; }
}

/* ══════════════════════════════════════════════════════════════
   REINFORCEMENT SECTION
   ══════════════════════════════════════════════════════════════ */
.reinforcement-section {
  padding: 6rem 0 8rem;
  position: relative;
}
.reinforcement-section-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsla(211, 96%, 41%, 0.05), transparent);
  pointer-events: none;
}
.reinforcement-section .container {
  max-width: 56rem;
  position: relative;
  z-index: 1;
  text-align: center;
}
.reinforcement-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.reinforcement-p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .reinforcement-title { font-size: 3rem; }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-logo img {
  height: 1.5rem;
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
  }
}

/* ══════════════════════════════════════════════════════════════
   LUCIDE ICONS (inline SVG defaults)
   ══════════════════════════════════════════════════════════════ */
.icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.site-footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-left,
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-location-title,
.footer-tagline,
.footer-copy {
  margin: 0;
}

.footer-location-title {
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 600;
}

.footer-location-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-location-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.footer-location-item svg {
  width: 16px;
  height: 16px;
  color: var(--brand-green);
  stroke-width: 1.8;
  flex-shrink: 0;
}

.footer-tagline {
  color: var(--muted-foreground);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 24rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: hsla(197, 30%, 8%, 0.9);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--brand-green);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.footer-copy {
  color: var(--muted-foreground);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 28rem;
}

@media (min-width: 900px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
  }

  .footer-left {
    min-width: 16rem;
  }

  .footer-right {
    align-items: flex-start;
    max-width: 32rem;
  }
@media (max-width: 767px) {
  .site-footer .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .site-footer .footer-left,
  .site-footer .footer-right {
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .site-footer .footer-location-title {
    text-align: left;
    margin-bottom: 0.4rem;
  }

  .site-footer .footer-location-list {
    width: 100%;
    align-items: flex-start;
  }

  .site-footer .footer-location-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    text-align: left;
  }

  .site-footer .footer-location-item svg {
    width: 18px;
    height: 18px;
  }

  .site-footer .footer-social {
    justify-content: flex-start;
    gap: 0.75rem;
    margin-top: 0.25rem;
  }

  .site-footer .footer-copy {
    text-align: left;
    margin-top: 0.5rem;
    font-size: 0.85rem;
  }

}
}