/* Shared marketing shell styles used by index and checkout pages. */

.msw-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.msw-header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.msw-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.msw-brand-mark {
  width: 32px;
  height: 32px;
  background: #6366f1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.msw-brand-name {
  color: white;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.msw-brand-pill {
  font-size: 0.6rem;
  font-weight: 700;
  background: #f59e0b;
  color: #1c1917;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.4;
}

.nav-link {
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover {
  color: #ffffff;
}

.msw-nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.msw-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #6366f1;
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1.125rem;
  border-radius: 0.5rem;
  transition: background 0.15s;
}

.msw-nav-cta:hover {
  background: #4f46e5;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: 1.25rem;
  padding: 0.375rem;
  display: flex;
  align-items: center;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.hamburger-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-drawer {
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  z-index: 49;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.5rem 1.25rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.mobile-drawer a {
  color: #94a3b8;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.8125rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.15s;
}

.mobile-drawer a:last-child {
  border-bottom: none;
}

.mobile-drawer a:hover {
  color: white;
}

.mobile-drawer .mobile-cta {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #6366f1;
  color: white !important;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: none;
  text-decoration: none;
  transition: background 0.15s;
}

.mobile-drawer .mobile-cta:hover {
  background: #4f46e5 !important;
  color: white;
}

.footer-link {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1.5;
}

.footer-link:hover {
  color: #ffffff;
}

.msw-footer {
  background: #020617;
  color: #64748b;
  padding: 4.5rem 1.5rem 2.5rem;
}

.msw-footer-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.msw-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.msw-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.msw-footer-brand-mark {
  width: 28px;
  height: 28px;
  background: #6366f1;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msw-footer-brand-name {
  color: white;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.msw-footer-title {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.125rem;
  letter-spacing: 0.01em;
}

.msw-footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.msw-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.msw-footer-links {
  display: flex;
  gap: 1.5rem;
}

.msw-mini-footer {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 767px) {
  .nav-desktop {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}
