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

:root {
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --secondary: #10B981;
  --text: #1F2937;
  --text-light: #6B7280;
  --bg: #FFFFFF;
  --bg-alt: #F9FAFB;
  --border: #E5E7EB;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --radius: 8px;
  --radius-lg: 12px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

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

/* Header */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

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

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

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

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--text);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
  padding: 8px 0;
}

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

/* Main Content */
main {
  flex: 1;
}

/* Hero Section */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  max-width: 400px;
  width: 100%;
}

.avatar-group {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bubble {
  padding: 12px 16px;
  border-radius: var(--radius);
  max-width: 80%;
  font-size: 0.95rem;
}

.bubble-left {
  background: var(--bg-alt);
  align-self: flex-start;
}

.bubble-right {
  background: var(--primary);
  color: white;
  align-self: flex-end;
}

/* Buttons */
.cta-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
}

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

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

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

.cta-secondary:hover {
  background: var(--bg-alt);
}

.cta-large {
  padding: 18px 36px;
  font-size: 1.125rem;
}

.cta-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: white;
  padding: 16px 24px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-floating:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.4);
}

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

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

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

.feature-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

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

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

/* Steps */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step-full {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 60px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.step-content {
  flex: 1;
}

.step {
  text-align: center;
  max-width: 200px;
  flex-shrink: 0;
}

.step-number {
  width: 64px;
  height: 64px;
  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 16px;
}

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

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

.step-arrow {
  font-size: 2rem;
  color: var(--primary);
}

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

.testimonial-card {
  background: var(--bg-alt);
  padding: 32px;
  border-radius: var(--radius-lg);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.7;
}

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

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.cta-box h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-box p {
  margin-bottom: 24px;
  opacity: 0.9;
  font-size: 1.125rem;
}

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

.cta-section .cta-btn:hover {
  background: var(--bg-alt);
}

/* Page Hero */
.page-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  text-align: center;
}

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

.page-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
}

/* Content Blocks */
.content-block {
  margin-bottom: 48px;
}

.content-block.intro {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.content-block h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--text);
}

.content-block p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.values-list, .policy-list {
  margin-left: 24px;
  margin-bottom: 16px;
}

.values-list li, .policy-list li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Guidelines Specific */
.guideline-section {
  margin-bottom: 48px;
}

.guideline-section > h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-left: 0;
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.values-grid li {
  background: var(--bg-alt);
  padding: 20px;
  border-radius: var(--radius);
  line-height: 1.7;
}

.values-grid li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.prohibited-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.prohibited-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.prohibited-item h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--text);
}

.prohibited-item p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

.enforcement-list {
  max-width: 700px;
  margin-left: 0;
}

.enforcement-list li {
  background: var(--bg-alt);
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  line-height: 1.7;
}

.enforcement-list li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2, .contact-form-wrapper h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.contact-method h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.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(59, 130, 246, 0.1);
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-question {
  font-size: 1.25rem;
  margin-bottom: 12px;
  cursor: pointer;
}

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

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

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

.tip-card {
  background: white;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

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

.tip-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.tip-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

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

.tip-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Features Detail */
.feature-detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-detail-item.reverse {
  direction: rtl;
}

.feature-detail-item.reverse > * {
  direction: ltr;
}

.feature-visual .visual-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.feature-visual svg {
  width: 80px;
  height: 80px;
  stroke: white;
  opacity: 0.9;
}

.feature-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.feature-text p {
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--text-light);
}

.feature-list {
  margin-left: 20px;
}

.feature-list li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* Stories */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.story-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.story-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.story-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
}

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

.story-quote {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.story-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

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

/* Blog */
.blog-list {
  padding: 60px 0 80px;
}

.blog-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.blog-image {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.blog-image svg {
  width: 64px;
  height: 64px;
  stroke: white;
  opacity: 0.9;
}

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

.blog-content h2 a {
  color: var(--text);
  transition: color 0.2s;
}

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

.blog-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.blog-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

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

/* Blog Post */
.blog-post .post-header {
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

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

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

.post-content .lead {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

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

.post-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.post-content ul, .post-content ol {
  margin-left: 24px;
  margin-bottom: 20px;
}

.post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.post-content strong {
  font-weight: 600;
}

.post-footer {
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.post-navigation {
  margin-bottom: 40px;
}

.back-to-blog {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.related-posts {
  margin-bottom: 40px;
}

.related-posts h4 {
  margin-bottom: 16px;
  font-size: 1.125rem;
}

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

.related-posts li {
  margin-bottom: 8px;
}

.related-posts a {
  color: var(--text-light);
  transition: color 0.2s;
}

.related-posts a:hover {
  color: var(--primary);
}

.post-footer .cta-box {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.post-footer .cta-box h3 {
  margin-bottom: 12px;
}

.post-footer .cta-box p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Resources Section */
.resources-section {
  padding: 60px 0;
  background: var(--bg-alt);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.resource-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--text);
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.resource-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.resource-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--text);
  color: white;
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #9CA3AF;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: white;
}

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

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #9CA3AF;
  transition: color 0.2s;
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 24px 0;
  text-align: center;
  color: #9CA3AF;
  font-size: 0.9rem;
}

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

  .nav-list {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-list.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .hero-title {
    font-size: 2.25rem;
  }

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

  .steps {
    flex-direction: column;
    gap: 40px;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .feature-detail-item,
  .feature-detail-item.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tip-grid,
  .stories-grid,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
