/* NitroCloud marketing chrome — mirrors NitroApp styles.css nav / mobile / buttons */

:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --mobile-header-h: 3.25rem;
  --bottom-nav-h: 3.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #07080c;
  color: #e8edf5;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.55);
  outline-offset: 2px;
}

.brand-logo {
  display: block;
  object-fit: contain;
  object-position: left center;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #8b95a8;
  text-align: left;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.nav-btn:hover {
  color: #e8edf5;
  background: rgba(18, 23, 31, 0.8);
  text-decoration: none;
}

.nav-btn.active,
.nav-btn[aria-current="page"] {
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.2);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.08);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #22d3ee, #0891b2);
  color: #07080c;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
  text-decoration: none;
  color: #07080c;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.5rem;
  border: 1px solid #1e2633;
  background: #12171f;
  color: #e8edf5;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.btn-ghost:hover {
  border-color: rgba(34, 211, 238, 0.35);
  text-decoration: none;
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: calc(var(--mobile-header-h) + var(--safe-top));
  padding: var(--safe-top) 0.875rem 0.55rem;
  background: rgba(13, 16, 23, 0.92);
  border-bottom: 1px solid #1e2633;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 30;
  flex-shrink: 0;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  min-height: calc(var(--bottom-nav-h) + var(--safe-bottom));
  padding: 0.25rem 0.15rem var(--safe-bottom);
  background: rgba(13, 16, 23, 0.96);
  border-top: 1px solid #1e2633;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.35rem 0.2rem;
  font-size: 0.62rem;
  font-weight: 500;
  color: #8b95a8;
  border-radius: 0.5rem;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.bottom-nav-btn.active {
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.08);
}

.bottom-nav-btn:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.45);
  outline-offset: 1px;
}

.content-pad-bottom {
  padding-bottom: calc(2rem + var(--bottom-nav-h) + var(--safe-bottom)) !important;
}

@media (min-width: 768px) {
  .content-pad-bottom {
    padding-bottom: 3rem !important;
  }
}

.more-sheet {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.more-sheet.hidden {
  display: none;
}

.more-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  border: none;
  cursor: pointer;
}

.more-sheet-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  max-height: min(78vh, 36rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem calc(1rem + var(--safe-bottom));
  border-radius: 1rem 1rem 0 0;
  background: #12171f;
  border: 1px solid #1e2633;
  border-bottom: none;
  animation: sheet-up 0.22s ease-out;
}

.more-sheet-handle {
  width: 2.5rem;
  height: 0.28rem;
  border-radius: 9999px;
  background: #1e2633;
  margin: 0.15rem auto 0.85rem;
}

.more-sheet-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
}

.more-sheet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border-radius: 0.5rem;
  text-align: left;
  color: #e8edf5;
  font-size: 0.9rem;
  border: 1px solid transparent;
  text-decoration: none;
  background: transparent;
}

.more-sheet-item:hover,
.more-sheet-item:focus-visible {
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(34, 211, 238, 0.2);
  outline: none;
  text-decoration: none;
}

@keyframes sheet-up {
  from {
    transform: translateY(100%);
    opacity: 0.6;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-frame {
  isolation: isolate;
  background: #05070c;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(to top, #07080c 10%, transparent);
  pointer-events: none;
  z-index: 1;
}

.hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(58vh, 640px);
  object-fit: cover;
  object-position: center;
}

.service-card {
  display: block;
  border: 1px solid #1e2633;
  background: linear-gradient(145deg, #12171f 0%, #0d1017 100%);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.service-card.is-locked {
  opacity: 0.85;
  cursor: default;
}

.service-card.is-locked:hover {
  transform: none;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
