/* SoHype – ultra-lightweight rebuild. Same look, no WordPress/Bricks/jQuery/slick. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: 'GeneralSans'; src: url('../fonts/GeneralSans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'GeneralSans'; src: url('../fonts/GeneralSans-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'GeneralSans'; src: url('../fonts/GeneralSans-Semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'GeneralSans'; src: url('../fonts/GeneralSans-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'AquateScript'; src: url('../fonts/AquateScript.woff2') format('woff2'); font-weight: 400; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --bg: #000;
  --text: #fff;
  --muted: #c4c4c4;
  --pink: #f539ed;
  --lime: #dbff00;
  --card-radius: 12px;
  --container: 1160px;
  --header-h: 72px;
  --purple-grad: linear-gradient(140deg, #a44ff0 0%, #7a1fd8 55%, #5c14b8 100%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'GeneralSans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .4em; font-weight: 600; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.script { font-family: 'AquateScript', cursive; color: var(--pink); font-weight: 400; }

.eyebrow { display: block; text-align: center; font-size: 17px; margin-bottom: 6px; color: var(--text); }
.h-display { text-align: center; font-size: clamp(40px, 5.5vw, 64px); font-weight: 700; }
.h-display .script { font-size: 1.1em; margin-left: .15em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: 1px solid var(--pink);
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background .25s, color .25s;
  font-family: inherit;
}
.btn:hover { background: var(--pink); color: #000; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(8px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); max-width: 1300px;
}
.brand img { height: 30px; width: auto; }
.site-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a { font-size: 14.5px; font-weight: 500; }
.site-nav a:hover { color: var(--pink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 40px) 0 40px; }
.hero .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; max-width: 1300px; }
.hero .kicker { font-size: 18px; margin: 0 0 4px; }
.hero h1 { font-size: clamp(44px, 5.5vw, 68px); font-weight: 700; }
.hero h1 .script { font-size: 1.05em; }
.hero .sub { color: var(--pink); font-size: clamp(18px, 2vw, 24px); font-weight: 500; margin: 4px 0 18px; }
.hero p.lead { color: var(--muted); max-width: 420px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Platform bar ---------- */
.platforms { padding: 34px 0 10px; }
.platforms .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 30px; flex-wrap: wrap;
}
.platforms img { height: 26px; width: auto; opacity: .95; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }

/* ---------- Carousel (shared: showcase + team) ---------- */
.carousel-wrap { position: relative; }
.carousel {
  display: flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; flex: 0 0 calc((100% - 40px) / 3); }
.car-btn {
  position: absolute; top: 45%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; padding: 10px; z-index: 5;
}
.car-btn svg { width: 22px; height: 38px; stroke: var(--pink); fill: none; stroke-width: 3; }
.car-btn:hover svg { stroke: #fff; }
.car-btn.prev { left: -58px; }
.car-btn.next { right: -58px; }
.car-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.car-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 0; padding: 0; background: #fff; opacity: .85; cursor: pointer;
}
.car-dots button.is-active { background: var(--pink); opacity: 1; }

/* ---------- Showcase video slider ---------- */
.vs-item { position: relative; border-radius: var(--card-radius); overflow: hidden; aspect-ratio: 9 / 16; background: #111; }
.vs-item video, .vs-item .vs-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vs-poster { background-size: cover; background-position: top center; }
.vs-play {
  position: absolute; inset: 0; margin: auto; width: 70px; height: 70px;
  background: none; border: 0; cursor: pointer; padding: 0; z-index: 3;
}
.vs-play svg { width: 70px; height: 70px; }
.vs-play circle { fill: rgba(0,0,0,.8); transition: fill .4s; }
.vs-play path { fill: #fff; }
.vs-play:hover circle { fill: var(--pink); }
.vs-item.is-playing .vs-play, .vs-item.is-playing .vs-poster { display: none; }
.vs-mute {
  position: absolute; left: 16px; top: 16px; z-index: 4;
  background: rgba(255,255,255,.85); border: 0; border-radius: 50%;
  width: 40px; height: 40px; cursor: pointer; display: none;
  align-items: center; justify-content: center;
}
.vs-item.is-playing .vs-mute { display: flex; }
.vs-mute svg { width: 22px; height: 22px; fill: #1b061a; }

/* ---------- Offer ---------- */
.offer-intro { text-align: center; max-width: 520px; margin: 10px auto 60px; font-size: 18px; }
.offer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.offer-cols h3 { font-size: 19px; font-weight: 600; margin-bottom: 14px; }
.offer-cols p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 90px 0; }
.cta h2 { font-size: clamp(36px, 4.5vw, 56px); font-weight: 700; }
.cta .arrow-wrap { position: relative; display: inline-block; margin-top: 34px; }
.cta .arrow-wrap img {
  position: absolute; right: -70px; top: -44px; width: 60px; pointer-events: none;
}

/* ---------- Use case ---------- */
.usecase-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; margin-top: 56px; align-items: start; }

/* graphic (like the original): chaty speech-bubble on top, phone below overlapping the bubble's tail */
.uc-graphic { position: relative; width: 100%; max-width: 340px; margin-inline: auto; }
.uc-bubble { display: block; width: 100%; height: auto; }
.uc-phone {
  position: relative; z-index: 2;
  width: 66.5%; margin: -77% 0 0 31%;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.uc-screens img { display: none; width: 100%; }
.uc-screens img.is-active { display: block; }
.uc-dots { width: 66.5%; margin: 22px 0 0 31%; }

/* stats: two boxes framed by square dots, white -> pink -> violet (like the original) */
.uc-stats { display: flex; align-items: center; gap: 8px; margin-bottom: 34px; }
.uc-stat { position: relative; flex: 1; text-align: center; padding: 32px 14px 28px; }
.uc-stat::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask:
    linear-gradient(90deg, #000 6px, transparent 0) 0 0 / 13px 6px round no-repeat,
    linear-gradient(90deg, #000 6px, transparent 0) 0 100% / 13px 6px round no-repeat,
    linear-gradient(#000 6px, transparent 0) 0 0 / 6px 13px no-repeat round,
    linear-gradient(#000 6px, transparent 0) 100% 0 / 6px 13px no-repeat round,
    linear-gradient(#000, #000) 100% 100% / 6px 6px no-repeat;
  mask:
    linear-gradient(90deg, #000 6px, transparent 0) 0 0 / 13px 6px round no-repeat,
    linear-gradient(90deg, #000 6px, transparent 0) 0 100% / 13px 6px round no-repeat,
    linear-gradient(#000 6px, transparent 0) 0 0 / 6px 13px no-repeat round,
    linear-gradient(#000 6px, transparent 0) 100% 0 / 6px 13px no-repeat round,
    linear-gradient(#000, #000) 100% 100% / 6px 6px no-repeat;
}
.uc-stat:first-child::before { background: linear-gradient(90deg, #fff, #f539ed 55%, #b04dff); }
.uc-stat:nth-child(2)::before { background: linear-gradient(90deg, #b04dff, #7c4dff 55%, #5b5bff); }
.uc-stat b { display: block; font-size: 46px; font-weight: 700; line-height: 1.1; }
.uc-stat b sup { color: var(--lime); font-size: 26px; font-weight: 700; }
.uc-stat span { display: block; font-weight: 600; font-size: 15px; margin-top: 8px; }
.uc-stat small { color: var(--muted); font-size: 12.5px; }
.uc-arrow { flex: 0 0 auto; background: none; border: 0; padding: 6px; color: var(--lime); cursor: pointer; }
.uc-arrow svg { display: block; width: 22px; height: 40px; }
.uc-arrow:hover { color: var(--pink); }
.uc-text h3 { font-size: 16px; font-weight: 700; letter-spacing: .04em; margin: 22px 0 8px; text-transform: uppercase; }
.uc-text p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.6; }
.uc-foot { display: flex; justify-content: center; margin-top: 56px; }
.uc-foot .btn { display: inline-flex; align-items: center; gap: 12px; padding: 12px 26px; font-size: 15px; }
.uc-foot .arrow-inline { width: 26px; height: auto; }
@media (max-width: 640px) {
  .uc-graphic { max-width: 280px; }
  .uc-stat b { font-size: 36px; }
  .uc-stat b sup { font-size: 20px; }
  .uc-arrow { display: none; }
}

/* ---------- Team ---------- */
.team-card {
  position: relative; border-radius: var(--card-radius); overflow: hidden;
  aspect-ratio: 3 / 4.4; background: #111;
}
.team-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-info {
  position: absolute; inset: auto 0 0 0; padding: 70px 18px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.92) 70.15%);
}
.team-info h3 { font-size: 17px; font-weight: 700; text-transform: uppercase; margin: 0 0 2px; }
.team-info .role { color: var(--pink); font-size: 13.5px; font-weight: 600; margin: 0 0 10px; }
.team-info a { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.team-info a:hover { color: #fff; }
.team-info a img { width: 15px; height: 15px; }
.carousel--team > * { flex: 0 0 calc((100% - 60px) / 4); }

/* ---------- Contact ---------- */
.contact { background: #000; padding: 90px 0 70px; }
.contact .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: stretch; max-width: 1300px; }
.contact .eyebrow { text-align: left; }
.contact h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 700; }
.contact form { margin-top: 30px; display: grid; gap: 16px; max-width: 440px; }
.contact input, .contact textarea {
  background: #161616; border: 1px solid #2c2c2c; border-radius: 8px;
  color: #fff; font-family: inherit; font-size: 14.5px;
  padding: 13px 16px; width: 100%;
}
.contact input::placeholder, .contact textarea::placeholder { color: #8a8a8a; }
.contact textarea { min-height: 120px; resize: vertical; }
.contact .btn { justify-self: start; margin-top: 8px; }
.contact-map {
  border-radius: var(--card-radius);
  background: url('../img/map.webp') center/cover no-repeat;
  min-height: 420px;
}
.form-note { font-size: 12.5px; color: #8a8a8a; margin: 4px 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #1c1c1c; padding: 44px 0; }
.site-footer .container {
  display: grid; grid-template-columns: auto 1fr 1.3fr auto auto; gap: 44px;
  align-items: start; max-width: 1300px; font-size: 13.5px; color: var(--muted);
}
.site-footer .brand img { height: 34px; }
.site-footer h4 { color: #fff; font-size: 13.5px; font-weight: 600; margin: 0 0 6px; }
.site-footer p { margin: 0 0 3px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }
.footer-contact { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; }
.footer-copy { grid-column: 1 / -1; text-align: center; margin-top: 26px; color: #777; font-size: 12.5px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; padding: calc(var(--header-h) + 50px) 24px 80px; margin: 0 auto; }
.legal h1 { font-size: clamp(32px, 4vw, 46px); }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; }
.legal a { color: var(--pink); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-inview { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1330px) {
  .car-btn.prev { left: -8px; }
  .car-btn.next { right: -8px; }
  .car-btn { background: rgba(0,0,0,.55); border-radius: 50%; }
}
@media (max-width: 980px) {
  .hero .container, .usecase-grid, .contact .container { grid-template-columns: 1fr; }
  .offer-cols { grid-template-columns: 1fr; gap: 30px; }
  .carousel > * { flex-basis: calc((100% - 20px) / 2); }
  .carousel--team > * { flex-basis: calc((100% - 20px) / 2); }
  .platforms .container { justify-content: center; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .cta .arrow-wrap img { display: none; }
}
@media (max-width: 640px) {
  .carousel > *, .carousel--team > * { flex-basis: 86%; }
  .site-footer .container { grid-template-columns: 1fr; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #000; border-bottom: 1px solid #222;
    transform: translateY(-140%); transition: transform .3s;
  }
  .site-nav.is-open { transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 12px 24px 18px; align-items: flex-start; }
  .site-nav a { display: block; padding: 10px 0; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
