/* ========================================
   MetaDNS Service Page
   ======================================== */

.dns-page { padding-top: 120px; padding-bottom: 80px; }

/* Hero banner */
.dns-hero { text-align: center; margin-bottom: 80px; position: relative; }
.dns-hero::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,107,43,0.15) 0%, transparent 70%); pointer-events: none; }
.dns-hero-img { width: 200px; height: 200px; margin: 0 auto 32px; }
.dns-hero-img img { width: 100%; height: 100%; object-fit: contain; }
.dns-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; }
.dns-hero p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.9; max-width: 600px; margin: 0 auto 32px; }

/* Features grid */
.dns-features { margin-bottom: 80px; }
.dns-features-title { text-align: center; font-size: 1.6rem; font-weight: 900; margin-bottom: 48px; }
.dns-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dns-feature-card { background: #111111; border: 1px solid rgba(255,255,255,0.07); border-radius: 20px; padding: 36px 28px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden; }
.dns-feature-card::before { content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: 0; transition: opacity 0.3s ease; }
.dns-feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.dns-feature-card:hover::before { opacity: 0.7; }
.dns-feature-icon { font-size: 2.5rem; margin-bottom: 20px; }
.dns-feature-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.dns-feature-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.8; }

/* Pricing */
.dns-pricing { margin-bottom: 80px; }
.dns-pricing-title { text-align: center; font-size: 1.6rem; font-weight: 900; margin-bottom: 16px; }
.dns-pricing-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 48px; font-size: 0.95rem; }
.dns-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1000px; margin: 0 auto; }

.dns-plan { background: #111111; border: 1px solid rgba(255,255,255,0.07); border-radius: 24px; padding: 40px 32px; text-align: center; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.dns-plan:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.dns-plan.popular { border-color: var(--primary); box-shadow: 0 0 20px rgba(255,107,43,0.1); }
.dns-plan.popular::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary); border-radius: 24px 24px 0 0; }
.dns-plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 5px 20px; border-radius: 50px; box-shadow: 0 4px 12px rgba(255,107,43,0.3); }
.dns-plan-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.dns-plan-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 24px; }
.dns-plan-price { font-size: 2.8rem; font-weight: 900; color: var(--primary); font-family: var(--font-en); margin-bottom: 4px; }
.dns-plan-price span { font-size: 0.9rem; color: var(--text-secondary); font-weight: 400; }
.dns-plan-period { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 28px; }
.dns-plan-features { list-style: none; padding: 0; margin-bottom: 32px; text-align: right; }
.dns-plan-features li { font-size: 0.88rem; color: var(--text-secondary); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; gap: 10px; }
.dns-plan-features li::before { content: '\2713'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.dns-plan-btn { display: block; width: 100%; padding: 14px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; font-family: var(--font-fa); cursor: pointer; transition: all 0.3s ease; text-align: center; text-decoration: none; }
.dns-plan-btn.primary { background: var(--primary); color: #fff; border: none; }
.dns-plan-btn.primary:hover { background: #e55a1f; box-shadow: 0 8px 24px rgba(255,107,43,0.3); }
.dns-plan-btn.outline { background: transparent; color: var(--text); border: 2px solid var(--border); }
.dns-plan-btn.outline:hover { border-color: var(--primary); color: var(--primary); }

/* How it works */
.dns-how { margin-bottom: 80px; }
.dns-how-title { text-align: center; font-size: 1.6rem; font-weight: 900; margin-bottom: 48px; }
.dns-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.dns-step { text-align: center; position: relative; }
.dns-step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-en); font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 4px 16px rgba(255,107,43,0.3); }
.dns-step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.dns-step p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.7; }

/* FAQ section */
.dns-faq { max-width: 700px; margin: 0 auto; }
.dns-faq-title { text-align: center; font-size: 1.6rem; font-weight: 900; margin-bottom: 32px; }

/* Responsive */
@media (max-width: 1024px) {
  .dns-features-grid { grid-template-columns: repeat(2, 1fr); }
  .dns-pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .dns-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .dns-features-grid { grid-template-columns: 1fr; }
  .dns-steps { grid-template-columns: 1fr; }
}
