/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(var(--max), calc(100% - 28px));
  margin: 12px auto 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 999px;
  padding: 8px 10px 8px 18px;
  background: rgba(8,12,22,.56);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 18px 56px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.04em;
  font-size: 22px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 24px rgba(255,106,0,.7);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav a {
  text-decoration: none;
  color: rgba(255,255,255,.66);
  font-weight: 740;
  padding: 12px 14px;
  border-radius: 999px;
  letter-spacing: -.01em;
}

.desktop-nav a:hover {
  color: white;
  background: rgba(255,255,255,.07);
}

.menu-btn {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  position: relative;
}

.menu-btn span {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 999px;
  background: white;
}

.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child { top: 30px; }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(620px, 84svh, 900px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 94px 0 54px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% 8% 2%;
  border-radius: 48px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.12), transparent 20%),
    radial-gradient(circle at 18% 84%, rgba(255,106,0,.11), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(58,97,224,.16), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  filter: blur(28px);
  opacity: .96;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(1040px, 100%);
  padding: clamp(42px, 5vw, 62px) 24px;
  border-radius: 44px;
  border: 1px solid rgba(255,255,255,.05);
  background: linear-gradient(180deg, rgba(11,16,29,.18), rgba(10,16,29,.04));
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 16%, rgba(255,255,255,.08), transparent 18%);
  filter: blur(22px);
  pointer-events: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  margin-bottom: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.74);
  font-weight: 740;
  font-size: 15px;
  letter-spacing: .005em;
  backdrop-filter: blur(14px);
}

.pill span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 24px rgba(255,106,0,.7);
}

.hero h1 {
  margin: 0;
  font-size: clamp(76px, 15vw, 176px);
  line-height: .92;
  letter-spacing: -.045em;
  color: white;
  text-wrap: balance;
  text-shadow: 0 8px 36px rgba(0,0,0,.14);
}

.hero-sub {
  display: grid;
  gap: 10px;
  margin: 28px auto 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(23px, 4vw, 42px);
  line-height: 1.22;
  letter-spacing: -.02em;
  max-width: 760px;
}

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

.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.11);
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.26), rgba(255,255,255,.05) 45%, rgba(255,255,255,.01) 72%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 24px 44px rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: floatBubble 7.8s ease-in-out infinite, pulseGlow 7.8s ease-in-out infinite;
}

.bubble-a { width: 16px; height: 16px; top: 62%; left: 18%; animation-delay: 0s; }
.bubble-b { width: 18px; height: 18px; top: 14%; right: 26%; animation-delay: .9s; }
.bubble-c { width: 12px; height: 12px; top: 34%; left: 24%; animation-delay: 1.6s; }
.bubble-d { width: 14px; height: 14px; top: 72%; right: 18%; animation-delay: 2.2s; }
.bubble-e { width: 10px; height: 10px; top: 24%; right: 42%; animation-delay: 2.8s; }

/* Main blocks */
.demo-stack {
  display: grid;
  gap: 68px;
  padding-bottom: 64px;
}

.content-grid {
  display: grid;
  gap: 36px;
  padding-bottom: 96px;
}

.glass-card {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: calc(var(--radius-xl) + 2px);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,106,0,.055), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(82,104,220,.085), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.022));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.05);
  padding: clamp(30px, 5vw, 60px);
}

.problem-card h2,
.products-section h2,
.pricing-section h2,
.contact-card h2 {
  margin: 0 0 20px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.problem-card p:not(.eyebrow),
.contact-card p:not(.eyebrow) {
  max-width: 800px;
  color: rgba(255,255,255,.66);
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.7;
}

/* Mobile */
@media (max-width: 760px) {
  .site-header {
    min-height: 62px;
    margin-top: 8px;
  }

  .desktop-nav { display: none; }
  .menu-btn { display: inline-flex; }

  .brand { font-size: 20px; }

  .hero {
    min-height: 600px;
    padding-top: 86px;
    padding-bottom: 34px;
  }

  .hero::before {
    inset: 5% 2% 0;
    border-radius: 32px;
    filter: blur(14px);
  }

  .hero-inner {
    padding: 28px 8px 18px;
    border-radius: 34px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 150px;
  }

  .demo-stack {
    width: calc(100% - 22px);
    gap: 36px;
    padding-bottom: 28px;
  }

  .content-grid {
    width: calc(100% - 24px);
    gap: 28px;
  }

  .glass-card {
    border-radius: 30px;
    padding: 28px 24px;
  }
}
