:root {
  --bg: #e9e9e9;
  --panel: #f8f8f8;
  --white: #ffffff;
  --text: #121212;
  --muted: #777b84;
  --line: rgba(18, 18, 18, 0.06);
  --shadow: 0 22px 60px rgba(17, 17, 17, 0.08);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #dedede;
  color: var(--text);
}

button,
a {
  font-family: inherit;
}

.page-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #efefef 0%, #e5e5e5 100%);
}

.navbar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 30;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform 0.25s ease;
  position: relative;
  z-index: 31;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(0,0,0,0.08);
}

.brand-mark span:first-child {
  background: #111;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
}

.brand-mark span:last-child {
  background: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  color: #60646d;
  font-size: 0.9rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a span {
  font-size: 0.7rem;
}

.nav-links a:hover {
  color: #111;
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 31;
}

.nav-btn,
.mobile-nav-btn {
  text-decoration: none;
  color: #fff;
  background: #0e0e0e;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-btn:hover,
.mobile-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.22);
  background: #1a1a1a;
}

.mobile-nav-btn {
  display: none;
}

.hamburger {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255,255,255,0.76);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.hamburger:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.95);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #121212;
  border-radius: 999px;
  transition: transform 0.35s ease, opacity 0.24s ease, width 0.25s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.3);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.hero-card {
  max-width: 1260px;
  margin: 0 auto;
  background: #f7f7f7;
  border-radius: 14px;
  min-height: calc(100vh - 90px);
  position: relative;
  overflow: hidden;
  padding: 56px 24px 60px;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.85), rgba(0,0,0,0.22) 75%, transparent 100%);
  pointer-events: none;
}

.hero-content,
.pricing-grid {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  padding-top: 22px;
}

.eyebrow {
  color: transparent;
  font-size: 0.1px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.subtext {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ededed;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 4px;
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.toggle-btn {
  border: 0;
  background: transparent;
  color: #61656e;
  border-radius: 10px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.toggle-btn span {
  font-size: 0.72rem;
  opacity: 0.75;
  margin-left: 4px;
}

.toggle-btn.active,
.toggle-btn:hover {
  background: #fff;
  color: #111;
}

.toggle-btn:hover {
  transform: translateY(-1px);
}

.pricing-grid {
  max-width: 1040px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.price-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 14px;
  padding: 18px;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(15, 15, 15, 0.1);
  border-color: rgba(17, 17, 17, 0.14);
}

.title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-card h3 {
  font-size: 1.65rem;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.title-row h3 {
  margin-bottom: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f57a48;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

.price-wrap {
  display: flex;
  align-items: flex-start;
  margin-top: 20px;
}

.currency {
  font-size: 1.7rem;
  font-weight: 600;
  margin-right: 2px;
  margin-top: 5px;
}

.price {
  font-size: 3.35rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.billing-note {
  color: #70747c;
  font-size: 0.85rem;
  margin-top: 2px;
}

.card-desc {
  margin-top: 28px;
  margin-bottom: 14px;
  font-weight: 600;
  color: #242424;
  font-size: 0.96rem;
}

ul {
  list-style: none;
  display: grid;
  gap: 11px;
}

li {
  position: relative;
  padding-left: 23px;
  color: #666c74;
  font-size: 0.92rem;
  line-height: 1.4;
}

li::before {
  content: '✓';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  background: #f0f2f4;
  color: #78818b;
}

.card-btn {
  margin-top: 22px;
  text-decoration: none;
  min-height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,0.14);
  display: grid;
  place-items: center;
  color: #181818;
  background: linear-gradient(180deg, #fff 0%, #f6f6f6 100%);
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  border-color: rgba(17,17,17,0.2);
}

.featured-light {
  background: rgba(255,255,255,0.92);
}

.featured-dark {
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(180deg, #201d1b 0%, #171412 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
  color: #fff;
  border-color: rgba(255,255,255,0.08);
}

.featured-dark h3,
.featured-dark .custom-text,
.featured-dark .card-desc,
.featured-dark li,
.featured-dark .billing-note {
  color: #fff;
}

.featured-dark .billing-note,
.featured-dark li {
  opacity: 0.78;
}

.featured-dark li::before {
  background: rgba(255,255,255,0.92);
  color: #121212;
}

.custom-text {
  font-size: 3.15rem;
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 700;
  margin-top: 18px;
}

.dark-btn {
  background: #fff;
  color: #111;
  border-color: rgba(255,255,255,0.18);
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 18px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

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

@media (max-width: 820px) {
  .nav-btn {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,0.84);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(17,17,17,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s ease;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 14px;
    background: rgba(255,255,255,0.45);
    border: 1px solid transparent;
    font-weight: 500;
  }

  .nav-links a:hover {
    transform: translateY(0);
    background: #fff;
    border-color: rgba(17,17,17,0.08);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mobile-nav-btn {
    display: grid;
    place-items: center;
    margin-top: 4px;
  }

  .hero-card {
    min-height: auto;
    padding-bottom: 34px;
  }
}

@media (max-width: 560px) {
  .navbar {
    padding: 16px 14px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hamburger {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .hero-card {
    margin: 0 8px 8px;
    padding: 32px 14px 26px;
    border-radius: 18px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .subtext br {
    display: none;
  }

  .billing-toggle {
    width: 100%;
    justify-content: center;
  }

  .toggle-btn {
    flex: 1;
    padding-inline: 12px;
  }

  .price {
    font-size: 2.9rem;
  }

  .custom-text {
    font-size: 2.5rem;
  }

  .pricing-grid {
    gap: 16px;
    margin-top: 24px;
  }
}
