@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gendy";
  src: url("assets/fonts/Gendy.otf") format("opentype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Holgada";
  src: url("assets/fonts/Holgada.otf") format("opentype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gacor";
  src: url("assets/fonts/Gacor.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #17191e;
  --bg-soft: #1b1e24;
  --bg-deep: #101216;
  --panel: rgba(27, 30, 36, 0.88);
  --panel-soft: rgba(255, 255, 255, 0.055);
  --panel-hover: rgba(255, 255, 255, 0.085);
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.52);
  --blue: #5ea0ff;
  --blue-strong: #3b82f6;
  --cyan: #67e8f9;
  --violet: #8b5cf6;
  --green: #22c55e;
  --card-radius: 24px;
  --pill-radius: 14px;
  --container: 1240px;
  --shadow-nav: 0 18px 42px -30px rgba(0, 0, 0, 0.95);
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.22);
  --transition: 220ms ease;
  --font-body: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-heading: "Gendy", "Holgada", ui-sans-serif, system-ui, sans-serif;
  --font-accent: "Gacor", var(--font-heading);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgba(94, 160, 255, 0.34);
}

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

::-webkit-scrollbar-track {
  background: #111318;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #111318;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.background-layers,
.background-layers > * {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.background-layers {
  z-index: -4;
}

.base-gradient {
  background: linear-gradient(180deg, #1c1e24 0%, #16181d 100%);
}

.top-radial {
  background: radial-gradient(80% 55% at 50% -8%, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0) 65%);
}

.vignette {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0.2) 100%);
}

#particleCanvas {
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

.navbar {
  position: fixed;
  top: 12px;
  right: 0;
  left: 0;
  z-index: 50;
  padding: 0 24px;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  will-change: transform;
}

.navbar.nav-hidden {
  transform: translateY(calc(-100% - 28px));
  opacity: 0;
}

.nav-card {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--container));
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  margin: 0 auto;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(27, 30, 36, 0.88);
  box-shadow: var(--shadow-nav);
  backdrop-filter: blur(24px);
  transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.navbar.scrolled .nav-card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(27, 30, 36, 0.96);
  box-shadow: 0 18px 42px -24px rgba(0, 0, 0, 1);
}

.brand {
  display: inline-flex;
  min-width: fit-content;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  transition: opacity var(--transition);
}

.navbar .brand {
  flex-shrink: 1;
  min-width: 0;
  max-width: min(280px, 46vw);
  height: 100%;
  max-height: 52px;
  overflow: hidden;
}

.brand:hover {
  opacity: 0.92;
}

.navbar .brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 40px;
  max-width: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.navbar .brand-text {
  display: none;
}

.footer .brand-logo,
.footer-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  outline: none;
}

.nav-menu a.active {
  color: var(--text);
}

.nav-menu a.active::after {
  position: absolute;
  right: 8px;
  bottom: 2px;
  left: 8px;
  width: auto;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.22);
  transition: none;
  pointer-events: none;
}

.nav-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
}

.nav-menu a.active .nav-icon {
  color: rgba(255, 255, 255, 0.95);
}

.nav-menu a.nav-discord {
  color: #fff;
  background: rgba(88, 101, 242, 0.2);
  border-color: rgba(88, 101, 242, 0.38);
}

.nav-menu a.nav-discord:hover,
.nav-menu a.nav-discord:focus-visible {
  background: rgba(88, 101, 242, 0.34);
  color: #fff;
}

.nav-menu a.nav-discord .nav-icon--discord svg {
  fill: #5865f2;
}

.nav-icon svg {
  width: 16px;
  height: 16px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
}

.status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  padding: 0 16px;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  border-color: rgba(255, 255, 255, 0.9);
  background: #ffffff;
  color: #111827;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.08);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: rgba(255, 255, 255, 0.9);
}

.btn-soft {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.btn-soft:hover,
.btn-soft:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.13);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.hero,
.section,
.footer-inner,
.footer > p {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 100vh;
  padding: 160px 0 88px;
  align-content: center;
  justify-items: center;
  gap: 54px;
}

.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker,
.section-eyebrow,
.type-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-kicker {
  margin-bottom: 20px;
  padding: 7px 12px;
}

.hero-app-name {
  margin: 0 0 16px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-tagline {
  margin: 0;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 5vw, 3.85rem);
  font-weight: 800;
  letter-spacing: 0.012em;
  line-height: 1.08;
}

.hero-tagline span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-app-purpose {
  max-width: 700px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.65;
}

.hero-app-purpose strong {
  color: var(--text);
  font-weight: 600;
}

h1 {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 5vw, 3.85rem);
  font-weight: 800;
  letter-spacing: 0.012em;
  line-height: 1.08;
}

h1 span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-copy p {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.hero-actions .hero-cta {
  min-height: 56px;
  padding: 0 32px;
  font-size: 1.06rem;
  font-weight: 750;
  border-radius: 14px;
  letter-spacing: 0.01em;
}

.hero-actions .hero-cta.btn-primary {
  min-height: 58px;
  padding: 0 36px;
  font-size: 1.1rem;
  box-shadow: 0 14px 36px rgba(255, 255, 255, 0.14), 0 4px 14px rgba(0, 0, 0, 0.35);
}

.hero-actions .hero-cta--request {
  min-height: 52px;
  padding: 0 clamp(22px, 4vw, 36px);
  font-family: var(--font-heading, "Poppins", sans-serif);
  font-size: clamp(0.78rem, 2vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hero-actions .hero-cta--request:hover,
.hero-actions .hero-cta--request:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.hero-actions .hero-cta.btn-primary:hover,
.hero-actions .hero-cta.btn-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.18), 0 6px 18px rgba(0, 0, 0, 0.4);
}

.hero-actions .hero-cta.btn-soft {
  padding: 0 30px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
}

.platform-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
}

.platform-stats--3 {
  width: min(100%, 980px);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: stretch;
}

.stat-card {
  min-height: 164px;
  padding: 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.stat-card strong {
  display: flex;
  margin-top: 20px;
  color: var(--text);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 780;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.stat-card p {
  margin-top: 10px;
  color: var(--faint);
  font-size: 0.95rem;
}

.velocity-card strong {
  width: fit-content;
  border-radius: 999px;
  color: #b9fbcf;
  font-size: clamp(2rem, 4vw, 3.4rem);
  text-shadow: 0 0 22px rgba(34, 197, 94, 0.18);
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-eyebrow {
  margin: 0 auto 14px;
  padding: 7px 12px;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 6vw, 4.75rem);
  font-weight: 780;
  letter-spacing: 0.008em;
  line-height: 1.08;
}

.section-heading p {
  max-width: 650px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.filter-panel span {
  display: block;
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 650;
}

.filter-panel strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-pills button {
  height: 34px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  padding: 0 12px;
  font-size: 0.92rem;
  font-weight: 650;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-pills button:hover,
.filter-pills button.active {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.projects-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.resource-card,
.pricing-card,
.contact-form,
.direct-card {
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.resource-card,
.pricing-card {
  overflow: hidden;
  border-radius: var(--card-radius);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.resource-card:hover,
.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.resource-card.is-hidden {
  display: none;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.process-step {
  padding: 20px 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.process-step:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.process-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 32px;
  margin-bottom: 14px;
  padding: 0 10px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--cyan);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-step h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: 0.01em;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  max-width: 760px;
  margin: 0 auto;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition), background var(--transition);
}

.faq-item.is-open {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.faq-trigger {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  padding: 18px 44px 18px 22px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 650;
  text-align: left;
}

.faq-trigger::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  content: "";
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .faq-trigger::after {
  transform: translateY(-35%) rotate(-135deg);
}

.faq-panel {
  height: 0;
  overflow: hidden;
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-panel__inner {
  padding: 0 22px 20px;
}

.faq-panel__inner p {
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

.faq-panel__inner p strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.testimonial-context {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}

.testimonial-context span {
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.35;
}

.testimonial-role {
  color: var(--cyan);
}

.testimonial-type {
  color: var(--faint);
}

.testimonial-metric {
  color: #86efac;
}

.fr-calendly-block {
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.fr-calendly-intro {
  margin: 0 0 14px !important;
  color: var(--muted) !important;
  font-size: 0.9rem !important;
  line-height: 1.55;
}

.fr-calendly-btn {
  display: flex;
  width: 100%;
  justify-content: center;
}

.resource-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(10, 12, 18, 0.55);
}

.resource-preview::after {
  display: none;
}

.preview-blue {
  background-color: rgba(59, 130, 246, 0.08);
}

.preview-cyan {
  background-color: rgba(6, 182, 212, 0.06);
}

.preview-violet {
  background-color: rgba(139, 92, 246, 0.08);
}

.resource-carousel__placeholder {
  width: 100%;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.06);
}

.portfolio-empty-hint {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
}

.preview-model {
  background-color: rgba(251, 191, 36, 0.06);
}

.resource-carousel {
  position: absolute;
  inset: 0;
}

.resource-carousel__viewport {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.resource-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.resource-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
}

.resource-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.resource-carousel__slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg-deep);
}

.resource-card:hover .resource-carousel__slide img {
  transform: scale(1.02);
  transition: transform 420ms ease;
}

.resource-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(8, 10, 16, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.resource-carousel__arrow:hover,
.resource-carousel__arrow:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(20, 24, 34, 0.75);
  color: #fff;
}

.resource-carousel__arrow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.resource-carousel__arrow--prev {
  left: 8px;
}

.resource-carousel__arrow--next {
  right: 8px;
}

.resource-carousel__arrow[hidden] {
  display: none;
}

.resource-carousel__bars {
  position: absolute;
  bottom: 10px;
  left: 50%;
  z-index: 3;
  display: flex;
  max-width: calc(100% - 24px);
  gap: 8px;
  pointer-events: none;
  transform: translateX(-50%);
}

.resource-carousel__bars[hidden] {
  display: none;
}

.resource-carousel__bar {
  width: clamp(22px, 12%, 40px);
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.38);
  transition: height 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.resource-carousel__bar.is-active {
  height: 6px;
  background: rgba(255, 255, 255, 0.95);
}

.type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.86);
}

.type-badge.map {
  background: rgba(59, 130, 246, 0.18);
}

.type-badge.ui {
  background: rgba(6, 182, 212, 0.18);
}

.type-badge.script {
  background: rgba(139, 92, 246, 0.18);
}

.type-badge.model {
  background: rgba(251, 191, 36, 0.22);
}

.resource-body {
  padding: 18px;
}

.resource-meta,
.resource-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.resource-meta {
  color: var(--faint);
  font-size: 0.86rem;
  font-weight: 650;
}

.resource-body h3,
.pricing-card h3,
.direct-card h3 {
  margin-top: 14px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 720;
  letter-spacing: 0.01em;
}

.resource-body p,
.pricing-card p,
.direct-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.96rem;
}

.resource-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  color: var(--faint);
  font-size: 0.9rem;
  font-weight: 650;
}

.resource-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.resource-footer a:hover {
  color: var(--text);
}

#projectsGrid .resource-card {
  cursor: pointer;
}

#projectsGrid .resource-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.32);
  outline-offset: 3px;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

.project-modal[hidden] {
  display: none !important;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: rgba(23, 25, 30, 0.82);
  backdrop-filter: blur(18px);
}

.project-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: min(1040px, 100%);
  height: 100vh;
  max-height: 100vh;
  height: min(100dvh, 100svh);
  max-height: min(100dvh, 100svh);
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}

.project-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 11;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--panel-soft);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.project-modal__close:hover,
.project-modal__close:focus-visible {
  border-color: var(--border);
  background: var(--panel-hover);
  color: var(--text);
}

.project-modal__media {
  position: relative;
  display: flex;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  background: var(--bg-deep);
}

.project-modal__media .resource-carousel__viewport {
  align-items: center;
  min-height: 0;
}

.project-modal__media .resource-carousel__slide {
  display: flex;
  height: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 12px clamp(40px, 5vw, 56px);
}

.project-modal__media .resource-carousel__slide img,
.project-modal__media .resource-carousel__slide video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: var(--bg-deep);
}

.project-modal__media .resource-carousel__slide img {
  image-rendering: high-quality;
  transition: none;
  transform: none;
}

.project-modal__media .resource-carousel {
  position: absolute;
  inset: 0;
}

.project-modal__body {
  flex: 0 0 auto;
  padding: 12px clamp(14px, 3.5vw, 24px) 16px;
}

.project-modal__badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.project-modal__badge.map {
  background: rgba(59, 130, 246, 0.18);
  color: rgba(255, 255, 255, 0.86);
}

.project-modal__badge.ui {
  background: rgba(6, 182, 212, 0.18);
  color: rgba(255, 255, 255, 0.86);
}

.project-modal__badge.script {
  background: rgba(139, 92, 246, 0.18);
  color: rgba(255, 255, 255, 0.86);
}

.project-modal__badge.model {
  background: rgba(251, 191, 36, 0.22);
  color: rgba(255, 255, 255, 0.9);
}

.project-modal__title {
  margin: 0 0 8px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 2.8vw, 1.45rem);
  font-weight: 720;
  letter-spacing: 0.01em;
}

.project-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 10px;
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 650;
}

.project-modal__desc {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.project-modal__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  color: var(--faint);
  font-size: 0.84rem;
  font-weight: 650;
}

.project-modal__footer a {
  flex-shrink: 0;
}

@media (min-width: 720px) {
  .project-modal {
    padding: clamp(10px, 2.5vh, 22px);
    align-items: center;
  }

  .project-modal__dialog {
    margin: auto;
    width: 100%;
    max-width: min(1040px, 100%);
    height: calc(100vh - 2 * clamp(10px, 2.5vh, 22px));
    max-height: calc(100vh - 2 * clamp(10px, 2.5vh, 22px));
    height: calc(min(100dvh, 100svh) - 2 * clamp(10px, 2.5vh, 22px));
    max-height: calc(min(100dvh, 100svh) - 2 * clamp(10px, 2.5vh, 22px));
    border-radius: var(--card-radius);
  }
}

@media (min-width: 1100px) {
  .project-modal__dialog {
    max-width: min(92vw, 1500px);
  }
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto;
}

.testimonial-card {
  flex: 0 1 280px;
  width: min(100%, 280px);
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  padding: 26px 20px 22px;
  border: 1px solid var(--border-soft);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.065);
}

.testimonial-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(103, 232, 249, 0.35), rgba(139, 92, 246, 0.28));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.testimonial-avatar--violet {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.45), rgba(94, 160, 255, 0.25));
}

.testimonial-avatar--cyan {
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.4), rgba(103, 232, 249, 0.25));
}

.testimonial-avatar--green {
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.4), rgba(74, 222, 128, 0.22));
}

.testimonial-name {
  margin: 0 0 6px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
}

.testimonial-stars {
  margin-bottom: 6px;
  color: #fbbf24;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.testimonial-meta {
  margin: 0 0 14px;
  color: var(--faint);
  font-size: 0.76rem;
  line-height: 1.4;
}

.testimonial-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.testimonials-empty {
  max-width: 38ch;
  margin: 4px auto 0;
  padding: 0 16px 8px;
  text-align: center;
  color: var(--faint);
  font-size: 0.95rem;
  line-height: 1.55;
}

.services-lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.pricing-card--featured {
  border-color: rgba(103, 232, 249, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.services-section .pricing-card {
  min-height: 480px;
}

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

.services-extra-card {
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.services-extra-card h3 {
  margin: 10px 0 8px;
  font-size: 0.98rem;
}

.services-extra-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.services-extra-card__list {
  display: grid;
  gap: 8px;
  margin: 14px 0 16px;
  padding: 0;
  list-style: none;
}

.services-extra-card__list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.services-extra-card__list li::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "✓";
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
}

.services-extra-card .btn {
  width: 100%;
  margin-top: auto;
}

.services-panel-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: 24px;
  border: 1px solid rgba(103, 232, 249, 0.28);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.services-panel-banner__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 0 10px;
  min-height: 32px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--cyan);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-panel-banner h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  max-width: 42ch;
}

.services-panel-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 52ch;
}

.services-panel-banner strong {
  color: #fff;
}

@media (max-width: 720px) {
  .services-extra-grid {
    grid-template-columns: 1fr;
  }

  .services-panel-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .services-panel-banner .btn-primary {
    width: 100%;
  }
}

.client {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 32px;
}

.client > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  font-weight: 800;
}

.client div {
  display: grid;
  gap: 2px;
}

.client small {
  color: var(--faint);
  font-size: 0.84rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background var(--transition), border-color var(--transition);
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.carousel-prev {
  left: 14px;
}

.carousel-next {
  right: 14px;
}

.carousel-dots {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: width var(--transition), background var(--transition);
}

.carousel-dots button.active {
  width: 26px;
  background: #ffffff;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  min-height: 570px;
  flex-direction: column;
  padding: 22px;
}

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

.pricing-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
}

.pricing-card h3 {
  margin-top: 0;
}

.pricing-price {
  margin-top: 16px;
  line-height: 1.15;
}

.pricing-price .price-label {
  display: block;
  margin-bottom: 4px;
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-price .price-value {
  display: inline-block;
  color: var(--text);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: 0.015em;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.12);
}

.pricing-card > p:not(.pricing-price) {
  margin-top: 14px;
}

.pricing-card ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 26px;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 25px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.pricing-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(255, 255, 255, 0.9);
  content: "✓";
  font-weight: 800;
}

.pricing-card li.disabled {
  color: rgba(255, 255, 255, 0.38);
}

.pricing-card li.disabled::before {
  content: "×";
}

.pricing-card li.plus::before {
  content: "+";
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  max-width: 1020px;
  margin: 0 auto;
}

.contact-form,
.direct-card {
  border-radius: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  font-weight: 650;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 128px;
  resize: vertical;
  padding: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.055);
}

.form-select {
  position: relative;
}

.form-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-select__trigger {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  cursor: pointer;
  padding: 0 14px;
  text-align: left;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form-select__trigger:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.form-select.is-open .form-select__trigger,
.form-select__trigger:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.055);
  outline: none;
}

.form-select__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-select__value.is-placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.form-select__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition), border-color var(--transition);
}

.form-select.is-open .form-select__chevron {
  border-color: var(--cyan);
  transform: rotate(-135deg) translateY(-2px);
}

.form-select__list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(27, 30, 36, 0.98);
  box-shadow: var(--shadow-card);
  list-style: none;
  backdrop-filter: blur(18px);
}

.form-select__list[hidden] {
  display: none;
}

.form-select__option {
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.form-select__option:hover,
.form-select__option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
}

.form-select__option.is-selected {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.form-select__option.is-placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.form-select.is-invalid .form-select__trigger {
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.submit-btn.loading {
  pointer-events: none;
  opacity: 0.86;
}

.spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(17, 24, 39, 0.22);
  border-top-color: #111827;
  border-radius: 999px;
  animation: spin 800ms linear infinite;
}

.submit-btn.loading .spinner {
  display: block;
}

.success-message {
  display: none;
  padding: 14px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.1);
  color: #bbf7d0;
  font-weight: 650;
}

.success-message.visible {
  display: block;
}

.direct-card {
  padding: 26px;
}

.direct-card .section-eyebrow {
  margin: 0 0 14px;
}

.direct-card h3 {
  margin-top: 0;
  font-size: 1.55rem;
}

.direct-card a {
  display: grid;
  gap: 3px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.direct-card a:hover,
.direct-card a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.075);
  outline: none;
}

.direct-card a span {
  color: var(--faint);
  font-size: 0.86rem;
  font-weight: 650;
}

.direct-card a strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
}

.footer {
  margin-top: 60px;
  border-top: 1px solid var(--border-soft);
  background: rgba(16, 18, 22, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 34px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.footer-links.right {
  justify-content: flex-end;
}

.footer a {
  transition: color var(--transition);
}

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

.footer > p {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--faint);
  text-align: center;
  font-size: 0.9rem;
}

.animate-on-scroll,
.fade-in-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.animate-on-scroll.is-visible,
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 520ms ease, transform 520ms ease;
}

.scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1180px) {
  .nav-menu a {
    padding: 0 8px;
    font-size: 0.88rem;
  }

  .nav-icon svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 1100px) {
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .platform-stats:not(.platform-stats--3),
  .projects-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .testimonial-card {
    flex: 0 1 min(100%, 280px);
    max-width: min(100%, 320px);
  }

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

  .nav-actions .status-pill {
    display: none;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 84px;
  }

  .navbar {
    padding: 0 14px;
  }

  .nav-card {
    height: 56px;
    min-height: 56px;
    max-height: 56px;
  }

  .navbar .brand {
    max-height: 48px;
    max-width: min(200px, 42vw);
  }

  .navbar .brand-logo {
    max-height: 48px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-actions {
    display: flex;
    order: 2;
    margin-left: auto;
    margin-right: 8px;
  }

  .nav-actions .status-pill {
    display: none;
  }

  .nav-actions #auth-btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .nav-menu {
    position: fixed;
    top: 78px;
    right: 14px;
    left: 14px;
    display: grid;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(27, 30, 36, 0.98);
    box-shadow: var(--shadow-nav);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    backdrop-filter: blur(24px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    justify-content: center;
  }

  .hero,
  .section,
  .footer-inner,
  .footer > p {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero {
    min-height: auto;
    padding: 132px 0 72px;
  }

  h1 {
    letter-spacing: 0.01em;
    line-height: 1.06;
  }

  .filter-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-pills {
    justify-content: flex-start;
  }

  .carousel-btn {
    top: auto;
    bottom: 12px;
    transform: none;
  }

  .carousel-prev {
    left: 22%;
  }

  .carousel-next {
    right: 22%;
  }

  .carousel-dots {
    bottom: 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer .brand,
  .footer-links.right {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .testimonial-card {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

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

  .platform-stats,
  .projects-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Garde les 3 KPIs d'accueil sur une ligne en mobile */
  .platform-stats--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    gap: 14px;
  }

  .hero-actions .hero-cta,
  .pricing-card .btn {
    width: 100%;
  }

  .stat-card {
    min-height: 140px;
  }

  .platform-stats--3 .stat-card {
    min-height: 124px;
    padding: 14px 12px;
    border-radius: 16px;
  }

  .platform-stats--3 .stat-card strong {
    margin-top: 12px;
    font-size: clamp(2rem, 8vw, 2.4rem);
  }

  .platform-stats--3 .stat-card p {
    font-size: 0.9rem;
    margin-top: 8px;
  }

  .resource-meta,
  .resource-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .carousel-prev {
    left: 14%;
  }

  .carousel-next {
    right: 14%;
  }
}

/* Désactivé — provoquait un flou permanent sur iPhone (faux positifs source-guard). */
