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

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #ec4899;
  --bg: #f8fafc;
  --bg-dark: #1e293b;
  --text: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --radius-sm: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

/* Header */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

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

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

.mobile-menu-btn img {
  width: 24px;
  height: 24px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

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

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.95;
}

/* Buttons */
.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--white);
  color: var(--primary);
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-lg);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

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

.card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Features */
.features {
  background: var(--white);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 4px;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

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

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

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

.blog-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Article */
.article {
  background: var(--white);
  padding: 60px 0;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.article-meta {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 0.9rem;
}

.article p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.article h2 {
  font-size: 1.75rem;
  margin: 40px 0 20px;
}

.article ul {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article li {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s;
}

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

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

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.faq-question img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.faq-question.active img {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
}

.faq-answer.active {
  padding: 0 24px 24px;
  max-height: 1000px;
}

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

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

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-section a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}

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

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

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  background: var(--white);
  height: 100%;
  padding: 24px;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu-content nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
  }

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

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

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

  .cta-floating {
    bottom: 16px;
    right: 16px;
    padding: 14px 28px;
  }
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.mb-16 {
  margin-bottom: 16px;
}
.mb-40 {
  margin-bottom: 40px;
}

/* Back to Blog Link */
.back-to-blog {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

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

/* Fixed: Dark section with gradient */
.dark-section {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
}
.dark-section .section-title,
.dark-section .section-subtitle {
  color: white;
}
.dark-section .section-subtitle {
  color: rgba(255,255,255,0.9);
}

/* Fixed: CTA section */
.section-cta {
  background: var(--primary);
  color: white;
  text-align: center;
}
.section-cta .section-title,
.section-cta .section-subtitle {
  color: white;
}
.section-cta .section-subtitle {
  color: rgba(255,255,255,0.9);
}

/* Fixed: Step numbers */
.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

/* Fixed: Small button */
.cta-btn.btn-sm {
  padding: 12px 24px;
  font-size: 0.9rem;
}

/* Fixed: Large icon */
.icon-lg {
  width: 48px;
  height: 48px;
  margin-right: 12px;
}

/* Fixed: Muted text */
.text-muted {
  color: #94a3b8;
  line-height: 1.7;
}

/* Fixed: Light background box */
.bg-light {
  background: #f1f5f9;
  padding: 32px;
  border-radius: 12px;
}

/* Fixed: Article links */
.article-content a {
  color: var(--primary);
  text-decoration: none;
}
.article-content a:hover {
  text-decoration: underline;
}

/* Fixed: Ensure card text color */
.card {
  color: var(--text);
}

/* Fixed: Full width button */
.btn-block {
  width: 100%;
}

/* Fixed: Testimonial header */
.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.testimonial-location {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Fixed: Success story blocks */
.story-block {
  background: #f8fafc;
  padding: 32px;
  border-radius: 12px;
  margin: 40px 0;
}
.story-title {
  color: var(--primary);
  margin-bottom: 16px;
}
.story-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.story-avatar {
  width: 56px;
  height: 56px;
}
.story-quote {
  text-align: right;
  color: var(--text-light);
  font-style: italic;
}
