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

:root {
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --secondary: #10B981;
  --dark: #1F2937;
  --gray: #6B7280;
  --light: #F9FAFB;
  --white: #FFFFFF;
  --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, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

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

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

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

.logo svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

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

nav a {
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
  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 svg {
  width: 28px;
  height: 28px;
  color: var(--dark);
}

/* Main Content */
main {
  min-height: calc(100vh - 70px - 300px);
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
}

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

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

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

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

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* CTA Button */
.cta-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

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

.cta-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: 50px;
  animation: pulse 2s infinite;
}

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

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

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

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

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

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

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

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

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

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--dark);
}

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

/* How It Works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px;
}

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

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

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

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

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

.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;
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.blog-card-link svg {
  width: 20px;
  height: 20px;
}

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

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

.faq-question:hover {
  background: var(--light);
}

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

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

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

.faq-answer.active {
  padding: 0 24px 24px;
  max-height: 1000px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--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;
  color: var(--white);
}

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--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);
  font-size: 0.9rem;
}

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

.blog-content h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.blog-meta {
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.blog-body {
  font-size: 1.1rem;
  line-height: 1.8;
}

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

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

.blog-body ul,
.blog-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--gray);
}

.blog-body li {
  margin-bottom: 12px;
}

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

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

.page-header p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Page Content */
.page-content {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-content p {
  margin-bottom: 20px;
  color: var(--gray);
  line-height: 1.8;
}

.page-content ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

.page-content li {
  margin-bottom: 12px;
  color: var(--gray);
}

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

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

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

  nav li {
    border-bottom: 1px solid var(--border);
  }

  nav a {
    display: block;
    padding: 16px 0;
  }

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

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

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

  .cta-floating {
    bottom: 16px;
    right: 16px;
    padding: 14px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .container {
    padding: 0 16px;
  }

section {
  padding: 60px 0;
}

/* Specific section styling */
section.steps {
  background: white;
  padding: 80px 0;
}

section.blog-preview {
  padding: 80px 0;
}
}

/* Utility classes for layout sections */
.section-cta {
  background: var(--primary);
  padding: 60px 0;
  text-align: center;
}
.section-cta--mt-large {
  margin-top: 60px;
}
.section-cta-large {
  background: var(--primary);
  padding: 80px 0;
  text-align: center;
}
.section-cta--m-40 {
  margin: 40px 0;
}
.section-info {
  background: var(--light);
  padding: 60px 0;
  text-align: center;
  margin-top: 40px;
}
.section-white {
  background: white;
  padding: 80px 0;
}
.section-white--pad60 {
  background: white;
  padding: 60px 0;
}

/* CTA section content styling */
.section-cta h2,
.section-cta h3 {
  font-size: 1.75rem;
  color: white;
  margin-bottom: 20px;
}
.section-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.section-cta p {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 30px;
}
.section-cta p:last-child {
  margin-bottom: 0;
}

/* Info section content */
.section-info h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.section-info p {
  color: var(--gray);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* White section */
.section-white h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Footer paragraph */
.footer-section p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

/* Button variants */
.cta-btn.btn-light {
  background: white;
  color: var(--primary);
}
.cta-btn.btn-light:hover {
  background: var(--light);
}

/* Form container */
.form-container {
  max-width: 600px;
  margin: 40px 0;
}

/* Article divider */
.article-divider {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* Text utilities */
.text-sm {
  font-size: 0.95rem;
}
.text-gray {
  color: var(--gray);
}
.text-white {
  color: white;
}

/* Blog related articles */
.blog-related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Text utilities */
.text-2xl { font-size: 2rem; }
.text-3xl { font-size: 2.5rem; }
.text-xl { font-size: 1.5rem; }
.text-lg { font-size: 1.75rem; }
.text-sm { font-size: 0.95rem; }
.text-xs { font-size: 0.9rem; }
.text-white { color: white; }
.text-primary { color: var(--primary); }
.text-gray { color: var(--gray); }

/* Spacing utilities */
.mt-1 { margin-top: 20px; }
.mt-2 { margin-top: 40px; }
.mt-3 { margin-top: 60px; }
.mt-4 { margin-top: 80px; }
.mt-24 { margin-top: 24px; }
.mb-1 { margin-bottom: 20px; }
.mb-2 { margin-bottom: 30px; }
.mb-3 { margin-bottom: 40px; }
.mb-24 { margin-bottom: 24px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

.last-updated {
  margin-top: 40px;
  color: var(--gray);
  font-size: 0.9rem;
}

