/*
Theme Name: MatosSites
Theme URI: https://matossites.com
Author: MatosSites
Description: A custom, responsive WordPress theme for the MatosSites website design platform.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: matossites
*/

@import "tailwindcss";

:root {
  --night: #060814;
  --night-soft: #0b0e1d;
  --paper: #f7f7f3;
  --ink: #111321;
  --muted: #696d79;
  --electric: #5d7cff;
  --electric-light: #8ca1ff;
  --coral: #ff6b5f;
  --cyan: #53d8e8;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans), sans-serif;
  text-rendering: optimizeLegibility;
}

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

.shell {
  width: min(100% - 64px, 1420px);
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 30%, rgba(49, 64, 139, 0.18), transparent 34%),
    linear-gradient(145deg, #070915, #050711 70%);
  color: white;
}

.hero-video-wrap {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #050711;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  opacity: 0.48;
  filter: hue-rotate(28deg) saturate(1.35) contrast(1.12) brightness(0.78);
  transform: scale(1.045);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 17, 0.92) 0%, rgba(5, 7, 17, 0.48) 48%, rgba(5, 7, 17, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 7, 17, 0.22) 0%, rgba(5, 7, 17, 0.44) 72%, #050711 100%),
    radial-gradient(circle at 68% 35%, rgba(93, 124, 255, 0.2), transparent 42%);
}

.ambient {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.38;
  animation: ambient-drift 12s ease-in-out infinite alternate;
}

.ambient--one {
  top: 15%;
  right: 5%;
  width: 420px;
  height: 420px;
  background: #465dff;
}

.ambient--two {
  bottom: -22%;
  left: 18%;
  width: 500px;
  height: 500px;
  background: #b54175;
  animation-delay: -4s;
}

.grid-field,
.launch-grid {
  position: absolute;
  z-index: 3;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand-logo {
  display: block;
  width: clamp(170px, 16vw, 224px);
  height: auto;
  filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.18));
}

nav {
  display: flex;
  gap: 34px;
}

nav a,
.nav-cta,
.footer div a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a {
  color: rgba(255, 255, 255, 0.66);
  transition: color 180ms ease;
}

nav a:hover {
  color: white;
}

.nav-cta {
  justify-self: end;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.nav-cta:hover {
  border-color: white;
  background: white;
  color: var(--night);
}

.hero-layout {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  align-items: center;
  gap: 3vw;
  min-height: calc(100svh - 122px);
  padding-top: 80px;
  padding-bottom: 100px;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--electric);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #67f1c4;
  box-shadow: 0 0 0 5px rgba(103, 241, 196, 0.1), 0 0 16px rgba(103, 241, 196, 0.7);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1,
.manifesto h2,
.section-heading h2,
.possibilities h2,
.showcase h2,
.vision h2,
.launch h2 {
  margin: 0;
  font-family: var(--font-display), serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero h1 {
  margin-top: 28px;
  font-size: clamp(76px, 7.7vw, 124px);
}

.hero h1 span {
  background: linear-gradient(90deg, #fff 12%, #9ab0ff 55%, #fd9b8e);
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.hero-lede {
  max-width: 580px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(110deg, #6f7fff, #925cff 58%, #f16e79);
  box-shadow: 0 12px 40px rgba(94, 97, 255, 0.25);
  color: white;
}

.button--primary:hover {
  box-shadow: 0 16px 48px rgba(94, 97, 255, 0.42);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: white;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button--large {
  min-height: 66px;
  padding-inline: 34px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 45px;
}

.proof-faces {
  display: flex;
}

.proof-faces span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  margin-left: -8px;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: linear-gradient(145deg, #777fac, #2e345a);
  color: rgba(255, 255, 255, 0.85);
  font-size: 9px;
  font-weight: 800;
}

.proof-faces span:first-child {
  margin-left: 0;
}

.proof-faces span:nth-child(2) {
  background: linear-gradient(145deg, #9a625a, #472942);
}

.proof-faces span:nth-child(3) {
  background: linear-gradient(145deg, #578b8a, #263b52);
}

.hero-proof p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 0.05em;
}

.creation-stage {
  position: relative;
  min-height: 670px;
  perspective: 1200px;
}

.stage-glow {
  position: absolute;
  inset: 17% 8% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 109, 255, 0.32), rgba(255, 92, 111, 0.1) 48%, transparent 72%);
  filter: blur(30px);
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(22, 26, 51, 0.86), rgba(8, 11, 27, 0.78));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(24px);
}

.prompt-card {
  position: absolute;
  z-index: 3;
  top: 40px;
  left: 5%;
  width: 390px;
  padding: 23px;
  border-radius: 19px;
  transform: rotateY(6deg) rotateZ(-2deg);
  animation: float-card 6s ease-in-out infinite alternate;
}

.prompt-top,
.browser-bar,
.mini-nav,
.sample-top,
.sample-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prompt-top {
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mini-orbit {
  width: 13px;
  height: 13px;
  border: 1px solid var(--electric-light);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(140, 161, 255, 0.5);
}

.live-pill {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(103, 241, 196, 0.1);
  color: #67f1c4;
}

.prompt-question {
  padding: 25px 0 18px;
}

.prompt-question > p {
  margin: 0 0 13px;
  font-family: var(--font-display), serif;
  font-size: 22px;
}

.choice-row {
  display: flex;
  gap: 8px;
}

.choice {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.choice--active {
  border-color: var(--electric-light);
  background: rgba(110, 126, 255, 0.14);
  color: white;
}

.prompt-input {
  position: relative;
  min-height: 116px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.17);
}

.prompt-input > span:first-child {
  color: rgba(255, 255, 255, 0.32);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prompt-input p {
  max-width: 290px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 1.55;
}

.typing-cursor {
  display: inline-block;
  width: 1px;
  height: 12px;
  margin-left: 3px;
  background: var(--electric-light);
  animation: blink 1s steps(2) infinite;
}

.prompt-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 16px;
}

.prompt-progress span {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.prompt-progress span:first-child,
.prompt-progress span:nth-child(2) {
  background: linear-gradient(90deg, var(--electric), #9a65ff);
}

.website-card {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 34px;
  width: 510px;
  overflow: hidden;
  border-radius: 20px;
  transform: rotateY(-8deg) rotateZ(2deg);
  animation: float-card-two 7s ease-in-out infinite alternate;
}

.browser-bar {
  height: 42px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
  color: rgba(255, 255, 255, 0.4);
  font-size: 7px;
}

.browser-bar div {
  display: flex;
  gap: 4px;
}

.browser-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.mini-site {
  min-height: 400px;
  padding: 17px 25px 25px;
  background:
    radial-gradient(circle at 80% 25%, rgba(203, 117, 82, 0.3), transparent 32%),
    linear-gradient(145deg, #ede5da, #b9a28d);
  color: #241c18;
}

.mini-nav {
  font-size: 6px;
  font-weight: 700;
  text-transform: uppercase;
}

.mini-logo {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-display), serif;
}

.mini-nav b {
  padding: 7px 9px;
  border-radius: 999px;
  background: #201a18;
  color: white;
  font-weight: 600;
}

.mini-hero {
  padding: 68px 6px 50px;
}

.mini-hero > span {
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.mini-hero h2 {
  margin: 13px 0;
  font-family: var(--font-display), serif;
  font-size: 46px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.mini-hero p {
  max-width: 200px;
  font-size: 8px;
  line-height: 1.5;
}

.mini-hero b {
  display: inline-block;
  margin-top: 17px;
  font-size: 7px;
  text-transform: uppercase;
}

.mini-blocks {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 7px;
}

.mini-blocks span {
  min-height: 83px;
  border-radius: 5px;
  background:
    linear-gradient(150deg, transparent, rgba(0, 0, 0, 0.18)),
    #756355;
}

.mini-blocks span:nth-child(2) {
  background: #463a34;
}

.mini-blocks span:nth-child(3) {
  background: #a67c60;
}

.floating-tag {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(13, 17, 35, 0.78);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.floating-tag > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: rgba(107, 126, 255, 0.14);
  color: var(--electric-light);
}

.floating-tag b,
.floating-tag small {
  display: block;
}

.floating-tag b {
  font-size: 8px;
}

.floating-tag small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 7px;
}

.floating-tag--copy {
  top: 56%;
  left: -2%;
  animation: small-float 4s ease-in-out infinite alternate;
}

.floating-tag--design {
  right: -1%;
  bottom: 7%;
  animation: small-float 5s ease-in-out infinite alternate-reverse;
}

.industry-strip {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 15, 0.65);
  backdrop-filter: blur(10px);
}

.industry-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.industry-inner > span {
  color: rgba(255, 255, 255, 0.28);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.industry-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-display), serif;
  font-size: 17px;
}

.manifesto {
  padding-top: 170px;
  padding-bottom: 170px;
}

.manifesto h2 {
  max-width: 1120px;
  margin-top: 35px;
  font-size: clamp(67px, 7.8vw, 118px);
}

.manifesto h2 em,
.possibilities h2 em,
.vision h2 em,
.launch h2 em {
  color: var(--electric);
  font-weight: 400;
}

.manifesto-bottom {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: start;
  gap: 6vw;
  margin-top: 70px;
}

.manifesto-line {
  height: 1px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--electric), rgba(93, 124, 255, 0.05));
}

.manifesto-bottom p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.how,
.showcase {
  overflow: hidden;
  background: var(--night);
  color: white;
}

.how {
  padding: 140px 0;
}

.section-label--light {
  color: var(--electric-light);
}

.section-heading,
.showcase-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.section-heading h2,
.showcase h2 {
  margin-top: 24px;
  font-size: clamp(55px, 6vw, 88px);
}

.section-heading > p,
.showcase-header > p {
  max-width: 440px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 15px;
  line-height: 1.75;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 80px;
}

.step-card {
  position: relative;
  min-height: 555px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 26%, rgba(93, 124, 255, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: border-color 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}

.step-card::before {
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 145, 255, 0.8), transparent);
  content: "";
  opacity: 0.65;
}

.step-card:hover {
  border-color: rgba(123, 145, 255, 0.34);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  transform: translateY(-6px);
}

.step-number {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
}

.step-visual {
  position: relative;
  height: 255px;
  margin: 30px 0;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, rgba(91, 112, 255, 0.2), transparent 58%),
    #0c0f1d;
  background-size: 24px 24px, 24px 24px, auto, auto;
  border: 1px solid rgba(255, 255, 255, 0.045);
}

.step-visual::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -55px 75px rgba(3, 5, 13, 0.38);
  content: "";
  pointer-events: none;
}

.path-scene,
.story-scene {
  position: absolute;
  z-index: 1;
  inset: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(14, 18, 36, 0.86);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.scene-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.35);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.scene-brand i {
  width: 10px;
  height: 10px;
  border: 1px solid var(--electric-light);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(93, 124, 255, 0.55);
}

.path-scene > p {
  margin: 16px 0 11px;
  font-family: var(--font-display), serif;
  font-size: 16px;
}

.path-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.path-option {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 11px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.48);
}

.path-option--active {
  border-color: rgba(124, 145, 255, 0.7);
  background: linear-gradient(145deg, rgba(93, 124, 255, 0.2), rgba(93, 124, 255, 0.06));
  box-shadow: 0 12px 25px rgba(29, 45, 133, 0.22);
  color: white;
}

.path-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--font-display), serif;
  font-size: 13px;
}

.path-option b,
.path-option small {
  display: block;
}

.path-option b {
  font-size: 8px;
}

.path-option small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 5px;
  white-space: nowrap;
}

.selected-check {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  width: 13px;
  height: 13px;
  place-items: center;
  border-radius: 50%;
  background: var(--electric);
  font-size: 7px;
  font-style: normal;
}

.scene-progress {
  height: 3px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
}

.scene-progress span {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--electric), #b06dff);
  box-shadow: 0 0 14px rgba(93, 124, 255, 0.6);
}

.scene-cursor {
  position: absolute;
  color: white;
  font-size: 16px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
  animation: cursor-drift 2.8s ease-in-out infinite alternate;
}

.scene-cursor--one {
  right: 23%;
  bottom: 43px;
}

.chat-row {
  display: flex;
  align-items: start;
  gap: 8px;
  margin-top: 12px;
}

.chat-avatar {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(145deg, var(--electric), #9c63ff);
  font-size: 7px;
  font-weight: 800;
}

.chat-row > div {
  padding: 9px 11px;
  border-radius: 4px 10px 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.68);
  font-size: 7px;
  line-height: 1.4;
}

.story-input {
  position: relative;
  min-height: 49px;
  margin: 10px 0;
  padding: 9px 25px 9px 10px;
  border: 1px solid rgba(124, 145, 255, 0.28);
  border-radius: 9px;
  background: rgba(7, 10, 22, 0.7);
  color: rgba(255, 255, 255, 0.72);
  font-size: 7px;
  line-height: 1.45;
}

.story-input i {
  display: inline-block;
  width: 1px;
  height: 10px;
  margin-left: 2px;
  background: #9caeff;
  animation: blink 900ms step-end infinite;
}

.enhance-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(92, 220, 211, 0.18);
  border-radius: 9px;
  background: linear-gradient(105deg, rgba(57, 199, 193, 0.09), rgba(94, 113, 255, 0.08));
}

.enhance-spark {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(76, 221, 202, 0.1);
  color: #65e4d4;
}

.enhance-card div {
  min-width: 0;
  flex: 1;
}

.enhance-card small,
.enhance-card b {
  display: block;
}

.enhance-card small {
  color: #65e4d4;
  font-size: 5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.enhance-card b {
  margin-top: 3px;
  overflow: hidden;
  font-size: 6px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.enhance-live {
  padding: 4px 6px;
  border-radius: 99px;
  background: rgba(101, 228, 212, 0.1);
  color: #65e4d4;
  font-size: 5px;
  text-transform: uppercase;
}

.reveal-scene {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 58% 43%, rgba(255, 151, 113, 0.2), transparent 25%),
    radial-gradient(circle at 42% 53%, rgba(93, 124, 255, 0.24), transparent 38%);
}

.reveal-browser {
  position: absolute;
  top: 29px;
  left: 50%;
  width: 82%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: #ece6dc;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%) rotate(-1.5deg);
  animation: reveal-float 5s ease-in-out infinite alternate;
}

.reveal-bar {
  display: grid;
  height: 23px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 8px;
  background: #f9f6f0;
  color: #77716a;
}

.reveal-bar span {
  display: flex;
  gap: 3px;
}

.reveal-bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c6beb5;
}

.reveal-bar b {
  font-size: 5px;
  font-weight: 500;
}

.reveal-bar em {
  justify-self: end;
  font-size: 7px;
  font-style: normal;
}

.reveal-page {
  position: relative;
  min-height: 158px;
  padding: 11px 13px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 35%, rgba(198, 115, 85, 0.55), transparent 30%),
    linear-gradient(140deg, #dfd5c7, #ad8d77);
  color: #251c18;
}

.reveal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 4px;
  letter-spacing: 0.08em;
}

.reveal-copy {
  padding: 25px 2px 18px;
}

.reveal-copy small {
  font-size: 4px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.reveal-copy strong {
  display: block;
  margin: 6px 0 9px;
  font-family: var(--font-display), serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.82;
}

.reveal-copy span {
  padding: 5px 7px;
  border-radius: 99px;
  background: #251c18;
  color: white;
  font-size: 4px;
  text-transform: uppercase;
}

.reveal-gallery {
  position: absolute;
  right: 11px;
  bottom: 12px;
  display: grid;
  width: 44%;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4px;
}

.reveal-gallery i {
  min-height: 31px;
  border-radius: 3px;
  background: linear-gradient(145deg, #765f52, #2d2928);
}

.reveal-gallery i:first-child {
  min-height: 66px;
  grid-row: span 2;
  background: linear-gradient(145deg, #c48d70, #79584a);
}

.reveal-gallery i:last-child {
  background: #2a2d3b;
}

.reveal-tag {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(9, 12, 26, 0.88);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.7);
  font-size: 6px;
  backdrop-filter: blur(10px);
}

.reveal-tag span {
  color: #67e5cc;
}

.reveal-tag--copy {
  bottom: 24px;
  left: 17px;
}

.reveal-tag--mobile {
  right: 14px;
  bottom: 39px;
}

.reveal-spark {
  position: absolute;
  z-index: 4;
  top: 22px;
  right: 17px;
  color: #ffab86;
  font-size: 18px;
  filter: drop-shadow(0 0 12px rgba(255, 151, 113, 0.8));
  animation: pulse 2.4s ease-in-out infinite;
}

.step-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display), serif;
  font-size: 34px;
  font-weight: 400;
}

.step-card > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  line-height: 1.7;
}

.possibilities {
  padding-top: 165px;
  padding-bottom: 165px;
}

.possibilities-heading {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  gap: 6vw;
}

.possibilities h2 {
  font-size: clamp(60px, 7.2vw, 105px);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 110px;
}

.capability {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d7d7d2;
  border-radius: 14px;
  background: #f1f1ec;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.capability:hover {
  box-shadow: 0 24px 65px rgba(25, 31, 55, 0.12);
  transform: translateY(-7px);
}

.capability-media {
  position: relative;
  height: 205px;
  overflow: hidden;
  background: #d9dce6;
}

.capability-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 10, 22, 0.58));
  content: "";
}

.capability-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03);
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.capability:hover .capability-media img {
  transform: scale(1.06);
}

.capability-media > span,
.capability-media > i {
  position: absolute;
  z-index: 2;
  bottom: 15px;
  color: white;
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.capability-media > span {
  left: 16px;
}

.capability-media > i {
  right: 16px;
}

.capability-copy {
  position: relative;
  min-height: 285px;
  padding: 27px 25px 30px;
}

.capability-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid #c5c6cf;
  border-radius: 50%;
  color: var(--electric);
  background: rgba(255, 255, 255, 0.58);
}

.capability h3 {
  margin: 52px 0 17px;
  font-family: var(--font-display), serif;
  font-size: 29px;
  font-weight: 400;
}

.capability p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.showcase {
  padding: 145px 0 160px;
}

.sample-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(420px, 1fr));
  gap: 18px;
  width: min(1700px, calc(100% - 40px));
  margin: 90px auto 0;
}

.sample {
  position: relative;
  display: flex;
  min-height: 610px;
  padding: 26px;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  background: #161924;
  color: white;
  isolation: isolate;
}

.sample::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.2) 0%, rgba(5, 7, 13, 0.08) 30%, rgba(5, 7, 13, 0.88) 88%, rgba(5, 7, 13, 0.96) 100%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.58), transparent 70%);
  content: "";
}

.sample-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 900ms ease;
}

.sample:hover .sample-image {
  transform: scale(1.045);
}

.sample-top,
.sample-footer {
  position: relative;
  z-index: 2;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.sample-top > span {
  font-family: var(--font-display), serif;
  font-size: 20px;
  text-transform: none;
}

.sample-top i {
  font-style: normal;
}

.sample-content {
  position: relative;
  z-index: 2;
  margin: auto 0;
}

.sample-content small {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.sample-content h3 {
  margin: 15px 0;
  font-family: var(--font-display), serif;
  font-size: 63px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.sample-content h3 em {
  color: #865544;
  font-weight: 400;
}

.sample-content p {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.6;
}

.sample--construction .sample-image {
  object-position: 53% center;
  filter: saturate(0.72) contrast(1.05) sepia(0.08);
}

.sample--construction .sample-content h3 em {
  color: #ff9b75;
}

.sample--insurance .sample-image {
  object-position: 50% center;
  filter: saturate(0.7) contrast(1.05) hue-rotate(8deg);
}

.sample--insurance::before {
  background:
    linear-gradient(180deg, rgba(4, 18, 32, 0.22), transparent 34%, rgba(3, 19, 32, 0.92) 88%, rgba(3, 19, 32, 0.98)),
    linear-gradient(90deg, rgba(3, 19, 32, 0.66), transparent 70%);
}

.sample--insurance .sample-content h3 em {
  color: #73e0d2;
}

.sample--restaurant .sample-image {
  object-position: 52% center;
  filter: saturate(0.86) contrast(1.12);
}

.sample--restaurant::before {
  background:
    linear-gradient(180deg, rgba(26, 5, 5, 0.18), transparent 30%, rgba(30, 8, 7, 0.9) 88%, rgba(22, 5, 5, 0.98)),
    linear-gradient(90deg, rgba(26, 5, 5, 0.62), transparent 72%);
}

.sample--restaurant .sample-content h3 {
  max-width: 440px;
}

.sample--restaurant .sample-content h3 em {
  color: #f0a866;
}

.vision {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 9vw;
  min-height: 900px;
  padding-top: 140px;
  padding-bottom: 140px;
}

.vision-collage {
  position: relative;
  height: 610px;
}

.vision-collage::before {
  position: absolute;
  top: 9%;
  left: 2%;
  width: 88%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 124, 255, 0.2), transparent 66%);
  filter: blur(18px);
  content: "";
}

.vision-photo {
  position: absolute;
  overflow: hidden;
  border: 6px solid white;
  border-radius: 18px;
  background: #dfe2ea;
  box-shadow: 0 28px 65px rgba(31, 37, 70, 0.18);
}

.vision-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vision-photo--one {
  top: 7%;
  left: 0;
  width: 65%;
  height: 49%;
  transform: rotate(-5deg);
}

.vision-photo--one::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 8, 20, 0.72));
  content: "";
}

.vision-photo--one span {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 20px;
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vision-photo--two {
  top: 18%;
  right: 2%;
  width: 44%;
  height: 47%;
  transform: rotate(6deg);
}

.vision-photo--three {
  right: 13%;
  bottom: 2%;
  width: 56%;
  height: 42%;
  transform: rotate(-2deg);
}

.vision-floating-card {
  position: absolute;
  z-index: 5;
  bottom: 17%;
  left: 2%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 13px;
  background: rgba(8, 11, 26, 0.86);
  box-shadow: 0 18px 50px rgba(20, 27, 63, 0.25);
  color: white;
  backdrop-filter: blur(16px);
}

.vision-floating-card .status-dot {
  flex: 0 0 auto;
}

.vision-floating-card b,
.vision-floating-card small {
  display: block;
}

.vision-floating-card b {
  font-size: 9px;
}

.vision-floating-card small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 7px;
}

.vision h2 {
  margin-top: 30px;
  font-size: clamp(60px, 7vw, 104px);
}

.vision-copy > p:last-child {
  max-width: 620px;
  margin: 45px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.launch {
  position: relative;
  min-height: 880px;
  overflow: hidden;
  background: var(--night);
  color: white;
}

.launch-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 124, 255, 0.3), rgba(190, 67, 111, 0.14) 40%, transparent 68%);
  filter: blur(20px);
  transform: translate(-50%, -50%);
}

.launch-grid {
  mask-image: radial-gradient(circle at center, black, transparent 65%);
}

.launch-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 880px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.launch h2 {
  margin-top: 32px;
  font-size: clamp(70px, 8.4vw, 128px);
}

.launch-content > p {
  max-width: 580px;
  margin: 38px auto;
  color: rgba(255, 255, 255, 0.53);
  font-size: 16px;
  line-height: 1.75;
}

.launch-content small {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding-top: 36px;
  padding-bottom: 36px;
  background: var(--paper);
  font-size: 9px;
}

.footer .brand-logo {
  width: 190px;
  filter: none;
}

.footer p,
.footer > span {
  margin: 0;
  color: var(--muted);
}

.footer div {
  display: flex;
  gap: 25px;
}

@keyframes ambient-drift {
  to { transform: translate(40px, -30px) scale(1.12); }
}

@keyframes pulse {
  50% { opacity: 0.55; transform: scale(0.82); }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes float-card {
  to { transform: translateY(-12px) rotateY(4deg) rotateZ(-1deg); }
}

@keyframes float-card-two {
  to { transform: translateY(12px) rotateY(-6deg) rotateZ(1deg); }
}

@keyframes small-float {
  to { transform: translateY(-9px); }
}

@keyframes cursor-drift {
  to { transform: translate(8px, -6px) rotate(-5deg); }
}

@keyframes reveal-float {
  to { transform: translateX(-50%) translateY(-7px) rotate(0.5deg); }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding-top: 110px;
  }

  .hero-copy {
    position: relative;
    z-index: 4;
  }

  .creation-stage {
    width: min(100%, 720px);
    margin: 40px auto 0;
  }

  .industry-inner p:nth-last-child(-n + 2) {
    display: none;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sample-rail {
    grid-template-columns: repeat(3, 420px);
    overflow-x: auto;
  }

  .footer {
    grid-template-columns: 1fr auto;
  }

  .footer p,
  .footer div {
    display: none;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 36px, 1420px);
  }

  .nav-cta {
    padding-inline: 13px;
    font-size: 8px;
  }

  .hero-layout {
    padding-top: 80px;
  }

  .hero-video {
    object-position: 60% center;
    opacity: 0.42;
    transform: scale(1.12);
  }

  .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(5, 7, 17, 0.56) 0%, rgba(5, 7, 17, 0.72) 55%, #050711 100%),
      radial-gradient(circle at 60% 26%, rgba(93, 124, 255, 0.22), transparent 48%);
  }

  .hero h1 {
    font-size: clamp(62px, 18vw, 88px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .creation-stage {
    min-height: 590px;
    transform: scale(0.82);
    transform-origin: top center;
    margin-bottom: -90px;
  }

  .prompt-card {
    left: 0;
  }

  .website-card {
    right: -13%;
  }

  .floating-tag--copy {
    left: -3%;
  }

  .floating-tag--design {
    right: -8%;
  }

  .industry-inner {
    justify-content: flex-start;
    overflow: hidden;
  }

  .industry-inner p:nth-last-child(-n + 4) {
    display: none;
  }

  .manifesto,
  .possibilities {
    padding-top: 105px;
    padding-bottom: 105px;
  }

  .manifesto h2 {
    font-size: clamp(57px, 16vw, 82px);
  }

  .manifesto-bottom,
  .possibilities-heading,
  .vision {
    grid-template-columns: 1fr;
  }

  .manifesto-line {
    display: none;
  }

  .section-heading,
  .showcase-header {
    align-items: start;
    flex-direction: column;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 450px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    margin-top: 75px;
  }

  .capability {
    min-height: 0;
  }

  .capability:first-child {
    border-top: 1px solid #d7d7d2;
  }

  .capability h3 {
    margin-top: 48px;
  }

  .showcase {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .sample-rail {
    grid-template-columns: repeat(3, 330px);
    width: calc(100% - 18px);
    margin-left: 18px;
  }

  .sample {
    min-height: 530px;
  }

  .sample-content h3 {
    font-size: 50px;
  }

  .vision {
    gap: 40px;
    min-height: 0;
    padding-top: 100px;
    padding-bottom: 110px;
  }

  .vision-collage {
    height: 480px;
  }

  .launch,
  .launch-content {
    min-height: 760px;
  }

  .launch h2 {
    font-size: clamp(62px, 17vw, 84px);
  }

  .button--large {
    width: 100%;
  }

  .footer .brand-logo {
    width: 170px;
  }
}

@media (max-width: 520px) {
  .site-header .brand-logo {
    width: 142px;
  }

  .nav-cta {
    max-width: 125px;
    text-align: center;
  }

  .creation-stage {
    left: 50%;
    width: 650px;
    margin-left: -325px;
    transform: scale(0.63);
    margin-bottom: -205px;
  }

  .hero-proof {
    margin-top: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Full-width MatosSites Portal screens. */
.matossites-app-page {
  margin: 0;
  min-height: 100vh;
  background: #060814;
}

.matos-app-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 8, 20, 0.92);
  backdrop-filter: blur(18px);
}

.matos-app-brand img {
  display: block;
  width: min(238px, 52vw);
  height: auto;
}

.matos-app-home {
  color: rgba(255, 255, 255, 0.78);
  font: 700 12px/1 "DM Sans", sans-serif;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.matos-page-shell {
  min-height: calc(100vh - 82px);
}

@media (max-width: 640px) {
  .matos-app-header {
    padding: 14px 18px;
  }

  .matos-app-home {
    font-size: 10px;
  }
}
