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

:root {
  --primary: #ec4899;
  --primary-dark: #db2777;
  --secondary: #8b5cf6;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --max-width: 1200px;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: linear-gradient(135deg, #fef2f2 0%, #faf5ff 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: 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;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

.logo svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

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

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

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

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

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

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #fef2f2 50%, #faf5ff 100%);
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 40px;
}

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

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

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

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

.card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  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: 56px;
  height: 56px;
  background: linear-gradient(135deg, #fef2f2 0%, #faf5ff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

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

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

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: var(--radius);
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.5);
}

.cta-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  border-radius: 50px;
  padding: 18px 36px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(236, 72, 153, 0);
  }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 60px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 8px;
}

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

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

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

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

.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

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

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

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

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

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

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

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

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

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

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

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, #fef2f2 0%, #faf5ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img svg {
  width: 64px;
  height: 64px;
  color: var(--primary);
  opacity: 0.5;
}

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

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

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

.read-more {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more svg {
  width: 16px;
  height: 16px;
}

/* Article */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.125rem;
}

.article-content h2 {
  font-size: 2rem;
  margin: 48px 0 24px;
  color: var(--dark);
}

.article-content p {
  margin-bottom: 24px;
  color: #334155;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--gray);
}

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

.article-content li {
  margin-bottom: 12px;
  color: #334155;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--primary);
  font-weight: 600;
}

.back-link svg {
  width: 20px;
  height: 20px;
}

/* Centered containers */
.centered-700 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.centered-600 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.centered-800 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Display utilities */
.d-block {
  display: block;
}

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

/* Line height */
.leading-relaxed {
  line-height: 2;
}

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

/* Button variant */
.btn-white {
  background: white;
  color: var(--primary);
}

/* Margin utilities */
.mt-16 {
  margin-top: 16px;
}

/* Back to home link section */
.back-home-section {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

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

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

.footer-col h4 {
  font-size: 1.125rem;
  margin-bottom: 20px;
}

.footer-col p {
  color: #94a3b8;
  line-height: 1.7;
}

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

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

.footer-col a {
  color: #94a3b8;
  transition: color 0.2s;
}

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

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

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: white;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 16px;
  color: var(--dark);
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.mobile-menu a:hover {
  background: var(--gray-light);
}

/* Section padding */
.section-padding {
  padding: 60px 0;
}

.section-padding-bottom {
  padding: 60px 0 40px;
}

/* Content wrapper for article-style pages */
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.125rem;
}

.content-wrapper h2 {
  font-size: 2rem;
  margin: 48px 0 24px;
  color: var(--dark);
}

.content-wrapper h3 {
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 16px;
}

.content-wrapper p {
  margin-bottom: 24px;
  color: #334155;
}

.content-wrapper ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

.content-wrapper li {
  margin-bottom: 12px;
  color: #334155;
}

/* Page hero for interior pages */
.page-hero {
  padding: 60px 0;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  text-align: center;
}

.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* Blog hero (has different bottom padding) */
.blog-hero {
  padding: 60px 0 40px;
}

/* White sections */
.section-white {
  background: white;
}

/* CTA sections with gradient background */
.cta-section {
  padding: 48px;
  border-radius: 16px;
  text-align: center;
  color: white;
  margin-top: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Light CTA section (light gradient background, dark text) */
.cta-section-light {
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  margin-top: 48px;
  background: linear-gradient(135deg, #fef2f2 0%, #faf5ff 100%);
}

.cta-section-light h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.cta-section-light p {
  margin-bottom: 24px;
}

/* Button group */
.button-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

/* CTA card */
.cta-card {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-card p {
  margin-bottom: 24px;
}

/* Highlight box (light gradient) */
.highlight-box {
  background: linear-gradient(135deg, #fef2f2 0%, #faf5ff 100%);
  padding: 24px;
  border-radius: 12px;
  margin-top: 48px;
}

.highlight-box h3 {
  margin-bottom: 12px;
}

.highlight-box p {
  margin: 0;
}

/* Content card for feature boxes etc */
.content-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 32px;
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Related section */
.related-section h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.related-grid h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.related-grid p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.comparison-table th,
.comparison-table td {
  padding: 12px;
  border: 1px solid var(--gray-light);
  text-align: left;
}

.comparison-table th {
  background: var(--primary);
  color: white;
}

.comparison-table tr:nth-child(even) {
  background: #f8fafc;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--primary);
  font-weight: 600;
}

.back-link svg {
  width: 20px;
  height: 20px;
}

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

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

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

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

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

  .card-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

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

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* Margins */
.mt-32 {
  margin-top: 32px;
}

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

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

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

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

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

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

/* Container max-width for content */
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.125rem;
}

/* Hero subtitle */
.hero-subtitle {
  max-width: 700px;
  margin: 0 auto;
}

/* White background section */
.section-white {
  background: white;
}

/* Gradient CTA section */
.cta-section {
  padding: 48px;
  border-radius: 16px;
  text-align: center;
  color: white;
  margin-top: 60px;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Inset content for pages */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.125rem;
}

/* Page hero h1 */
.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 700px;
  margin: 0 auto;
}
