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

:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --secondary: #3f51b5;
  --text: #1a1a2e;
  --text-light: #666;
  --bg: #f8f9fa;
  --white: #ffffff;
  --border: #e0e0e0;
  --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);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

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

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

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

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

.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(--text);
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.2;
}

.hero p,
.section-subtitle {
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

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

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

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

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

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

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

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

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

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

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

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

/* CTA Buttons */
.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.cta-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary) !important;
  color: white !important;
  padding: 16px 28px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  animation: pulse 2s infinite;
}

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

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

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

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

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

.blog-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

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

/* Footer */
footer {
  background: var(--text);
  color: var(--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;
  font-size: 1.2rem;
}

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

.footer-section a {
  color: #aaa;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: color 0.2s;
}

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

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

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

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

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

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

.faq-answer {
  padding: 0 20px 20px;
  color: var(--text-light);
  display: none;
}

.faq-answer.active {
  display: block;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

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

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

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

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

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

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

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

a:hover {
  text-decoration: underline;
}

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

.mt-4 {
  margin-top: 2rem;
}

/* Content wrapper and typography */
.content,
article.content {
  margin: 0 auto;
  max-width: 800px;
}

.content-wide {
  max-width: 900px;
}

.content h2,
article h2 {
  font-size: 1.6rem;
  margin: 40px 0 20px;
  line-height: 1.3;
}

.content h3,
article h3 {
  font-size: 1.3rem;
  margin: 25px 0 15px;
  line-height: 1.3;
}

article h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

/* Blog card content */
.blog-card-content {
  padding: 30px;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}
.cta-banner .section-title {
  color: white;
}
.cta-banner p {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}
.cta-banner .cta-btn {
  background: white;
  color: var(--primary);
}

/* Hero compact variant */
.hero-compact {
  padding: 60px 0 !important;
}

/* Content section (for blog articles) */
.content-section {
  padding: 60px 0 40px;
}

/* Article meta */
.article-meta {
  color: var(--text-light);
  margin-bottom: 30px;
}

/* Back to blog link */
.back-link {
  margin-bottom: 20px;
  display: inline-block;
}

/* Lists inside content */
.content ul,
.content ol,
article.content ul,
article.content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

/* Related articles */
.related-articles {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.related-articles li {
  margin-bottom: 10px;
}

/* Section divider */
.section-divider {
  margin: 40px 0;
  border: none;
  border-top: 1px solid var(--border);
}

/* Utility margin classes */
.mb-20 {
  margin-bottom: 20px;
}
.mb-30 {
  margin-bottom: 30px;
}

/* Feature card warning variant */
.feature-card.warning {
  border-left: 4px solid #e91e63;
}
.feature-card.warning h3 {
  color: #e91e63;
}

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

/* Reduce hero h1 size */
.hero h1 {
  font-size: 2.25rem;
}

/* Footer paragraph */
.footer-section p {
  color: #aaa;
  line-height: 1.6;
}

/* Steps */
.step {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 60px;
}
.step-number {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}
.step-1 .step-number {
  background: var(--primary);
  color: white;
}
.step-2 .step-number {
  background: var(--secondary);
  color: white;
}
.step-3 .step-number {
  background: #10b981;
  color: white;
}
.step-content {
  flex: 1;
}