/* How to Use Page Styles
******************************************************************************* */

/* Hero Section */
.how-to-use-hero {
  background: linear-gradient(135deg, #25D366 0%, #1DA955 100%);
  padding: 7rem 0 5rem 0;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.how-to-use-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.how-to-use-hero .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}

/* Sidebar Navigation */
.guide-sidebar {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.sidebar-header {
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.guide-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.guide-nav-item {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  color: #8F9BB3;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.guide-nav-item:hover {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
  transform: translateX(5px);
}

.guide-nav-item.active {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.3);
  font-weight: 600;
}

.guide-nav-item i {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

/* Guide Cards */
.guide-section {
  scroll-margin-top: 100px;
}

.guide-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.guide-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.guide-card-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 2rem;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.guide-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.guide-title {
  font-size: 2rem;
  font-weight: 800;
  color: #222B45;
  margin: 0;
  font-family: 'Outfit', sans-serif;
}

.guide-card-body {
  padding: 2.5rem;
}

/* Step Items */
.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #25D366 0%, #1DA955 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222B45;
  margin-bottom: 0.75rem;
  font-family: 'Outfit', sans-serif;
}

.step-text {
  color: #8F9BB3;
  line-height: 1.7;
  margin: 0;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #8F9BB3;
  line-height: 1.7;
}

.step-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #25D366;
  font-weight: 700;
}

.step-list-numbered {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step-counter;
}

.step-list-numbered li {
  padding: 0.75rem 0;
  padding-left: 2.5rem;
  position: relative;
  color: #8F9BB3;
  line-height: 1.7;
  counter-increment: step-counter;
}

.step-list-numbered li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

/* Feature Boxes */
.feature-box {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.feature-box-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #222B45;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #8F9BB3;
  line-height: 1.7;
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #25D366;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}

/* Alert Modern */
.alert-modern {
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid;
}

.alert-warning-modern {
  background: rgba(255, 179, 0, 0.1);
  border-color: #FFB300;
  color: #856404;
}

.alert-warning-modern i {
  font-size: 1.5rem;
  color: #FFB300;
}

/* Message Type Cards */
.message-type-card {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.message-type-card:hover {
  border-color: #25D366;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.15);
}

.message-type-card i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.message-type-card strong {
  display: block;
  color: #222B45;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Automation Cards */
.automation-card {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.automation-card:hover {
  border-color: #25D366;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.15);
}

.automation-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.automation-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #222B45;
  margin-bottom: 0.75rem;
}

.automation-text {
  color: #8F9BB3;
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

/* Practice Cards */
.practice-card {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.practice-card:hover {
  border-color: #25D366;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.15);
}

.practice-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.practice-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #222B45;
  margin-bottom: 1rem;
}

.practice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.practice-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #8F9BB3;
  line-height: 1.7;
  font-size: 0.9rem;
}

.practice-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #25D366;
  font-weight: 700;
}

/* CTA Section */
.guide-cta {
  background: linear-gradient(135deg, #25D366 0%, #1DA955 100%);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.guide-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.guide-cta-content {
  position: relative;
  z-index: 2;
}

.guide-cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  backdrop-filter: blur(10px);
}

.guide-cta-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: 'Outfit', sans-serif;
}

.guide-cta-text {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 991.98px) {
  .guide-sidebar {
    margin-bottom: 2rem;
  }
  
  .guide-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .guide-nav-item {
    flex: 1;
    min-width: calc(50% - 0.25rem);
    justify-content: center;
  }
  
  .guide-card-header {
    flex-direction: column;
    text-align: center;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 1rem;
  }
}

@media (max-width: 575.98px) {
  .how-to-use-hero {
    padding: 5rem 0 3rem 0;
    margin-top: 70px;
  }
  
  .guide-card-body {
    padding: 1.5rem;
  }
  
  .guide-title {
    font-size: 1.5rem;
  }
}

