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

:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --secondary: #6366f1;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --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;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

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

.nav-desktop {
  display: flex;
  gap: 2rem;
}

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

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

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

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

.nav-mobile {
  display: none;
  background: var(--bg-white);
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

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

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

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

/* Sections */
section {
  padding: 4rem 0;
}

section:nth-child(even) {
  background: var(--bg-white);
}

.section-title {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 1rem;
}

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

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

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

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

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

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

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

.step-card {
  position: relative;
  padding-left: 4rem;
}

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

/* CTA Buttons */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.cta-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}

.cta-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  padding: 1rem 2rem;
  box-shadow: var(--shadow-lg);
  border-radius: 50px;
  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(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-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, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img img {
  width: 80px;
  height: 80px;
  color: white;
  opacity: 0.9;
}

.blog-card-content {
  padding: 1.5rem;
}

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

.blog-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  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;
}

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

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

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
}

.faq-answer.open {
  padding: 0 1.5rem 1.25rem;
  max-height: 1000px;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

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

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0;
}

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

.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

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

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

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

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

.hero-sm {
  padding: 4rem 0;
}

/* Article/Content Pages */
.content-section,
.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content {
  background: var(--bg-white);
  padding: 4rem 0;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.content-section h2,
.article-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.content-section h3,
.article-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  line-height: 1.4;
}

.content-section p,
.article-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.content-section ul,
.content-section ol,
.article-content ul,
.article-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.content-section li,
.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.content-section strong,
.article-content strong {
  color: var(--text-dark);
}

/* Article Navigation */
.article-navigation {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* Related Articles */
.related-articles {
  background: var(--bg-light);
  padding: 3rem 0;
  margin-top: 2rem;
}

.related-articles h3 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.related-articles p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

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

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

.related-articles .blog-card-content {
  padding: 1.5rem;
}

.related-articles .blog-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.related-articles .blog-card h4 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.related-articles .blog-card h4 a:hover {
  color: var(--primary);
}

.related-articles .blog-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Blog Card CTA */
.blog-card .cta-btn {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

/* Section backgrounds */
.bg-white {
  background: var(--bg-white);
}

/* Links in content */
.content-section a,
.article-content a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.content-section a:hover,
.article-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Hero links */
.hero a {
  color: white;
  text-decoration: underline;
}

.hero a:hover {
  opacity: 0.9;
}

/* Contact list */
.contact-info-list {
  list-style: none;
  padding: 0;
}

.contact-info-list li {
  margin-bottom: 1rem;
}
