/* ============================================
   EmailGenerator.org - Edu Page Styles
   ============================================ */

:root {
  --eg-edu-primary:    #2563eb;
  --eg-edu-primary-dk: #1d4ed8;
  --eg-edu-accent:     #3b82f6;
  --eg-edu-text:       #1e293b;
  --eg-edu-muted:      #64748b;
  --eg-edu-border:     #e2e8f0;
  --eg-edu-bg-soft:    #f8fafc;
  --eg-edu-bg-blue:    #eff6ff;
  --eg-edu-amber:      #f59e0b;
  --eg-edu-radius:     12px;
  --eg-edu-shadow:     0 2px 16px rgba(37, 99, 235, 0.10);
}

.eg-edu-section { padding: 60px 0 40px; background: #fff; }

.eg-edu-intro { max-width: 780px; margin: 0 auto 50px; text-align: center; }
.eg-edu-intro h2 { font-size: 1.9rem; font-weight: 700; color: var(--eg-edu-text); margin-bottom: 16px; line-height: 1.3; }
.eg-edu-intro p { font-size: 1.05rem; color: var(--eg-edu-muted); line-height: 1.75; margin: 0; }

.eg-edu-pill {
  display: inline-block; background: var(--eg-edu-bg-blue); color: var(--eg-edu-primary);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 50px; margin-bottom: 14px; border: 1px solid #bfdbfe;
}

.eg-edu-how { background: var(--eg-edu-bg-blue); border-radius: var(--eg-edu-radius); padding: 40px 36px; margin-bottom: 56px; }
.eg-edu-how h2 { font-size: 1.55rem; font-weight: 700; color: var(--eg-edu-text); margin-bottom: 28px; text-align: center; }
.eg-edu-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.eg-edu-step { text-align: center; padding: 20px 16px; }
.eg-edu-step-num {
  width: 44px; height: 44px; background: var(--eg-edu-primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; margin: 0 auto 14px;
}
.eg-edu-step h3 { font-size: 0.97rem; font-weight: 700; color: var(--eg-edu-text); margin-bottom: 8px; }
.eg-edu-step p { font-size: 0.88rem; color: var(--eg-edu-muted); line-height: 1.6; margin: 0; }

.eg-edu-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 56px; }
.eg-edu-card {
  background: var(--eg-edu-bg-soft); border: 1px solid var(--eg-edu-border);
  border-radius: var(--eg-edu-radius); padding: 28px 24px;
  transition: box-shadow 0.22s ease, transform 0.22s ease; position: relative; overflow: hidden;
}
.eg-edu-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--eg-edu-primary), var(--eg-edu-accent));
  opacity: 0; transition: opacity 0.22s ease;
}
.eg-edu-card:hover { box-shadow: var(--eg-edu-shadow); transform: translateY(-3px); }
.eg-edu-card:hover::before { opacity: 1; }
.eg-edu-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.eg-edu-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--eg-edu-text); margin-bottom: 10px; }
.eg-edu-card p { font-size: 0.93rem; color: var(--eg-edu-muted); line-height: 1.65; margin: 0; }

.eg-edu-uses { margin-bottom: 56px; }
.eg-edu-uses h2 { font-size: 1.55rem; font-weight: 700; color: var(--eg-edu-text); margin-bottom: 20px; text-align: center; }
.eg-edu-use-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.eg-edu-use-list li {
  background: #fff; border: 1px solid var(--eg-edu-border); border-radius: var(--eg-edu-radius);
  padding: 16px 18px; display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: var(--eg-edu-text); line-height: 1.5;
}
.eg-edu-use-list li .eg-edu-use-icon { flex-shrink: 0; font-size: 1.25rem; margin-top: 1px; }

.eg-edu-notice {
  background: #fffbeb; border-left: 4px solid var(--eg-edu-amber);
  border-radius: 0 var(--eg-edu-radius) var(--eg-edu-radius) 0;
  padding: 28px 30px; margin-bottom: 56px;
}
.eg-edu-notice h3 { font-size: 1.15rem; font-weight: 700; color: #78350f; margin: 0 0 14px; }
.eg-edu-notice p { font-size: 0.95rem; color: #78350f; line-height: 1.7; margin: 0 0 12px; }
.eg-edu-notice p:last-child { margin-bottom: 0; }
.eg-edu-notice strong { color: #78350f; font-weight: 700; }

.eg-edu-faq { margin-bottom: 56px; }
.eg-edu-faq h2 { font-size: 1.55rem; font-weight: 700; color: var(--eg-edu-text); margin-bottom: 24px; text-align: center; }
.eg-edu-faq-item { border: 1px solid var(--eg-edu-border); border-radius: var(--eg-edu-radius); margin-bottom: 10px; overflow: hidden; background: #fff; }
.eg-edu-faq-q {
  width: 100%; background: none; border: none; padding: 20px 24px; text-align: left;
  font-size: 0.97rem; font-weight: 600; color: var(--eg-edu-text); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background 0.18s;
}
.eg-edu-faq-q:hover { background: var(--eg-edu-bg-soft); }
.eg-edu-faq-q.active { background: var(--eg-edu-bg-blue); color: var(--eg-edu-primary); }
.eg-edu-chev { font-size: 1.1rem; flex-shrink: 0; transition: transform 0.25s ease; }
.eg-edu-faq-q.active .eg-edu-chev { transform: rotate(180deg); }
.eg-edu-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s ease; padding: 0 24px; }
.eg-edu-faq-a.open { max-height: 500px; padding: 0 24px 20px; }
.eg-edu-faq-a p { font-size: 0.93rem; color: var(--eg-edu-muted); line-height: 1.7; margin: 0; padding-top: 12px; border-top: 1px solid var(--eg-edu-border); }

.eg-edu-cta-banner {
  background: linear-gradient(135deg, var(--eg-edu-primary) 0%, var(--eg-edu-accent) 100%);
  border-radius: var(--eg-edu-radius); padding: 40px 32px; text-align: center;
  margin-bottom: 16px; color: #fff;
}
.eg-edu-cta-banner h2 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.eg-edu-cta-banner p { font-size: 0.97rem; color: rgba(255,255,255,0.88); margin-bottom: 24px; }
.eg-edu-cta-btn {
  display: inline-block; background: #fff; color: var(--eg-edu-primary);
  font-weight: 700; font-size: 1rem; padding: 14px 36px; border-radius: 8px;
  text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.eg-edu-cta-btn:hover { color: var(--eg-edu-primary-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); text-decoration: none; }

@media (max-width: 768px) {
  .eg-edu-intro h2 { font-size: 1.5rem; }
  .eg-edu-how { padding: 28px 20px; }
  .eg-edu-notice { padding: 22px 20px; }
  .eg-edu-cta-banner { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .eg-edu-card { padding: 22px 18px; }
}