/* ============================================================================
   Pricing Page Styles - Consistent with Home Page
   ============================================================================ */

body {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  padding: 0;
}

header {
  background: #fff;
  padding: 8px 0;
  box-shadow: 0 2px 8px rgba(16,24,40,0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

header > div {
  max-width: 1280px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a img {
  height: 50px;
  width: auto;
}

header .logo {
  font-size: 24px;
  font-weight: 700;
  color: #4f46e5;
  text-decoration: none;
}

header .logo span {
  color: #ec4899;
}

header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

header a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  transition: color 0.3s;
}

header a:hover {
  color: #4f46e5;
}

header a.btn-primary {
  background: #4f46e5;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
}

header a.btn-primary:hover {
  background: #4338ca;
}

header a.btn-secondary {
  color: #4f46e5 !important;
  border: 2px solid #4f46e5;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  background: transparent;
}

header a.btn-secondary:hover {
  background: #4f46e5;
  color: #fff !important;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  outline: none;
}

.hamburger-menu:focus,
.hamburger-menu:active {
  outline: none;
  background: none;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer {
  text-align: center;
  padding: 16px 20px;
  margin-top: 40px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  font-size: 14px;
}

.footer a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer a:hover {
  color: #4338ca;
}

body {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  padding-top: 80px;
}

/* Pricing Header */
.pricing-header {
  padding: 80px 40px 60px;
  text-align: center;
  margin-bottom: 40px;
}

.pricing-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111827;
}

.pricing-header p {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 20px;
}

.trial-badge {
  display: inline-block;
  background: #eef2ff;
  color: #4f46e5;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid #c7d2fe;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
}

.plan-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 6px 18px rgba(16,24,40,0.06);
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16,24,40,0.1);
}

.plan-card.featured {
  border: 2px solid #4f46e5;
  transform: scale(1.05);
}

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: #4f46e5;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 12px;
  color: #111827;
}

.plan-description {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 20px;
}

.plan-pricing {
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4f46e5;
}

.price-period {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 4px;
}

.price-annual {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 8px;
  font-style: italic;
}

.features {
  margin: 24px 0;
}

.feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: #374151;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #dbeafe;
  color: #0284c7;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 0.9rem;
  font-weight: bold;
  flex-shrink: 0;
}

.feature.included .feature-icon {
  background: #c7d2fe;
  color: #4f46e5;
}

.cta-button {
  width: 100%;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 24px;
}

.btn-primary {
  background: #4f46e5;
  color: white;
}

.btn-primary:hover {
  background: #4338ca;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #4f46e5;
  border: 2px solid #4f46e5;
}

.btn-secondary:hover {
  background: #4f46e5;
  color: white;
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 80px 24px;
  margin: 60px auto;
  max-width: 900px;
}

.faq-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
  text-align: center;
  color: #111827;
  letter-spacing: -0.02em;
}

.faq-item {
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
}

.faq-toggle {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  transition: background-color 0.2s ease;
}

.faq-toggle:hover {
  background-color: #f9fafb;
}

.faq-toggle h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
  flex: 1;
  letter-spacing: -0.01em;
}

.faq-icon {
  font-size: 20px;
  color: #4f46e5;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  color: #6b7280;
  line-height: 1.7;
  font-size: 0.95rem;
  max-height: 500px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fafbfc;
  border-top: 1px solid #f0f1f3;
}

.faq-answer p {
  margin: 0;
  color: #6b7280;
}

/* Footer */
footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 16px;
  text-align: center;
  margin-top: 40px;
}

footer p {
  margin-bottom: 8px;
}

footer a {
  color: #4f46e5;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-top: 0;
  }

  header {
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  header > div {
    padding: 0 8px;
  }

  header a img {
    height: 35px;
  }

  header .logo {
    font-size: 16px;
  }

  .hamburger-menu {
    display: flex;
    padding: 4px;
  }

  .nav-menu {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 12px 8px;
    gap: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    width: 100%;
    z-index: 999;
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-menu a {
    display: block;
    padding: 8px 10px;
    font-size: 13px;
    text-align: left;
    width: 100%;
  }

  .nav-menu .btn {
    width: 100%;
    text-align: center;
    padding: 8px 10px;
    font-size: 12px;
  }

  body {
    padding-top: 50px;
  }

  header a {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 13px;
  }

  header a.btn-primary {
    padding: 8px 12px;
    font-size: 12px;
  }

  header a.btn-secondary {
    padding: 6px 12px;
    font-size: 12px;
  }

  .pricing-header {
    padding: 20px 12px 30px;
    margin-bottom: 20px;
    margin-top: 0;
  }

  .pricing-header h1 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .pricing-header p {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .trial-badge {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    padding: 0 12px;
    gap: 16px;
    margin-bottom: 24px;
  }

  .plan-card {
    padding: 20px 16px;
    border-radius: 8px;
  }

  .plan-card.featured {
    transform: scale(1);
    border: 2px solid #4f46e5;
  }

  .plan-card.featured:hover {
    transform: translateY(-4px);
  }

  .badge {
    top: -10px;
    left: 16px;
    padding: 4px 12px;
    font-size: 0.75rem;
  }

  .plan-name {
    font-size: 1.25rem;
  }

  .plan-price {
    font-size: 1.5rem;
  }

  .plan-description {
    font-size: 12px;
  }

  .feature-list {
    font-size: 12px;
  }

  .feature-list li {
    padding: 6px 0;
  }

  .pricing-cta-button,
  .plan-cta-button {
    width: 100%;
    padding: 10px 12px;
    font-size: 12px;
  }

  .faq-section {
    padding: 16px 12px;
    margin: 24px 0;
  }

  .faq-item {
    margin-bottom: 12px;
  }

  .faq-question {
    padding: 12px 8px;
    font-size: 13px;
  }

  .faq-answer {
    padding: 12px 8px;
    font-size: 12px;
  }

  footer {
    padding: 16px 12px;
    font-size: 12px;
  }

  footer p {
    margin-bottom: 6px;
  }

  .header-content {
    padding: 0 12px;
  }

  .flash-message {
    margin: 12px 12px;
    padding: 12px;
    font-size: 12px;
  }

  .custom-solution-section {
    margin: 30px 12px;
    padding: 20px 12px;
    border-radius: 8px;
  }

  .custom-solution-title {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .custom-solution-text {
    margin-bottom: 16px;
    font-size: 13px;
  }

  .contact-sales-btn {
    padding: 10px 20px;
    font-size: 12px;
    width: 100%;
  }
}

/* Header inline styles */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  padding: 0 40px;
}

.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Flash message styles */
.flash-message {
  margin: 20px 40px;
  padding: 15px;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
}

.flash-message.success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.flash-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.flash-message.warning {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.flash-message.info {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

/* Pricing specific button styles */
.pricing-cta-button {
  text-decoration: none;
  display: inline-block;
  text-align: center;
  margin-top: 24px;
  width: auto;
  padding: 10px 24px;
  font-size: 14px;
}

.plan-cta-button {
  text-decoration: none;
  display: block;
  text-align: center;
}

/* Feature emphasis styles */
.feature-text-muted {
  color: #6b7280;
}

.feature-text-success {
  color: #059669;
}

/* Custom solution section */
.custom-solution-section {
  text-align: center;
  margin: 60px 0;
  padding: 40px;
  background: #f9fafb;
  border-radius: 12px;
}

.custom-solution-title {
  margin-bottom: 16px;
  font-size: 28px;
  color: #1f2937;
}

.custom-solution-text {
  margin-bottom: 24px;
  color: #6b7280;
  font-size: 16px;
}

.contact-sales-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #4f46e5;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s;
  cursor: pointer;
}

.contact-sales-btn:hover {
  background: #4338ca;
}

/* FAQ answer hidden by default */
.faq-answer-hidden {
  max-height: 0;
  padding: 0 24px;
  opacity: 0;
}

