/* =====================
   SHARED SECTION STYLES
===================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-pale);
  border: 1px solid var(--green-muted);
  color: var(--green-darker);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 560px;
}

.section-head {
  margin-bottom: 56px;
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-subtitle {
  margin: 0 auto;
}

/* =====================
   TOOLS SECTION
===================== */
.tools-section {
  background: var(--bg);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tool-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-pale), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.tool-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--green-pale);
  border: 1.5px solid var(--green-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
}

.tool-card:hover .tool-icon-wrap {
  background: var(--green);
  border-color: var(--green);
}

.tool-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.tool-desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.tool-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  transition: gap 0.2s;
}

.tool-card:hover .tool-link {
  gap: 10px;
}

/* =====================
   HOW IT WORKS SECTION
===================== */
.how-section {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-muted), var(--green));
}

.step {
  padding: 0 24px;
  text-align: center;
}

.step-num {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 3px solid var(--green);
  position: relative;
  z-index: 1;
}

.step-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
}

/* =====================
   FILES SECTION
===================== */
.files-section {
  background: var(--bg);
}

.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.file-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}

.file-card:hover {
  border-color: var(--green);
  background: var(--green-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.file-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--green-pale);
  border: 1px solid var(--green-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.2s;
}

.file-card:hover .file-icon {
  background: var(--green);
  border-color: var(--green);
}

.file-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.file-desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}

.file-tag {
  font-size: 11px;
  font-weight: 700;
  background: var(--green-pale);
  color: var(--green-darker);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--green-muted);
}

/* =====================
   CTA SECTION
===================== */
.cta-section {
  background: var(--dark);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.15) 0%, transparent 65%);
  top: -200px; right: -100px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-inner h2 span {
  color: var(--green);
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 17px;
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .tools-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
}

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

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