/* =============================================
   MVP Gestão Contábil — Design Tokens
   ============================================= */
:root {
  --color-primary: #5A2322;
  --color-accent: #D7B58D;
  --color-surface: #FCF1D6;
  --color-text: #151616;
  --color-background: #FEFCF8;
  --color-white: #FEFCF8;

  --font-display: 'Titillium Web', sans-serif;
  --font-body: 'Archivo', sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px oklch(0.25 0.04 25 / 0.06);
  --shadow-md: 0 8px 32px oklch(0.25 0.04 25 / 0.08);
  --shadow-lg: 0 16px 48px oklch(0.25 0.04 25 / 0.12);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease-out);

  --container: 1120px;
  --header-h: 72px;

  /* Brand assets — each used in one distinct role */
  --asset-pattern-tile: url('../assets/PATTERN%20MVP%20-%2003.png');
  --asset-mark-legacy: url('../assets/CONJUNTO%20DE%20SETAS%20MVP%20-%2006.png');
  --asset-arrow-large: url('../assets/arrow-large.svg');
  --asset-arrow-accent: url('../assets/arrow-accent.svg');
  --asset-deco-rings: url('../assets/deco-rings.svg');
  --asset-logo-h: url('../assets/LOGO%20PRINCIPAL%20MVP%20v2%20-%2001.svg');
  --asset-logo-h-light: url('../assets/LOGO%20PRINCIPAL%20MVP%20v2%20-%2006.svg');
  --asset-logo-principal: url('../assets/LOGO%20PRINCIPAL%20MVP%20v3%20-%2001.svg');
  --asset-logo-circle-gold: url('../assets/LOGO%20PRINCIPAL%20MVP%20v3%20-%2005.svg');
  --asset-logo-stacked: url('../assets/LOGO%20PRINCIPAL%20MVP%2001.svg');
  --asset-logo-stacked-dark: url('../assets/LOGO%20PRINCIPAL%20MVP%2004.svg');
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}

em {
  font-style: normal;
  color: var(--color-primary);
}

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-surface);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid oklch(0.35 0.06 25 / 0.2);
}

.btn--ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-accent);
  color: var(--color-primary);
  box-shadow: none;
  transform: none;
}

.btn__icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

/* Shine effect (Magic UI inspired) */
.btn--shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    oklch(0.95 0.02 80 / 0.35) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out);
}

.btn--shine:hover::after {
  transform: translateX(100%);
}

/* =============================================
   Header
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  background: oklch(0.99 0.01 85 / 0.85);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.header__logo img {
  height: 36px;
  width: auto;
}

@media (min-width: 900px) {
  .header__logo img {
    height: 40px;
  }
}

.header__nav {
  display: none;
  gap: 2rem;
}

.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(0.35 0.02 25);
  transition: color var(--transition);
}

.header__nav a:hover {
  color: var(--color-primary);
}

.header__cta {
  display: none;
}

.header__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.header__menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--color-background);
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.header__mobile-nav[hidden] {
  display: none;
}

.header__mobile-nav a {
  font-weight: 500;
  padding: 0.5rem 0;
}

.header__mobile-nav .btn {
  margin-top: 0.5rem;
  width: 100%;
}

@media (min-width: 900px) {
  .header__nav,
  .header__cta {
    display: flex;
  }

  .header__menu-btn {
    display: none;
  }
}

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 80% at 20% 20%, oklch(0.95 0.04 75 / 0.7) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 85% 75%, oklch(0.35 0.08 25 / 0.08) 0%, transparent 50%),
    linear-gradient(165deg, var(--color-background) 0%, var(--color-surface) 100%);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(oklch(0.35 0.06 25 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.35 0.06 25 / 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, black 10%, transparent 70%);
}

.hero__pattern {
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero__pattern--tile {
  inset: 0;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  transform: none;
  background-image: var(--asset-pattern-tile);
  background-size: 420px 420px;
  background-repeat: repeat;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 15%, transparent 75%);
}

/* Dot grid (Magic UI inspired) */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(oklch(0.35 0.06 25 / 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
  animation: dot-drift 20s linear infinite;
}

@keyframes dot-drift {
  0% { background-position: 0 0; }
  100% { background-position: 24px 24px; }
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: glow-float 8s ease-in-out infinite alternate;
}

.hero__glow--1 {
  width: 400px;
  height: 400px;
  background: oklch(0.82 0.06 75);
  top: 10%;
  right: -5%;
}

.hero__glow--2 {
  width: 300px;
  height: 300px;
  background: oklch(0.35 0.08 25 / 0.15);
  bottom: 20%;
  left: -5%;
  animation-delay: -4s;
}

@keyframes glow-float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -20px) scale(1.1); }
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  padding-block: 4rem 5rem;
}

@media (min-width: 900px) {
  .hero__content {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
    padding-block: 6rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: oklch(0.95 0.03 75);
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  border: 1px solid oklch(0.82 0.06 75 / 0.45);
  box-shadow: var(--shadow-sm);
}

.eyebrow__arrow {
  animation: arrow-bounce 2s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  margin-bottom: 1.25rem;
  max-width: 13ch;
  letter-spacing: -0.02em;
}

.hero__title em {
  display: inline-block;
  position: relative;
}

.hero__title em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 0.12em;
  background: var(--color-accent);
  border-radius: 2px;
  opacity: 0.55;
  z-index: -1;
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  color: oklch(0.4 0.02 25);
  max-width: 48ch;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.hero__micro {
  font-size: 0.8125rem;
  color: oklch(0.5 0.02 25);
}

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__visual {
    align-items: stretch;
  }
}

/* Hero logo showcase — v3 principal */
.hero__logo-showcase {
  border-radius: var(--radius-xl);
  padding: 2px;
  background: conic-gradient(
    from var(--shine-angle, 0deg),
    var(--color-accent),
    var(--color-primary),
    var(--color-accent)
  );
  animation: shine-rotate 4s linear infinite;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

.hero__logo-showcase-inner {
  background: var(--color-background);
  border-radius: calc(var(--radius-xl) - 2px);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo-principal {
  width: 100%;
  max-width: 340px;
  height: auto;
  animation: logo-float 5s ease-in-out infinite alternate;
}

@keyframes logo-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.hero__pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  transition: transform var(--transition), background var(--transition);
  border: 1px solid oklch(0.82 0.06 75 / 0.35);
}

.pillar:hover {
  transform: translateX(6px);
  background: oklch(0.97 0.03 75);
}

.pillar__letter {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-surface);
  background: var(--color-primary);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.pillar__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(0.35 0.03 25);
}

/* Hero entrance */
.hero-enter {
  opacity: 0;
  transform: translateY(32px);
  animation: hero-in 0.9s var(--ease-out) forwards;
}

.hero-enter--2 {
  animation-delay: 0.18s;
}

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   Sections
   ============================================= */
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
  position: relative;
}

.section--deco {
  overflow: hidden;
}

.section--deco-dark {
  overflow: hidden;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section__header .section__label {
  justify-content: center;
}

.section__header .section__label::before,
.section__header .section__label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.section__label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.section__label--light {
  color: var(--color-accent);
}

.section__label--light::before {
  background: oklch(0.75 0.06 75 / 0.6);
}

@keyframes shine-rotate {
  to { --shine-angle: 360deg; }
}

@property --shine-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* =============================================
   Section Patterns (brand assets as backgrounds)
   ============================================= */
.section--pattern,
.section--pattern-light {
  position: relative;
  overflow: hidden;
}

.section__pattern {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Autoridade — marca Legacy no canto */
.section__pattern--mark-legacy {
  width: 220px;
  height: 220px;
  top: -40px;
  right: -30px;
  background-image: var(--asset-mark-legacy);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.07;
}

/* Benefícios — anéis decorativos */
.section__pattern--rings {
  width: 320px;
  height: 320px;
  bottom: -80px;
  left: -60px;
  background-image: var(--asset-deco-rings);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.12;
}

/* Soluções — logo monocromática como marca d'água (evita repetir o tile do hero) */
.section__pattern--logo-watermark {
  width: min(520px, 75vw);
  aspect-ratio: 499.48 / 233.59;
  bottom: -48px;
  right: -72px;
  background-image: var(--asset-logo-stacked-dark);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.045;
}

/* Passos — seta grande desbotada */
.section__pattern--arrow-deco {
  width: 140px;
  height: 186px;
  bottom: 10%;
  right: 4%;
  background-image: var(--asset-arrow-large);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
}

/* Essência — logo circular dourada (único uso do v3-05) */
.section__pattern--circle-gold {
  width: min(640px, 85vw);
  height: min(640px, 85vw);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: var(--asset-logo-circle-gold);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.07;
}

/* Marcas flutuantes (PNG) em posição estratégica */
.section__mark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  object-fit: contain;
}

.section__mark--gold {
  top: 8%;
  right: 5%;
  opacity: 0.14;
  animation: mark-float 7s ease-in-out infinite alternate;
}

.section__mark--legacy {
  top: 12%;
  left: 4%;
  opacity: 0.08;
  animation: mark-float 8s ease-in-out infinite alternate-reverse;
}

.section__mark--essence {
  bottom: 18%;
  right: 8%;
  opacity: 0.35;
  animation: mark-float 6s ease-in-out infinite alternate;
}

@media (max-width: 767px) {
  .section__mark {
    display: none;
  }
}

@keyframes mark-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

.section--pattern .container,
.section--pattern-light .container,
.section--deco-dark .container {
  position: relative;
  z-index: 1;
}

.section--ivory {
  background: var(--color-surface);
}

.section--legacy {
  background: var(--color-primary);
  color: var(--color-surface);
  position: relative;
}

.essence__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, oklch(0.82 0.06 75 / 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, oklch(0.82 0.06 75 / 0.06) 0%, transparent 35%);
  pointer-events: none;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.section__title--light {
  color: var(--color-surface);
}

.section__subtitle {
  font-size: 1.0625rem;
  color: oklch(0.45 0.02 25);
}

.section--legacy .section__subtitle {
  color: oklch(0.85 0.04 75);
}

.section__cta {
  text-align: center;
  margin-top: 3rem;
}

/* =============================================
   Authority
   ============================================= */
.authority {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .authority {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 4rem;
  }
}

.authority__text p {
  color: oklch(0.4 0.02 25);
  margin-bottom: 1rem;
}

.authority__quote {
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  background: var(--color-background);
  border-radius: var(--radius-lg);
  border: 1px solid oklch(0.82 0.06 75 / 0.5);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.authority__quote-icon {
  margin-bottom: 0.75rem;
  opacity: 0.85;
  width: 28px;
  height: auto;
}

.authority__quote p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.45;
  margin: 0;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--color-background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid oklch(0.82 0.06 75 / 0.3);
  position: relative;
  overflow: hidden;
}

.stat:first-child {
  background: var(--color-primary);
  border-color: transparent;
}

.stat:first-child .stat__number,
.stat:first-child .stat__suffix {
  color: var(--color-surface);
}

.stat:first-child .stat__suffix {
  color: var(--color-accent);
}

.stat:first-child .stat__label {
  color: oklch(0.88 0.04 75);
}

.stat:first-child::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 120px;
  height: 120px;
  background: oklch(0.82 0.06 75 / 0.12);
  border-radius: 50%;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat__suffix {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: -0.5rem;
}

.stat__icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.stat__icon svg {
  width: 100%;
  height: 100%;
}

.stat__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: oklch(0.4 0.02 25);
  margin-top: 0.25rem;
}

/* =============================================
   Bento Grid (Benefits)
   ============================================= */
.bento {
  display: grid;
  gap: 1.25rem;
}

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

  .bento__item--featured {
    grid-row: span 2;
  }

  .bento__item--wide {
    grid-column: span 2;
  }
}

@media (min-width: 900px) {
  .bento {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .bento__item--featured {
    grid-row: span 2;
  }

  .bento__item--wide {
    grid-column: span 2;
  }
}

.bento__item {
  padding: 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.bento__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bento__item--featured {
  background: var(--color-primary);
  color: var(--color-surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.bento__item--featured::after {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  width: 100px;
  height: 132px;
  background-image: var(--asset-arrow-large);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

.bento__item--featured .bento__icon {
  color: var(--color-accent);
  background: oklch(0.82 0.06 75 / 0.15);
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.bento__item--featured p {
  color: oklch(0.88 0.04 75);
}

.bento__item--wide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: oklch(0.97 0.02 75);
  border: 1px solid oklch(0.82 0.06 75 / 0.4);
}

.bento__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  background: oklch(0.95 0.03 75);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento__icon svg {
  width: 100%;
  height: 100%;
}

.bento__item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
}

.bento__item p {
  font-size: 0.9375rem;
  color: oklch(0.45 0.02 25);
  line-height: 1.6;
}

/* =============================================
   Solutions
   ============================================= */
.solutions {
  display: grid;
  gap: 1rem;
}

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

@media (min-width: 900px) {
  .solutions {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution {
  padding: 2rem 1.75rem;
  background: var(--color-background);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid oklch(0.82 0.06 75 / 0.35);
}

.solution__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  transition: background var(--transition), color var(--transition);
  position: relative;
  z-index: 1;
}

.solution__icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.solution::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}

.solution:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.solution:hover::before {
  opacity: 1;
}

.solution:hover .solution__icon {
  background: oklch(0.82 0.06 75 / 0.2);
  color: var(--color-accent);
}

.solution:hover .solution__num,
.solution:hover h3,
.solution:hover p {
  color: var(--color-surface);
  position: relative;
  z-index: 1;
}

.solution:hover .solution__num {
  color: var(--color-accent);
}

.solution__num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 1rem;
  transition: color var(--transition);
}

.solution h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.solution p {
  font-size: 0.875rem;
  color: oklch(0.45 0.02 25);
  line-height: 1.55;
  transition: color var(--transition);
}

/* =============================================
   Steps — horizontal cards
   ============================================= */
.section--steps {
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, oklch(0.95 0.04 75 / 0.5) 0%, transparent 60%),
    var(--color-background);
}

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: steps;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.step {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid oklch(0.82 0.06 75 / 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step:hover::before {
  opacity: 1;
}

.step__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: oklch(0.82 0.06 75);
  line-height: 1;
}

.step__body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step__body p {
  font-size: 0.9375rem;
  color: oklch(0.45 0.02 25);
  line-height: 1.55;
}

/* =============================================
   Essence
   ============================================= */
.essence {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .essence {
    grid-template-columns: repeat(3, 1fr);
  }
}

.essence__card {
  padding: 2rem;
  background: oklch(0.32 0.06 25);
  border-radius: var(--radius-lg);
  border: 1px solid oklch(0.45 0.06 25 / 0.4);
  transition: transform var(--transition), border-color var(--transition);
  position: relative;
  z-index: 1;
}

.essence__card:hover {
  transform: translateY(-6px);
  border-color: oklch(0.82 0.06 75 / 0.35);
}

.essence__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.essence__card p {
  font-size: 0.9375rem;
  color: oklch(0.88 0.04 75);
  line-height: 1.6;
}

/* Marquee (Magic UI inspired) */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding-block: 1rem;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: oklch(0.75 0.06 75);
  white-space: nowrap;
}

.marquee__dot {
  color: var(--color-accent) !important;
  font-size: 1.5rem !important;
}

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

/* =============================================
   CTA Final
   ============================================= */
.cta-final__inner {
  position: relative;
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem);
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: var(--color-surface);
}

.cta-final__logo {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  margin-bottom: 1.75rem;
  height: 44px;
  width: auto;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .cta-final__logo {
    height: 52px;
  }
}

.cta-final__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: oklch(0.82 0.06 75 / 0.15);
  border-radius: 50%;
  filter: blur(80px);
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-final__title {
  position: relative;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 1rem;
  color: var(--color-surface);
}

.cta-final__subtitle {
  position: relative;
  font-size: 1.0625rem;
  color: oklch(0.88 0.04 75);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-final__micro {
  position: relative;
  font-size: 0.8125rem;
  color: oklch(0.75 0.06 75);
  margin-top: 1rem;
}

.cta-final .btn--shine {
  background: var(--color-accent);
  color: var(--color-primary);
}

.cta-final .btn--shine:hover {
  background: var(--color-surface);
  color: var(--color-primary);
}

/* =============================================
   Footer
   ============================================= */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid oklch(0.35 0.06 25 / 0.08);
}

.footer__inner {
  display: grid;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr auto;
    text-align: left;
    align-items: start;
  }

  .footer__copy {
    grid-column: 1 / -1;
    text-align: center;
  }
}

.footer__brand img {
  margin-inline: auto;
  margin-bottom: 0.75rem;
  height: 72px;
  width: auto;
  max-width: 200px;
}

@media (min-width: 768px) {
  .footer__brand img {
    margin-inline: 0;
  }
}

.footer__brand p {
  font-size: 0.875rem;
  color: oklch(0.5 0.02 25);
  max-width: 32ch;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer__links {
    justify-content: flex-end;
  }
}

.footer__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(0.45 0.02 25);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-primary);
}

.footer__copy {
  font-size: 0.8125rem;
  color: oklch(0.55 0.02 25);
  padding-top: 1.5rem;
  border-top: 1px solid oklch(0.35 0.06 25 / 0.06);
}

/* =============================================
   Floating Action Button
   ============================================= */
.fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  background: var(--color-primary);
  color: var(--color-surface);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  transition: background var(--transition), transform var(--transition);
}

.fab svg {
  width: 1.75rem;
  height: 1.75rem;
}

.fab:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: scale(1.08);
}

.fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--color-primary);
  animation: fab-pulse 2s ease-out infinite;
  z-index: -1;
}

@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* =============================================
   Scroll Reveal Animations
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal--delay { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .hero-enter {
    opacity: 1;
    transform: none;
  }

  .section__mark {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
