@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #cbd5e1;
  --accent: #e2e8f0;
  --bg-color: #070a0f;
  --glass-bg: rgba(18, 22, 28, 0.52);
  --glass-border: rgba(226, 232, 240, 0.12);
  --glass-border-strong: rgba(226, 232, 240, 0.22);
  --text: rgba(241, 245, 249, 0.92);
  --muted: rgba(203, 213, 225, 0.68);
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--bg-color);
  color: white;
  overflow-x: hidden;
  margin: 0;
}

.site-watermark {
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: clamp(84px, 18vw, 240px);
  color: rgba(226, 232, 240, 0.06);
  text-shadow: 0 0 90px rgba(148, 163, 184, 0.12);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .site-watermark {
    font-size: clamp(64px, 22vw, 140px);
    top: 56%;
  }
}

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

button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.grid-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  overflow: hidden;
}

.grid-plane {
  position: absolute;
  width: 200vw;
  height: 200vh;
  background-image:
    linear-gradient(to right, rgba(226, 232, 240, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.09) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(60deg) translateY(0);
  animation: gridMove 3s linear infinite;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 60%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 60%);
}

@keyframes gridMove {
  0% { transform: rotateX(60deg) translateY(0); }
  100% { transform: rotateX(60deg) translateY(50px); }
}

.glass-nav {
  background: rgba(14, 18, 24, 0.55);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(226, 232, 240, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  isolation: isolate;
}

.glass-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.08), transparent),
    radial-gradient(900px 120px at 50% 0%, rgba(226, 232, 240, 0.10), transparent 70%);
  opacity: 0.9;
  z-index: -1;
}

.glass-nav .max-w-7xl {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.glass-nav .h-20 {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.glass-nav .ml-10 {
  margin-left: 22px;
}

.glass-nav .space-x-8 {
  display: flex;
  gap: 10px;
  align-items: center;
}

.glass-nav .nav-link {
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(226, 232, 240, 0.72);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.glass-nav .nav-link:hover,
.glass-nav .nav-link.text-white {
  color: rgba(241, 245, 249, 0.96);
  background: rgba(226, 232, 240, 0.08);
  border-color: rgba(226, 232, 240, 0.16);
}

/* Prevent default focus underline/outline on links */
.glass-nav a.nav-link:focus,
.glass-nav a.nav-link:focus-visible,
.glass-nav button.nav-link:focus,
.glass-nav button.nav-link:focus-visible {
  outline: none;
}

.glass-nav a.nav-link:focus-visible,
.glass-nav button.nav-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.14);
}

.glass-nav .btn-glow {
  padding: 10px 18px;
  border-radius: 999px;
}

#mobile-menu {
  background: rgba(10, 12, 16, 0.92);
}

#mobile-menu .nav-link {
  width: 100%;
  text-align: left;
}

.glass-card {
  background: rgba(12, 14, 18, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.12);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(226, 232, 240, 0.22);
  box-shadow: 0 0 26px rgba(148, 163, 184, 0.10);
  transform: translateY(-2px);
}

.text-gradient {
  background: linear-gradient(to right, #f1f5f9, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-glow {
  position: relative;
  background: transparent;
  border: 1px solid rgba(226, 232, 240, 0.22);
  color: #fff;
  transition: all 0.3s ease;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.22), transparent);
  transition: left 0.5s ease;
}

.btn-glow:hover::before {
  left: 100%;
}

.btn-glow:hover {
  box-shadow: 0 0 18px rgba(226, 232, 240, 0.12);
  background: rgba(226, 232, 240, 0.06);
}

#app-content {
  width: 100%;
  min-height: 100vh;
  padding-top: 84px;
  padding-bottom: 56px;
}

/* Keep content above watermark */
#app-content,
nav.glass-nav {
  position: relative;
  z-index: 2;
}

#app-content .max-w-7xl {
  width: min(1280px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

#app-content .page-enter {
  padding-top: 8px;
}

.home-hero {
  min-height: calc(100vh - 120px);
  padding-top: 46px;
  position: relative;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: -18px 0 auto 0;
  height: 320px;
  background: radial-gradient(900px 340px at 20% 22%, rgba(148, 163, 184, 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.home-hero::after {
  content: '';
  position: absolute;
  right: 8%;
  bottom: 2%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 232, 240, 0.10), rgba(226, 232, 240, 0));
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}

.home-hero-center {
  max-width: 760px;
  margin: 54px auto 0;
  text-align: center;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.16);
  background: rgba(15, 18, 24, 0.58);
  color: rgba(226, 232, 240, 0.76);
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 22px;
}

.home-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e2e8f0;
  box-shadow: 0 0 10px rgba(226, 232, 240, 0.26);
}

.home-title {
  margin: 0;
  display: grid;
  gap: 2px;
  font-size: clamp(56px, 5.6vw, 84px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f4f7ff;
  text-wrap: balance;
}

.home-title-accent {
  color: rgba(226, 232, 240, 0.92);
}

.home-subtitle {
  margin: 22px auto 0;
  max-width: 690px;
  font-size: 36px;
  line-height: 1.42;
  color: rgba(205, 214, 234, 0.7);
}

.home-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.home-btn {
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 28px;
  font-weight: 700;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-btn-primary {
  color: rgba(7, 10, 15, 0.92);
  background: linear-gradient(135deg, #f1f5f9, #94a3b8);
  border-color: rgba(226, 232, 240, 0.32);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.home-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
}

.home-btn-ghost {
  color: rgba(241, 245, 249, 0.88);
  background: rgba(12, 14, 18, 0.38);
  border-color: rgba(226, 232, 240, 0.22);
}

.home-btn-ghost:hover {
  background: rgba(226, 232, 240, 0.06);
}

.home-slider-wrap {
  width: 100%;
  max-width: 1000px;
  margin: 66px auto 0;
  position: relative;
}

.home-slider-card {
  position: relative;
  border-radius: 18px;
  padding: 12px;
  background: rgba(12, 14, 18, 0.52);
  border: 1px solid rgba(226, 232, 240, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.home-slider-image {
  width: 100%;
  height: 420px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  filter: grayscale(0.2) contrast(1.06) brightness(0.9);
}

.home-slider-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 0 36px;
}

.home-slider-caption {
  margin: 0;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.44);
  color: rgba(241, 245, 249, 0.66);
  font-size: 47px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
}

.home-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: rgba(218, 224, 255, 0.7);
  background: transparent;
  border: 0;
  z-index: 3;
}

.home-slider-arrow:hover {
  color: #fff;
}

.home-slider-arrow-left {
  left: -48px;
}

.home-slider-arrow-right {
  right: -48px;
}

.home-slider-dots {
  display: none;
}

.section-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 58px;
  padding-bottom: 40px;
}

.section-head {
  text-align: center;
  margin: 0 auto 44px;
}

.section-title {
  margin: 0;
  color: #edf2ff;
  font-size: clamp(44px, 4.2vw, 64px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title-accent {
  color: rgba(226, 232, 240, 0.92);
}

.section-sub {
  margin: 12px auto 0;
  max-width: 760px;
  color: rgba(197, 206, 228, 0.72);
  font-size: 26px;
  line-height: 1.45;
}

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

.feature-card {
  border-radius: 14px;
  padding: 24px;
  background: rgba(12, 14, 18, 0.52);
  border: 1px solid rgba(226, 232, 240, 0.14);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.05);
  min-height: 232px;
}

.feature-card h3 {
  margin: 16px 0 10px;
  color: #e9eefc;
  font-size: 35px;
  line-height: 1.2;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: rgba(181, 193, 221, 0.72);
  font-size: 24px;
  line-height: 1.45;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.feature-icon-combat { background: rgba(226, 232, 240, 0.12); color: rgba(241, 245, 249, 0.92); }
.feature-icon-visual { background: rgba(226, 232, 240, 0.12); color: rgba(241, 245, 249, 0.92); }
.feature-icon-move { background: rgba(226, 232, 240, 0.12); color: rgba(241, 245, 249, 0.92); }
.feature-icon-ghost { background: rgba(226, 232, 240, 0.12); color: rgba(241, 245, 249, 0.92); }
.feature-icon-api { background: rgba(226, 232, 240, 0.12); color: rgba(241, 245, 249, 0.92); }
.feature-icon-cloud { background: rgba(226, 232, 240, 0.12); color: rgba(241, 245, 249, 0.92); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  min-height: 500px;
  border-radius: 16px;
  padding: 22px 22px 20px;
  background: rgba(12, 14, 18, 0.58);
  border: 1px solid rgba(226, 232, 240, 0.14);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card h3 {
  margin: 0;
  color: #edf2ff;
  font-size: 42px;
  font-weight: 700;
}

.price-row {
  margin-top: 8px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.price-row strong {
  color: #f2f5ff;
  font-size: 62px;
  line-height: 1;
  font-weight: 800;
}

.price-row span {
  color: rgba(186, 196, 224, 0.68);
  font-size: 24px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 22px;
  display: grid;
  gap: 10px;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
  line-height: 1.35;
}

.price-card li.ok {
  color: #d6deef;
}

.price-card li.ok i {
  color: rgba(226, 232, 240, 0.78);
}

.price-card li.no {
  color: rgba(151, 163, 195, 0.72);
}

.price-card li.no i {
  color: rgba(130, 139, 163, 0.7);
}

.price-card button {
  margin-top: auto;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(116, 128, 166, 0.36);
  background: rgba(12, 14, 18, 0.5);
  color: #ecf1ff;
  font-size: 27px;
  font-weight: 700;
}

.price-card.is-best {
  border-color: rgba(226, 232, 240, 0.26);
  box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.12), 0 24px 70px rgba(0, 0, 0, 0.22);
}

/* "HIT" card goes backward on hover */
.price-card.is-best:hover {
  transform: translateY(10px);
  box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.10), 0 14px 46px rgba(0, 0, 0, 0.18);
}

.price-card.is-best::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, rgba(241, 245, 249, 0.9), rgba(148, 163, 184, 0.7));
}

.price-card.is-best button {
  background: linear-gradient(135deg, #f1f5f9, #94a3b8);
  border-color: rgba(226, 232, 240, 0.3);
  color: rgba(7, 10, 15, 0.92);
}

.price-badge {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.12);
  color: rgba(241, 245, 249, 0.78);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

#app-content .max-w-4xl {
  width: min(100%, 980px);
}

#app-content .max-w-2xl {
  width: min(100%, 780px);
}

#app-content .max-w-md {
  width: min(100%, 520px);
}

#app-content .flex.flex-col.sm\:flex-row.gap-4 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

#app-content .flex.flex-col.sm\:flex-row.gap-4 > button {
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 1px solid rgba(226, 232, 240, 0.18);
}

#app-content .flex.flex-col.sm\:flex-row.gap-4 > button:first-child {
  background: linear-gradient(135deg, #f1f5f9, #94a3b8);
  color: rgba(7, 10, 15, 0.92);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

#heroSliderImage {
  width: 100%;
  height: 420px;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  transition: filter 0.25s ease;
}

#heroSliderCaption {
  letter-spacing: 0.08em;
}

#heroSliderDots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
}





.page-enter {
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(10px);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback utility tokens for static Tailwind build */
.text-brand-300 { color: rgba(226, 232, 240, 0.78) !important; }
.text-brand-400 { color: rgba(226, 232, 240, 0.86) !important; }
.text-brand-500 { color: rgba(241, 245, 249, 0.92) !important; }
.bg-brand-500 { background-color: rgba(226, 232, 240, 0.18) !important; }
.bg-brand-600 { background-color: rgba(226, 232, 240, 0.22) !important; }
.hover\:bg-brand-500:hover { background-color: rgba(226, 232, 240, 0.22) !important; }
.hover\:text-brand-300:hover { color: rgba(241, 245, 249, 0.92) !important; }
.hover\:text-brand-400:hover { color: rgba(241, 245, 249, 0.92) !important; }
.bg-brand-500\/10 { background-color: rgba(226, 232, 240, 0.08) !important; }
.bg-brand-500\/20 { background-color: rgba(226, 232, 240, 0.12) !important; }
.bg-brand-600\/10 { background-color: rgba(226, 232, 240, 0.06) !important; }
.bg-brand-600\/20 { background-color: rgba(226, 232, 240, 0.10) !important; }
.border-brand-500\/20 { border-color: rgba(226, 232, 240, 0.16) !important; }
.border-brand-500\/50 { border-color: rgba(226, 232, 240, 0.24) !important; }
.from-brand-400 { --tw-gradient-from: rgba(241, 245, 249, 0.92) !important; }
.to-brand-600 { --tw-gradient-to: rgba(148, 163, 184, 0.78) !important; }

/* Arbitrary utility fallbacks used in markup */
.top-\[-20\%\] { top: -20%; }
.left-\[-10\%\] { left: -10%; }
.right-\[-10\%\] { right: -10%; }
.bottom-\[-20\%\] { bottom: -20%; }
.w-\[50\%\] { width: 50%; }
.h-\[50\%\] { height: 50%; }
.blur-\[120px\] { filter: blur(120px); }
.shadow-\[0_0_30px_rgba\(139\,92\,246\,0\.15\)\] { box-shadow: 0 0 30px rgba(226, 232, 240, 0.10) !important; }
.shadow-\[0_0_20px_rgba\(139\,92\,246\,0\.4\)\] { box-shadow: 0 0 20px rgba(226, 232, 240, 0.12) !important; }
.hover\:shadow-\[0_0_30px_rgba\(139\,92\,246\,0\.6\)\]:hover { box-shadow: 0 0 30px rgba(226, 232, 240, 0.16) !important; }

/* Explicit component polish */
.nav-link {
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.selection\:bg-brand-500 *::selection,
.selection\:bg-brand-500::selection {
  background: rgba(226, 232, 240, 0.26);
}

.selection\:text-white *::selection,
.selection\:text-white::selection {
  color: #fff;
}

/* Make mobile/desktop visibility work even if utility parser is missing */
@media (min-width: 768px) {
  .md\:hidden { display: none !important; }
  .md\:block { display: block !important; }
  .md\:flex-row { flex-direction: row !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:pt-20 { padding-top: 5rem !important; }
  .md\:h-96 { height: 24rem !important; }
  .md\:text-4xl { font-size: 2.25rem !important; }
  .md\:text-5xl { font-size: 3rem !important; }
  .md\:text-7xl { font-size: 4.5rem !important; }
  .md\:scale-105 { transform: scale(1.05) !important; }
}

@media (max-width: 767px) {
  #app-content {
    padding-top: 76px;
  }

  .home-hero {
    padding-top: 24px;
  }

  .home-hero-center {
    margin-top: 24px;
  }

  .home-badge {
    font-size: 14px;
    padding: 5px 10px;
  }

  .home-title {
    font-size: clamp(42px, 11vw, 56px);
  }

  .home-subtitle {
    font-size: 21px;
    max-width: 95%;
  }

  .home-btn {
    height: 46px;
    font-size: 18px;
    padding: 0 20px;
  }

  .home-slider-wrap {
    margin-top: 36px;
  }

  .home-slider-image,
  #heroSliderImage {
    height: 250px;
  }

  .home-slider-caption {
    font-size: 27px;
    letter-spacing: 0.05em;
  }

  .home-slider-arrow {
    width: 34px;
    height: 34px;
    background: rgba(12, 14, 18, 0.72);
    border: 1px solid rgba(226, 232, 240, 0.18);
  }

  .home-slider-arrow-left {
    left: 12px;
  }

  .home-slider-arrow-right {
    right: 12px;
  }

  .section-shell {
    width: calc(100% - 24px);
    padding-top: 28px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-title {
    font-size: clamp(32px, 10vw, 46px);
  }

  .section-sub {
    font-size: 16px;
    max-width: 94%;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .feature-card {
    min-height: auto;
    padding: 18px;
  }

  .feature-card h3 {
    font-size: 24px;
  }

  .feature-card p {
    font-size: 16px;
  }

  .price-card {
    min-height: auto;
  }

  .price-card h3 {
    font-size: 30px;
  }

  .price-row strong {
    font-size: 48px;
  }

  .price-row span {
    font-size: 16px;
  }

  .price-card li {
    font-size: 18px;
  }

  .price-card button {
    font-size: 18px;
  }

}
