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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #64748b;
  --accent: #3b82f6;
  --bg: #f8fafc;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --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);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Container */
.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;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

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

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

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

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 svg {
  width: 28px;
  height: 28px;
  color: var(--text);
}

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

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

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

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

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

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

.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: 30px;
  margin-top: 50px;
}

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

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

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

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

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

/* CTA Buttons */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px 36px;
  font-size: 1.125rem;
  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.05);
}

.cta-btn:active {
  transform: scale(0.98);
}

.cta-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  padding: 18px 40px;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s infinite;
}

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

/* Button base style for non-affiliate buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px 36px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}
.btn:active {
  transform: scale(0.98);
}

/* Steps */
.steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.step {
  text-align: center;
  max-width: 250px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

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

.step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.blog-card {
  background: var(--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: 12px;
  line-height: 1.4;
}

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

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  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: 150px;
}

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

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

.faq-question:hover {
  background: var(--bg);
}

.faq-question svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

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

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

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

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

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

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

.footer ul {
  list-style: none;
}

.footer a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  padding: 6px 0;
  transition: color 0.2s;
}

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

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

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

p {
  margin-bottom: 1em;
}

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

a:hover {
  text-decoration: underline;
}

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



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

  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: var(--shadow);
  }

  nav ul.active {
    display: flex;
  }

  nav li {
    border-bottom: 1px solid var(--border);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    display: block;
    padding: 15px 0;
  }

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

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

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

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

  .steps {
    flex-direction: column;
    align-items: center;
  }

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

/* Prevent horizontal overflow */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

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

/* ===== Additional utilities for inline style replacement ===== */
.d-inline-block { display: inline-block; }
.fw-semibold { font-weight: 600; }
.italic { font-style: italic; }
.opacity-90 { opacity: 0.9; }

.mt-10 { margin-top: 10px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-60 { margin-top: 60px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.pt-30 { padding-top: 30px; }

.border-top { border-top: 1px solid var(--border); }

.text-body { color: var(--text); }
.text-red { color: #dc2626; }

/* Component classes */
.back-link {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 20px;
}

.article-meta {
  font-size: 1.125rem;
  margin-top: 10px;
}

.related-articles {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.related-articles ul {
  margin-top: 10px;
}

/* Hero gradient for red flags (blog-red-flags-online-dating.html) */
.hero-gradient-red {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
  color: var(--white);
}

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

.text-center-lg {
  text-align: center;
}

@media (min-width: 768px) {
  .text-center-lg {
    text-align: left;
  }
}


.max-width-800 {
  max-width: 800px;
}

.max-width-600 {
  max-width: 600px;
}

.max-width-700 {
  max-width: 700px;
}

.max-width-750 {
  max-width: 750px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.pb-5 {
  padding-bottom: 3rem;
}

.pt-5 {
  padding-top: 3rem;
}

/* Content sections */
.section-padding {
  padding: 80px 0;
}

.article-content {
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  line-height: 1.8;
  margin-left: 20px;
  margin-bottom: 20px;
}

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

.article-content h3 {
  font-size: 1.25rem;
  margin: 30px 0 15px;
}

.article-content p {
  margin-bottom: 20px;
}

/* CTA section styles */
.cta-section {
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 25px;
}

/* Card button inside card */
.card .cta-btn {
  margin-top: 15px;
}

/* Hero variants */


.hero-sm {
  padding: 80px 0;
}

.hero-lg {
  padding: 120px 0;
}

/* Gradient backgrounds */
.hero-gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
}

.hero-gradient-success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: var(--white);
}

.hero-gradient-pink {
  background: linear-gradient(135deg, #db2777 0%, #ec4899 100%);
  color: var(--white);
}

.hero-gradient-dark {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: var(--white);
}

.hero-dark {
  background: var(--bg-dark);
  color: var(--white);
}

/* Section background variants */
.section-white {
  background: var(--white);
}

/* Heading styles */
.heading-lg {
  font-size: 2rem;
  margin-bottom: 25px;
}

.heading-xl {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.heading-md {
  font-size: 1.75rem;
  margin-bottom: 15px;
}

.heading-sm {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.content-section-heading {
  font-size: 1.5rem;
  margin: 40px 0 15px;
}

.heading-primary-color {
  color: var(--primary);
}

/* Text utilities */
.text-white {
  color: var(--white);
}

.text-muted {
  color: var(--text-light);
}

.text-muted-note {
  color: #94a3b8;
  font-size: 0.95rem;
}

.text-opacity-80 {
  opacity: 0.8;
}

.text-sm {
  font-size: 0.9rem;
}

.text-lg {
  font-size: 1.75rem;
}

.text-centered {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.lead {
  font-size: 1.125rem;
}

/* Spacing utilities */
.mt-2 {
  margin-top: 1.25rem;
}

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

.mt-5 {
  margin-top: 3rem;
}

.mb-2 {
  margin-bottom: 1.25rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

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

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

/* Author badge styles */
.author-badge {
  width: 60px;
  height: 60px;
  background: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.author-badge-pink {
  background: #fce7f3;
  color: #db2777;
}

.author-badge-green {
  background: #dcfce7;
  color: #16a34a;
}

.author-badge-yellow {
  background: #fef3c7;
  color: #d97706;
}

.author-badge-purple {
  background: #e0e7ff;
  color: #4f46e5;
}

.author-badge-magenta {
  background: #fae8ff;
  color: #c026d3;
}

/* Testimonial styles */
.testimonial-quote {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: 600;
}

/* Section heading */
.section-heading {
  font-size: 2rem;
  margin: 40px 0 25px;
  color: var(--primary);
}

/* Card content line-height */
.card p {
  line-height: 1.8;
}

/* Relaxed line-height */
.leading-relaxed {
  line-height: 1.8;
}

/* Section background colors */
.bg-gradient-primary {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.bg-gradient-success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.bg-gradient-pink {
  background: linear-gradient(135deg, #db2777 0%, #ec4899 100%);
}

.bg-light-blue {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}


/* Color utilities */
.text-success {
  color: #059669;
}

.bg-success-light {
  background: #dcfce7;
}



.bg-pink-light {
  background: #fce7f3;
}

/* Link utilities */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

/* Blog card link */
.blog-card a {
  font-weight: 600;
}

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

/* Card content spacing */
.card-content {
  padding: 30px;
}

/* Spacing utilities */
.spacing-vertical {
  margin-top: 50px;
  margin-bottom: 50px;
}


