:root {
  --bg: oklch(0.08 0 0);
  --surface: oklch(0.145 0.012 248);
  --ink: oklch(0.97 0.004 248);
  --muted: oklch(0.72 0.02 248);
  --primary: oklch(0.58 0.155 248);
  --accent: oklch(0.78 0.12 210);
  --border: oklch(1 0 0 / 0.1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-base: 1;
  --z-sticky: 50;
  --z-modal: 100;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
}

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

/* Atmosphere — gradient + subtle square grid (no sphere) */
.scene {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 80% 55% at 50% 22%,
      oklch(0.38 0.11 248 / 0.45) 0%,
      oklch(0.2 0.06 248 / 0.18) 42%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 70% 45% at 50% 100%,
      oklch(0.62 0.07 230 / 0.2) 0%,
      oklch(0.4 0.05 248 / 0.08) 40%,
      transparent 70%
    ),
    linear-gradient(180deg, oklch(0.09 0.01 248) 0%, oklch(0.07 0 0) 55%, oklch(0.08 0.015 248) 100%);
}

.scene-glow,
.scene-glow--secondary {
  display: none;
}

.scene-grid {
  position: absolute;
  inset: 0;
  opacity: 0.85;
  background-image:
    linear-gradient(oklch(1 0 0 / 0.09) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 78% 68% at 50% 35%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 35%, black 20%, transparent 80%);
}

.scene-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      oklch(0.55 0.06 248 / 0.22) 0%,
      oklch(0.35 0.05 230 / 0.1) 18%,
      transparent 48%
    ),
    linear-gradient(to bottom, transparent 50%, oklch(0.06 0 0 / 0.55) 100%),
    radial-gradient(ellipse 100% 80% at 50% 40%, transparent 40%, oklch(0.05 0 0 / 0.45) 100%);
}

main,
header,
footer {
  position: relative;
  z-index: var(--z-base);
}

/* Logo */
.site-header {
  background: transparent;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}

.site-header.is-scrolled .site-logo {
  transform: scale(0.7);
}

.site-logo-img {
  display: block;
  height: 4.35rem;
  width: auto;
  max-width: min(48vw, 13rem);
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 768px) {
  .site-logo-img {
    height: 6.825rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-logo {
    transition: none;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
  background: oklch(1 0 0 / 0.06);
  outline: none;
}

.nav-link.is-active {
  color: var(--ink);
  background: oklch(1 0 0 / 0.08);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.08);
}

/* iPhone-style floating bottom dock — same as desktop nav pill */
.bottom-dock {
  position: fixed;
  z-index: var(--z-sticky);
  left: 50%;
  bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) scale(1);
  transform-origin: center bottom;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  width: max-content;
  max-width: calc(100% - 1.25rem);
  padding: 0.5rem;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(0.12 0.015 248 / 0.75);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 10px 32px oklch(0 0 0 / 0.4);
  transition: transform 0.35s var(--ease-out), padding 0.35s var(--ease-out);
}

.bottom-dock .nav-link {
  padding: 0.6rem 1.05rem;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: padding 0.35s var(--ease-out), font-size 0.35s var(--ease-out);
}

/* Scrolled: mild shrink — stay close to rest size (Instagram-like) */
.bottom-dock.is-scrolled {
  transform: translateX(-50%) scale(0.96);
  padding: 0.42rem;
}

.bottom-dock.is-scrolled .nav-link {
  padding: 0.52rem 0.98rem;
  font-size: 0.84rem;
}

@media (prefers-reduced-motion: reduce) {
  .bottom-dock,
  .bottom-dock .nav-link {
    transition: none;
  }
}

/* WhatsApp floating action button — speech bubble, shown past hero */
.wa-fab {
  position: fixed;
  z-index: var(--z-sticky);
  right: max(0.65rem, env(safe-area-inset-right, 0px));
  bottom: calc(5.35rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: auto;
  max-width: 7.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: oklch(0.16 0.02 145);
  box-shadow: none;
  text-decoration: none;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.85rem) scale(0.92);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.4s var(--ease-out),
    visibility 0.35s;
}

.wa-fab.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.wa-fab__bubble {
  position: relative;
  display: block;
  width: max-content;
  max-width: 7.2rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.85rem 0.85rem 0.85rem 0.35rem;
  background: oklch(0.99 0.01 145);
  color: oklch(0.28 0.06 145);
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  box-shadow:
    0 8px 22px oklch(0 0 0 / 0.28),
    0 0 0 1px oklch(0.55 0.14 145 / 0.2);
}

.wa-fab__bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.38rem;
  transform: translateX(-50%);
  border-left: 0.38rem solid transparent;
  border-right: 0.38rem solid transparent;
  border-top: 0.42rem solid oklch(0.99 0.01 145);
  filter: drop-shadow(0 2px 1px oklch(0 0 0 / 0.12));
}

.wa-fab__icon {
  display: block;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  object-fit: cover;
  box-shadow:
    0 10px 28px oklch(0.35 0.1 145 / 0.45),
    0 0 0 1px oklch(0 0 0 / 0.2);
}

.wa-fab:hover {
  transform: translateY(-2px) scale(1.03);
}

.wa-fab.is-visible:hover {
  transform: translateY(-2px) scale(1.03);
}

.wa-fab:active {
  transform: scale(0.97);
}

.wa-fab.is-visible:active {
  transform: scale(0.97);
}

.wa-fab:focus-visible {
  outline: 2px solid oklch(0.78 0.12 210);
  outline-offset: 3px;
  border-radius: 0.5rem;
}

@media (min-width: 768px) {
  .wa-fab {
    right: max(1.25rem, env(safe-area-inset-right, 0px));
    bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    max-width: 8rem;
  }

  .wa-fab__icon {
    width: 3.6rem;
    height: 3.6rem;
  }

  .wa-fab__bubble {
    font-size: 0.68rem;
    max-width: 7.8rem;
    padding: 0.5rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    transform: none;
  }

  .wa-fab.is-visible,
  .wa-fab:hover,
  .wa-fab:active,
  .wa-fab.is-visible:hover,
  .wa-fab.is-visible:active {
    transform: none;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  }

  .header-actions {
    margin-right: 0;
  }

  .header-actions .lang-dropdown {
    transform: none;
  }

  .float-icon {
    opacity: 0.35;
  }

  .float-icon--sm {
    display: none;
  }

  /* Hero CTA = same shell language as nav pill */
  .hero-input-wrap {
    flex-direction: row;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem;
    gap: 0.2rem;
    border: 1px solid oklch(1 0 0 / 0.1);
    background: oklch(0.12 0.015 248 / 0.75);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 10px 32px oklch(0 0 0 / 0.35);
  }

  .hero-input {
    width: auto;
    flex: 1;
    min-width: 0;
    padding-inline: 0.85rem;
    padding-block: 0.35rem;
    font-size: 0.8125rem;
    text-align: left;
  }

  .hero-cta {
    width: auto;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    gap: 0.2rem;
    box-shadow: none;
  }

  .hero-cta svg {
    width: 12px;
    height: 12px;
  }

  /* Pack hero + full path into first viewport */
  .hero {
    min-height: 100svh;
    max-height: 100svh;
    padding-top: 6.75rem; /* was 4.5rem; +50% title üst boşluk */
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
  }

  .hero > .relative.z-10 {
    min-height: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
  }

  .hero .max-w-4xl {
    flex: 0 0 auto;
    justify-content: flex-start;
  }

  .hero-title {
    padding-top: 0.525rem; /* was 0.35rem; +50% */
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
  }

  .hero-form {
    margin-top: 1.5rem !important; /* was 1rem; ×1.5 */
  }

  #process {
    padding-top: 0.325rem !important; /* was 0.65rem; -50% */
    padding-bottom: 0.125rem !important; /* was 0.25rem; -50% */
    flex: 0 0 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  #process .roadmap {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    display: block;
  }

  .scroll-hint {
    margin-top: 0.225rem !important; /* was 0.45rem; -50% */
    font-size: 0.75rem;
    flex-shrink: 0;
  }
}

.lang-dropdown {
  position: relative;
  z-index: 60;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.1rem;
  padding: 0.28rem 0.55rem 0.28rem 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: oklch(1 0 0 / 0.03);
  color: var(--ink);
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.lang-trigger:hover,
.lang-trigger:focus-visible,
.lang-dropdown.is-open .lang-trigger {
  border-color: oklch(1 0 0 / 0.18);
  background: oklch(1 0 0 / 0.07);
  outline: none;
}

.lang-flag {
  display: inline-flex;
  width: 1.25rem;
  height: 0.85rem;
  border-radius: 0.2rem;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.12);
  flex-shrink: 0;
}

.lang-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-code {
  line-height: 1;
  color: var(--ink);
}

.lang-chevron {
  color: var(--muted);
  transition: transform 0.2s var(--ease-out);
  flex-shrink: 0;
}

.lang-dropdown.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 9.5rem;
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  border-radius: 0.85rem;
  border: 1px solid oklch(1 0 0 / 0.12);
  background: oklch(0.14 0.015 248 / 0.96);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 14px 36px oklch(0 0 0 / 0.45);
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu [role="option"] {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out);
}

.lang-menu [role="option"]:hover,
.lang-menu [role="option"]:focus-visible {
  background: oklch(1 0 0 / 0.08);
  color: var(--ink);
  outline: none;
}

.lang-menu [role="option"][aria-selected="true"] {
  color: var(--ink);
  background: oklch(1 0 0 / 0.1);
}

.cta-outline {
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.cta-outline:hover,
.cta-outline:focus-visible {
  border-color: oklch(1 0 0 / 0.22);
  background: oklch(1 0 0 / 0.04);
  outline: none;
}

.cta-outline::after {
  content: "→";
  font-size: 0.85em;
  opacity: 0.7;
}

/* Hero */
.hero {
  padding-top: 5.25rem; /* was ~7rem; -25% */
}

@media (min-width: 768px) {
  .hero {
    padding-top: 7.5rem; /* was 10rem; -25% */
  }
}

.eyebrow {
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.hero-badge {
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(0.14 0.015 248 / 0.55);
  backdrop-filter: blur(10px);
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: oklch(0.86 0.02 248);
}

.hero-badge::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 0.25rem;
  background: oklch(0.78 0.12 210 / 0.85);
  box-shadow: 0 0 12px oklch(0.7 0.12 210 / 0.45);
  flex-shrink: 0;
}

.type-cursor {
  display: inline-block;
  margin-left: 0.02em;
  color: oklch(0.75 0.12 248);
  font-weight: 400;
  animation: blink 1.05s steps(1) infinite;
  flex-shrink: 0;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.12em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-top: 4rem; /* was 2rem; -25% */
  font-size: clamp(1.885rem, 8.735vw, 2.65rem);
  line-height: 1.15;
}

@media (min-width: 768px) {
  .hero-title {
    padding-top: 2.25rem; /* was 3rem; -25% */
    font-size: clamp(2.65rem, 6.19vw, 4.69rem);
    line-height: 1.12;
  }
}

.hero-title-line {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.hero-title-line--typed {
  display: flex;
  justify-content: center;
  min-height: 1.15em;
}

.hero-typed-slot {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
}

.hero-typed-wrap {
  display: inline-grid;
  justify-items: start;
  align-items: baseline;
}

.hero-typed-sizer {
  grid-area: 1 / 1;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.hero-typed-live {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: baseline;
  justify-self: center;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.hero-typed {
  color: oklch(0.78 0.12 210);
  white-space: nowrap;
}

@keyframes blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero-backdrop {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

.float-icons {
  position: absolute;
  inset: 0;
}

.float-icon {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  border: 1px solid oklch(1 0 0 / 0.12);
  background: linear-gradient(
    160deg,
    oklch(0.2 0.025 248 / 0.75),
    oklch(0.1 0.015 248 / 0.55)
  );
  box-shadow:
    0 8px 28px oklch(0 0 0 / 0.35),
    0 0 20px oklch(0.45 0.08 248 / 0.15);
  backdrop-filter: blur(8px);
  opacity: 0.72;
  animation: float-y 5.5s var(--ease-out) infinite;
  animation-delay: var(--d);
}

.float-icon--sm {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  opacity: 0.45;
}

.float-icon::before {
  content: "";
  position: absolute;
  inset: 24%;
  background: currentColor;
  color: oklch(0.86 0.03 210 / 0.7);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.float-icon[data-icon="code"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M8 8l-4 4 4 4M16 8l4 4-4 4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M8 8l-4 4 4 4M16 8l4 4-4 4'/%3E%3C/svg%3E");
}
.float-icon[data-icon="layers"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3l9 5-9 5-9-5 9-5zM3 13l9 5 9-5M3 17l9 5 9-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M12 3l9 5-9 5-9-5 9-5zM3 13l9 5 9-5M3 17l9 5 9-5'/%3E%3C/svg%3E");
}
.float-icon[data-icon="phone"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='7' y='3' width='10' height='18' rx='2'/%3E%3Cpath d='M11 17h2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='7' y='3' width='10' height='18' rx='2'/%3E%3Cpath d='M11 17h2'/%3E%3C/svg%3E");
}
.float-icon[data-icon="cart"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 5h2l2 11h10l2-7H8'/%3E%3Ccircle cx='10' cy='19' r='1.2'/%3E%3Ccircle cx='17' cy='19' r='1.2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 5h2l2 11h10l2-7H8'/%3E%3Ccircle cx='10' cy='19' r='1.2'/%3E%3Ccircle cx='17' cy='19' r='1.2'/%3E%3C/svg%3E");
}
.float-icon[data-icon="db"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cellipse cx='12' cy='6' rx='7' ry='3'/%3E%3Cpath d='M5 6v6c0 1.7 3.1 3 7 3s7-1.3 7-3V6M5 12v6c0 1.7 3.1 3 7 3s7-1.3 7-3v-6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cellipse cx='12' cy='6' rx='7' ry='3'/%3E%3Cpath d='M5 6v6c0 1.7 3.1 3 7 3s7-1.3 7-3V6M5 12v6c0 1.7 3.1 3 7 3s7-1.3 7-3v-6'/%3E%3C/svg%3E");
}
.float-icon[data-icon="book"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 5a2 2 0 012-2h12v16H6a2 2 0 00-2 2V5z'/%3E%3Cpath d='M6 19a2 2 0 012-2h10'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 5a2 2 0 012-2h12v16H6a2 2 0 00-2 2V5z'/%3E%3Cpath d='M6 19a2 2 0 012-2h10'/%3E%3C/svg%3E");
}
.float-icon[data-icon="cloud"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M7 18h10a4 4 0 00.4-8 5.5 5.5 0 00-10.6 1.5A3.5 3.5 0 007 18z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M7 18h10a4 4 0 00.4-8 5.5 5.5 0 00-10.6 1.5A3.5 3.5 0 007 18z'/%3E%3C/svg%3E");
}
.float-icon[data-icon="chart"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 19V5M4 19h16M8 16V10M12 16V7M16 16v-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 19V5M4 19h16M8 16V10M12 16V7M16 16v-4'/%3E%3C/svg%3E");
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 640px) {
  .float-icon {
    width: 2.2rem;
    height: 2.2rem;
    opacity: 0.5;
  }

  .float-icon--sm {
    display: none;
  }
}

.hero-input-wrap {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  padding: 0.35rem 0.35rem 0.35rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: oklch(0.12 0.01 248 / 0.85);
  box-shadow:
    0 0 0 1px oklch(0 0 0 / 0.4),
    0 20px 50px oklch(0 0 0 / 0.35);
  backdrop-filter: blur(12px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 520px) {
  .hero-input-wrap {
    padding: 0.32rem;
  }

  .hero-input {
    padding-inline: 0.75rem;
    font-size: 0.78rem;
  }

  .hero-cta {
    width: auto;
    justify-content: center;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
  }

  .header-bar {
    width: 100%;
    box-sizing: border-box;
  }
}

.hero-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.125rem;
  outline: none;
}

.hero-input::placeholder {
  color: oklch(0.62 0.02 248);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0.9rem 1.45rem;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-family: Sora, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 28px oklch(0.58 0.155 248 / 0.35);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), filter 0.25s var(--ease-out);
}

/* Must come AFTER base .hero-cta — cascade was overriding mobile sizes */
@media (max-width: 767px) {
  .hero-input-wrap {
    align-items: center;
    padding: 0.28rem 0.28rem 0.28rem 0.85rem;
    margin-top: 1.5rem;
  }

  .hero-form .hero-cta {
    padding: 0.4rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 500;
    gap: 0.2rem;
    line-height: 2.2;
    box-shadow: none;
    align-self: center;
  }

  .hero-form .hero-cta svg {
    width: 12px;
    height: 12px;
  }
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 36px oklch(0.58 0.155 248 / 0.5);
  filter: brightness(1.06);
  outline: none;
}

.scroll-chevron {
  display: inline-block;
  margin-left: 0.25rem;
  animation: bob 1.8s var(--ease-out) infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* Roadmap — U-path matching reference */
.roadmap {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  min-height: 260px;
}

.roadmap-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.roadmap-svg {
  display: none;
  width: 100%;
  height: auto;
  overflow: visible;
}

.roadmap-svg--mobile {
  display: none;
}

@media (min-width: 900px) {
  .roadmap-svg--desktop {
    display: block;
  }
}

.roadmap-path-base {
  stroke: oklch(1 0 0 / 0.28);
  stroke-width: 1.75;
  stroke-dasharray: 3.5 6.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.roadmap-path-flow {
  stroke: url(#flowGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 10 22;
  animation: data-flow 2.2s linear infinite;
}

@keyframes data-flow {
  to {
    stroke-dashoffset: -64;
  }
}

.roadmap-nodes {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .roadmap {
    min-height: 0;
    aspect-ratio: 1000 / 260;
  }

  .roadmap-stage {
    position: absolute;
    inset: 0;
    min-height: 0;
  }

  .roadmap-svg--desktop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .roadmap-nodes {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
  }

  .roadmap-nodes > * {
    pointer-events: auto;
  }

  .rm-node {
    position: absolute;
  }

  .rm-n1 {
    left: 2%;
    top: 4%;
  }

  /* Path verticals: x=330 → 33%, x=670 → 67%; mid of V155/V82 ≈ y=118 → 45% */
  .rm-launch {
    left: 33%;
    top: 45%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }

  .rm-n2 {
    left: 50%;
    top: 68%;
    transform: translate(-50%, -50%);
  }

  .rm-deliver {
    left: 67%;
    top: 45%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }

  .rm-n4 {
    right: 2%;
    top: 4%;
  }
}

.rm-card {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 20rem;
  padding: 0.72rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid oklch(1 0 0 / 0.12);
  background: oklch(0.13 0.015 248 / 0.72);
  backdrop-filter: blur(14px);
  box-shadow:
    0 12px 36px oklch(0 0 0 / 0.3),
    inset 0 1px 0 oklch(1 0 0 / 0.05);
}

.rm-card--wide {
  max-width: 22rem;
}

.rm-icon {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid oklch(0.65 0.1 248 / 0.25);
  background: oklch(0.22 0.05 248 / 0.45);
  color: oklch(0.82 0.08 210);
  box-shadow: 0 0 16px oklch(0.55 0.12 248 / 0.25);
}

.rm-text {
  margin: 0;
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.35;
  color: oklch(0.72 0.02 248);
  text-align: left;
}

.rm-text strong {
  font-weight: 600;
  color: oklch(0.97 0.005 248);
}

.rm-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.36rem 0.9rem;
  border-radius: 999px;
  background: oklch(0.97 0.005 248);
  color: oklch(0.16 0.02 248);
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px oklch(0 0 0 / 0.35);
}

@media (max-width: 899px) {
  /* Stacked steps + soft ribbon SVG (same language as desktop flow) */
  .roadmap {
    min-height: 0;
    padding-block: 5.075rem; /* was 0.15rem; -50% */
    width: 100%;
    max-width: 18rem;
    margin-inline: auto;
  }

  .roadmap-stage {
    position: relative;
    width: 100%;
    min-height: 0;
    aspect-ratio: auto;
    overflow: visible;
  }

  .roadmap-svg--mobile {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2.5rem;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
  }

  .roadmap-path-base {
    stroke: oklch(1 0 0 / 0.28);
    stroke-width: 2;
    stroke-dasharray: 3.5 7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .roadmap-path-flow--mobile {
    stroke-width: 2.6;
    stroke-dasharray: 12 20;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: data-flow 1.9s linear infinite;
  }

  .roadmap-traveler,
  .roadmap-traveler-core {
    opacity: 0.95;
  }

  .roadmap-nodes {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    padding-left: 2.25rem;
    pointer-events: auto;
  }

  .roadmap-nodes::before {
    display: none;
  }

  .roadmap-nodes > * {
    pointer-events: auto;
  }

  .rm-node {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    max-width: none;
    transform: none;
    display: flex;
    align-items: center;
    padding: 0;
    z-index: 1;
    animation: rm-node-in 0.7s var(--ease-out) both;
  }

  .rm-n1 {
    animation-delay: 0.05s;
  }
  .rm-launch {
    animation-delay: 0.14s;
  }
  .rm-n2 {
    animation-delay: 0.23s;
  }
  .rm-deliver {
    animation-delay: 0.32s;
  }
  .rm-n4 {
    animation-delay: 0.41s;
  }

  .rm-node::before {
    content: "";
    position: absolute;
    left: -1.16rem;
    top: 50%;
    width: 0.58rem;
    height: 0.58rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: oklch(0.14 0.02 248);
    border: 1.5px solid oklch(0.78 0.12 210 / 0.8);
    box-shadow: 0 0 10px oklch(0.78 0.12 210 / 0.35);
    z-index: 2;
    animation: node-lit 2.8s ease-in-out infinite;
  }

  .rm-n1::before {
    animation-delay: 0s;
  }
  .rm-launch::before {
    animation-delay: 0.55s;
  }
  .rm-n2::before {
    animation-delay: 1.1s;
  }
  .rm-deliver::before {
    animation-delay: 1.65s;
  }
  .rm-n4::before {
    animation-delay: 2.2s;
  }

  .rm-launch::before,
  .rm-deliver::before {
    width: 0.68rem;
    height: 0.68rem;
    background: oklch(0.97 0.005 248);
    border-color: oklch(0.97 0.005 248);
    box-shadow: 0 0 12px oklch(1 0 0 / 0.22);
    animation-name: node-lit-pill;
  }

  .rm-n1,
  .rm-n2,
  .rm-n4,
  .rm-launch,
  .rm-deliver {
    left: auto;
    top: auto;
    transform: none;
    max-width: none;
  }

  .rm-card {
    width: 100%;
    max-width: none;
    gap: 0.55rem;
    padding: 0.6rem 0.8rem;
    border-radius: 0.75rem;
    border-color: oklch(1 0 0 / 0.1);
    background: oklch(0.13 0.015 248 / 0.78);
    box-shadow:
      0 8px 22px oklch(0 0 0 / 0.28),
      inset 0 1px 0 oklch(1 0 0 / 0.05);
    transition:
      border-color 0.35s var(--ease-out),
      box-shadow 0.35s var(--ease-out);
  }

  .rm-card--wide {
    max-width: none;
  }

  .rm-icon {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 0.45rem;
    box-shadow: none;
  }

  .rm-icon svg {
    width: 14px;
    height: 14px;
  }

  .rm-text {
    font-size: 0.78rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  .rm-launch,
  .rm-deliver {
    justify-content: center;
  }

  .rm-pill {
    width: 50%;
    justify-content: center;
    padding: 0.28rem 0.65rem;
    font-size: 0.7rem;
    box-shadow: 0 2px 10px oklch(0 0 0 / 0.35);
  }
}

@keyframes rm-node-in {
  from {
    opacity: 0;
    transform: translateX(0.55rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes node-lit {
  0%,
  12%,
  100% {
    box-shadow: 0 0 8px oklch(0.78 0.12 210 / 0.25);
    border-color: oklch(0.78 0.12 210 / 0.65);
  }
  6% {
    box-shadow: 0 0 16px oklch(0.78 0.12 210 / 0.7);
    border-color: oklch(0.9 0.08 210);
  }
}

@keyframes node-lit-pill {
  0%,
  12%,
  100% {
    box-shadow: 0 0 10px oklch(1 0 0 / 0.18);
  }
  6% {
    box-shadow: 0 0 18px oklch(1 0 0 / 0.45);
  }
}

/* Services */
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid oklch(1 0 0 / 0.08);
}

.service-item {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
  transition: background 0.25s var(--ease-out), transform 0.35s var(--ease-out);
}

@media (min-width: 768px) {
  .service-item {
    grid-template-columns: 2fr 3fr;
    gap: 2rem;
    align-items: baseline;
    padding: 1.6rem 0.5rem;
  }

  .service-item:hover {
    transform: translateX(0.5rem);
    background: linear-gradient(90deg, oklch(0.58 0.155 248 / 0.06), transparent 55%);
  }
}

.service-item h3 {
  margin: 0;
  font-family: Sora, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 48ch;
  text-wrap: pretty;
}

/* About stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
}

.stats-row > div {
  padding: 1rem 0;
  border-top: 1px solid oklch(1 0 0 / 0.1);
}

.stats-row dt {
  font-family: Sora, system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stats-row dd {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Contact */
.contact-panel {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, oklch(0.5 0.12 248 / 0.18), transparent 60%),
    oklch(0.12 0.01 248 / 0.7);
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}

.contact-details li {
  display: grid;
  gap: 0.2rem;
  justify-items: center;
}

.contact-details__label {
  font-family: Sora, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-details a {
  font-family: Sora, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--accent);
  outline: none;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero-cta--whatsapp {
  background: oklch(0.55 0.14 145);
  box-shadow: 0 0 28px oklch(0.55 0.14 145 / 0.35);
}

.hero-cta--whatsapp img {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  object-fit: cover;
}

.hero-cta--whatsapp:hover,
.hero-cta--whatsapp:focus-visible {
  box-shadow: 0 0 36px oklch(0.55 0.14 145 / 0.5);
}

/* Scroll reveal — visible by default so content never blanks */
.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out),
    filter 0.7s var(--ease-out);
}

.js-ready .reveal:not(.is-visible) {
  opacity: 0.35;
  transform: translateY(18px);
  filter: blur(2px);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.js-ready .service-item {
  opacity: 0.4;
  transform: translateY(12px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out),
    background 0.25s var(--ease-out);
}

.js-ready .service-item.is-visible {
  opacity: 1;
  transform: none;
}

.js-ready .service-item.is-visible:hover {
  transform: translateX(0.5rem);
}

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

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

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

  .roadmap-path-flow {
    animation: none;
    stroke-dasharray: none;
    stroke: oklch(0.75 0.08 210 / 0.55);
  }

  .roadmap-traveler,
  .roadmap-traveler-core {
    display: none;
  }

  .float-icon,
  .type-cursor {
    animation: none !important;
  }

  .type-cursor {
    opacity: 0.55;
  }

  .hero-typed {
    color: oklch(0.78 0.12 210);
  }

  .hero-typed-sizer {
    visibility: hidden;
  }

  .js-ready .reveal:not(.is-visible),
  .js-ready .service-item {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
