:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #10100f;
  --line: rgba(255, 255, 255, 0.17);
  --text: #fff9f0;
  --muted: rgba(255, 249, 240, 0.68);
  --gold: #e8bd58;
  --gold-hot: #ffb20d;
  --gold-deep: #9f6200;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button {
  color: inherit;
  font: inherit;
}

.sites-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 4.5rem;
  padding: 0.7rem clamp(0.8rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 4, 4, 0.82);
  backdrop-filter: blur(18px);
}

.back-button {
  width: max-content;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(232, 189, 88, 0.48);
  border-radius: 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.back-button:hover {
  background: var(--gold);
  color: #170f05;
  transform: translateY(-1px);
}

.topbar-title {
  margin: 0;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

.language-switcher {
  display: flex;
  justify-self: end;
  gap: 0.2rem;
  padding: 0.22rem;
  border: 1px solid rgba(232, 189, 88, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
}

.lang-button {
  min-width: 2.1rem;
  min-height: 1.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 950;
  cursor: pointer;
}

.lang-button.active,
.lang-button:hover {
  background: var(--gold);
  color: #170f05;
}

.project-screen {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 6.5rem clamp(1rem, 5vw, 5rem) 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 12% 12%, rgba(232, 189, 88, 0.1), transparent 24rem),
    linear-gradient(120deg, #050505, #0c0b09 48%, #050505);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.project-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.5;
}

.screen-content {
  position: relative;
  z-index: 2;
  width: min(78rem, 100%);
}

.intro-background {
  position: absolute;
  inset: 0;
}

.intro-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.9)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.96), transparent 58%, rgba(0, 0, 0, 0.76));
}

.intro-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: contrast(1.16) saturate(0.92);
}

.intro-content {
  max-width: 54rem;
  margin-right: auto;
  animation: reveal 720ms ease both;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: none;
}

h2 {
  max-width: 16ch;
}

h1 span,
h1 small {
  display: block;
}

h1 span {
  width: max-content;
  max-width: 100%;
  background: linear-gradient(90deg, #fff9f0, #e8bd58 48%, #fff9f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 6rem;
  line-height: 0.9;
  white-space: nowrap;
  text-shadow: 0 0 34px rgba(232, 189, 88, 0.25);
}

h1 small {
  max-width: 25ch;
  margin-top: 0.85rem;
  color: var(--gold);
  font-size: 2.15rem;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 5rem);
}

.intro-copy,
.project-copy > p:not(.eyebrow),
.model-copy > p:not(.eyebrow) {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 650;
  line-height: 1.65;
}

.scroll-cue,
.status,
.project-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  margin-top: 1.5rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(232, 189, 88, 0.44);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scroll-cue::after,
.project-action::after {
  content: ">";
  margin-left: 0.55rem;
  font-size: 1rem;
}

.scroll-cue::after {
  content: "↓";
  animation: nudge 1.5s ease-in-out infinite;
}

.project-action {
  background: linear-gradient(135deg, var(--gold-hot), var(--gold-deep));
  color: #170f05;
  box-shadow: 0 0 34px rgba(232, 189, 88, 0.18);
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.live-project:hover {
  border-color: rgba(232, 189, 88, 0.75);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.66),
    0 0 62px rgba(232, 189, 88, 0.22);
  transform: translateY(-3px);
}

.project-layout.reverse {
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
}

.project-layout.reverse .browser-stage {
  grid-column: 2;
}

.project-layout.reverse .project-copy {
  grid-column: 1;
  grid-row: 1;
}

.browser-stage {
  position: relative;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  border: 1px solid rgba(232, 189, 88, 0.3);
  border-radius: 8px;
  background: #0b0b0a;
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.62),
    0 0 55px rgba(232, 189, 88, 0.12);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.stage-open-link {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: 8px;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: var(--surface);
}

.browser-bar {
  display: flex;
  gap: 0.42rem;
  align-items: center;
  height: 2.35rem;
  padding: 0 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #171614;
}

.browser-bar span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: rgba(232, 189, 88, 0.56);
}

.browser-bar i {
  flex: 1;
  height: 0.6rem;
  margin-left: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.browser-preview {
  min-height: clamp(20rem, 46vw, 34rem);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(232, 189, 88, 0.1), transparent 38%),
    #080808;
}

.live-site-preview {
  position: relative;
  background:
    linear-gradient(135deg, rgba(232, 189, 88, 0.18), transparent 44%),
    #080808;
}

.live-site-preview iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: #080808;
  filter: contrast(1.06) saturate(1.05);
  pointer-events: none;
}

.live-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 0.8rem;
  padding: clamp(1.3rem, 4vw, 3.2rem);
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.84), transparent 62%),
    linear-gradient(135deg, rgba(232, 189, 88, 0.22), transparent 45%),
    linear-gradient(180deg, #10100d 0 50%, #17120a 50%),
    #080808;
}

.live-logo {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  border: 1px solid rgba(232, 189, 88, 0.7);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 950;
  box-shadow: 0 0 34px rgba(232, 189, 88, 0.2);
}

.live-fallback p {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.live-fallback strong {
  max-width: 13ch;
  color: #fff9f0;
  font-size: clamp(2.1rem, 6vw, 5.4rem);
  line-height: 0.9;
}

.live-fallback span {
  width: 8.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-hot), var(--gold-deep));
}

.preview-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 42%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 34%, rgba(0, 0, 0, 0.16));
}

.live-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 4;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(232, 189, 88, 0.5);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.platform-preview {
  display: grid;
  grid-template-columns: 25% 1fr;
  background:
    radial-gradient(circle at 82% 12%, rgba(232, 189, 88, 0.24), transparent 18rem),
    linear-gradient(135deg, #0a0a0a, #15110b 55%, #070707);
}

.caixaflow-preview {
  grid-template-columns: minmax(8.5rem, 18%) 1fr;
  min-height: clamp(22rem, 48vw, 36rem);
  background:
    radial-gradient(circle at 64% 10%, rgba(32, 201, 171, 0.18), transparent 19rem),
    linear-gradient(135deg, #03111c, #071827 54%, #03080d);
}

.cf-sidebar {
  display: grid;
  align-content: start;
  gap: clamp(0.7rem, 1.4vw, 1.2rem);
  padding: clamp(0.8rem, 1.6vw, 1.3rem);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.32);
}

.cf-logo {
  color: #fff;
  font-size: clamp(1rem, 1.9vw, 1.55rem);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.cf-logo span {
  color: #25e6b5;
}

.cf-sidebar nav {
  display: grid;
  gap: 0.45rem;
}

.cf-sidebar nav span {
  min-height: 2.25rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 249, 240, 0.62);
  font-size: clamp(0.58rem, 1vw, 0.72rem);
  font-weight: 850;
}

.cf-sidebar nav .active {
  border-color: rgba(37, 230, 181, 0.62);
  background: rgba(37, 230, 181, 0.1);
  color: #fff;
}

.cf-goal {
  display: grid;
  gap: 0.45rem;
  margin-top: clamp(0.6rem, 2vw, 1.4rem);
  padding: 0.8rem;
  border: 1px solid rgba(37, 230, 181, 0.16);
  border-radius: 8px;
  background: rgba(37, 230, 181, 0.06);
}

.cf-goal small,
.cf-topline span,
.cf-kpis span,
.cf-panels section > span {
  color: rgba(255, 249, 240, 0.5);
  font-size: clamp(0.48rem, 0.9vw, 0.62rem);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cf-goal strong {
  color: #fff;
  font-size: clamp(0.62rem, 1vw, 0.8rem);
}

.cf-goal i {
  width: 100%;
  height: 0.35rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.cf-goal i::before {
  content: "";
  display: block;
  width: 70%;
  height: 100%;
  border-radius: inherit;
  background: #25e6b5;
}

.cf-main {
  display: grid;
  gap: clamp(0.65rem, 1.2vw, 1rem);
  padding: clamp(0.85rem, 2vw, 1.5rem);
}

.cf-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cf-topline strong {
  display: block;
  margin-top: 0.25rem;
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 1.8rem);
}

.cf-topline button {
  min-height: 2.45rem;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #25e6b5, #16a6c8);
  color: #00130f;
  font-size: clamp(0.58rem, 1vw, 0.72rem);
  font-weight: 950;
}

.cf-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  min-height: clamp(4.3rem, 8vw, 6rem);
  padding: 0.9rem;
  border: 1px solid rgba(255, 83, 124, 0.35);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 50%, rgba(255, 83, 124, 0.16), transparent 11rem),
    rgba(255, 83, 124, 0.1);
}

.cf-alert div {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
  background: rgba(37, 230, 181, 0.13);
}

.cf-alert p {
  margin: 0;
}

.cf-alert strong {
  display: block;
  color: #fff;
  font-size: clamp(0.8rem, 1.5vw, 1.15rem);
}

.cf-alert small {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 249, 240, 0.58);
  font-size: clamp(0.52rem, 0.9vw, 0.68rem);
}

.cf-alert em {
  color: #ff537c;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: normal;
  font-weight: 950;
}

.cf-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.cf-kpis article,
.cf-panels section {
  min-height: 6.4rem;
  padding: 0.85rem;
  border: 1px solid rgba(55, 137, 180, 0.2);
  border-radius: 8px;
  background: rgba(7, 28, 45, 0.82);
}

.cf-kpis .risk {
  border-color: rgba(255, 83, 124, 0.38);
  background: rgba(255, 83, 124, 0.13);
}

.cf-kpis strong {
  display: block;
  margin: 0.9rem 0 0.75rem;
  color: #fff;
  font-size: clamp(0.9rem, 1.9vw, 1.55rem);
}

.cf-kpis .risk strong,
.cf-kpis article:last-child strong {
  color: #ff537c;
}

.cf-kpis small {
  color: rgba(255, 249, 240, 0.54);
  font-size: clamp(0.48rem, 0.9vw, 0.62rem);
}

.cf-panels {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 0.75rem;
}

.cf-panels section {
  min-height: clamp(8rem, 16vw, 12rem);
}

.cf-panels strong {
  display: block;
  margin-top: 0.55rem;
  color: #fff;
  font-size: clamp(0.8rem, 1.4vw, 1.05rem);
}

.cf-bars {
  display: flex;
  align-items: end;
  gap: 0.8rem;
  height: 7rem;
  margin-top: 1rem;
  padding: 0 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cf-bars i {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #25e6b5, rgba(37, 230, 181, 0.08));
}

.cf-bars i:nth-child(1) { height: 54%; }
.cf-bars i:nth-child(2) { height: 68%; }
.cf-bars i:nth-child(3) { height: 58%; }
.cf-bars i:nth-child(4) { height: 78%; }
.cf-bars i:nth-child(5) { height: 64%; }
.cf-bars i:nth-child(6) { height: 88%; }

.cf-donut {
  width: min(8rem, 70%);
  aspect-ratio: 1;
  margin: 1.2rem auto 0;
  border-radius: 50%;
  background: conic-gradient(#25e6b5 0 38%, #29aee7 38% 60%, #8b6cf6 60% 78%, #ffc94b 78% 100%);
  mask: radial-gradient(circle, transparent 44%, #000 45%);
}

.platform-sidebar {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(232, 189, 88, 0.09), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.platform-sidebar strong {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(232, 189, 88, 0.55);
  border-radius: 8px;
  color: var(--gold);
  font-size: 0.8rem;
}

.platform-sidebar span {
  width: max-content;
  max-width: 100%;
  min-height: 1.8rem;
  padding: 0.55rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 249, 240, 0.68);
  font-size: 0.66rem;
  font-weight: 850;
}

.platform-main {
  padding: clamp(1rem, 3vw, 2.4rem);
}

.flow-head {
  display: grid;
  gap: 0.55rem;
}

.flow-head span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.flow-head strong {
  max-width: 18rem;
  color: #fff9f0;
  font-size: clamp(1.8rem, 3.3vw, 3.2rem);
  line-height: 0.95;
}

.platform-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.platform-stats span {
  display: block;
  color: rgba(255, 249, 240, 0.58);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-stats article {
  min-height: 5.2rem;
  padding: 0.9rem;
  border: 1px solid rgba(232, 189, 88, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(232, 189, 88, 0.16), transparent 52%),
    rgba(255, 255, 255, 0.055);
}

.platform-stats strong {
  display: block;
  margin-top: 0.55rem;
  color: #fff9f0;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
}

.flow-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  min-height: 13rem;
  margin-top: 1.2rem;
}

.flow-chart,
.flow-list {
  display: flex;
  align-items: end;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    rgba(255, 255, 255, 0.025);
}

.flow-chart span {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--gold), rgba(159, 98, 0, 0.35));
}

.flow-chart span:nth-child(1) { height: 42%; }
.flow-chart span:nth-child(2) { height: 66%; }
.flow-chart span:nth-child(3) { height: 48%; }
.flow-chart span:nth-child(4) { height: 82%; }
.flow-chart span:nth-child(5) { height: 58%; }

.flow-list {
  display: grid;
  align-content: center;
}

.flow-list span {
  height: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.flow-list span:nth-child(1) { width: 92%; }
.flow-list span:nth-child(2) { width: 72%; }
.flow-list span:nth-child(3) { width: 82%; }

.product-preview {
  position: relative;
  min-height: clamp(20rem, 46vw, 34rem);
  isolation: isolate;
  background:
    radial-gradient(circle at 70% 20%, rgba(232, 189, 88, 0.28), transparent 18rem),
    linear-gradient(140deg, #041129, #071b36 44%, #02050b);
}

.product-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 0 1px, transparent 1px);
  background-size: 4.2rem 4.2rem;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.8), transparent 76%);
}

.product-cover {
  position: absolute;
  left: 6%;
  top: 7%;
  z-index: 2;
  width: min(52%, 29rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 189, 88, 0.54);
  border-radius: 8px;
  background: #051229;
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.52),
    0 0 60px rgba(232, 189, 88, 0.18);
  transform: perspective(900px) rotateY(-9deg) rotateX(3deg);
}

.product-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.2) 42%, transparent 58%),
    linear-gradient(to top, rgba(0, 0, 0, 0.22), transparent 55%);
  pointer-events: none;
}

.product-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-glass {
  position: absolute;
  right: 6%;
  bottom: 12%;
  z-index: 3;
  display: grid;
  width: min(43%, 23rem);
  gap: 0.55rem;
  padding: clamp(1rem, 2.5vw, 1.6rem);
  border: 1px solid rgba(232, 189, 88, 0.42);
  border-radius: 8px;
  background: rgba(2, 6, 12, 0.66);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.product-glass span,
.product-glass small {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-glass strong {
  color: #fff9f0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.product-glass small {
  color: rgba(255, 249, 240, 0.72);
  font-size: 0.72rem;
  line-height: 1.5;
  text-transform: none;
}

.product-metrics {
  position: absolute;
  right: 6%;
  top: 10%;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: min(42%, 22rem);
}

.product-metrics span {
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(232, 189, 88, 0.32);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 249, 240, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.europa-site-preview {
  position: relative;
  min-height: clamp(22rem, 48vw, 36rem);
  isolation: isolate;
  background: #02050c;
}

.ed-hero-bg,
.ed-overlay {
  position: absolute;
  inset: 0;
}

.ed-hero-bg {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 5, 12, 0.96), rgba(2, 5, 12, 0.7), rgba(2, 5, 12, 0.28)),
    url("assets/images/europa-digital-hero-bg.jpg") center / cover;
  filter: saturate(1.05) contrast(1.08);
}

.ed-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 78% 48%, rgba(215, 169, 61, 0.22), transparent 17rem),
    linear-gradient(180deg, rgba(2, 5, 12, 0.18), rgba(2, 5, 12, 0.9));
}

.ed-content {
  position: absolute;
  left: 6%;
  top: 8%;
  z-index: 3;
  display: grid;
  width: min(52%, 31rem);
  gap: clamp(0.55rem, 1.4vw, 0.95rem);
}

.ed-logo {
  width: min(14rem, 54%);
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.55));
}

.ed-kicker {
  color: #ffe39a;
  font-size: clamp(0.56rem, 1vw, 0.78rem);
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ed-content strong {
  color: #f7f8fb;
  font-size: clamp(1.8rem, 4.1vw, 4.4rem);
  line-height: 0.92;
}

.ed-content p {
  max-width: 27rem;
  margin: 0;
  color: rgba(247, 248, 251, 0.72);
  font-size: clamp(0.78rem, 1.25vw, 1rem);
  line-height: 1.55;
}

.ed-actions,
.ed-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ed-actions span {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 227, 154, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #f7f8fb;
  font-size: clamp(0.62rem, 1vw, 0.78rem);
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.ed-actions span:first-child {
  border-color: transparent;
  background: linear-gradient(135deg, #ffe39a, #d7a93d);
  color: #1a1204;
  box-shadow: 0 16px 45px rgba(215, 169, 61, 0.3);
}

.ed-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(247, 248, 251, 0.7);
  font-size: clamp(0.56rem, 1vw, 0.74rem);
  font-weight: 850;
}

.ed-proof span::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #d7a93d;
}

.ed-mockup {
  position: absolute;
  right: -5%;
  bottom: -7%;
  z-index: 2;
  width: min(48%, 30rem);
  margin: 0;
  filter: drop-shadow(0 34px 80px rgba(0, 0, 0, 0.58));
}

.ed-mockup img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.model-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.phone-section {
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
}

.phone-section .model-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.3rem, 4.7vw, 4.7rem);
}

.model-copy h2 {
  max-width: 15ch;
}

.phone-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.5vw, 1.25rem);
  align-items: center;
}

.phone-card {
  position: relative;
  display: grid;
  min-height: clamp(28rem, 45vw, 37rem);
  overflow: hidden;
  padding: 0.95rem;
  border: 1px solid rgba(232, 189, 88, 0.45);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%),
    #090909;
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.5),
    inset 0 0 0 0.35rem rgba(255, 255, 255, 0.025);
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  pointer-events: none;
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 0.7rem;
  z-index: 4;
  width: 4.4rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  transform: translateX(-50%);
}

.phone-photo,
.phone-profile,
.creator-avatar {
  position: relative;
  z-index: 1;
  min-height: 12rem;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 62%),
    radial-gradient(circle at 32% 35%, #e8bd58 0 1.6rem, transparent 1.7rem),
    radial-gradient(circle at 62% 48%, #8a3e18 0 2.2rem, transparent 2.25rem),
    radial-gradient(circle at 42% 62%, #f3e6b8 0 2rem, transparent 2.1rem),
    linear-gradient(135deg, #2b1509, #0b0906);
}

.phone-profile {
  min-height: 10rem;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 60%),
    radial-gradient(circle at 50% 38%, #d0a76a 0 2.15rem, transparent 2.25rem),
    linear-gradient(135deg, #27221c, #0b0b0b);
}

.creator-avatar {
  width: 5.6rem;
  min-height: 5.6rem;
  margin: 2.1rem auto 0.8rem;
  border: 1px solid rgba(232, 189, 88, 0.45);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #d0a76a 0 1.65rem, transparent 1.7rem),
    linear-gradient(135deg, #151515, #2a2416);
  box-shadow: 0 0 35px rgba(232, 189, 88, 0.18);
}

.phone-body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: 0.9rem 0.6rem 0.5rem;
}

.phone-kicker {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phone-card h3 {
  margin: 0;
  color: #fff9f0;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.05;
}

.stars {
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 900;
}

.stars small {
  color: rgba(255, 249, 240, 0.65);
}

.phone-actions,
.link-buttons,
.service-tags {
  display: grid;
  gap: 0.5rem;
}

.phone-actions span,
.link-buttons span,
.phone-card button {
  display: grid;
  min-height: 2.45rem;
  place-items: center;
  border: 1px solid rgba(232, 189, 88, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff9f0;
  font-size: 0.76rem;
  font-weight: 900;
}

.phone-actions span:first-child,
.phone-card button {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-hot), var(--gold-deep));
  color: #170f05;
}

.phone-card p {
  margin: 0;
  color: rgba(255, 249, 240, 0.62);
  font-size: 0.74rem;
  line-height: 1.5;
}

.phone-badge {
  width: max-content;
  max-width: 100%;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(232, 189, 88, 0.35);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.7rem;
}

.phone-card blockquote {
  margin: 0;
  padding: 0.75rem;
  border-left: 2px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 249, 240, 0.76);
  font-size: 0.78rem;
  line-height: 1.45;
}

.service-tags {
  grid-template-columns: repeat(3, 1fr);
}

.service-tags span {
  min-height: 2rem;
  padding: 0.45rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 249, 240, 0.62);
  font-size: 0.58rem;
  font-weight: 850;
  text-align: center;
}

.link-buttons {
  grid-template-columns: 1fr;
}

.post-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.post-thumbs span {
  aspect-ratio: 1;
  border: 1px solid rgba(232, 189, 88, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(232, 189, 88, 0.28), transparent 52%),
    rgba(255, 255, 255, 0.055);
}

.restaurant-phone {
  transform: translateY(1.4rem);
}

.service-phone {
  transform: translateY(-0.35rem);
}

.creator-phone {
  transform: translateY(1rem);
}

.model-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.model-card {
  position: relative;
  display: grid;
  min-height: clamp(20rem, 34vw, 28rem);
  align-content: end;
  overflow: hidden;
  padding: 1.1rem;
  border: 1px solid rgba(232, 189, 88, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 62%),
    #111;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.model-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0 0.75rem, transparent 0.75rem 100%),
    linear-gradient(135deg, rgba(232, 189, 88, 0.28), transparent 48%);
  opacity: 0.88;
}

.model-card span,
.model-card strong {
  position: relative;
  z-index: 1;
}

.model-card span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.model-card strong {
  margin-top: 0.45rem;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.18;
}

.model-restaurant {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 62%),
    linear-gradient(135deg, #201307, #090807);
}

.model-service {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 62%),
    linear-gradient(135deg, #141414, #2b2415);
}

.model-creator {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 62%),
    linear-gradient(135deg, #080808, #1e1b11);
}

.project-copy {
  animation: reveal 720ms ease both;
}

.status {
  background: rgba(232, 189, 88, 0.06);
}

.reel-progress {
  position: fixed;
  right: clamp(0.65rem, 2vw, 1.4rem);
  top: 50%;
  z-index: 20;
  display: grid;
  gap: 0.55rem;
  transform: translateY(-50%);
}

.progress-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 1px solid rgba(232, 189, 88, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.progress-dot.active {
  background: var(--gold);
  box-shadow: 0 0 16px rgba(232, 189, 88, 0.65);
  transform: scale(1.25);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nudge {
  0%,
  100% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(3px);
  }
}

@media (max-width: 920px) {
  .project-layout,
  .project-layout.reverse,
  .model-layout {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .project-layout.reverse .browser-stage,
  .project-layout.reverse .project-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .project-layout.reverse .browser-stage {
    order: 1;
  }

  .project-layout.reverse .project-copy {
    order: 2;
  }

  .model-showcase {
    grid-template-columns: 1fr;
  }

  .phone-showcase {
    grid-template-columns: 1fr;
    max-width: 25rem;
    margin: 0 auto;
  }

  .phone-card,
  .restaurant-phone,
  .service-phone,
  .creator-phone {
    min-height: 33rem;
    transform: none;
  }

  .model-card {
    min-height: 12rem;
  }

  h1 span {
    font-size: 4.2rem;
  }

  h1 small {
    font-size: 1.65rem;
  }
}

@media (max-width: 820px) {
  .sites-topbar {
    grid-template-columns: 1fr auto;
  }

  .topbar-title {
    display: none;
  }

  .project-screen {
    padding: 6rem 1rem 1.5rem;
  }

  .browser-preview {
    min-height: clamp(15rem, 57vw, 25rem);
  }

  h1 span {
    font-size: 3.05rem;
  }

  h1 small {
    font-size: 1.35rem;
    max-width: 24ch;
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.6rem);
  }

  .reel-progress {
    display: none;
  }
}

@media (max-width: 480px) {
  .sites-topbar {
    gap: 0.35rem;
    padding: 0.55rem;
  }

  .back-button {
    padding: 0.58rem 0.62rem;
    font-size: 0.58rem;
  }

  .lang-button {
    min-width: 1.85rem;
  }

  .biergarten-gallery {
    gap: 0.4rem;
  }

  .platform-stats {
    gap: 0.4rem;
  }

  .product-cover {
    left: 6%;
    top: 9%;
    width: 62%;
  }

  .product-glass {
    right: 6%;
    bottom: 8%;
    width: 54%;
  }

  .product-metrics {
    right: 6%;
    top: 8%;
    width: 38%;
  }

  .flow-panel {
    grid-template-columns: 1fr;
  }

  .cf-kpis,
  .cf-panels {
    grid-template-columns: 1fr;
  }

  .caixaflow-preview {
    grid-template-columns: 1fr;
  }

  .cf-sidebar {
    display: none;
  }
}

@media (max-width: 620px) {
  .ed-content {
    left: 7%;
    top: 8%;
    width: 86%;
  }

  .ed-logo {
    width: 12rem;
  }

  .ed-content strong {
    max-width: 12ch;
    font-size: 2.2rem;
  }

  .ed-content p,
  .ed-proof {
    display: none;
  }

  .ed-mockup {
    right: -18%;
    bottom: -4%;
    width: 72%;
  }
}

@media (max-width: 420px) {
  h1 span {
    font-size: 2.45rem;
  }

  h1 small {
    font-size: 1.18rem;
  }
}

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