/* Root Variables */
:root {
  --primary: #1976d2;
  --primary-dark: #0d47a1;
  --secondary: #7b1fa2;
  --accent: #ff5722;
  --dark: #1a1a2e;
  --dark-light: #16213e;
  --light: #f8f9fa;
  --gray: #495057;
  --success: #28a745;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 10px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
}

/* 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, 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 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

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

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  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: 5px;
}

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

.mobile-menu {
  display: none;
  background: white;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Buttons */
button, .btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

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

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

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

.cta-btn.primary:hover {
  background: #e64a19;
}

.cta-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 18px 35px;
  background: var(--accent);
  color: white;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(255,87,34,0.4);
  z-index: 999;
  font-weight: 700;
  animation: pulse 2s infinite;
}

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

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

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

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

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

.feature-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.feature-card svg {
  width: 60px;
  height: 60px;
  stroke: var(--primary);
  margin-bottom: 20px;
}

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

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

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

.step {
  text-align: center;
}

.step h3 {
  margin: 15px 0 10px;
  font-size: 1.2rem;
}

.step p {
  color: var(--gray);
}

/* Content Sections */
.content-section {
  background: white;
}

.content-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
}

.content-section p {
  max-width: 800px;
  margin: 0 auto 15px;
  color: var(--gray);
  line-height: 1.8;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 30px; }

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

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

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

.footer-col p {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col 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.5);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.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, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  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;
}

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

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

  .hero-content h1 {
    font-size: 2rem;
  }

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

/* Utility */
.text-center { text-align: center; }
.text-gray { color: var(--gray); }
.text-success { color: var(--success); }
.text-primary { color: var(--primary); }
.mt-2 { margin-top: 15px; }
.mt-4 { margin-top: 30px; }
.mb-2 { margin-bottom: 15px; }
.mb-4 { margin-bottom: 30px; }
.m-auto { margin-left: auto; margin-right: auto; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.max-w-900 { max-width: 900px; }
.p-30 { padding: 30px; }
.bg-white { background: white; }
.bg-light { background: var(--light); }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }
.gap-15 { gap: 15px; }
.gap-30 { gap: 30px; }
.leading-relaxed { line-height: 1.8; }
.step-number {
  background: var(--gradient);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  font-weight: bold;
}
.card {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}
.card.text-left { text-align: left; }
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg {
  width: 60px;
  height: 60px;
  stroke: var(--primary);
}
.card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.card p {
  color: var(--gray);
  line-height: 1.7;
}
.card ul, .card ol {
  margin: 20px 0;
  padding-left: 30px;
  color: var(--gray);
  line-height: 1.8;
}
.btn-block { width: 100%; }
.cta-box {
  background: var(--primary);
  color: white;
  border-radius: 12px;
  text-align: center;
  padding: 30px;
  margin-top: 60px;
}
.cta-box.dark {
  background: var(--dark);
  color: white;
}
.cta-box h2 {
  color: white;
  margin-bottom: 15px;
}
.cta-box p {
  color: white;
  margin-bottom: 20px;
}
/* Additional utilities */
.my-20 { margin-top: 20px; margin-bottom: 20px; }
.mt-5 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }

/* Additional utility classes */
.text-left { text-align: left; }

.info-box {
  background: var(--light);
  padding: 30px;
  border-radius: var(--radius);
  margin-top: 30px;
  border-left: 4px solid var(--primary);
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 20px;
}
.back-link:hover {
  text-decoration: underline;
}

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

.related-posts {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}
.related-posts h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}
.related-posts ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related-posts a {
  color: var(--primary);
  text-decoration: none;
}
.related-posts a:hover {
  text-decoration: underline;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}
.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray);
  margin: 0 0 15px;
  font-style: italic;
}
.testimonial-author {
  text-align: right;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

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

.blog-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.blog-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.blog-card-content h3 a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-content h3 a:hover {
  color: var(--primary);
}

.blog-card-content p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 15px;
  flex: 1;
}

.blog-card-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
}

.blog-card-content a:hover {
  text-decoration: underline;
}
