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

:root {
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --secondary: #10B981;
  --dark: #1F2937;
  --light: #F9FAFB;
  --gray: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
}

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

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

.centered-img {
  max-width: 400px;
  margin: 0 auto;
}

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

a:hover {
  text-decoration: underline;
}

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

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

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

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

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

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

.mobile-menu-btn img {
  width: 28px;
  height: 28px;
}

/* Mobile Menu */
@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    gap: 16px;
    box-shadow: var(--shadow);
  }

  nav ul.active {
    display: flex;
  }

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  color: white;
  padding: 100px 0 80px;
  text-align: center;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background: var(--light);
}

/* CTA Button */
.cta-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

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

/* Secondary CTA variant */
.cta-btn.cta-secondary {
  background: white;
  color: var(--primary);
}

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

/* Button spacing */
.btn + .btn {
  margin-left: 12px;
}

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

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

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

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

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

.feature-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.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: bold;
  margin-bottom: 16px;
}

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

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

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  margin: 60px 0;
}

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

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

.stat-label {
  color: var(--gray);
  font-size: 1.125rem;
}

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

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

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

.blog-card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img img {
  width: 80px;
  height: 80px;
  opacity: 0.8;
}

.blog-card-content {
  padding: 24px;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

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

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

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

/* Forms */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

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

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

/* Full width CTA in forms */
.contact-form .cta-btn {
  width: 100%;
}

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

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

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

.footer-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 12px;
}

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

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

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

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

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

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

/* Content Sections */
.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--dark);
}

.content-section h3 {
  font-size: 1.5rem;
  margin: 40px 0 20px;
  color: var(--dark);
}

.content-section p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #374151;
}

.content-section ul, .content-section ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.content-section li {
  margin-bottom: 12px;
  line-height: 1.7;
  color: #374151;
}

/* Two Column */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 60px 0;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}

/* Blog Article */
.blog-meta {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.blog-content {
  line-height: 1.8;
  color: #374151;
}

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

.blog-content h3 {
  font-size: 1.4rem;
  margin: 32px 0 16px;
  color: var(--dark);
}

/* Back to Blog */
.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 32px;
}

/* Related Posts */
.related-posts {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related-posts h3 {
  margin-bottom: 24px;
}

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

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

.related-posts a {
  color: var(--primary);
  font-weight: 500;
}

/* Story cards for success stories */
.story-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 40px 0;
}

.story-card h3 {
  margin-bottom: 16px;
}

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

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

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

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

.bg-white {
  background: white;
}

/* Spacing utilities */
.ml-12 {
  margin-left: 12px;
}
