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

:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --secondary: #6366f1;
  --dark: #1a1a2e;
  --dark-light: #16213e;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --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, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
  overflow-x: hidden;
}

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

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

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

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

.logo svg {
  width: 32px;
  height: 32px;
  fill: var(--primary);
}

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

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

.nav-menu 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;
  color: var(--dark);
}

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

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

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

/* Buttons */
.cta-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 28px;
  font-size: 1.1rem;
  z-index: 99;
  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;
  text-align: center;
  margin-bottom: 15px;
}

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

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
}

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

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

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--gray);
}

/* Content Sections */
.content-section {
  background: white;
}

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

.content-section p {
  margin-bottom: 15px;
  color: var(--gray);
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: center;
}

.two-column-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.two-column-content p {
  color: var(--gray);
  margin-bottom: 20px;
}

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

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

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

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

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.blog-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.blog-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.blog-card a:hover {
  text-decoration: underline;
}

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

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

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

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

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

.faq-answer.active {
  padding: 0 20px 20px;
  max-height: 500px;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  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 {
  resize: vertical;
  min-height: 120px;
}

/* 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 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

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

.blog-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.blog-meta {
  color: var(--gray);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.blog-content h2 {
  font-size: 1.75rem;
  margin: 30px 0 15px;
}

.blog-content p {
  margin-bottom: 15px;
  color: var(--gray);
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 20px;
  padding-left: 25px;
  color: var(--gray);
}

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

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

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

/* Page Header */
.page-header {
  background: var(--gradient);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-header p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Content Box */
.content-box {
  background: white;
  padding: 60px 0;
}

.content-box .container {
  max-width: 800px;
}

.content-box h2 {
  font-size: 1.75rem;
  margin: 30px 0 15px;
}

.content-box p {
  color: var(--gray);
  margin-bottom: 15px;
}

.content-box ul {
  margin-bottom: 20px;
  padding-left: 25px;
  color: var(--gray);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .hero p {
    font-size: 1rem;
  }

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

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

/* --- FIX STAGE ADDITIONS --- */

/* Footer paragraph styling */
.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Utility classes for alignment and spacing */
.text-center { text-align: center; }

.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; }

.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }
.p-40-0 { padding: 40px 0; }

/* Related articles section */
.related-articles {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-light);
}

/* Button spacing after related articles */
.blog-content .related-articles + .cta-btn {
  margin-top: 30px;
}
.blog-content .cta-btn + .cta-btn {
  margin-top: 15px;
}

/* Testimonial icons in feature cards */
.feature-card .testimonial-icon-sm {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}
.feature-card .testimonial-icon-lg {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

/* Testimonial author name */
.testimonial-author {
  display: block;
  margin-top: 15px;
}

/* Info boxes on contact page */
.info-box {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.info-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.info-box svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}
.info-box p {
  color: var(--gray);
  margin-bottom: 0;
}
.info-box .small-text {
  font-size: 0.9rem;
  margin-top: 5px;
}

/* CTA highlight section (success stories) */
.cta-highlight {
  text-align: center;
  margin-top: 50px;
  background: var(--gradient);
  padding: 40px;
  border-radius: var(--radius);
  color: white;
}
.cta-highlight h2 {
  color: white;
  margin-bottom: 15px;
}
.cta-highlight p {
  margin-bottom: 25px;
  opacity: 0.95;
}
.cta-highlight .cta-btn {
  background: white;
  color: var(--primary);
}

/* Links in main content */
main a {
  color: var(--primary);
  text-decoration: none;
}
main a:hover {
  text-decoration: underline;
}

/* SVG in two-column image */
.two-column-image svg {
  width: 100%;
  height: auto;
  color: var(--primary);
}

/* Font weight utility */
.fw-600 { font-weight: 600; }
