/* --- Re-use variables and base styles from your main style.css --- */
/* --- Custom Properties (Variables) --- */
:root {
  --primary-color: #007bff; /* A nice blue */
  --secondary-color: #6c757d; /* Muted gray */
  --accent-color: #28a745; /* Green for success/highlights */
  --text-color: #333;
  --light-text-color: #fff;
  --bg-color: #f8f9fa; /* Light background */
  --dark-bg-color: #2c3e50; /* Darker blue-gray */
  --light-gray: #f2f2f7;
  --dark-gray: #212529;

  --font-family: 'Inter', sans-serif;
  --border-radius: 8px;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
  text-align: center;
}

section.bg-light-gray {
  background-color: var(--light-gray);
}

section.bg-dark-gray {
  background-color: var(--dark-gray);
}

h1,
h2,
h3 {
  color: var(--dark-bg-color);
  margin-bottom: 20px;
}

h1 {
  font-size: 3em;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.5em;
  font-weight: 600;
  margin-bottom: 40px;
}

h3 {
  font-size: 1.8em;
  font-weight: 600;
}

p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 60px;
  color: var(--secondary-color);
}

.section-cta {
  font-size: 1.3em;
  font-weight: 500;
  color: var(--primary-color);
  margin-top: 60px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--dark-bg-color);
}

ul {
  list-style: none;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 1em;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #0056b3; /* Darker blue */
  border-color: #0056b3;
  color: var(--light-text-color);
}

.btn-primary-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-primary-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary-outline:hover {
  background-color: var(--secondary-color);
  color: var(--light-text-color);
}

.btn-primary-large {
  padding: 15px 30px;
  font-size: 1.1em;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  border: none;
  width: auto;
}

.btn-primary-large:hover {
  background-color: #0056b3;
}

/* --- Header/Navigation --- */
.header {
  background-color: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-menu ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu ul li a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.05em;
}

.nav-menu ul li a:hover {
  color: var(--primary-color);
  background-color: white;
}

.nav-toggle {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: all var(--transition-speed) ease;
}


/* --- Pricing Page Specific Styles --- */
.pricing-hero {
  background-color: #fff;
  padding: 80px 0 40px;
}

.pricing-hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--dark-bg-color);
}

.pricing-hero .section-description {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.2em;
  color: var(--secondary-color);
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.toggle-button {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.toggle-button.active {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.toggle-button:hover:not(.active) {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.pricing-plans {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch; /* Make cards same height */
}

.pricing-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.03); /* Make featured card stand out */
}

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

.card-header {
  margin-bottom: 30px;
  position: relative;
}

.badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-color);
  color: var(--light-text-color);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.85em;
  font-weight: 600;
  white-space: nowrap;
}

.card-header h2 {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--dark-bg-color);
  margin-bottom: 10px;
}

.card-header .subtitle {
  font-size: 1.1em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.card-header .price {
  font-size: 3.5em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.card-header .price sup {
  font-size: 0.5em;
  top: -0.8em;
  margin-right: 2px;
}

.card-header .price .period {
  font-size: 0.4em;
  font-weight: 500;
  color: var(--text-color);
  opacity: 0.8;
}

.card-header .custom-price {
  font-size: 2.5em; /* Smaller for custom text */
  color: var(--dark-bg-color);
}

.card-header .billing-note {
  font-size: 0.9em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.card-features {
  text-align: left;
  margin-bottom: 30px;
  flex-grow: 1; /* Allows features list to take up available space */
}

.card-features ul {
  list-style: none;
  padding: 0;
}

.card-features li {
  font-size: 1em;
  color: var(--text-color);
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-features li:last-child {
  margin-bottom: 0;
}

.card-features li i {
  color: var(--accent-color); /* Green checkmark */
  font-size: 1.2em;
  flex-shrink: 0;
  margin-top: 2px; /* Adjust vertical alignment */
}

.card-footer .implementation-fee {
  font-size: 0.95em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.4;
}

.card-footer .implementation-fee strong {
  color: var(--dark-bg-color);
  font-weight: 600;
}

/* Specific styling for the Call To Action buttons in pricing cards */
.pricing-card .btn {
  width: 100%;
}

.note-bottom {
  font-size: 0.9em;
  color: var(--secondary-color);
  margin-top: 40px;
  text-align: center;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.faq-section h2 {
  font-size: 2.5em;
  margin-bottom: 60px;
  color: var(--dark-bg-color);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  text-align: left;
}

.faq-item {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.faq-item p {
  font-size: 1em;
  color: var(--text-color);
  margin-bottom: 0;
}

/* --- Footer (Copied directly from your style.css for consistency) --- */
.footer {
  padding: 60px 0 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9em;
  text-align: center;
  background-color: var(--dark-gray);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: left;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--light-text-color);
  margin-bottom: 20px;
}

.footer-col p {
  margin-bottom: 10px;
  font-size: 0.95em;
}

.footer-col ul {
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed) ease;
}

.footer-col ul li a:hover {
  color: var(--light-text-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  margin-left: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--light-text-color);
}

/* --- Responsive Design for Pricing Page --- */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px; /* Stack cards on smaller screens */
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: none; /* Remove scale on mobile */
  }
  .pricing-card.featured:hover {
    transform: translateY(-8px); /* Keep hover effect consistent */
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pricing-hero h1 {
    font-size: 2.5em;
  }
  .pricing-hero .section-description {
    font-size: 1em;
  }
  .pricing-card {
    padding: 30px;
  }
  .card-header h2 {
    font-size: 1.8em;
  }
  .card-header .price {
    font-size: 3em;
  }
  .faq-section h2 {
    font-size: 2em;
  }
}
