:root {
  --bg: #0a0a0a;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.1);
  --btn-primary-bg: #ffffff;
  --btn-primary-fg: #000000;
  --grid-line: rgba(255, 255, 255, 0.045);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
}

.grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, transparent 40%, #0a0a0a 100%);
}

nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  padding-left: 32px;
  padding-right: 32px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg {
  width: 44px;
  height: 44px;
}

.nav-logo-fallback span {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--fg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--fg);
}

.btn-enter {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.15s;
}

.btn-enter:hover {
  opacity: 0.88;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 120px 100px;
  padding-left: 24px;
  padding-right: 24px;
  min-height: calc(100svh - 73px);
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 760px;
  text-wrap: balance;
  margin-bottom: 24px;
}

.hero p {
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border: none;
  border-radius: 6px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.15s;
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: none;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.btn-ghost:hover {
  opacity: 1;
}

.features {
  position: relative;
  z-index: 1;
  padding-block: 80px;
  padding-left: 32px;
  padding-right: 32px;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.feature h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}

.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.plans {
  position: relative;
  z-index: 1;
  padding-block: 80px;
  padding-left: 32px;
  padding-right: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.plans h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.15s;
}

.plan-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.plan-card.featured {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.plan-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a84c;
}

.plan-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan-price {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--fg);
}

.plan-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  vertical-align: middle;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-features li {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
}

.plan-btn {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}

.plan-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.plan-card.featured .plan-btn {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-color: var(--btn-primary-bg);
}

.plan-card.featured .plan-btn:hover {
  opacity: 0.88;
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding-block: 36px;
  padding-left: 32px;
  padding-right: 32px;
}

footer p {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 600px) {
  nav {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    padding-block: 80px 60px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .features {
    padding-left: 20px;
    padding-right: 20px;
  }

  .plans {
    padding-left: 20px;
    padding-right: 20px;
  }

  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.brand-lockup {
  gap: 9px;
}

.brand-lockup img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--fg);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-wordmark span {
  color: var(--muted);
  font-weight: 500;
}