/* Pricing Pages - Modern Enhancements */

/* Enhanced Hero Section */
.scope-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.scope-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.scope-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--accent);
  transition: opacity 0.2s;
}

.breadcrumb a:hover {
  opacity: 0.8;
}

.scope-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text);
}

.scope-hero h1 .highlight {
  color: var(--accent);
  display: inline-block;
  position: relative;
}

.hero-lead {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 12px;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.9);
  padding: 16px 24px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-note-small {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  background: white;
  color: var(--accent);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

/* Enhanced Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
  color: var(--text);
}

.section-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 40px;
  font-style: italic;
}

/* Enhanced Scope Blocks */
.scope-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.scope-block:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.scope-block h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}

.scope-block h3::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 32px;
  background: var(--accent);
  border-radius: 3px;
}

/* Enhanced Lists */
.scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scope-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.scope-list li:last-child {
  border-bottom: none;
}

.scope-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 50%;
}

.scope-list.not-included li::before {
  content: "✗";
  color: #ef4444;
  background: #fee2e2;
}

.scope-list li strong {
  color: var(--text);
  font-weight: 600;
}

/* Enhanced Ads Options */
.ads-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.ads-option {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
}

.ads-option:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
  transform: translateY(-2px);
}

.ads-option h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ads-option h4::before {
  content: "🎯";
  font-size: 1.3rem;
}

/* Selectable Ads Options */
.ads-option.selectable {
  cursor: pointer;
  display: block;
}

.ads-option.selectable .ads-radio {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  accent-color: var(--accent);
}

.ads-option.selectable.selected {
  border-color: var(--accent);
  border-width: 3px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.ads-option.selectable.selected::after {
  content: "✓ Selected";
  position: absolute;
  top: 15px;
  left: 20px;
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.ads-option-content {
  margin-top: 0;
}

.scope-block-sub {
  margin-top: 24px;
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.scope-block-sub h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text);
}

.setup-included {
  margin-top: 20px;
  padding: 16px;
  background: #dcfce7;
  border-left: 4px solid #22c55e;
  border-radius: var(--radius);
  color: #166534;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Order Form Section */
.order-form-section {
  background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.order-form-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.order-form-section .container {
  position: relative;
  z-index: 1;
}

.order-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.order-form-wrapper h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.order-form-wrapper p {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  opacity: 0.95;
}

.order-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
  background: white;
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group small {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.form-submit {
  background: var(--accent);
  color: white;
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.form-submit:active {
  transform: translateY(0);
}

.form-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Enhanced CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--text) 0%, #0f172a 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-white:hover {
  background: white;
  color: var(--accent);
}

/* Package Summary Card */
.package-summary {
  background: white;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.package-summary h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  text-align: center;
}

.price-display {
  text-align: center;
  margin-bottom: 20px;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.price-period {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.package-highlights {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
}

.package-highlights li {
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border);
}

.package-highlights li:last-child {
  border-bottom: none;
}

.package-highlights li::before {
  content: "⭐";
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Package Spoiler Styling */
.package-highlights li.package-spoiler::before {
  content: none;
}

.spoiler-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  padding: 0;
  text-align: left;
  width: 100%;
  transition: all 0.2s;
}

.spoiler-toggle:hover {
  opacity: 0.8;
}

.spoiler-toggle .spoiler-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.spoiler-toggle.active .spoiler-icon {
  transform: rotate(90deg);
}

.spoiler-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-top: 0;
}

.spoiler-content.expanded {
  max-height: 1000px;
  margin-top: 12px;
}

.nested-highlights {
  list-style: none;
  padding: 12px 0 0 24px;
  margin: 0;
  border-left: 3px solid var(--accent-light);
}

.nested-highlights li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: none;
}

.nested-highlights li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.spoiler-toggle.section-level {
  background: var(--accent-light);
  padding: 12px 20px;
  border-radius: var(--radius);
  margin-bottom: 8px;
  border: 2px solid transparent;
}

.spoiler-toggle.section-level:hover {
  border-color: var(--accent);
  opacity: 1;
}

.package-inclusion-note {
  max-width: 900px;
  margin: 0 auto 32px;
}

.included-packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.included-package-item {
  padding: 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.5;
}

.included-package-item strong {
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

/* Tooltip Styling */
.package-highlights li {
  position: relative;
}

.highlight-tooltip {
  display: inline-block;
  margin-left: 6px;
  cursor: help;
  font-size: 1rem;
  opacity: 0.7;
  transition: all 0.2s;
  position: relative;
}

.highlight-tooltip:hover {
  opacity: 1;
  transform: scale(1.1);
}

.highlight-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--text);
  color: white;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.4;
  width: 280px;
  max-width: 90vw;
  white-space: normal;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  font-weight: 400;
}

.highlight-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-2px);
  border: 6px solid transparent;
  border-top-color: var(--text);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.highlight-tooltip:hover::after,
.highlight-tooltip:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Mobile tooltip adjustments */
@media (max-width: 768px) {
  .highlight-tooltip::after {
    width: 240px;
    font-size: 0.8rem;
    padding: 10px 14px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .scope-hero {
    padding: 60px 0 40px;
  }

  .scope-hero h1 {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1.1rem;
  }

  section {
    padding: 60px 0;
  }

  .scope-block {
    padding: 24px;
  }

  .ads-options {
    grid-template-columns: 1fr;
  }

  .order-form {
    padding: 28px 20px;
  }

  .order-form-section,
  .cta-section {
    padding: 60px 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* Success message */
.form-success {
  background: #dcfce7;
  border: 2px solid #22c55e;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  color: #166534;
  font-weight: 600;
  text-align: center;
  display: none;
}

.form-success.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Error message */
.form-error {
  background: #fee2e2;
  border: 2px solid #ef4444;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  color: #991b1b;
  font-weight: 600;
  text-align: center;
  display: none;
}

.form-error.show {
  display: block;
  animation: slideDown 0.3s ease;
}

/* Floating Consultation Button */
.floating-consultation-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: all 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  border: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulse 2s infinite;
  white-space: nowrap;
  opacity: 1;
  visibility: visible;
}

.floating-consultation-btn.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.floating-consultation-btn:hover {
  background: var(--accent-hover);
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.floating-consultation-btn::before {
  content: "📋";
  font-size: 1.2rem;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 99, 235, 0.6);
  }
}

@media (max-width: 768px) {
  .floating-consultation-btn {
    bottom: 15px;
    padding: 14px 24px;
    font-size: 0.9rem;
  }
}

/* Not Included with links styling */
.scope-list.not-included li {
  align-items: center;
  flex-wrap: nowrap;
}

.scope-list.not-included li .available-in {
  display: inline;
  margin-left: 8px;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.scope-list.not-included li .available-in a {
  color: var(--accent);
  text-decoration: underline;
  transition: opacity 0.2s;
  white-space: normal;
}

.scope-list.not-included li .available-in a:hover {
  opacity: 0.7;
}
