/* ============================================
   1TimeEmail.com – SEO Content Styles
   File: public/css/seo-content.css
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --ote-primary:    #2563eb;
  --ote-primary-dk: #1d4ed8;
  --ote-accent:     #0ea5e9;
  --ote-green:      #16a34a;
  --ote-text:       #1e293b;
  --ote-muted:      #64748b;
  --ote-border:     #e2e8f0;
  --ote-bg-soft:    #f8fafc;
  --ote-bg-blue:    #eff6ff;
  --ote-radius:     12px;
  --ote-shadow:     0 2px 16px rgba(37,99,235,0.08);
}

/* ---------- SEO Content Section ---------- */
.ote-seo-section {
  padding: 60px 0 40px;
  background: #fff;
}

/* ---------- Section Intro ---------- */
.ote-section-intro {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.ote-section-intro h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ote-text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.ote-section-intro p {
  font-size: 1.05rem;
  color: var(--ote-muted);
  line-height: 1.75;
  margin: 0;
}

/* ---------- Keyword Pill ---------- */
.ote-kw-pill {
  display: inline-block;
  background: var(--ote-bg-blue);
  color: var(--ote-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;
}

/* ---------- Benefits Grid ---------- */
.ote-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.ote-benefit-card {
  background: var(--ote-bg-soft);
  border: 1px solid var(--ote-border);
  border-radius: var(--ote-radius);
  padding: 28px 24px;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  position: relative;
  overflow: hidden;
}

.ote-benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ote-primary), var(--ote-accent));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.ote-benefit-card:hover {
  box-shadow: var(--ote-shadow);
  transform: translateY(-3px);
}

.ote-benefit-card:hover::before {
  opacity: 1;
}

.ote-benefit-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.ote-benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ote-text);
  margin-bottom: 10px;
}

.ote-benefit-card p {
  font-size: 0.93rem;
  color: var(--ote-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---------- How It Works ---------- */
.ote-how-section {
  background: var(--ote-bg-blue);
  border-radius: var(--ote-radius);
  padding: 40px 36px;
  margin-bottom: 56px;
}

.ote-how-section h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ote-text);
  margin-bottom: 28px;
  text-align: center;
}

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

.ote-step {
  text-align: center;
  padding: 20px 16px;
}

.ote-step-num {
  width: 44px;
  height: 44px;
  background: var(--ote-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;
}

.ote-step h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ote-text);
  margin-bottom: 8px;
}

.ote-step p {
  font-size: 0.88rem;
  color: var(--ote-muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Use Cases ---------- */
.ote-use-cases {
  margin-bottom: 56px;
}

.ote-use-cases h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ote-text);
  margin-bottom: 20px;
  text-align: center;
}

.ote-use-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ote-use-list li {
  background: #fff;
  border: 1px solid var(--ote-border);
  border-radius: var(--ote-radius);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--ote-text);
  line-height: 1.5;
}

.ote-use-list li .ote-use-icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  margin-top: 1px;
}

/* ---------- FAQ Section ---------- */
.ote-faq-section {
  margin-bottom: 56px;
}

.ote-faq-section h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ote-text);
  margin-bottom: 24px;
  text-align: center;
}

.ote-faq-item {
  border: 1px solid var(--ote-border);
  border-radius: var(--ote-radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}

.ote-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ote-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.18s;
}

.ote-faq-question:hover {
  background: var(--ote-bg-soft);
}

.ote-faq-question.active {
  background: var(--ote-bg-blue);
  color: var(--ote-primary);
}

.ote-faq-chevron {
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.ote-faq-question.active .ote-faq-chevron {
  transform: rotate(180deg);
}

.ote-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 24px;
}

.ote-faq-answer.open {
  max-height: 400px;
  padding: 0 24px 20px;
}

.ote-faq-answer p {
  font-size: 0.93rem;
  color: var(--ote-muted);
  line-height: 1.7;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--ote-border);
}

/* ---------- Stats Bar ---------- */
.ote-stats-bar {
  background: linear-gradient(135deg, var(--ote-primary) 0%, var(--ote-accent) 100%);
  border-radius: var(--ote-radius);
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  text-align: center;
  margin-bottom: 56px;
}

.ote-stat-item {
  color: #fff;
}

.ote-stat-num {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.ote-stat-label {
  font-size: 0.85rem;
  opacity: 0.88;
  font-weight: 500;
}

/* ---------- CTA Banner ---------- */
.ote-cta-banner {
  background: var(--ote-bg-soft);
  border: 1px solid var(--ote-border);
  border-radius: var(--ote-radius);
  padding: 40px 32px;
  text-align: center;
  margin-bottom: 16px;
}

.ote-cta-banner h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ote-text);
  margin-bottom: 12px;
}

.ote-cta-banner p {
  font-size: 0.97rem;
  color: var(--ote-muted);
  margin-bottom: 24px;
}

.ote-cta-btn {
  display: inline-block;
  background: var(--ote-primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ote-cta-btn:hover {
  background: var(--ote-primary-dk);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .ote-section-intro h2 {
    font-size: 1.5rem;
  }

  .ote-how-section {
    padding: 28px 20px;
  }

  .ote-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .ote-cta-banner {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .ote-stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .ote-benefit-card {
    padding: 22px 18px;
  }
}