:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #f97316;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
}

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

/* Header */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  stroke: var(--dark);
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

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

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

.cta-btn {
  background: var(--secondary);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.cta-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  animation: pulse 2s infinite;
  padding: 18px 36px;
  font-size: 1.1rem;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--dark);
}

/* Features Grid */
.features {
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: var(--light);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card svg {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* How It Works */
.steps {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 250px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* Stats */
.stats {
  background: var(--dark);
  color: white;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
}

/* Testimonials */
.testimonials {
  background: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--light);
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gray);
}

/* Blog Preview */
.blog-preview {
  background: var(--light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card-content {
  padding: 25px;
}

.blog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card a {
  text-decoration: none;
  color: var(--dark);
}

.blog-card a:hover h3 {
  color: var(--primary);
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

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

.footer-section h4 {
  margin-bottom: 20px;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #94a3b8;
  text-decoration: none;
  line-height: 2;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #334155;
  color: #94a3b8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .btn {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 15px;
    display: block;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-floating {
    bottom: 20px;
    right: 20px;
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* FAQ Accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.accordion-header {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  color: var(--dark);
}

.accordion-header:hover {
  background: var(--light);
}

.accordion-header svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
  color: var(--primary);
}

.accordion-header.active svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.accordion-content.active {
  max-height: 500px;
  padding: 0 20px 20px;
}

/* Blog Article */
.blog-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 0;
}

.blog-content h2 {
  font-size: 2rem;
  margin: 40px 0 20px;
  color: var(--dark);
}

.blog-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-content ul {
  margin: 20px 0;
  padding-left: 30px;
}

.blog-content li {
  margin-bottom: 10px;
}

.back-to-blog {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.back-to-blog:hover {
  text-decoration: underline;
}

/* Sitemap */
.sitemap-list {
  list-style: none;
}

.sitemap-list li {
  margin-bottom: 10px;
}

.sitemap-list a {
  color: var(--primary);
  text-decoration: none;
}

.sitemap-list a:hover {
  text-decoration: underline;
}

/* === Utility classes for layout === */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Spacing - margins */
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.ml-15 { margin-left: 15px; }

/* Spacing - padding */
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }
.p-50 { padding: 50px; }
.pl-20 { padding-left: 20px; }

/* Sizing */
.w-100 { width: 100%; }

/* Max widths */
.max-w-600 { max-width: 600px; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.max-w-900 { max-width: 900px; }
.max-w-1000 { max-width: 1000px; }

/* Typography */
.page-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
}
.blog-title {
  font-size: 2.5rem;
  margin: 30px 0;
}
.section-heading {
  font-size: 1.8rem;
  margin: 40px 0 20px;
}
.testimonial-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}
.lead {
  font-size: 1.2rem;
}
.lead-lg {
  font-size: 1.2rem;
  margin-bottom: 60px;
}
.text-sm {
  font-size: 1.1rem;
}
.text-muted {
  color: var(--gray);
}
.text-primary {
  color: var(--primary);
}
.text-secondary {
  color: var(--secondary);
}
.text-white {
  color: white;
}
.text-green {
  color: #059669;
}
.publish-date {
  color: var(--gray);
  margin-bottom: 30px;
}

/* Backgrounds */
.bg-light {
  background: var(--light);
}
.bg-gradient {
  background: var(--gradient);
}

/* Borders & Radius */
.rounded-12 {
  border-radius: 12px;
}
.rounded-16 {
  border-radius: 16px;
}
.border-left-primary {
  border-left: 4px solid var(--primary);
}
.border-left-secondary {
  border-left: 4px solid var(--secondary);
}

/* Layout helpers */
.flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.gap-40 {
  gap: 40px;
}
.grid {
  display: grid;
}

/* Component specific */
.cta-box {
  margin-top: 60px;
  padding: 40px;
  background: var(--light);
  border-radius: 16px;
  text-align: center;
}
.cta-box--gradient {
  background: var(--gradient);
  color: white;
  padding: 50px;
}
.info-box {
  margin-bottom: 50px;
  padding: 30px;
  background: var(--light);
  border-radius: 12px;
}
.form-box {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.features-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.related-articles {
  margin-top: 50px;
}
.related-articles ul {
  margin-top: 20px;
  line-height: 2;
}
.related-articles a {
  color: var(--primary);
}
.footer-section p {
  color: #94a3b8;
  line-height: 1.8;
}
.content-list {
  margin: 20px 0;
  padding-left: 30px;
  line-height: 2;
}

.footer-section p {
  color: #94a3b8;
  line-height: 1.8;
}

.publish-date {
  color: var(--gray);
  margin-bottom: 30px;
}

/* Text alignment */
.text-left { text-align: left; }

/* Typography utilities */
.text-1-8rem { font-size: 1.8rem; }
.text-1-5rem { font-size: 1.5rem; }

/* Subheading for sections with tighter margin */
.subheading {
  font-size: 1.8rem;
  margin-bottom: 25px;
}

/* Section heading with spacing */
.section-heading {
  font-size: 1.8rem;
  margin: 40px 0 20px;
}

/* Section subheading (for smaller headings) */
.section-subheading {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Testimonial title */
.testimonial-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

/* Lead text */
.lead {
  font-size: 1.2rem;
}
.lead-lg {
  font-size: 1.2rem;
  margin-bottom: 60px;
}
.text-sm {
  font-size: 1.1rem;
}

/* Text color utilities */
.text-muted { color: var(--gray); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: white; }
.text-green { color: #059669; }

/* Backgrounds */
.bg-light { background: var(--light); }
.bg-gradient { background: var(--gradient); }

/* Borders & Radius */
.rounded-12 { border-radius: 12px; }
.rounded-16 { border-radius: 16px; }
.border-left-primary { border-left: 4px solid var(--primary); }
.border-left-secondary { border-left: 4px solid var(--secondary); }

/* Layout helpers */
.flex { display: flex; }
.flex-column { flex-direction: column; }
.gap-40 { gap: 40px; }
.grid { display: grid; }

/* Component specific */
.cta-box {
  margin-top: 60px;
  padding: 40px;
  background: var(--light);
  border-radius: 16px;
  text-align: center;
}
.cta-box--gradient {
  background: var(--gradient);
  color: white;
  padding: 50px;
}
.cta-box--gradient .cta-btn {
  background: white;
  color: var(--primary);
}
.info-box {
  margin-bottom: 50px;
  padding: 30px;
  background: var(--light);
  border-radius: 12px;
}
.info-box ul {
  padding-left: 20px;
  line-height: 2;
}
.info-box h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.form-box {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.features-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.testimonial-grid-single {
  grid-template-columns: 1fr;
}
.related-articles {
  margin-top: 50px;
}
.related-articles ul {
  margin-top: 20px;
  line-height: 2;
}
.related-articles a {
  color: var(--primary);
}
.footer-section p {
  color: #94a3b8;
  line-height: 1.8;
}
.content-list {
  margin: 20px 0;
  padding-left: 30px;
  line-height: 2;
}

/* Spacing utilities */
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.ml-15 { margin-left: 15px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding utilities */
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }
.p-50 { padding: 50px; }
.pl-20 { padding-left: 20px; }

/* Width utilities */
.w-100 { width: 100%; }

/* Max width utilities */
.max-w-600 { max-width: 600px; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.max-w-900 { max-width: 900px; }
.max-w-1000 { max-width: 1000px; }

/* Blog content */
.blog-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 0;
}

/* Page title */
.page-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

/* Blog title */
.blog-title {
  font-size: 2.5rem;
  margin: 30px 0;
}

/* Missing class definitions */
.page-content {}
.opacity-90 {
  opacity: 0.9;
}
.how-it-works {
  background: white;
}
.cta-section {
  background: var(--light);
}
