@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'BlackPast';
  src: url('./assets/BlackPast.woff2') format('woff2'), url('./assets/BlackPast.woff') format('woff');
  font-display: swap;
}

:root {
  --pw-bg: #0f141b;
  --pw-panel: #262d36;
  --pw-panel-strong: #1f262f;
  --pw-border: rgba(255, 255, 255, 0.16);
  --pw-text: rgba(255, 255, 255, 0.92);
  --pw-muted: rgba(255, 255, 255, 0.66);
  --pw-accent: rgba(255, 255, 255, 0.88);
  --pw-chip: rgba(255, 255, 255, 0.09);
  --pw-gold: #d6b25e;
  --pw-gold-2: #f0d38a;
  --pw-gold-soft: rgba(214, 178, 94, 0.22);
}

* {
  font-family: 'Cormorant Garamond', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"),
    radial-gradient(1300px 820px at 18% 8%, rgba(255, 255, 255, 0.12), transparent 56%),
    radial-gradient(1150px 780px at 78% 18%, rgba(214, 178, 94, 0.16), transparent 62%),
    radial-gradient(1050px 720px at 86% 22%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #121821 0%, var(--pw-bg) 52%, #0c1117 100%);
  color: var(--pw-text);
  background-blend-mode: soft-light, normal, normal, normal, normal;
  position: relative;
  isolation: isolate;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
  background-image:
    url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=2600&q=70'),
    radial-gradient(600px 420px at 12% 18%, rgba(214, 178, 94, 0.10), transparent 60%),
    radial-gradient(520px 380px at 82% 26%, rgba(255, 255, 255, 0.06), transparent 62%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 6px);
  background-size: cover, auto, auto, auto, auto;
  background-position: center, center, center, center, center;
  filter: blur(10px) saturate(1.05) brightness(1.15);
  transform: scale(1.06);
  mix-blend-mode: soft-light;
}

.pw-container {
  max-width: 1120px;
}

.pw-font-blackpast {
  font-family: 'BlackPast', 'Cormorant Garamond', serif;
}

.pw-font-display {
  font-family: 'Cinzel', serif;
}

.pw-brand-wordmark {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.82);
}

.pw-header-network {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 80px;
  max-width: 460px;
  height: 22px;
  margin: 0 1rem;
  opacity: 0.75;
}

.pw-header-network svg {
  width: 100%;
  height: 100%;
}

.pw-topnav-link {
  color: rgba(255, 255, 255, 0.72);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.6rem 0.25rem;
  position: relative;
  transition: color 140ms ease;
}

.pw-topnav-link:hover {
  color: rgba(255, 255, 255, 0.96);
}

.pw-topnav-link[aria-current='page'] {
  color: rgba(255, 255, 255, 0.96);
}

.pw-topnav-link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(214, 178, 94, 0.75) 45%, transparent 100%);
}

.pw-splash {
  position: relative;
  overflow: hidden;
  padding-top: 7.5rem;
  padding-bottom: 3.25rem;
}

.pw-splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=2600&q=70');
  background-size: cover;
  background-position: center;
  filter: blur(6px) saturate(1.05) contrast(1.04) brightness(1.08);
  transform: scale(1.04);
  opacity: 0.45;
}

.pw-splash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,14,0.78) 0%, rgba(15,20,27,0.72) 45%, rgba(15,20,27,0.86) 100%);
}

.pw-splash > * {
  position: relative;
  z-index: 1;
}

.pw-glass {
  background: linear-gradient(180deg, #2f363f 0%, var(--pw-panel) 55%, #1b2129 100%);
  border: 1px solid var(--pw-border);
  backdrop-filter: none;
}

.pw-glass-strong {
  background: linear-gradient(180deg, #2b323b 0%, var(--pw-panel-strong) 55%, #171c23 100%);
  border: 1px solid var(--pw-border);
  backdrop-filter: none;
}

.pw-metal-solid {
  background: linear-gradient(180deg, #2f363f 0%, #232a33 55%, #1b2129 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: none;
}

.pw-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(214, 178, 94, 0.35) 18%, rgba(255, 255, 255, 0.12) 50%, rgba(214, 178, 94, 0.35) 82%, transparent 100%);
}

.pw-logo {
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px 10px;
}

.pw-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.pw-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(214, 178, 94, 0.44);
  background: rgba(214, 178, 94, 0.16);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 9999px;
  padding: 0.4rem 0.65rem;
  font-size: 0.85rem;
}

.pw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.pw-btn:active {
  transform: translateY(1px);
}

.pw-btn-primary {
  background: linear-gradient(135deg, var(--pw-gold) 0%, var(--pw-gold-2) 55%, #b38a2e 100%);
  color: #0b0d10;
  box-shadow: 0 18px 45px rgba(214, 178, 94, 0.18);
}

.pw-btn-primary:hover {
  box-shadow: 0 22px 60px rgba(214, 178, 94, 0.24);
}

.pw-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.pw-btn-ghost:hover {
  border-color: rgba(214, 178, 94, 0.62);
  background: rgba(214, 178, 94, 0.16);
}

.pw-card {
  border-radius: 18px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.pw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.24);
}

.pw-hero-grid {
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 30% 15%, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, transparent 70%);
  opacity: 0.38;
  pointer-events: none;
}

.pw-input {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
}

.pw-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.pw-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.pw-menu-item {
  color: rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  padding: 0.65rem 0.75rem;
  transition: background-color 140ms ease, color 140ms ease;
}

.pw-menu-item:hover {
  background: rgba(214, 178, 94, 0.18);
  color: rgba(255, 255, 255, 0.98);
}

.pw-menu-item[aria-current='page'] {
  background: rgba(214, 178, 94, 0.22);
  color: rgba(255, 255, 255, 0.98);
}

#nav-menu {
  background: linear-gradient(180deg, #2b313a 0%, #1f242c 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
  backdrop-filter: none;
}

.pw-pricing-highlight {
  border-color: rgba(214, 178, 94, 0.42);
  background: linear-gradient(180deg, #3a3630 0%, #2a313a 48%, #1b2129 100%);
  box-shadow: 0 28px 90px rgba(214, 178, 94, 0.14);
}

.pw-hosting-banner {
  background: linear-gradient(90deg, #222933 0%, #2b333d 35%, #1f262f 65%, #222933 100%);
  border: 1px solid rgba(214, 178, 94, 0.32);
}
