/* ============================================================
   AVENZAE — DESIGN SYSTEM & STYLES
   Premium consulting website  |  2026
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0F172A;
  --blue: #2563EB;
  --teal: #14B8A6;
  --purple: #7C3AED;
  --amber: #F59E0B;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, .07), 0 2px 4px -2px rgba(15, 23, 42, .05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, .08), 0 4px 6px -4px rgba(15, 23, 42, .04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, .1), 0 8px 10px -6px rgba(15, 23, 42, .06);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, .2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: .9rem;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  padding: 10px 24px;
  white-space: nowrap;
}

.btn--sm {
  padding: 8px 20px;
  font-size: .85rem;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn--primary:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, .35);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-300);
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, .25);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all .35s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.navbar__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s cubic-bezier(.17, .67, .83, .67);
}

.navbar__brand:hover .navbar__logo-icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.4));
}

.navbar__name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  transition: color .35s;
}

.navbar.scrolled .navbar__name {
  color: var(--navy);
}

.navbar__links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.navbar__links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  transition: color .2s;
}

.navbar__links a:hover {
  color: var(--white);
}

.navbar.scrolled .navbar__links a {
  color: var(--gray-600);
}

.navbar.scrolled .navbar__links a:hover {
  color: var(--navy);
}

.navbar__links .btn {
  color: var(--white);
}

.navbar.scrolled .navbar__links .btn {
  color: var(--white);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

.navbar.scrolled .navbar__toggle span {
  background: var(--navy);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
  padding: 120px 0 60px;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: .4;
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  z-index: 2;
  transition: transform .15s ease-out;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, .15);
  border: 1px solid rgba(37, 99, 235, .25);
  color: #93C5FD;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 24px;
  animation: heroBadgeGlow 3s ease-in-out infinite, heroFadeUp .8s .2s both;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  animation: heroFadeUp .8s .4s both;
}

.hero__title span.hero__highlight {
  background: linear-gradient(90deg, #D97706, #B45309);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-400);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.75;
  animation: heroFadeUp .8s .6s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  animation: heroFadeUp .8s .8s both;
}

.hero__actions .btn--primary {
  position: relative;
  overflow: hidden;
}

.hero__actions .btn--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 3s 2s infinite;
}

/* Hero Note */
.hero__note {
  font-size: .9rem;
  color: var(--gray-400);
  font-style: italic;
  margin-bottom: 32px;
  animation: heroFadeUp .8s .9s both;
}

/* Hero Trust Strip */
.hero__trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: heroFadeUp .8s 1s both;
}

.hero__trust span {
  font-size: .82rem;
  color: var(--teal);
  font-weight: 500;
  letter-spacing: .03em;
}

/* Hero Metrics */
.hero__metrics {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: heroFadeUp .8s 1s both;
}

.hero__metric {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__metric-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
}

.hero__metric-suffix {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
}

.hero__metric-label {
  font-size: .8rem;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

/* Hero Dashboard Widget */
.hero__dashboard {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  animation: heroScaleUp 1s 1.2s both;
}

.hero__dashboard::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563EB, #14B8A6, #7C3AED, #2563EB);
  background-size: 300% 300%;
  animation: gradientBorder 6s ease infinite;
  z-index: -1;
  opacity: .5;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScaleUp {
  from {
    opacity: 0;
    transform: translateY(60px) scale(.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroBadgeGlow {

  0%,
  100% {
    box-shadow: 0 0 8px rgba(37, 99, 235, .15);
  }

  50% {
    box-shadow: 0 0 20px rgba(37, 99, 235, .35), 0 0 40px rgba(37, 99, 235, .1);
  }
}

@keyframes gradientBorder {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes btnShimmer {
  0% {
    left: -75%;
  }

  100% {
    left: 150%;
  }
}

.dashboard {
  background: rgba(30, 41, 59, .75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .4);
}

.dashboard__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.dashboard__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dashboard__dot--red {
  background: #EF4444;
}

.dashboard__dot--yellow {
  background: #F59E0B;
}

.dashboard__dot--green {
  background: #22C55E;
}

.dashboard__title {
  margin-left: 8px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--gray-400);
}

.dashboard__body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 0;
}

.dashboard__chart {
  padding: 24px;
  height: 220px;
}

.dashboard__chart canvas {
  width: 100% !important;
  height: 100% !important;
}

.dashboard__stats {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid rgba(255, 255, 255, .06);
}

.dashboard__stat {
  display: flex;
  flex-direction: column;
}

.dashboard__stat-label {
  font-size: .7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.dashboard__stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.dashboard__stat-change {
  font-size: .72rem;
  font-weight: 600;
}

.dashboard__stat-change--up {
  color: #22C55E;
}

.dashboard__stat-change--down {
  color: #22C55E;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 100px 0;
}

.section--gray {
  background: var(--gray-50);
}

.section--dark {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.section--accent {
  background: linear-gradient(135deg, var(--gray-50) 0%, #EFF6FF 100%);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__badge {
  display: inline-block;
  background: rgba(37, 99, 235, .08);
  color: var(--blue);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.section__badge--light {
  background: rgba(255, 255, 255, .12);
  color: var(--teal);
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.section__title--light {
  color: var(--white);
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.75;
}

.section__subtitle--light {
  color: var(--gray-400);
}

/* ---------- PROBLEM CARDS ---------- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all .3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.problem-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: #FEF2F2;
  color: #EF4444;
  margin-bottom: 20px;
}

.problem-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.problem-card__text {
  font-size: .92rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ---------- FRAMEWORK ---------- */
.framework {
  display: flex;
  gap: 0;
  position: relative;
}

.framework__step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin: 0 8px;
  transition: all .35s ease;
}

.framework__step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue);
}

.framework__number {
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
  letter-spacing: .06em;
}

.framework__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(20, 184, 166, .08));
  color: var(--blue);
  margin: 0 auto 16px;
}

.framework__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.framework__text {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.framework__connector {
  display: none;
}

/* Framework connector arrows — desktop only */
@media (min-width: 900px) {
  .framework__connector {
    display: block;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    z-index: 5;
  }

  .framework__connector::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--blue);
    top: 0;
    left: 0;
  }

  .framework__connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 6px solid var(--blue);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
  }
}

/* ---------- CLIENT JOURNEY ---------- */
.journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.journey__step {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
  transition: all .3s ease;
}

.journey__step:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(37, 99, 235, .3);
  transform: translateY(-4px);
}

.journey__icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, .2), rgba(20, 184, 166, .2));
  color: var(--teal);
  margin: 0 auto 16px;
}

.journey__number {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.journey__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.journey__text {
  font-size: .88rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ---------- CAPABILITIES ---------- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.capabilities-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.capability-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .35s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.capability-card__icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.capability-card__icon-wrap--blue {
  background: rgba(37, 99, 235, .1);
  color: var(--blue);
}

.capability-card__icon-wrap--teal {
  background: rgba(20, 184, 166, .1);
  color: var(--teal);
}

.capability-card__icon-wrap--purple {
  background: rgba(124, 58, 237, .1);
  color: var(--purple);
}

.capability-card__icon-wrap--navy {
  background: rgba(15, 23, 42, .08);
  color: var(--navy);
}

.capability-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.capability-card__desc {
  font-size: .92rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.capability-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.capability-card__list li {
  font-size: .9rem;
  color: var(--gray-600);
  padding-left: 24px;
  position: relative;
}

.capability-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- GROWTH AUDIT ---------- */
.audit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.audit__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.audit__text {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.7;
}

.audit__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.audit__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--gray-700);
  font-weight: 500;
}

.audit__list li svg {
  color: var(--teal);
  flex-shrink: 0;
}

/* Audit Card Visual */
.audit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--gray-200);
}

.audit-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}

.audit-card__logo {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
}

.audit-card__title-sm {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
}

.audit-card__sub {
  display: block;
  font-size: .78rem;
  color: var(--gray-400);
}

.audit-card__score {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 28px;
  height: 120px;
}

.audit-card__ring {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.audit-card__ring-fill {
  transition: stroke-dasharray 1.5s ease;
}

.audit-card__score-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.audit-card__score-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
}

.audit-card__score-label {
  font-size: .72rem;
  color: var(--gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.audit-card__bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.audit-card__bar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audit-card__bar-item span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-600);
}

.audit-card__bar {
  height: 8px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
}

.audit-card__bar-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 4px;
  transition: width 1.2s ease;
}

.audit-card__bar-fill--teal {
  background: var(--teal);
}

.audit-card__bar-fill--amber {
  background: var(--amber);
}

/* ---------- CASE STUDIES ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.case-card__tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(37, 99, 235, .08);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.case-card__tag--teal {
  background: rgba(20, 184, 166, .08);
  color: var(--teal);
}

.case-card__tag--purple {
  background: rgba(124, 58, 237, .08);
  color: var(--purple);
}

.case-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.35;
}

.case-card__section {
  margin-bottom: 16px;
}

.case-card__label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}

.case-card__section p {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.case-card__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.case-card__result {
  display: flex;
  flex-direction: column;
}

.case-card__result-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
}

.case-card__result-label {
  font-size: .75rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ---------- AUTHORITY ASSETS ---------- */
.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.authority-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all .35s ease;
}

.authority-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.authority-card__icon {
  color: var(--blue);
  margin-bottom: 20px;
}

.authority-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.authority-card__text {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 20px;
}

.authority-card__includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.authority-card__includes li {
  font-size: .85rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}

.authority-card__includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- PACKAGES ---------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.package-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all .35s ease;
  position: relative;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.package-card--featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.package-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

.package-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  padding: 4px 20px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}

.package-card__header {
  margin-bottom: 24px;
}

.package-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.package-card__desc {
  font-size: .88rem;
  color: var(--gray-500);
}

.package-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 28px;
}

.package-card__currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-400);
}

.package-card__amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.package-card__period {
  font-size: .85rem;
  color: var(--gray-400);
  font-weight: 500;
}

.package-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.package-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray-600);
}

.package-card__features li svg {
  flex-shrink: 0;
}

/* ---------- FINAL CTA ---------- */
.section--cta {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 40%, #0F172A 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section--cta::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, .2), transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.section--cta::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, .15), transparent 70%);
  bottom: -100px;
  left: -50px;
  pointer-events: none;
}

.cta-block {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-block__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.cta-block__text {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.cta-block__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--gray-900);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__tagline {
  font-size: .88rem;
  color: var(--gray-400);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer__heading {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: .88rem;
  color: var(--gray-400);
  transition: color .2s;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-top: 24px;
}

.footer__bottom p {
  font-size: .82rem;
  color: var(--gray-500);
  text-align: center;
}

/* ---------- ANIMATIONS ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll:nth-child(2) {
  transition-delay: .08s;
}

.animate-on-scroll:nth-child(3) {
  transition-delay: .16s;
}

.animate-on-scroll:nth-child(4) {
  transition-delay: .24s;
}

.animate-on-scroll:nth-child(5) {
  transition-delay: .32s;
}

.animate-on-scroll:nth-child(6) {
  transition-delay: .40s;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .framework {
    flex-wrap: wrap;
    gap: 16px;
  }

  .framework__step {
    flex: 1 1 calc(33% - 16px);
    min-width: 200px;
    margin: 0;
  }

  .framework__connector {
    display: none;
  }

  .cases-grid,
  .authority-grid,
  .packages-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 20px;
    transition: right .35s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, .1);
  }

  .navbar__links.active {
    right: 0;
  }

  .navbar__links a {
    color: var(--gray-700) !important;
    font-size: 1rem;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 100px 0 40px;
    min-height: auto;
  }

  .hero__title br {
    display: none;
  }

  .hero__metrics {
    gap: 24px;
  }

  .dashboard__body {
    grid-template-columns: 1fr;
  }

  .dashboard__stats {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .dashboard__stat {
    flex: 1 1 45%;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

  .framework__step {
    flex: 1 1 100%;
  }

  .journey {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .capabilities-grid,
  .cases-grid,
  .authority-grid,
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .audit {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .package-card--featured {
    transform: none;
  }

  .package-card--featured:hover {
    transform: translateY(-4px);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__metrics {
    flex-direction: column;
    gap: 16px;
  }

  .cta-block__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    width: 100%;
  }
}

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .8s ease, visibility .8s;
}

body.loaded .preloader {
  opacity: 0;
  visibility: hidden;
}

.preloader__inner {
  text-align: center;
}

.preloader__logo {
  margin-bottom: 24px;
  animation: preloaderPulse 2s ease-in-out infinite;
}

.preloader__bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, .1);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 2px;
}

.preloader__bar-fill {
  width: 100%;
  height: 100%;
  background: var(--blue);
  transform: translateX(-100%);
  animation: preloaderFill 2s cubic-bezier(.65, 0, .35, 1) forwards;
}

@keyframes preloaderPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: .7;
  }
}

@keyframes preloaderFill {
  to {
    transform: translateX(0);
  }
}

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  z-index: 1001;
  transition: width .1s ease;
}

/* ---------- LOGO BAR ---------- */
.logo-bar {
  padding: 48px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.logo-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  opacity: .5;
  filter: grayscale(1);
  transition: opacity .3s, filter .3s;
}

.logo-bar__inner:hover {
  opacity: .8;
  filter: grayscale(0);
}

.logo-bar__logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-400);
}

/* ---------- STICKY CTA BAR ---------- */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 100px);
  background: rgba(15, 23, 42, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
  transition: transform .4s cubic-bezier(.17, .67, .83, .67), opacity .4s;
  opacity: 0;
  pointer-events: none;
}

.sticky-cta.visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: all;
}

.sticky-cta__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sticky-cta__text {
  color: var(--white);
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .sticky-cta {
    bottom: 16px;
    width: calc(100% - 32px);
    border-radius: var(--radius-md);
    padding: 16px;
  }

  .sticky-cta__inner {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .sticky-cta__text {
    text-align: center;
  }

  .sticky-cta .btn {
    width: 100%;
  }
}

/* ---------- ACCESSIBILITY & FOCUS ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ---------- PERFORMANCE OPTIMIZATIONS ---------- */
.animate-on-scroll,
.hero__canvas,
.preloader,
.sticky-cta {
  will-change: transform, opacity;
}

.hero__canvas {
  will-change: transform;
}

/* ---------- GROWTH BLUEPRINT FORM ---------- */
.growth-form-panel {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.growth-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.growth-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.growth-form__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.growth-form__input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.growth-form__input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--blue);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.growth-form__input::placeholder {
  color: var(--gray-600);
}

select.growth-form__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

.growth-form__status {
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.growth-form__status.success {
  color: var(--teal);
}

.growth-form__status.error {
  color: #EF4444;
}

@media (max-width: 640px) {
  .growth-form-panel {
    padding: 32px 24px;
  }

  .growth-form__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}