/**
 * Pricing Page Styles
 * Layout with sidebar navigation and pricing plans
 */

/* Pricing page background - light charcoal tint matching logo palette */
body.pricing-page {
  background-color: #e8eaed;
}

body.pricing-page main {
  background-color: #e8eaed;
}

body.pricing-page .section {
  background-color: #e8eaed;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

body.pricing-page .container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Ensure pricing section is visible on mobile */
@media (max-width: 768px) {
  body.pricing-page .section {
    padding: 2rem 0;
    display: block !important;
    visibility: visible !important;
  }

  body.pricing-page main {
    display: block !important;
    visibility: visible !important;
  }

  body.pricing-page .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #pricing-plans {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

.pricing-layout {
  display: flex;
  gap: 3rem;
  min-height: calc(100vh - 200px);
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.pricing-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: #ffffff;
  border-right: 1px solid #E6E6E6;
  padding: 22px 0;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.pricing-sidebar h3 {
  padding: 0 22px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #8A8A8A;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-sidebar-menu li {
  margin: 0;
  padding: 0 22px;
}

.pricing-sidebar-menu li:not(:last-child) {
  margin-bottom: 8px;
}

.pricing-sidebar-menu a {
  display: block;
  padding: 12px 16px;
  color: #4A4A4A;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.pricing-sidebar-menu a:hover {
  background: #F5F7FF;
  color: #1A1A1A;
}

.pricing-sidebar-menu a.active {
  background: #E5E9FE;
  color: #1A1A1A;
  font-weight: 500;
}

.pricing-sidebar-menu a.pricing-promo {
  position: relative;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  font-weight: 600;
  border: 1px solid #fbbf24;
}

.pricing-sidebar-menu a.pricing-promo:hover {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  color: #78350f;
  border-color: #f59e0b;
}

.pricing-sidebar-menu a.pricing-promo.active {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  color: #78350f;
  border-color: #f59e0b;
}

.pricing-promo-badge {
  display: inline-block;
  background: #f59e0b;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  letter-spacing: 0.5px;
}

.pricing-content {
  flex: 1;
  max-width: 1000px;
  margin-right: 0;
  padding-right: 0;
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.pricing-header h1 {
  font-size: 2.75rem;
  margin: 0;
  color: var(--text-color);
}

.pricing-toggle-switch {
  display: flex;
  background: #e5e7eb;
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
}

.pricing-toggle-btn {
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.pricing-toggle-btn:hover {
  color: #1f2937;
  background: #f3f4f6;
}

.pricing-toggle-btn.active {
  background: #ffffff;
  color: #1f2937;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.pricing-toggle-btn[data-cycle="yearly"].active {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.pricing-save-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #047857;
  white-space: nowrap;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.5);
  }
}

.pricing-toggle-btn[data-cycle="yearly"]:hover .pricing-save-badge {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border-color: #065f46;
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
}

.pricing-toggle-btn[data-cycle="yearly"]:not(.active) .pricing-save-badge {
  opacity: 0.8;
}

.pricing-toggle-btn[data-cycle="yearly"].active .pricing-save-badge {
  opacity: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}


.pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.pricing-plan-card {
  background: #ffffff;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(55, 65, 81, 0.1);
}

.pricing-plan-card:hover {
  border-color: #374151;
  box-shadow: 0 10px 25px rgba(55, 65, 81, 0.15);
  transform: translateY(-2px);
}

.pricing-plan-card.popular {
  border-color: #374151;
  border-width: 2px;
  position: relative;
  background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
}

.pricing-plan-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #374151;
  color: #ffffff;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-plan-header {
  margin-bottom: 1rem;
}

.pricing-plan-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-color);
}

.pricing-plan-description {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.pricing-plan-price {
  margin-bottom: 1rem;
}

.pricing-plan-price-amount {
  font-size: 2rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pricing-currency-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  opacity: 0.8;
}

.pricing-plan-price-period {
  font-size: 0.875rem;
  color: var(--text-light);
}

.pricing-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  flex: 1;
}

.pricing-plan-features li {
  padding: 0.25rem 0;
  display: flex;
  align-items: start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-color);
  border-bottom: 1px solid var(--border-light);
}

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

.pricing-plan-features li::before {
  content: '✓';
  color: #374151;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.pricing-plan-cta {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
}

.pricing-plan-cta .btn {
  width: 100%;
  text-align: center;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9375rem;
}

.pricing-plan-cta .btn-primary {
  background: #374151;
  color: #ffffff;
}

.pricing-plan-cta .btn-primary:hover {
  background: #1f2937;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(55, 65, 81, 0.3);
}

.pricing-plan-cta .btn-secondary {
  background: #ffffff;
  color: #374151;
  border: 2px solid #374151;
}

.pricing-plan-cta .btn-secondary:hover {
  background: #f9fafb;
  color: #1f2937;
  border-color: #1f2937;
}

.pricing-whats-included {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.pricing-whats-included h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.pricing-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
}

.pricing-comparison-table thead {
  background: #374151;
}

.pricing-comparison-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 2px solid #1f2937;
}

.pricing-comparison-table th:first-child {
  width: 40%;
}

.pricing-comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-color);
}

.pricing-comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-comparison-table .checkmark {
  color: #374151;
  font-weight: 700;
  font-size: 1.125rem;
}

.pricing-bundled-plan {
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #111827 100%);
  border-radius: 16px;
  color: #ffffff;
  text-align: center;
}

.pricing-bundled-plan h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pricing-bundled-plan p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-bundled-plan .btn {
  background: #60a5fa;
  color: #ffffff;
  font-weight: 600;
  border: none;
}

.pricing-bundled-plan .btn:hover {
  background: #3b82f6;
}

@media (max-width: 1024px) {
  .pricing-layout {
    flex-direction: column;
    gap: 1.25rem;
  }

  .pricing-sidebar {
    width: 100%;
    position: static;
    padding: 8px 10px;
    border-right: none;
    border-bottom: 1px solid #E6E6E6;
  }

  .pricing-sidebar-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
  }

  .pricing-sidebar-menu li {
    flex: 0 0 auto;
    min-width: 0;
    padding: 0;
  }

  .pricing-sidebar-menu a {
    text-align: center;
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
    line-height: 1.2;
  }

  .pricing-content {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    padding-right: 0;
  }

  .pricing-header h1 {
    font-size: 2rem !important;
  }

  .pricing-header-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

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

  .pricing-toggle-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.875rem !important;
    padding: 0.5rem 0.75rem !important;
  }
}

/* Service Details Section */
.pricing-service-details {
  margin-top: 3rem;
  margin-bottom: 3rem;
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
}

.pricing-service-details-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
  text-align: center;
}

.pricing-service-details-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.pricing-service-details-table thead {
  background-color: #f8fafc;
  border-bottom: 2px solid #e5e7eb;
}

.pricing-service-details-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-service-details-table th.pricing-service-details-col-included {
  text-align: center;
  padding: 0.75rem 0.5rem;
}

.pricing-service-details-col-details {
  width: auto;
  min-width: 0;
}

.pricing-service-details-col-included {
  width: 60px;
  min-width: 60px;
  max-width: 60px;
  text-align: center !important;
}

.pricing-service-details-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

.pricing-service-details-table tbody tr:hover {
  background-color: #f8fafc;
}

.pricing-service-details-table tbody tr:last-child {
  border-bottom: none;
}

.pricing-service-details-service {
  padding: 0.5rem 1rem;
  color: #374151;
  font-size: 0.9375rem;
  line-height: 1.5;
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.pricing-service-details-checkmark {
  padding: 0.5rem 0.5rem;
  text-align: center;
  color: #60a5fa;
  font-weight: 700;
  font-size: 1.25rem;
  vertical-align: top;
  width: 60px;
}

/* Add-On Backlinks Section */
.pricing-addon-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #111827 100%);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  color: #ffffff;
}

.pricing-addon-section h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.pricing-addon-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 0.75rem;
}

.pricing-addon-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.pricing-addon-section .btn {
  background: #60a5fa;
  color: #ffffff;
  font-weight: 600;
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.pricing-addon-section .btn:hover {
  background: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

@media (max-width: 768px) {
  .pricing-layout {
    gap: 0.75rem;
  }

  .pricing-sidebar {
    padding: 6px 8px;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .pricing-sidebar-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 0;
    margin: 0;
  }

  .pricing-sidebar-menu::-webkit-scrollbar {
    height: 4px;
  }

  .pricing-sidebar-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
  }

  .pricing-sidebar-menu::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
  }

  .pricing-sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
  }

  .pricing-sidebar-menu li {
    flex: 0 0 auto;
    min-width: 0;
    padding: 0;
  }

  .pricing-sidebar-menu a {
    text-align: center;
    padding: 5px 9px;
    font-size: 11px;
    white-space: nowrap;
    border-radius: 5px;
    min-width: fit-content;
    line-height: 1.2;
  }

  .pricing-promo-badge {
    font-size: 0.5rem;
    padding: 0.1rem 0.25rem;
    margin-left: 0.2rem;
  }

  .pricing-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-right: 0;
    padding-right: 0;
  }

  .pricing-plans-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    display: grid !important;
    visibility: visible !important;
  }

  .pricing-plan-card {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    padding: 1.25rem;
    margin: 0;
  }

  .pricing-plan-price {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 1rem !important;
  }

  .pricing-plan-price-amount {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 1.75rem !important;
    color: #1f2937 !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    margin-bottom: 0.25rem !important;
  }

  .pricing-plan-price-period {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 0.875rem !important;
    color: #6b7280 !important;
  }

  /* Ensure price container is always visible on mobile */
  .pricing-plan-card .pricing-plan-price {
    min-height: 60px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  .pricing-comparison-table {
    font-size: 0.875rem;
  }

  .pricing-comparison-table th,
  .pricing-comparison-table td {
    padding: 0.75rem 0.5rem;
  }

  .pricing-service-details {
    padding: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .pricing-service-details-title {
    font-size: 1.5rem;
  }

  .pricing-service-details-table {
    font-size: 0.875rem;
  }

  .pricing-service-details-table th,
  .pricing-service-details-table td {
    padding: 0.4rem 0.5rem;
  }

  .pricing-service-details-table th.pricing-service-details-col-included {
    padding: 0.4rem 0.25rem;
  }

  .pricing-service-details-col-included {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
  }

  .pricing-service-details-checkmark {
    font-size: 1rem;
    width: 50px;
    padding: 0.3rem 0.25rem;
  }

  .pricing-service-details-service {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .pricing-addon-section {
    padding: 2rem 1.5rem;
  }

  .pricing-addon-section h2 {
    font-size: 1.75rem;
  }

  .pricing-addon-price {
    font-size: 1.25rem;
  }

  .pricing-toggle-btn {
    font-size: 0.875rem;
    padding: 0.4rem 0.875rem;
  }

  .pricing-save-badge {
    font-size: 0.6875rem;
    padding: 0.2rem 0.4rem;
  }

  .pricing-plan-header {
    margin-bottom: 1rem;
  }

  .pricing-plan-title {
    font-size: 1.125rem;
  }

  .pricing-plan-description {
    font-size: 0.8125rem;
  }

  .pricing-plan-features {
    margin-bottom: 1rem;
  }

  .pricing-plan-features li {
    font-size: 0.8125rem;
    padding: 0.375rem 0;
  }
}

/* FAQ Section */
.pricing-faq-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
  background: #ffffff;
  border-radius: 8px;
  padding: 2.5rem;
  border: 1px solid #e5e7eb;
}

.pricing-faq-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
  text-align: center;
}

.pricing-faq-subtitle {
  font-size: 1rem;
  color: #6b7280;
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.pricing-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-faq-item {
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

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

.pricing-faq-item.active {
  background: #f9fafb;
}

.pricing-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.5;
  transition: color 0.2s ease;
  font-family: inherit;
}

.pricing-faq-question:hover {
  color: #60a5fa;
}

.pricing-faq-question span:first-child {
  flex: 1;
  padding-right: 1rem;
}

.pricing-faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #374151;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.pricing-faq-item.active .pricing-faq-icon {
  background: #60a5fa;
  color: #ffffff;
  transform: rotate(45deg);
}

.pricing-faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0;
}

.pricing-faq-item.active .pricing-faq-answer-wrapper {
  max-height: 500px;
  padding: 0 0 1.25rem 0;
}

.pricing-faq-answer {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
  padding-top: 0.5rem;
}

/* Subscribe Modal Styles */
.subscribe-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.subscribe-modal.active {
  display: flex;
}

.subscribe-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.subscribe-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  animation: modalSlideIn 0.3s ease-out;
}

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

.subscribe-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #6b7280;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.subscribe-modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.subscribe-modal-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

#subscribe-form {
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-group input[readonly] {
  background-color: #f9fafb;
  cursor: not-allowed;
}

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

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: flex-end;
}

.form-actions .btn {
  min-width: 100px;
}

/* Success Message */
.subscribe-success {
  text-align: center;
  padding: 2rem 1rem;
}

.subscribe-success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #10b981;
  display: inline-block;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  background: #d1fae5;
  font-weight: bold;
}

.subscribe-success h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.subscribe-success p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Error Message */
.subscribe-error {
  text-align: center;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
}

.subscribe-error-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  color: #ef4444;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: #fee2e2;
  font-weight: bold;
}

.subscribe-error h3 {
  font-size: 1.25rem;
  color: #991b1b;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.subscribe-error p {
  color: #7f1d1d;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.subscribe-error p a {
  color: #ef4444;
  text-decoration: underline;
  font-weight: 600;
}

.subscribe-error p a:hover {
  color: #dc2626;
  text-decoration: none;
}

@media (max-width: 768px) {
  .pricing-faq-section {
    padding: 1.5rem;
  }

  .pricing-faq-title {
    font-size: 1.5rem;
  }

  .pricing-faq-question {
    font-size: 1rem;
  }

  .pricing-faq-answer {
    font-size: 0.875rem;
  }

  .subscribe-modal-content {
    padding: 1.5rem;
    width: 95%;
  }

  .subscribe-modal-content h2 {
    font-size: 1.5rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

