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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.pricing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  z-index: 100;
}

.pricing-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing-header .logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.pricing-header .nav-link {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.pricing-header .nav-link:hover {
  color: #333;
}

.pricing-page {
  padding: 120px 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 8px;
}

/* Controls Row */
.pricing-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 48px;
  position: relative;
}

.guarantee-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  color: #3b82f6;
  border: 1px solid #bfdbfe;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: default;
}

.guarantee-chip svg {
  flex-shrink: 0;
}

.guarantee-chip-tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #1e293b;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 400;
  padding: 10px 14px;
  border-radius: 6px;
  width: 400px;
  z-index: 10;
  line-height: 1.5;
  white-space: normal;
}

.guarantee-chip:hover .guarantee-chip-tooltip {
  display: block;
}

/* Billing Toggle */
.billing-toggle {
  position: absolute;
  right: 0;
}

.billing-toggle-inner {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 12px;
  padding: 4px;
  background: #f4f4f5;
}

.billing-toggle button {
  padding: 8px 24px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.billing-toggle button.active {
  background: #fff;
  color: #333;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.billing-toggle button:not(.active) {
  background: transparent;
  color: #71717a;
}

.billing-toggle button:not(.active):hover {
  color: #52525b;
}

.save-badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: #3b82f6;
  border: 1px solid #3b82f6;
  background: #eff6ff;
  border-radius: 6px;
  padding: 2px 6px;
}

/* Plan Cards */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plan-card {
  position: relative;
  border: 1px solid #e4e4e7;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.plan-card.featured {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1), 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.plan-card-header {
  padding: 24px;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.plan-description {
  font-size: 0.875rem;
  color: #71717a;
  margin-bottom: 8px;
}
.plan-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.plan-price-value {
  font-size: 2.5rem;
  font-weight: bold;
}

.plan-price-period {
  font-size: 0.875rem;
  color: #71717a;
  margin-top: 4px;
}

.plan-features {
  padding: 0 24px 24px;
  flex: 1;
}

.plan-features ul {
  list-style: none;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.feature-tooltip-icon {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #d4d4d8;
  color: #a1a1aa;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  flex-shrink: 0;
  cursor: default;
}

.feature-tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: #1d1e20;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.4;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 250px;
  width: max-content;
  z-index: 10;
}

.feature-tooltip-icon:hover .feature-tooltip {
  display: block;
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  color: #a1a1aa;
  flex-shrink: 0;
}

.plan-card-footer {
  padding: 0 24px 24px;
  margin-top: auto;
}

.plan-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.plan-btn-primary {
  background: #1d1e20;
  color: #fff;
}

.plan-btn-primary:hover {
  background: rgba(29, 30, 32, 0.9);
}

.plan-btn-secondary {
  background: #fff;
  color: #333;
  border: 1px solid #d4d4d8;
}

.plan-btn-secondary:hover {
  background: #f4f4f5;
}

.plan-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pricing-footer {
  text-align: center;
  margin-top: 48px;
  font-size: 0.875rem;
  color: #71717a;
}

/* Value Prop */
.pricing-value-prop {
  margin: 64px auto 0;
  text-align: center;
}

.pricing-value-prop h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 32px;
}

.pricing-value-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.pricing-value-card {
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 24px;
}

.pricing-value-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f4f4f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #52525b;
}

.pricing-value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #52525b;
}

/* Social Proof */
.pricing-social-proof {
  margin: 64px auto 0;
  display: flex;
  align-items: center;
  gap: 48px;
}

.pricing-social-proof-text {
  flex-shrink: 0;
}

.pricing-social-proof-stat {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 3px 10px 3px 8px;
  text-transform: uppercase;
}

.pricing-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
  flex-shrink: 0;
}

.pricing-live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: pricing-live-pulse 2s ease-in-out infinite;
}

@keyframes pricing-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.8); }
}

.pricing-social-proof-label {
  font-size: 1rem;
  color: #71717a;
  white-space: nowrap;
}

.pricing-social-proof-logos {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.pricing-social-proof-logos::before,
.pricing-social-proof-logos::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.pricing-social-proof-logos::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.pricing-social-proof-logos::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.pricing-social-proof-logos-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: pricing-logo-scroll 40s linear infinite;
}

.pricing-social-proof-logos-track:hover {
  animation-play-state: paused;
}

@keyframes pricing-logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.pricing-social-proof-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #666;
  opacity: 0.6;
  white-space: nowrap;
  flex-shrink: 0;
}

.pricing-social-proof-logo svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .pricing-value-cards {
    grid-template-columns: 1fr;
  }

  .pricing-social-proof {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    max-width: 100vw;
    overflow: hidden;
  }
}

/* FAQ */
.pricing-faq {
  max-width: 700px;
  margin: 64px auto 0;
}

.pricing-faq h2 {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
}

.pricing-faq-item {
  border-bottom: 1px solid #e4e4e7;
  padding: 16px 0;
}

.pricing-faq-item:last-child {
  border-bottom: none;
}

.pricing-faq-item h3 {
  font-weight: 500;
  color: #333;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.pricing-faq-item p {
  color: #52525b;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

.pricing-faq-item a {
  color: #333;
  font-weight: 500;
}

@media (max-width: 768px) {
  .pricing-page {
    padding: 100px 16px 60px;
  }

  .pricing-title {
    font-size: 1.8rem;
  }

  .pricing-controls {
    flex-direction: column;
    gap: 16px;
  }

  .billing-toggle {
    position: static;
  }

  .plan-cards {
    grid-template-columns: 1fr;
  }
}
