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

:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --secondary: #3f51b5;
  --background: #fefefe;
  --text: #1f2937;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --card-bg: #ffffff;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

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

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

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

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

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

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

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

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

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

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* Hero sections */
.hero, .page-hero {
  background: linear-gradient(135deg, #fce7f3 0%, #f3e8ff 100%);
  padding: 5rem 0;
  text-align: center;
}

.hero .container, .page-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.hero-content h1, .page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-image svg {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* Features section */
.features, .how-it-works, .testimonials, .safety-tips, .cta-section {
  padding: 5rem 0;
}

.features h2, .how-it-works h2, .testimonials h2, .safety-tips h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

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

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

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 1rem;
}

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

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-light);
}

/* Safety tips */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.safety-item {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.safety-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Content sections */
.content-section {
  padding: 4rem 0;
}

.page-hero {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, #fce7f3 0%, #f3e8ff 100%);
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  margin-top: 2rem;
}

.content-grid h2 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
}

.content-grid h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0.75rem;
}

.content-grid p {
  margin-bottom: 1rem;
}

.content-grid ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.content-grid li {
  margin-bottom: 0.5rem;
}

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

.content-grid a:hover {
  text-decoration: underline;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.sidebar-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.stats-list li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.stats-list strong {
  color: var(--text);
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-form {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

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

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

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

.contact-info .info-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

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

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

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

.faq-question:hover {
  background: #f9fafb;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

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

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

/* Steps for How It Works */
.steps-large {
  max-width: 900px;
  margin: 0 auto;
}

.step-large {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

.step-large-number {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-large-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* Features preview */
.features-preview {
  margin-top: 4rem;
  text-align: center;
}

.features-preview h2 {
  margin-bottom: 2rem;
}

.features-grid-simple {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-item svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

/* Legal content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}

.legal-content ul, .legal-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* CTA buttons */
.cta-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

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

.cta-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.5rem;
}

.cta-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* Footer */
.footer {
  background: var(--text);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

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

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Article pages */
.article {
  padding: 2rem 0 4rem;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.article-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.article-meta {
  color: var(--text-light);
  font-size: 0.9rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1rem;
}

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

.article-content li {
  margin-bottom: 0.5rem;
}

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

.article-content a:hover {
  text-decoration: underline;
}

.article-cta {
  text-align: center;
  margin: 3rem 0;
}

.article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-nav {
  margin-bottom: 2rem;
}

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

.related-posts h3 {
  margin-bottom: 1rem;
}

.related-posts ul {
  list-style: none;
}

.related-posts li {
  margin-bottom: 0.5rem;
}

/* Blog list */
.blog-list {
  max-width: 900px;
  margin: 0 auto;
}

.blog-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.blog-image {
  height: 100%;
  min-height: 250px;
}

.blog-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

.blog-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blog-content h2 a {
  color: var(--text);
  text-decoration: none;
}

.blog-content h2 a:hover {
  color: var(--primary);
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.blog-tag {
  background: #fce7f3;
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.blog-read-time {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Additional page styles */
.values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.value-item {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.value-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

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

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

.neighborhood-grid, .date-ideas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.neighborhood-card, .date-ideas .idea-item {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.neighborhood-card h3, .date-ideas h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.date-ideas .idea-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.date-ideas strong {
  color: var(--primary);
}

/* Stories */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.story-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.story-quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.story-author strong {
  display: block;
  color: var(--text);
}

.story-author span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Blog article specific */
.article-content .lead {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.article-content .article-cta {
  margin: 3rem 0;
  text-align: center;
}

.article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.article-nav {
  margin-bottom: 2rem;
}

.related-posts {
  margin-top: 2rem;
}

.related-posts h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.related-posts ul {
  list-style: none;
}

.related-posts li {
  margin-bottom: 0.5rem;
}

/* Guides */
.guide-intro, .guide-section {
  margin-bottom: 3rem;
}

.guide-section h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.tip-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.tip-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.red-flags {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.red-flags li {
  background: #fef2f2;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #ef4444;
}

.red-flags strong {
  color: #991b1b;
}

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

  .nav-list {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
  }

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

  .hero .container {
    grid-template-columns: 1fr;
  }

  .content-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

  .blog-image {
    min-height: 200px;
  }

  .step-large {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .step-large-number {
    margin: 0 auto;
  }

  .cta-floating {
    position: static;
    margin: 2rem auto;
    display: block;
    max-width: 300px;
  }
}

/* Additional utility classes */

.date-spot {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.flag-item {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.guide-content,
.safety-guide,
.tips-content {
  max-width: 800px;
  margin: 0 auto;
}

.stats-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
