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

:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --gray-50: #f7f7f7;
  --gray-100: #efefef;
  --gray-200: #e0e0e0;
  --gray-400: #a0a0a0;
  --gray-600: #555555;
  --gray-800: #2a2a2a;
  --accent: #006aff;
  --accent-light: #e8f0ff;
  --green: #1a9e5d;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

body.vl-pricing-page {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.vl-pricing a {
  color: inherit;
  text-decoration: none;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 14px;
}

.section-title,
.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--black);
}

.hero-title em,
.section-title em {
  font-style: italic;
  color: var(--gray-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gray-800);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  padding: 9px 16px;
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--black);
}

.pricing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.pricing-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--black);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--black);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-avatar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #a78bfa;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

main {
  padding-top: 64px;
}

.pricing-hero {
  padding: 78px 0 44px;
  border-bottom: 1px solid var(--gray-200);
}

.hero-sub {
  margin-top: 18px;
  max-width: 700px;
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-mobile-sticky {
  display: none;
}

.section {
  padding: 84px 0;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading .section-title {
  font-size: clamp(30px, 4vw, 46px);
}

.rate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rate-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.rate-card:hover,
.rate-card.is-hovered,
.rate-card:focus {
  transform: translateY(-3px);
  border-color: var(--black);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  outline: none;
}

.rate-type {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.rate-main {
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.8px;
}

.rate-fixed {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.rate-context {
  margin-top: 10px;
  font-size: 13px;
  color: var(--gray-600);
}

.rate-inherits {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-600);
}

.feature-list {
  list-style: none;
  margin-top: 12px;
  border-top: 1px solid var(--gray-100);
  padding-top: 14px;
}

.feature-list li {
  position: relative;
  padding: 8px 0 8px 18px;
  font-size: 14px;
  color: var(--gray-800);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.rate-see-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 2px;
}

.rate-see-more::after {
  content: '\203A';
  font-size: 14px;
  line-height: 1;
}

.rate-see-more:hover {
  border-bottom-color: var(--black);
}

.value-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.value-card h3 {
  font-size: 24px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.7;
}

.cta-section {
  padding-top: 96px;
}

.cta-panel {
  text-align: center;
  max-width: 900px;
}

.cta-panel .section-label {
  text-align: center;
}

.cta-panel .section-title {
  font-size: clamp(34px, 4.2vw, 54px);
}

.cta-sub {
  margin: 14px auto 0;
  max-width: 660px;
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.7;
}

.cta-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-footer {
  border-top: 1px solid var(--gray-200);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 700;
  margin-bottom: 2px;
}

.footer-copy {
  font-size: 13px;
  color: var(--gray-400);
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--gray-600);
}

.footer-links a:hover {
  color: var(--black);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  margin: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s;
  opacity: 0;
  overflow: hidden;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-header {
  padding: 28px 32px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.modal-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.3px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--gray-200);
}

.modal-close svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray-600);
}

.modal-body {
  padding: 24px 32px 32px;
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

.modal-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.6;
}

.location-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.location-selector {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--black);
  margin-bottom: 22px;
}

.modal-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.modal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-200);
}

.modal-dot.active {
  width: 20px;
  border-radius: 3px;
  background: var(--black);
}

.modal-btn {
  width: 100%;
  padding: 15px;
  background: var(--black);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
}

.modal-btn:hover {
  background: var(--gray-800);
}

.modal-btn:disabled {
  background: var(--gray-200);
  color: var(--gray-400);
  cursor: not-allowed;
}

.modal-btn-ghost {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  background: transparent;
  color: var(--gray-600);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.modal-btn-ghost:hover {
  color: var(--black);
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.role-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}

.role-card:hover {
  border-color: var(--black);
  background: var(--gray-50);
}

.role-card.selected {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.role-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.role-card p {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.5;
}

.role-card.selected p {
  color: rgba(255, 255, 255, 0.65);
}

.success-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.success-chip {
  font-size: 12px;
  font-weight: 600;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  padding: 6px 14px;
  border-radius: 100px;
}

.modal-note {
  text-align: center;
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 14px;
}

@media (max-width: 1000px) {
  .rate-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 900px) {
  .section-inner {
    padding: 0 20px;
  }

  .pricing-nav {
    padding: 0 20px;
  }

  .pricing-hero {
    padding-top: 66px;
    padding-bottom: 28px;
  }

  .section {
    padding: 64px 0;
  }

  .pricing-mobile-sticky {
    position: sticky;
    top: 64px;
    z-index: 60;
    background: var(--black);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .pricing-mobile-sticky span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
  }

  .pricing-mobile-sticky a {
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    padding: 5px 10px;
    white-space: nowrap;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .role-grid {
    grid-template-columns: 1fr;
  }
}
