:root {
  --ink: #f8fafc;
  --muted: #aab7c4;
  --deep: #220041;
  --panel: #3f0d76;
  --panel-soft: #4c1486;
  --line: rgba(255, 255, 255, .12);
  --electric: #ff5b91;
  --warm: #f43a91;
  --green: #ffffff;
  --pink: #ff5b91;
  --purple: #421078;
  --purple-dark: #2d0059;
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

@font-face {
  font-family: "TT Wellingtons";
  src: url("assets/fonts/TT-Wellingtons-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "TT Wellingtons";
  src: url("assets/fonts/TT-Wellingtons-DemiBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "TT Wellingtons";
  src: url("assets/fonts/TT-Wellingtons-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "TT Wellingtons", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(45, 0, 89, .92), rgba(45, 0, 89, .96)),
    url("assets/brand/pattern-purple.jpg") center top / 920px auto repeat,
    var(--purple-dark);
  line-height: 1.45;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(34, 0, 65, .86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 91, 145, .34));
}

.mirror-text {
  display: inline-block;
  color: var(--pink);
  transform: scaleX(-1);
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .06);
}

main {
  overflow: hidden;
}

.hero-copy,
.system-card,
.section-head,
.problem-grid,
.solution-grid,
.service-list,
.demo-grid,
.contact-card {
  min-width: 0;
}

section {
  padding: 74px clamp(18px, 5vw, 72px);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  display: grid;
  gap: 0;
  font-size: clamp(56px, 10vw, 126px);
  line-height: .88;
  max-width: 850px;
  letter-spacing: 0;
  font-weight: 900;
}

.mirror-word {
  display: inline-block;
  width: fit-content;
  color: var(--pink);
  transform: scaleX(-1);
  transform-origin: center;
}

h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.hero-subtitle {
  max-width: 650px;
  margin-top: 22px;
  color: #dbe6ef;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.22;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #f43a91, #ff6a9e);
  box-shadow: 0 18px 36px rgba(244, 58, 145, .22);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06);
}

.button.full {
  width: 100%;
}

.system-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,91,145,.15), rgba(255,255,255,.045)),
    var(--panel);
  box-shadow: var(--shadow);
}

.brand-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
}

.hero-brain {
  position: absolute;
  top: 0;
  right: 5%;
  width: min(74%, 560px);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 26px 50px rgba(0,0,0,.24));
  opacity: .98;
}

.brand-stage .system-card {
  width: min(100%, 560px);
  margin-left: auto;
  position: relative;
  z-index: 1;
}

.screen-top {
  display: flex;
  gap: 7px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.screen-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--pink);
}

.screen-top span:nth-child(2) { background: #fff; }
.screen-top span:nth-child(3) { background: var(--purple-dark); }

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.signal-grid div {
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, .045);
}

.signal-grid small {
  color: var(--muted);
}

.signal-grid strong {
  display: block;
  margin-top: 14px;
  font-size: 42px;
  line-height: 1;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  color: #dbe6ef;
}

.flow span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255,255,255,.05);
  font-size: 13px;
}

.flow i {
  width: 18px;
  height: 1px;
  background: var(--pink);
}

.identity-strip {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .85fr);
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,91,145,.94), rgba(255,91,145,.78)),
    url("assets/brand/pattern-pink.jpg") center / 820px auto repeat;
}

.identity-strip h2 {
  color: #fff;
  max-width: 780px;
}

.identity-strip .eyebrow {
  color: var(--purple-dark);
}

.identity-strip img {
  width: 100%;
  max-width: 620px;
  justify-self: end;
  object-fit: contain;
  filter: drop-shadow(0 20px 38px rgba(45,0,89,.24));
}

.section-head {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-head p:not(.eyebrow) {
  margin-top: 14px;
  font-size: 18px;
}

.problem-grid,
.solution-grid,
.service-list,
.demo-grid {
  display: grid;
  gap: 14px;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, .075);
  color: #edf5fb;
  font-weight: 800;
}

.solution-section,
.demo-section {
  background: rgba(255,255,255,.025);
}

.solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-grid article,
.service-list article,
.demo-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, .055);
}

.solution-grid p,
.service-list p,
.demo-card p {
  margin-top: 9px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--pink);
  font-weight: 900;
}

.service-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-list article {
  min-height: 145px;
}

.demo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-card {
  min-height: 310px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
}

.demo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .9;
  background:
    linear-gradient(180deg, transparent 0%, rgba(11,17,24,.92) 68%),
    url("assets/brand/pattern-purple.jpg") center / cover;
}

.content-demo::before {
  background:
    linear-gradient(180deg, transparent 0%, rgba(11,17,24,.92) 68%),
    url("assets/brand/team-signatures.jpg") center / cover;
}

.real-estate-demo::before {
  background:
    linear-gradient(180deg, transparent 0%, rgba(11,17,24,.92) 68%),
    url("assets/brand/statue-collage.jpg") center / cover;
}

.leads-demo::before {
  background:
    linear-gradient(180deg, transparent 0%, rgba(11,17,24,.92) 68%),
    url("assets/brand/cap-mockup.jpg") center / cover;
}

.demo-card > * {
  position: relative;
  z-index: 1;
}

.demo-label {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 12px;
  color: #fff;
  background: var(--pink);
  font-size: 12px;
  font-weight: 900;
}

.demo-card a {
  width: fit-content;
  margin-top: 16px;
  color: var(--pink);
  font-weight: 850;
  text-decoration: none;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: center;
}

.contact-section h2 {
  max-width: 780px;
}

.contact-section p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 14px;
  font-size: 18px;
}

.contact-card {
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04)),
    var(--panel-soft);
}

.contact-card p {
  margin: 10px 0 18px;
}

.whatsapp-link {
  display: block;
  margin-top: 14px;
  color: var(--pink);
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer strong {
  color: var(--ink);
}

@media (max-width: 940px) {
  .hero,
  .contact-section,
  .identity-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .brand-stage {
    min-height: 520px;
  }

  .hero-brain {
    right: 50%;
    transform: translateX(50%);
    width: min(82%, 430px);
  }

  .identity-strip img {
    justify-self: start;
  }

  .problem-grid,
  .solution-grid,
  .demo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  section {
    width: 100%;
    padding-top: 54px;
    padding-bottom: 54px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .problem-grid,
  .solution-grid,
  .service-list,
  .demo-grid,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(44px, 14vw, 62px);
  }

  .mirror-word {
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .button {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .hero-subtitle {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .system-card {
    width: 100%;
    max-width: 100%;
  }

  .brand-stage {
    min-height: 510px;
  }

  .hero-brain {
    width: 300px;
  }

  .flow {
    align-items: flex-start;
  }

  .demo-card {
    min-height: 250px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-copy,
  .system-card,
  .brand-stage {
    width: 100%;
    max-width: 342px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 56px);
  }
}
