* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --secondary: #10B981;
  --dark: #1F2937;
  --light: #F9FAFB;
  --gray: #6B7280;
  --border: #E5E7EB;
}

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

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

/* Header */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark);
}

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

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

nav a {
  text-decoration: none;
  color: var(--gray);
  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(--dark);
}

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

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

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

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

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

.cta-btn {
  background: var(--primary);
  color: white;
  padding: 16px 40px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.cta-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.cta-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  padding: 18px 45px;
  font-size: 1.2rem;
  animation: pulse 2s infinite;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
}

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

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

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

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

/* Features */
.features {
  background: white;
}

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

.feature-card {
  background: var(--light);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

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

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

/* How It Works */
.steps {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

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

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

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

.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

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

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

.blog-content {
  padding: 30px;
}

.blog-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.blog-content p {
  color: var(--gray);
  margin-bottom: 20px;
}

/* Safety */
.safety {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
}

.safety-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

.safety-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.safety-list svg {
  width: 28px;
  height: 28px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  padding: 24px;
  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;
  color: var(--dark);
}

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

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

.faq-answer {
  padding: 0 24px 24px;
  color: var(--gray);
  line-height: 1.7;
  display: none;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

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

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

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

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

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

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

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

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

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

/* Blog Article */
.blog-header {
  background: var(--primary);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.blog-header h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.blog-meta {
  opacity: 0.8;
  font-size: 0.95rem;
}

.blog-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.blog-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--dark);
}

.blog-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-content ul,
.blog-content ol {
  margin: 20px 0 20px 40px;
}

.blog-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

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

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
  }

  nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

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

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

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

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

.mb-40 {
  margin-bottom: 40px;
}

/* Testimonial */
.testimonial {
  background: var(--light);
  padding: 40px;
  border-radius: 16px;
  margin-bottom: 40px;
}
.testimonial p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Footer paragraph */
.footer-section p {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
}
.cta-section-blue {
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
}
.cta-section-yellow {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}
.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.cta-section p {
  margin-bottom: 30px;
  color: var(--gray);
}

/* Related Articles */
.related-articles {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.related-articles ul {
  list-style: none;
  margin-top: 20px;
}
.related-articles li {
  margin-bottom: 12px;
}

/* Feature card button spacing */
.feature-card .btn {
  margin-top: 1rem;
}

/* Blog back button */
.blog-header .btn-secondary {
  margin-bottom: 20px;
}

/* Contact form button full width */
.contact-form .cta-btn {
  width: 100%;
}

/* Container modifiers */
.container-800 {
  max-width: 800px;
}

/* Width utilities */
.max-w-700 {
  max-width: 700px;
  margin: 0 auto 60px;
}
.max-w-600 {
  max-width: 600px;
  margin: 0 auto;
}

/* Hero compact */
.hero-compact {
  padding: 60px 0;
}

/* Schema markup hidden */
[itemscope] {
  display: none;
}