/* ==========================================================================
   Extension Page Styles (Consistent with ssstktok design system)
   ========================================================================== */

.ext-page-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.ext-hero-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 44px 28px;
  text-align: center;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.ext-hero-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0284c7 0%, #00d4ff 100%);
}

.ext-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: #0284c7;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ext-h1 {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.ext-h1 span {
  background: linear-gradient(135deg, #0284c7 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ext-lead {
  font-size: 16px;
  color: #64748b;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 4 Browser Grid */
.ext-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-bottom: 50px;
}

.ext-store-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 22px 24px;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ext-store-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 16px 30px -6px rgba(2, 132, 199, 0.15);
}

.ext-store-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
}

.ext-store-icon svg {
  width: 100%;
  height: 100%;
}

.ext-store-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.ext-store-info {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 22px;
  flex-grow: 1;
}

.ext-store-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ext-btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #0284c7 0%, #00d4ff 100%);
  color: #ffffff;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  box-sizing: border-box;
}

.ext-btn-main:hover {
  opacity: 0.95;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  color: #ffffff;
}

.ext-btn-zip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ext-btn-zip:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

/* Features Block */
.ext-features-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 38px 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.ext-section-heading {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin-bottom: 30px;
}

.ext-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.ext-feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.ext-feature-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ext-feature-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ext-feature-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.ext-feature-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Steps Block */
.ext-steps-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 38px 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.ext-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.ext-step-card {
  text-align: center;
  padding: 24px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.ext-step-circle {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0284c7 0%, #00d4ff 100%);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}

.ext-step-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.ext-step-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* FAQ Block */
.ext-faq-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 38px 30px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.ext-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.ext-faq-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
}

.ext-faq-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.ext-faq-box p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Deep Content Articles Grid */
.ext-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ext-article-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px;
  box-sizing: border-box;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .ext-page-wrapper {
    padding: 20px 12px 44px;
  }
  .ext-hero-box,
  .ext-features-wrap,
  .ext-steps-wrap,
  .ext-faq-wrap {
    padding: 24px 16px !important;
    border-radius: 16px;
    margin-bottom: 24px;
  }
  .ext-h1 {
    font-size: 24px;
  }
  .ext-section-heading {
    font-size: 21px;
    line-height: 1.35;
    margin-bottom: 20px;
  }
  .ext-store-grid,
  .ext-features-grid,
  .ext-steps-grid,
  .ext-articles-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .ext-feature-card,
  .ext-article-card,
  .ext-faq-box {
    padding: 16px !important;
  }
}
