/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

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);
  overflow-x: hidden;
}

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

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

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

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

.logo svg {
  width: 40px;
  height: 40px;
  fill: var(--primary);
}

/* Navigation */
nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

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

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;
  stroke: var(--dark);
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: 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;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  background: var(--light);
}

.cta-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  padding: 18px 35px;
  animation: pulse 2s infinite;
  border-radius: 50px;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

@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: 800;
  text-align: center;
  margin-bottom: 20px;
  color: var(--dark);
}

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

/* 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 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border-color: var(--primary);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
  fill: none;
}

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

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

/* How It Works */
.how-it-works {
  background: linear-gradient(180deg, var(--light) 0%, white 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  counter-reset: step;
}

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

.step::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  width: 60px;
  height: 60px;
  background: var(--gradient);
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 24px;
  line-height: 60px;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--dark);
}

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

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

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.blog-image {
  width: 100%;
  height: 200px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-image svg {
  width: 60px;
  height: 60px;
  stroke: white;
  fill: none;
  opacity: 0.8;
}

.blog-content {
  padding: 24px;
}

.blog-content h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--dark);
}

.blog-content p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* FAQ */
.faq {
  background: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

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

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

.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

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

.faq-answer.open {
  display: block;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

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

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

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

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

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

.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: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Article/Blog Page */
.article {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.article h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.2;
}

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

.article-content {
  line-height: 1.8;
  font-size: 1.05rem;
}

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

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

.article-content ul,
.article-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

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

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

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

/* Page Headers */
.page-header {
  background: var(--gradient);
  color: white;
  padding: 80px 0;
  text-align: center;
}

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

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

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
  fill: none;
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    gap: 20px;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  nav.active {
    display: flex;
  }

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

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

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

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

  .cta-floating {
    bottom: 20px;
    right: 20px;
    padding: 14px 25px;
  }

  .container {
    padding: 0 16px;
  }

  section {
    padding: 60px 0;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
}

p {
  margin-bottom: 16px;
}

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

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

/* Lists */
ul, ol {
  margin: 16px 0;
  padding-left: 24px;
}

/* Utility classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-15 { margin-top: 3.75rem; }
.mt-3 { margin-top: 1.25rem; }
.mb-3 { margin-bottom: 1.25rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-width-600 { max-width: 600px; }
.pt-4 { padding-top: 1.875rem; }
.py-4 { padding: 60px 0; }
.border-top { border-top: 1px solid var(--border); }

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

/* Icon circle */
.icon-circle {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.icon-circle svg {
  width: 28px;
  height: 28px;
  stroke: white;
  fill: none;
}

/* Contact info grid */
.contact-info-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
}

/* Lead text for sections */
.lead-text {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Section heading (smaller than section-title) */
.section-heading {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
}

/* CTA section styles */
.cta-section {
  background: var(--gradient);
  text-align: center;
  color: white;
}
.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}
.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .cta-btn {
  background: white;
  color: var(--primary);
}

/* Article heading */
.article h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.2;
}

/* Article content heading levels */
.article-content h3 {
  font-size: 1.3rem;
  margin: 30px 0 15px;
  color: var(--dark);
}
.article-content h4 {
  font-size: 1.1rem;
  margin: 20px 0 10px;
  color: var(--dark);
  font-weight: 600;
}

/* FAQ intro paragraph */
.faq-intro {
  color: var(--gray);
  max-width: 600px;
  margin: 30px auto;
}

/* Summary box in privacy/terms */
.summary-box {
  margin-top: 60px;
  padding: 30px;
  background: var(--light);
  border-radius: 12px;
}
.summary-box ul {
  margin-top: 20px;
}

/* Intro lead for success stories */
.intro-lead {
  text-align: center;
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 60px;
}

/* CTA light box (for success stories) */
.cta-light-box {
  margin-top: 80px;
  background: var(--light);
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
}
.cta-light-box p {
  max-width: 600px;
  margin: 20px auto 30px;
  color: var(--gray);
}

/* Blog CTA box (for article pages) */
.blog-cta {
  margin-top: 50px;
  padding: 40px;
  background: var(--light);
  border-radius: 12px;
  text-align: center;
}
.blog-cta p {
  max-width: 500px;
  margin: 15px auto 25px;
  color: var(--gray);
}

/* CTA light box (for success stories) */
.cta-light-box {
  margin-top: 80px;
  background: var(--light);
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
}
.cta-light-box p {
  max-width: 600px;
  margin: 20px auto 30px;
  color: var(--gray);
}

/* Full width button */
.full-width { width: 100%; }

/* White background */
.bg-white { background: white; }

/* Comparison table for blog articles */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.comparison-table tr:nth-child(odd) {
  background: var(--light);
}
.comparison-table td {
  padding: 12px;
  border: 1px solid var(--border);
}

/* Small text utility */
.text-sm { font-size: 0.875rem; }
.small-text { font-size: 0.95rem; color: var(--gray); }
.blog-cta p {
  max-width: 500px;
  margin: 15px auto 25px;
  color: var(--gray);
}

/* Additional utility classes for layout */
.bg-light { background: var(--light); }
.text-gray { color: var(--gray); }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-width-600 { max-width: 600px; }
.mt-10 { margin-top: 2.5rem; }
.mt-15 { margin-top: 3.75rem; }
.mt-3 { margin-top: 1.25rem; }
.py-4 { padding: 60px 0; }

/* Icon circle */
.icon-circle {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.icon-circle svg {
  width: 28px;
  height: 28px;
  stroke: white;
  fill: none;
}

/* Contact info grid */
.contact-info-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
}

/* Lead text for sections */
.lead-text {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Section heading (smaller than section-title) */
.section-heading {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
}

/* CTA section styles */
.cta-section {
  background: var(--gradient);
  text-align: center;
  color: white;
}
.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}
.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .cta-btn {
  background: white;
  color: var(--primary);
}

/* Article heading */
.article h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.2;
}

/* Article content heading levels */
.article-content h3 {
  font-size: 1.3rem;
  margin: 30px 0 15px;
  color: var(--dark);
}
.article-content h4 {
  font-size: 1.1rem;
  margin: 20px 0 10px;
  color: var(--dark);
  font-weight: 600;
}

/* FAQ intro paragraph */
.faq-intro {
  color: var(--gray);
  max-width: 600px;
  margin: 30px auto;
}

/* Summary box in privacy/terms */
.summary-box {
  margin-top: 60px;
  padding: 30px;
  background: var(--light);
  border-radius: 12px;
}
.summary-box ul {
  margin-top: 20px;
}

/* Intro lead for success stories */
.intro-lead {
  text-align: center;
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 60px;
}

/* CTA light box (light background) */
.cta-light-box {
  margin-top: 80px;
  background: var(--light);
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
}