﻿:root {
  --ww-orange: #f46e00;
  --ww-orange-dark: #d25c00;
  --ww-charcoal: #1f2329;
  --ww-border: #e5e7eb;
  --ww-text: #111827;
  --ww-text-soft: #4b5563;
  --ww-green: #1f9d55;
}

.pricing-hero {
  margin: 20px 0 22px;
  padding: 24px;
  border: 1px solid var(--ww-border);
  border-left: 5px solid var(--ww-orange);
  border-radius: 12px;
  background: radial-gradient(circle at 90% 10%, #ffd8bc 0%, #fff2e7 35%, #ffffff 100%);
}

.hero-chip {
  display: inline-block;
  background: var(--ww-charcoal);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-hero h2 {
  margin: 10px 0 8px;
  font-size: 34px;
  line-height: 1.1;
  color: var(--ww-text);
}

.pricing-hero p {
  margin: 0;
  color: var(--ww-text-soft);
  max-width: 860px;
}

.pricing-hero-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
}

.btn-primary {
  background: var(--ww-orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ww-orange-dark);
}

.btn-secondary {
  background: var(--ww-charcoal);
  color: #fff;
}

.btn-secondary:hover {
  background: #12161c;
}

.plans-block {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--ww-border);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.plans-block h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 28px;
  color: var(--ww-text);
}

.plans-subtitle {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--ww-text-soft);
}

.subscription-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.subscription-plan {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 25px;
  width: 280px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.subscription-plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
}

.plan-name {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
  text-align: center;
}

.plan-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--ww-orange);
  text-align: center;
  margin-bottom: 15px;
}

.plan-price .period {
  font-size: 16px;
  color: #666;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.plan-features li {
  padding: 8px 0 8px 25px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.plan-features li:before {
  content: "\2713";
  color: var(--ww-green);
  position: absolute;
  left: 0;
}

.plan-features li:last-child {
  border-bottom: none;
}

.subscribe-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: var(--ww-orange);
  color: white;
  border: none;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.subscribe-btn:hover {
  background-color: var(--ww-orange-dark);
}

.most-popular {
  position: relative;
  border: 2px solid var(--ww-orange);
}

.popular-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--ww-orange);
  color: white;
  padding: 5px 10px;
  font-size: 13px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.annual-savings {
  display: block;
  text-align: center;
  color: var(--ww-green);
  font-size: 14px;
  margin-top: 5px;
  font-weight: 700;
}

.toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.toggle-label {
  font-size: 16px;
  margin: 0 10px;
  color: #1f2937;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--ww-orange);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.trial-message {
  text-align: center;
  color: #1555b6;
  margin: 0 0 1em 0;
  font-weight: 700;
}

.custom-plan-info {
  text-align: center;
  margin-top: 20px;
}

.custom-plan-info .contact-link {
  color: var(--ww-orange);
  font-weight: 700;
  text-decoration: none;
}

.custom-plan-info .contact-link:hover {
  color: var(--ww-orange-dark);
  text-decoration: underline;
}

.plan-guidance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.plan-guidance-card {
  background: #fff;
  border: 1px solid var(--ww-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.04);
}

.plan-guidance-card h4 {
  margin: 0 0 8px;
  color: var(--ww-charcoal);
  font-size: 18px;
}

.plan-guidance-card p {
  margin: 0 0 10px;
  color: var(--ww-text-soft);
}

.plan-guidance-card ul {
  margin: 0;
  padding-left: 18px;
}

.plan-guidance-card li {
  margin-bottom: 8px;
}

.sales-assurance {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #f1dfcf;
  background: linear-gradient(180deg, #fffaf4 0%, #fff 100%);
}

.sales-assurance h4 {
  margin: 0 0 6px;
  color: var(--ww-charcoal);
}

.sales-assurance p {
  margin: 0;
  color: var(--ww-text-soft);
}

@media (max-width: 768px) {
  .subscription-plan {
    width: 100%;
    max-width: 350px;
  }

  .toggle-container {
    flex-direction: column;
    gap: 10px;
  }

  .pricing-hero h2 {
    font-size: 26px;
  }

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

@media (max-width: 480px) {
  .plan-price {
    font-size: 28px;
  }

  .plan-name {
    font-size: 20px;
  }

  .subscription-plan,
  .pricing-hero,
  .plans-block {
    padding: 14px;
  }

  .popular-tag {
    right: 10px;
    font-size: 11px;
    padding: 3px 8px;
  }
}
