/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6; color: #1f2937; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  min-height: 100vh;
}

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

/* Header */
header {
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 70px; gap: 20px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.5rem; font-weight: 700; color: #1e40af; text-decoration: none;
}
.logo img { width: 40px; height: 40px; }
nav {
  display: flex; gap: 28px; align-items: center;
}
nav a {
  color: #4b5563; text-decoration: none; font-weight: 500;
  font-size: 0.95rem; transition: color 0.2s;
}
nav a:hover { color: #1e40af; }
.mobile-menu-btn {
  display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #374151;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 50%, #f0f9ff 100%);
  padding: 80px 0 100px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero h1 {
  font-size: 3rem; font-weight: 800; color: #111827; margin-bottom: 20px; line-height: 1.2; max-width: 900px; margin-left: auto; margin-right: auto;
}
.hero p {
  font-size: 1.25rem; color: #4b5563; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero-stats {
  display: flex; justify-content: center; gap: 60px; margin-top: 50px; flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-value {
  font-size: 2.5rem; font-weight: 800; color: #1e40af;
}
.stat-label {
  font-size: 0.95rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px;
}

/* Sections */
section {
  padding: 80px 0;
}
.section-title {
  font-size: 2rem; font-weight: 700; color: #111827; text-align: center; margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem; color: #6b7280; text-align: center; max-width: 700px; margin: 0 auto 50px;
}

/* Features */
.features { background: #ffffff; padding: 60px 0; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}
.feature-card {
  background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 16px; padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.feature-icon {
  width: 56px; height: 56px; background: #dbeafe; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; color: #2563eb; }
.feature-card h3 a {
  color: #111827; text-decoration: none;
}
.feature-card h3 a:hover {
  color: #2563eb; text-decoration: underline;
}
.feature-card .cta-btn {
  margin-top: 12px;
}

/* Utility classes */
.centered-div {
  text-align: center; margin: 30px 0;
}
.centered-div-large {
  text-align: center; margin: 40px 0;
}
.feature-card p {
  color: #6b7280; font-size: 0.95rem;
}

/* How It Works */
.how-it-works { background: #f8fafc; }
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px;
}
.step {
  text-align: center; position: relative;
}
.step-number {
  width: 56px; height: 56px; background: linear-gradient(135deg, #2563eb, #1e40af);
  color: 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 {
  font-size: 1.15rem; font-weight: 600; color: #111827; margin-bottom: 10px;
}
.step p {
  color: #6b7280; font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: white; text-align: center; padding: 60px 0; border-radius: 20px; margin: 60px 0;
}
.cta-banner h2 {
  font-size: 2rem; margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: all 0.2s; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1e40af); color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.btn-secondary {
  background: white; color: #2563eb; border: 2px solid #2563eb;
}
.btn-secondary:hover {
  background: #f0f9ff;
}
.cta-btn {
  background: linear-gradient(135deg, #2563eb, #1e40af); color: white;
  border: none; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 1rem; cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3); transition: all 0.2s;
}
.cta-btn:hover {
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.cta-floating {
  position: fixed; bottom: 24px; right: 24px;
  padding: 16px 28px; border-radius: 50px; z-index: 1000;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* FAQ */
.faq { background: #ffffff; }
.faq-item {
  border: 1px solid #e5e7eb; border-radius: 12px; margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  width: 100%; padding: 20px; background: #f8fafc; border: none; text-align: left; font-size: 1.05rem; font-weight: 600; color: #111827; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-question:hover { background: #f0f9ff; }
.faq-question::after {
  content: '+'; font-size: 1.5rem; color: #6b7280; transition: transform 0.2s;
}
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out;
}
.faq-item.active .faq-answer {
  padding: 0 20px 20px; max-height: 500px;
}

/* Blog */
.blog { background: #f8fafc; }
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-bottom: 50px;
}
.blog-card {
  background: white; border-radius: 16px; overflow: hidden; border: 1px solid #e5e7eb; transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.blog-card-img {
  height: 200px; background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  display: flex; align-items: center; justify-content: center;
}
.blog-card-img svg { width: 64px; height: 64px; color: #93c5fd; }
.blog-card-content { padding: 24px; }
.blog-card h3 {
  font-size: 1.15rem; font-weight: 600; color: #111827; margin-bottom: 10px; line-height: 1.4;
}
.blog-card p {
  color: #6b7280; font-size: 0.95rem; margin-bottom: 16px;
}
.blog-card-link {
  color: #2563eb; font-weight: 600; text-decoration: none; font-size: 0.95rem;
}
.blog-card-link:hover { text-decoration: underline; }

/* Article */
.article { background: white; }
.article-content { max-width: 800px; margin: 0 auto; }
.article h1 {
  font-size: 2.5rem; font-weight: 800; color: #111827; margin-bottom: 20px; line-height: 1.2;
}
.article-meta {
  color: #6b7280; font-size: 0.9rem; margin-bottom: 30px;
}
.article-body { font-size: 1.1rem; color: #374151; }
.article-body h2 {
  font-size: 1.5rem; font-weight: 700; color: #111827; margin: 40px 0 16px;
}
.article-body p { margin-bottom: 20px; }
.article-body ul { margin-bottom: 20px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: #111827; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px; color: #2563eb; font-weight: 600; text-decoration: none; margin-bottom: 24px;
}
.back-link:hover { text-decoration: underline; }
.related-articles {
  margin-top: 50px; padding-top: 40px; border-top: 1px solid #e5e7eb;
}
.related-articles h3 {
  font-size: 1.25rem; font-weight: 600; color: #111827; margin-bottom: 20px;
}
.related-articles ul { list-style: none; padding: 0; }
.related-articles li { margin-bottom: 12px; }
.related-articles a { color: #2563eb; font-weight: 500; text-decoration: none; }
.related-articles a:hover { text-decoration: underline; }

/* Contact Form */
.contact-form {
  max-width: 600px; margin: 0 auto; background: #f8fafc; padding: 40px; border-radius: 16px; border: 1px solid #e5e7eb;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; color: #374151; margin-bottom: 8px; font-size: 0.95rem;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 1rem; font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Footer */
footer {
  background: #111827; color: #d1d5db; padding: 60px 0 30px; margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px;
}
.footer-col h4 {
  color: white; font-weight: 600; margin-bottom: 20px; font-size: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: #9ca3af; text-decoration: none; font-size: 0.9rem;
}
.footer-col a:hover { color: white; }
.footer-col p {
  font-size: 0.9rem; line-height: 1.6; color: #9ca3af;
}
.footer-bottom {
  border-top: 1px solid #374151; padding-top: 24px; text-align: center; font-size: 0.85rem; color: #6b7280;
}

/* Mobile */
@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; border-bottom: 1px solid #e5e7eb; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  nav.active { display: flex; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 30px; }
  .stat-value { font-size: 2rem; }
  .section-title { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

/* Inline style replacements */
.button-group {
  margin-top: 30px;
}
.button-spaced {
  margin-left: 12px;
}
.centered-section {
  padding: 60px 0; text-align: center; background: #f8fafc;
}
.centered-section h2 {
  font-size: 1.5rem; font-weight: 600; color: #111827; margin-bottom: 16px;
}
.centered-section p {
  color: #6b7280; margin-bottom: 24px;
}
.centered-section-small {
  padding: 40px 0; text-align: center;
}
.centered-section-small p {
  font-size: 1.1rem; color: #374151; margin-bottom: 16px;
}
