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

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #ec4899;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

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);
}

/* Container */
.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;
}

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

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

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

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

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

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

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

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  color: var(--text-dark);
}

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

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px 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: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

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

.cta-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  animation: pulse 2s infinite;
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
}

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

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

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

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

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

.feature-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

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

.feature-card p {
  color: var(--text-gray);
}

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

.blog-card {
  background: var(--bg-white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

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

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

.blog-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

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

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

.footer-section h4 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  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 rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  z-index: 99;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: 1rem;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  display: block;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.mobile-menu a:hover {
  background: var(--bg-light);
}

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

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

.faq-question svg {
  transition: transform 0.3s;
  width: 24px;
  height: 24px;
  color: var(--primary);
}

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

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

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

/* Contact Form */
.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: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  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 {
  min-height: 150px;
  resize: vertical;
}

/* Blog Article */
.blog-content {
  max-width: 800px;
  margin: 0 auto;
}

.blog-content p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

.blog-content h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-dark);
}

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

.blog-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 2rem;
}

.back-link:hover {
  text-decoration: underline;
}

/* Related Articles */
.related-articles {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.related-articles h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.related-list {
  display: grid;
  gap: 1rem;
}

.related-list a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  padding: 1rem;
  background: var(--bg-white);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.related-list a:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

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

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

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

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 3rem 0;
  }
}

.my-2 { margin-top: 2rem; margin-bottom: 2rem; }
.my-3 { margin-top: 3rem; margin-bottom: 3rem; }
.my-4 { margin-top: 4rem; margin-bottom: 4rem; }

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

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

/* Additional utilities */
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.my-1 { margin-top: 1rem; margin-bottom: 1rem; }

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

.w-100 { width: 100%; }

.fst-italic { font-style: italic; }

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

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

.py-4 { padding-top: 4rem; padding-bottom: 4rem; }

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

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

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

.cta-section .section-subtitle {
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

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

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

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

.text-white {
  color: white;
}

.content-container-700 {
  max-width: 700px;
  margin: 0 auto;
}

/* Center feature icon when card has text-center */
.feature-card.text-center .feature-icon {
  margin-left: auto;
  margin-right: auto;
}

/* Step gradients for feature icons */
.step-1 .feature-icon {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}
.step-2 .feature-icon {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}
.step-3 .feature-icon {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}
.step-4 .feature-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}
.step-5 .feature-icon {
  background: linear-gradient(135deg, #f59e0b, #eab308);
}

.py-3 { padding-top: 3rem; padding-bottom: 3rem; }

.mb-15 { margin-bottom: 1.5rem; }

.safety-box {
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.cta-subtitle {
  color: rgba(255,255,255,0.9);
  margin: 1.5rem 0;
}
