:root {
  --bg: #f3f3f3;
  --surface: #111113;
  --border: #1A1A1D;
  --text: #0B0B0C;
  --muted: #303034;
  --dim: #52525B;
  --accent: #4F46E5;
  --accent-lo: rgba(79, 70, 229, 0.12);
  --accent-glow: rgba(79, 70, 229, 0.2);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h: 60px;
  --nav-offset-top: 16px;
  --nav-radius: 999px;
  --nav-max-w: 1100px;
  --max-w: 1100px;
  --sec-pad: 120px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --drawer-z: 220;
  --header-z: 200;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: #fff;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.site-header {
  position: relative;
  z-index: var(--header-z);
}

.nav {
  position: fixed;
  top: calc(var(--nav-offset-top) + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  z-index: var(--header-z);
  display: flex;
  justify-content: center;
  padding-inline: 16px;
}

.nav-inner {
  width: 100%;
  max-width: var(--nav-max-w);
  min-height: var(--nav-h);
  padding: 10px 16px 10px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border-radius: var(--nav-radius);
  background: rgba(20, 20, 24, 0.6);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);

  transition:
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.nav.scrolled .nav-inner {
  background: rgba(15, 15, 18, 0.85);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 40px;
}

.logo img {
  height: 24px;
  width: auto;
  display: block;
}

.nav-desktop {
  flex: 1 1 auto;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;

  margin: 0 auto;
}

.nav-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    filter 0.2s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  letter-spacing: -0.01em;
  line-height: 1;
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.9rem;
}

.btn-xl {
  padding: 15px 32px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: rgba(79, 70, 229, 0.5);
  box-shadow:
    0 0 20px rgba(79, 70, 229, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(79, 70, 229, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(1);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

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

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.btn-wa-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.btn-wa-sm:hover,
.btn-wa-sm:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-order-btn {
  min-width: 140px;
  border-color: rgba(79, 70, 229, 0.5);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav .btn-primary {
  background: #ffffff;
  color: #000;
}




.nav-toggle {
  position: relative;
  z-index: calc(var(--drawer-z) + 2);

  width: 40px;
  height: 40px;
  padding: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);

  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.nav-toggle:active {
  transform: scale(0.98);
}

.nav-toggle-box {
  width: 18px;
  height: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 0.24s var(--ease),
    opacity 0.18s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--drawer-z);
  pointer-events: none;
  visibility: hidden;
}

.nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 10, 0.48);
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}

.nav-drawer.is-open .nav-drawer-backdrop {
  opacity: 1;
}

.nav-drawer-panel {
  position: absolute;
  bottom: calc(var(--nav-offset-top) + env(safe-area-inset-top, 0px));
  right: 16px;
  left: 16px;

  max-width: 420px;
  margin-left: auto;

  padding:
    20px 20px calc(20px + env(safe-area-inset-bottom, 0px)) 20px;

  border-radius: 24px;
  background: rgba(15, 15, 18, 0.96);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);

  opacity: 0;
  transform: translateY(-8px) scale(0.985);
  transform-origin: top right;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.nav-drawer.is-open .nav-drawer-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.nav-drawer-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.nav-drawer-close:hover,
.nav-drawer-close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}

.nav-drawer-close span {
  font-size: 1.6rem;
  line-height: 1;
}

.nav-drawer-nav {
  margin-bottom: 20px;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.nav-drawer-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.nav-drawer-links a:hover,
.nav-drawer-links a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-drawer-actions {
  display: grid;
  gap: 12px;
}

.nav-drawer-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (min-width: 1025px) {
  .nav-drawer {
    display: none;
  }
}

@media (max-width: 1024px) {
  .nav {
    padding-inline: 12px;
  }

  .nav-inner {
    padding: 10px 12px 10px 16px;
    gap: 12px;
  }

  .nav-desktop {
    display: none;
  }

  .nav-mobile-actions {
    display: flex;
  }

  .nav-order-btn-mobile {
    min-width: auto;
    padding-inline: 12px;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 56px;
    --nav-offset-top: 12px;
  }

  .nav {
    padding-inline: 10px;
  }

  .nav-inner {
    min-height: var(--nav-h);
    padding: 8px 10px 8px 14px;
    gap: 10px;
  }

  .nav .btn-primary {
    height: 38px;
  }

  .logo img {
    height: 22px;
  }

  .nav-order-btn-mobile {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 0.76rem;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .nav-drawer-panel {
    bottom: calc(var(--nav-offset-top) + env(safe-area-inset-top, 0px));
    left: 10px;
    right: 10px;
    max-width: none;
    border-radius: 20px;
    padding:
      18px 16px calc(18px + env(safe-area-inset-bottom, 0px)) 16px;
  }
}

@media (max-width: 380px) {
  .nav-order-btn-mobile {
    padding-inline: 18px;
    font-size: 0.77rem;
  }

  .logo img {
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .nav-inner,
  .nav-toggle,
  .nav-toggle-line,
  .nav-drawer-backdrop,
  .nav-drawer-panel,
  .nav-drawer-links a,
  .btn {
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}