/* Serbio — Clean Flagship Dark UI & Real App Screenshots */

:root {
  --bg: #060e18;
  --surface: #0b1726;
  --surface-2: #112238;
  --surface-3: #18304d;
  --ink: #f1f5f9;
  --muted: #9eb3cc;
  --accent: #1cb0f6;
  --accent-hover: #3bc0ff;
  --accent-ink: #03121e;

  --font-main: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;

  /* 5 clear type sizes, sentence-case calm scale */
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.125rem, 1.05rem + 0.45vw, 1.375rem);
  --step-head: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
  --step-display: clamp(2.25rem, 1.4rem + 3vw, 4.125rem);

  --margin: clamp(20px, 4.5vw, 68px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) var(--bg);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 4px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 200;
}

.skip-link:focus {
  left: var(--margin);
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--margin);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--step-body);
  text-decoration: none;
  border: 0;
  white-space: nowrap;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.btn-sm {
  padding: 9px 18px;
  font-size: var(--step-small);
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.btn-surface {
  background: var(--surface-2);
  color: var(--ink);
}

.btn-surface:hover {
  background: var(--surface-3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 14, 24, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  border-radius: 9px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: var(--step-small);
  font-weight: 500;
  transition: color 160ms var(--ease-out);
}

.site-nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch[data-ui] {
  display: inline-flex;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: 0;
  border-radius: 7px;
  padding: 6px 10px;
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--muted);
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.is-active {
  background: var(--surface-2);
  color: var(--ink);
}

/* Mobile Hamburger & Drawer */
.nav-toggle[data-ui] {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: background-color 160ms var(--ease-out);
}

.nav-toggle[data-ui]:hover {
  background: var(--surface-2);
}

.nav-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 240ms var(--ease-out), opacity 180ms ease;
}

.nav-toggle.is-open .nav-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open .nav-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer[data-ui] {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  padding: 16px var(--margin) 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 24px 48px rgba(2, 8, 16, 0.72);
  animation: drawerDrop 240ms var(--ease-expo);
}

.mobile-drawer[hidden] {
  display: none;
}

@keyframes drawerDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--step-lead);
  font-weight: 700;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  transition: background-color 160ms ease, color 160ms ease;
}

.mobile-nav a:hover {
  background: var(--surface-2);
  color: var(--accent);
}

.drawer-cta {
  width: 100%;
}

/* HERO */
.hero {
  position: relative;
  min-height: min(92svh, 860px);
  display: flex;
  align-items: center;
  padding-block: clamp(32px, 5vw, 64px) clamp(20px, 3vw, 40px);
  overflow: clip;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0.24;
  transform: scale(1.04);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 24, 0.56);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 64px);
}

.hero-title {
  font-size: clamp(2.125rem, 3.6vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .line {
  display: block;
}

.hero-lead {
  font-size: var(--step-lead);
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 28px;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.audio-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
}

.audio-eq span {
  display: block;
  width: 3px;
  height: 5px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform 180ms ease;
}

.audio-eq span:nth-child(2) {
  height: 11px;
}

.audio-eq span:nth-child(3) {
  height: 8px;
}

.is-playing .audio-eq span {
  animation: eqWave 650ms ease-in-out infinite alternate;
}

.is-playing .audio-eq span:nth-child(2) {
  animation-delay: 140ms;
}

.is-playing .audio-eq span:nth-child(3) {
  animation-delay: 280ms;
}

@keyframes eqWave {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1.15); }
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(20px, 3vw, 38px);
  margin: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat dt {
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.hero-stat dd {
  margin: 0;
  font-size: var(--step-small);
  color: var(--muted);
}

/* ROTATING HERO PHONES CAROUSEL */
.hero-phones[data-ui] {
  position: relative;
  --card-w: clamp(216px, 19.5vw, 272px);
  height: clamp(512px, 45.5vw, 636px);
  display: flex;
  align-items: center;
  justify-content: center;
  --px: 0px;
  --py: 0px;
}

.phones-halo {
  position: absolute;
  width: clamp(320px, 36vw, 480px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--surface);
  transform: translate3d(calc(var(--px) * -0.4), calc(var(--py) * -0.4), 0);
  transition: transform 320ms var(--ease-out);
}

.hero-phones[data-ui] .phone-card {
  position: absolute;
  top: 6px;
  left: 50%;
  width: var(--card-w);
  margin-left: calc(var(--card-w) * -0.5);
  background: #060e18;
  border: 5px solid #24364e;
  padding: 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(2, 8, 16, 0.72);
  transition: transform 760ms var(--ease-expo), opacity 520ms var(--ease-out);
}

.hero-phones[data-ui] .phone-card img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-phones[data-ui] .phone-card[data-slot="center"] {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) translateY(0) scale(1);
}

.hero-phones[data-ui] .phone-card[data-slot="left"] {
  z-index: 2;
  opacity: 0.92;
  pointer-events: auto;
  transform: translateX(-64%) translateY(24px) scale(0.82);
}

.hero-phones[data-ui] .phone-card[data-slot="right"] {
  z-index: 2;
  opacity: 0.92;
  pointer-events: auto;
  transform: translateX(64%) translateY(24px) scale(0.82);
}

.hero-phones[data-ui] .phone-card[data-slot="back"] {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) translateY(28px) scale(0.74);
}

.hero-phones[data-ui] .phone-card[data-slot="left"]:hover {
  transform: translateX(-64%) translateY(14px) scale(0.84);
}

.hero-phones[data-ui] .phone-card[data-slot="right"]:hover {
  transform: translateX(64%) translateY(14px) scale(0.84);
}

.hero-phones[data-ui] .phone-card[data-slot="center"]:hover {
  transform: translateY(-6px) scale(1);
}

.hero-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-dot {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-dot span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  transition: width 260ms var(--ease-expo), background-color 220ms var(--ease-out);
}

.hero-dot:hover span {
  background: rgba(255, 255, 255, 0.56);
}

.hero-dot.is-active span {
  width: 18px;
  background: var(--accent);
}

/* SHARED SECTION HEADER */
.section-title {
  font-size: var(--step-head);
  margin-bottom: 12px;
}

.section-sub {
  font-size: var(--step-body);
  color: var(--muted);
  max-width: 52ch;
}

/* SECTION 1: INTERACTIVE SCREEN WALKTHROUGH (OBJECT ON A DISC) */
.screens-section {
  background: var(--surface);
  padding-block: clamp(64px, 8vw, 120px);
}

.screens-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.screen-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
}

.screen-tab {
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
  padding: 9px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background-color 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.screen-tab strong {
  font-size: var(--step-lead);
  font-weight: 700;
  color: var(--ink);
  transition: color 180ms var(--ease-out);
}

.screen-tab span {
  font-size: var(--step-small);
  color: var(--muted);
  line-height: 1.45;
}

.screen-tab:hover {
  background: var(--surface-2);
  transform: translateX(4px);
}

.screen-tab.is-active {
  background: var(--surface-2);
}

.screen-tab.is-active strong {
  color: var(--accent);
}

.screen-stage[data-ui] {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: clamp(20px, 3vw, 36px);
  background: var(--bg);
  border-radius: var(--radius-lg);
}

.screen-disc {
  position: absolute;
  top: 26px;
  width: clamp(250px, 30vw, 390px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: #102a49;
  transition: background-color 420ms var(--ease-out), transform 520ms var(--ease-expo);
}

.screen-disc.disc-blue { background: #0f365c; }
.screen-disc.disc-sky { background: #143963; }
.screen-disc.disc-violet { background: #261b47; }
.screen-disc.disc-amber { background: #26293d; }
.screen-disc.disc-teal { background: #0d3a50; }
.screen-disc.disc-slate { background: #162945; }

.screen-stage[data-ui] .phone-viewer {
  position: relative;
  z-index: 2;
  width: clamp(248px, 23vw, 308px);
  border: 5px solid #24364e;
  border-radius: 32px;
  background: #060e18;
  box-shadow: 0 24px 56px rgba(2, 8, 16, 0.72);
  overflow: hidden;
}

.phone-main-img {
  width: 100%;
  height: auto;
  transform-origin: center;
}

.phone-main-img.is-swapping {
  animation: phoneSwap 420ms var(--ease-expo);
}

@keyframes phoneSwap {
  0% { opacity: 0.25; transform: translateY(14px) scale(0.95); }
  100% { opacity: 1; transform: none; }
}

.screen-controls {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.screen-caption-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.screen-caption {
  text-align: left;
}

.screen-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.caption-badge {
  display: inline-block;
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.screen-caption p {
  font-size: var(--step-small);
  color: var(--muted);
  max-width: 44ch;
}

/* SECTION 2: 10 SERBIAN LANDSCAPES GRID */
.regions-section {
  background: var(--bg);
  padding-block: clamp(64px, 8vw, 116px);
}

.regions-head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.reel-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.reel-btn:hover {
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-2px);
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 20px;
}

.region-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.region-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.region-img-wrap img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 500ms var(--ease-expo);
}

.region-card:hover .region-img-wrap img {
  transform: scale(1.05);
}

.region-meta span {
  display: block;
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.region-meta h3 {
  font-size: var(--step-lead);
  margin: 2px 0 4px;
}

.region-meta p {
  font-size: var(--step-small);
  color: var(--muted);
}

/* SECTION 3: 4 CORE CAPABILITIES + 10 BELGRADE AI VENUES */
.venues-section {
  background: var(--surface);
  padding-block: clamp(64px, 8vw, 116px);
}

.cap-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(28px, 4.5vw, 64px);
  margin-bottom: clamp(56px, 7vw, 88px);
}

.cap-tile {
  padding: 4px 0;
}

.cap-tile h3 {
  font-size: var(--step-lead);
  color: var(--ink);
  margin-bottom: 8px;
}

.cap-tile p {
  font-size: var(--step-body);
  color: var(--muted);
  line-height: 1.5;
  max-width: 44ch;
}

.venues-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.venue-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.venue-chip {
  text-align: left;
  background: var(--bg);
  border: 0;
  border-radius: var(--radius-md);
  padding: 13px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.venue-chip span {
  font-weight: 700;
  font-size: var(--step-small);
  color: var(--ink);
}

.venue-chip small {
  font-size: var(--step-small);
  color: var(--muted);
}

.venue-chip:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
}

.venue-chip.is-open {
  background: var(--accent);
}

.venue-chip.is-open span,
.venue-chip.is-open small {
  color: var(--accent-ink);
}

.venue-preview[data-ui] {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.chat-avatar {
  border-radius: 999px;
  background: var(--surface);
}

.chat-top strong {
  display: block;
  font-size: var(--step-lead);
}

.chat-top span {
  font-size: var(--step-small);
  color: var(--accent);
  font-weight: 600;
}

.chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bubble {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: var(--step-body);
  line-height: 1.45;
  max-width: 90%;
  animation: chatPop 280ms var(--ease-expo);
}

.bubble.npc {
  background: var(--surface);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.bubble.user {
  background: var(--surface-2);
  color: var(--ink);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

@keyframes chatPop {
  from { opacity: 0.2; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.chat-missions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mission-pill {
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: var(--step-small);
  font-weight: 600;
}

/* SECTION 4: PRICING */
.pricing-section {
  background: var(--bg);
  padding-block: clamp(64px, 8vw, 116px);
}

.pricing-head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.plan-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.plan-pro {
  background: var(--surface-2);
}

.plan-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pro-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-label {
  font-size: var(--step-lead);
  font-weight: 700;
}

.pro-label {
  color: var(--accent);
}

.trial-chip {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: var(--step-small);
  font-weight: 700;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.plan-price strong {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.plan-price span {
  font-size: var(--step-small);
  color: var(--muted);
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.plan-list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--step-body);
  color: var(--muted);
}

.plan-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.plan-card .btn {
  align-self: flex-start;
}

/* SECTION 5: FAQ */
.faq-section {
  background: var(--surface);
  padding-block: clamp(64px, 8vw, 116px);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.faq-left {
  position: sticky;
  top: 96px;
}

.faq-branko {
  margin-top: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg);
  border-radius: var(--radius-md);
  transition: background-color 200ms ease;
}

.faq-item[open] {
  background: var(--surface-2);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: var(--step-lead);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 240ms var(--ease-out);
}

.faq-toggle::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
  transform: rotate(0deg);
}

.faq-ans {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-out);
}

.faq-item[open] .faq-ans {
  grid-template-rows: 1fr;
}

.faq-ans > div {
  overflow: hidden;
}

.faq-ans p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: var(--step-body);
  max-width: 58ch;
}

/* SECTION 6: CLEAN DOWNLOAD CLOSER */
.cta-section {
  background: var(--bg);
  padding-block: clamp(56px, 7vw, 100px);
}

.cta-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  overflow: hidden;
}

.cta-phones[data-ui] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 360px;
}

.cta-phones[data-ui] .cta-phone-back,
.cta-phones[data-ui] .cta-phone-front {
  width: clamp(162px, 16vw, 214px);
  border: 5px solid #24364e;
  border-radius: 28px;
  background: #060e18;
  box-shadow: 0 22px 48px rgba(2, 8, 16, 0.68);
  transition: transform 360ms var(--ease-expo);
}

.cta-phones[data-ui] .cta-phone-back {
  transform: translateY(-10px);
}

.cta-phones[data-ui] .cta-phone-front {
  position: relative;
  z-index: 2;
  transform: translateY(14px);
}

.cta-card:hover .cta-phone-back {
  transform: translateY(-18px);
}

.cta-card:hover .cta-phone-front {
  transform: translateY(6px);
}

.cta-branko {
  margin-bottom: 16px;
}

.cta-body .section-sub {
  margin-bottom: 24px;
}

/* FOOTER */
.site-footer {
  background: var(--bg);
  padding-block: clamp(32px, 4vw, 56px);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-wrap strong {
  display: block;
  font-size: var(--step-lead);
}

.footer-brand-wrap p {
  font-size: var(--step-small);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: var(--step-small);
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: var(--step-small);
  color: var(--muted);
}

/* GPU-ONLY SCROLL & LOAD ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  .js [data-load] {
    opacity: 0;
    transform: translateY(20px);
    animation: enterUp 720ms var(--ease-expo) var(--d, 0ms) forwards;
  }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 640ms var(--ease-out), transform 780ms var(--ease-expo);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}

@keyframes enterUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* TABLET (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid,
  .screens-grid,
  .venues-split,
  .pricing-grid,
  .faq-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

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

  .hero-phones[data-ui] {
    min-height: 440px;
  }

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

  .faq-left {
    position: static;
  }
}

/* PHONE (<= 767px) */
@media (max-width: 767px) {
  .site-nav,
  .nav-cta {
    display: none;
  }

  .nav-toggle[data-ui] {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding-block: 18px 28px;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero-lead {
    margin-bottom: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 20px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-phones[data-ui] {
    --card-w: 186px;
    height: 448px;
  }

  .hero-phones[data-ui] .phone-card {
    border-width: 4px;
    border-radius: 24px;
  }

  .hero-phones[data-ui] .phone-card[data-slot="left"] {
    transform: translateX(-42%) translateY(18px) scale(0.8);
  }

  .hero-phones[data-ui] .phone-card[data-slot="right"] {
    transform: translateX(42%) translateY(18px) scale(0.8);
  }

  .hero-phones[data-ui] .phone-card[data-slot="back"] {
    transform: translateX(0) translateY(20px) scale(0.72);
  }

  .cap-row,
  .venue-chips {
    grid-template-columns: 1fr;
  }

  .regions-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan-card .btn {
    width: 100%;
  }

  .cta-phones[data-ui] {
    min-height: 290px;
  }
}

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