
/* ============================================
  Hero Section
============================================ */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 64px;
  padding: 50px 30px;
  background: var(--db-light);
  border-radius: 8px;
  position: relative; overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.hero-text-container{
  order: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1;
  margin-top: 50px;
}

.hero-image-container{
  order: 1;
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--db-low);
  animation: In_Out_highlight 2s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes In_Out_highlight {

	from {
		box-shadow: var(--db-high, #e93bc3) 0 0 0 0;
	}

	to {
		box-shadow: var(--db-high, #e93bc3) 0 0 8px 2px;
	}
}

.hero-image-container img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.hero::before {
  content: '';
  position: absolute; 
  top: 0;
  right: 0;
  width: 340px; 
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, var(--db-low) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-eyebrow {
  font-size: clamp(0.75rem, 0.625rem + 0.25vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 2px; 
  text-transform: uppercase;
  color: var(--db-high); 
  margin-bottom: 20px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 0.75rem + 2.5vw, 2.625rem);
  line-height: 1.4;
  color: var(--db-dark); 
  letter-spacing: -1px; 
  margin-bottom: 20px;
  text-align: center;
}

.hero h1 em {
  font-style: normal; 
  color: var(--db-primary); 
}

.hero p { 
  font-size: 16px; 
  max-width: 520px; 
  line-height: 1.7; 
  margin-bottom: 30px; 
  text-align: center;
}

.hero-chips { 
  display: flex; 
  gap: 10px; 
  flex-wrap: wrap; 
  justify-content: center;
}

.chip {
  font-size: 12px; font-weight: 500;
  padding: 5px 14px; border-radius: 20px;
  border: 1px solid 20px;
  color: var(--db-dark); 
  background: var(--db-low);
}

.chip.primary { 
  background: var(--db-primary); 
  border-color: var(--db-primary); 
  color: var(--db-light); 
}

@media (min-width: 900px) {
 
}

@media (min-width: 1150px) {
  .hero { 
    flex-direction: row;
    justify-content: space-between;
    padding: 50px 30px; 
  }

  .hero-text-container{
    order: 1;
    margin: 0;
  }

  .hero-image-container{
    order: 2;
    width: 500px;
  }

  .hero-eyebrow {
    text-align: start;
  }

  .hero h1 { 
    text-align: start;
  }

  .hero p { 
    text-align: start;
  }
}


/* ============================================
  Doc Section
============================================ */

.doc-section { 
  background-color: var(--db-light);
  padding: 30px 20px;
  border-radius: 10px;
  margin-bottom: 72px; 
  animation: fadeUp 0.4s ease both; 
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-header {
  display: flex; 
  align-items: center; 
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--db-dark), var(--db-light) 90%);
}

.section-icon {
  width: 40px; 
  height: 40px;
  font-size: 25px;
  border-radius: 10px;
  background: var(--db-low);
  flex-shrink: 0;
  text-align: center;
  align-content: center;
  color: var(--db-primary);
}

.section-header h2 {
  font-size: clamp(1.375rem, 1rem + 0.75vw, 1.5625rem);
  color: var(--db-dark);
  letter-spacing: -0.5px;
  margin-bottom: 0;
}

.section-num {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--db-dark);
}

.steps { 
  display: flex; 
  flex-direction: column; 
  gap: 0; 
}

.step {
  display: flex; 
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--db-low);
}

.step:last-child { 
  border-bottom: none; 
}

.step-num {
  width: 32px; 
  height: 32px;
  border-radius: 50%;
  background: var(--db-secondary);
  color: var(--db-light);
  font-size: 13px; 
  font-weight: 700;
  display: flex;
  align-items: center; 
  justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}

.step-content{
 align-content: center;
}

.step-content h4 { 
  font-size: 15px; 
  font-weight: 600; 
  color: var(--db-dark); 
  margin-bottom: 4px; 
}

.step-content p { 
  margin: 0; 
  font-size: 14px; 
}

.card-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 16px; 
  margin-bottom: 16px; 
}

.card {
  background: var(--db-light);
  border: 1px solid color-mix(in srgb, var(--db-primary), var(--db-light) 50%);
  border-radius: 10px;
  padding: 20px 22px;
  text-decoration: none;
  color: var(--db-dark);
}

.card:hover { 
  background: var(--db-low);
  border-color:transparent; 
}

.card-icon { 
  font-size: 22px; 
  margin-bottom: 10px; 
  color: var(--db-primary);
}

.card h4 { 
  font-size: 14.5px; 
  font-weight: 600; 
  color: var(--db-dark); 
  margin-bottom: 6px;
}

.card p { 
  font-size: 13.5px;
  margin: 0; 
  color: var(--db-dark); 
}

@media (max-width: 600px) { 
  .card-grid { 
    grid-template-columns: 1fr; 
  } 
}

@media (min-width: 600px) { 

  .doc-section { 
    padding: 40px 30px;
  }

  .step{
    flex-direction: row;
  }
}

/* ============================================
  Doc Table Section
============================================ */

.doc-table { 
  width: 100%; 
  border-collapse: collapse; 
  margin: 16px 0 24px; 
  font-size: 14px; 
}

.doc-table th {
  text-align: left; 
  background: var(--db-primary);
  padding: 8px;
  font-size: clamp(0.5rem, 0.25rem + 0.5vw, 0.625rem);
  font-weight: 600;
  text-transform: uppercase; 
  letter-spacing: 0.8px;
  color: var(--db-light); 
  border-bottom: 1px solid color-mix(in srgb, var(--db-primary), var(--db-light) 50%);
}

.doc-table td { 
  padding: 8px; 
  border: 1px solid color-mix(in srgb, var(--db-primary), var(--db-light) 50%); 
  color: var(--db-dark); 
  vertical-align: top; 
}

.doc-table td strong { 
  color: var(--db-dark); 
}

/* .doc-table tr:last-child td {
  border-bottom: none; 
} */

.doc-table tr:hover td { 
  background: var(--db-low); 
}

/* ============================================
  Callouts Section
============================================ */

.callout {
  display: flex; 
  gap: 14px; 
  align-items: center;
  padding: 16px 20px;
  border-radius:10px;
  margin: 20px 0; 
  font-size: 14px;
}

.callout.tip  { 
  background: var(--db-low); 
  border-left: 3px solid var(--db-primary); 
}

.callout.note { 
  background: var(--db-low); 
  border-left: 3px solid var(--db-high); 
}

.callout.warn {
  background: var(--db-low); 
  border-left: 3px solid var(--db-dark); 
}

.callout-icon { 
  font-size: 17px; 
  flex-shrink: 0; 
  margin-top: 1px; 
  color: var(--db-primary);
}

.callout p { 
  margin: 0; 
  color: var(--db-dark); 
}

/* ============================================
  code Section
============================================ */
code {
  font-size: 13px;
  background: var(--db-low);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--db-high);
  border: 1px solid 10px;
}

/* ============================================
  Tags Section
============================================ */
.tag-list {
  display: flex; 
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0; 
}

.tag {
  font-size: 12.5px; 
  padding: 4px 14px;
  border-radius: 20px;
  background: var(--db-light); 
  border: 1px solid 10px;
  color: var(--db-dark); 
  font-weight: 500;
}

.tag.gold { 
  background: var(--db-light); 
  border-color: #d4a85a; 
  color: #7a5a10; 
}


/* ============================================
  Plugin row Section
============================================ */
.plugin-row {
  display: flex; 
  align-items: center; 
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface); 
  border: 1px solid var(--border);
  border-radius: var(--radius); 
  margin-bottom: 10px;
  transition: box-shadow var(--transition);
}

.plugin-row:hover { 
  box-shadow: 0 3px 14px rgba(0,0,0,0.05); 
}

.plugin-icon {
  width: 44px; 
  height: 44px;
  border-radius: var(--radius);
  background: var(--surface-alt);
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 22px; 
  flex-shrink: 0;
}

.plugin-info h4 { 
  font-size: 14.5px; 
  font-weight: 600; 
  color: var(--text);
  margin-bottom: 3px; 
}

.plugin-info p { 
  font-size: 13px; 
  margin: 0; 
}

.plugin-badge {
  margin-left: auto;
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
  background: var(--green-light); color: #2e7d32;
  border: 1px solid #c8e6c9; white-space: nowrap;
}

/* ============================================
  Screenshot Section
============================================ */
.screenshot {
  margin: 24px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--db-low);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.screenshot img {
  width: 100%; height: auto;
  display: block;
}
.screenshot-caption {
  background: var(--db-light);
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--db-dark);
  display: flex; align-items: center; gap: 8px;
}
.screenshot-caption::before { content: '📸'; font-size: 13px; }

.screenshot-placeholder {
  margin: 24px 0;
  border-radius: 10px;
  border: 2px dashed var(--db-low);
  padding: 40px 24px;
  text-align: center;
  background: var(--db-low);
}
.screenshot-placeholder .ph-icon { 
  font-size: 32px; 
  margin-bottom: 10px; 
}
.screenshot-placeholder p { 
  font-size: 13px; 
  color: var(--db-dark); 
  margin: 0; 
}
.screenshot-placeholder code { 
  font-size: 12px; 
}

