/* MS SEO Pro — Widgets CSS */

/* ── Auth Forms ── */
.ms-auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    font-family: 'Cairo', 'Segoe UI', sans-serif;
    direction: rtl;
}
.ms-auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
    width: 100%;
    max-width: 440px;
    padding: 40px;
}
.ms-auth-logo { text-align: center; margin-bottom: 28px; }
.ms-auth-logo h2 { font-size: 22px; font-weight: 800; color: #2563eb; margin: 0; }
.ms-auth-logo p  { color: #64748b; font-size: 13px; margin-top: 6px; }
.ms-form-group { margin-bottom: 14px; }
.ms-label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; color: #334155; }
.ms-input {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px; font-size: 14px;
    background: #fff; box-sizing: border-box;
    font-family: inherit; transition: border-color .2s;
}
.ms-input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.ms-auth-btn {
    width: 100%; padding: 12px;
    background: #2563eb; color: #fff;
    border: none; border-radius: 8px;
    font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all .2s;
    font-family: inherit;
}
.ms-auth-btn:hover { background: #1d4ed8; transform: translateY(-1px); }
.ms-auth-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.ms-auth-link { text-align: center; font-size: 13px; color: #64748b; margin-top: 14px; }
.ms-auth-link a { color: #2563eb; font-weight: 600; text-decoration: none; }
.ms-alert { padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 12px; }
.ms-alert-s { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.ms-alert-e { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.ms-alert-i { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
/* alias */
.ms-als { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.ms-ale { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.ms-ali { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }

/* ── Hero Widget ── */
.msseo-ew-hero {
    background: linear-gradient(135deg, #1e3a8a, #2563eb, #3b82f6);
    color: #fff; padding: 90px 20px; text-align: center;
}
.msseo-ew-hero-inner { max-width: 720px; margin: 0 auto; }
.msseo-ew-hero-badge { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); padding: 6px 18px; border-radius: 99px; font-size: 13px; margin-bottom: 20px; }
.msseo-ew-hero h1 { font-size: clamp(30px,5vw,54px); font-weight: 900; line-height: 1.2; margin-bottom: 16px; color: #fff; }
.msseo-ew-hero h1 .hl { color: #93c5fd; }
.msseo-ew-hero p { font-size: 17px; opacity: .85; margin-bottom: 28px; line-height: 1.8; color: #fff; }
.msseo-ew-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.msseo-ew-hero-stats { display: flex; gap: 28px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.msseo-ew-hero-stat strong { display: block; font-size: 28px; font-weight: 800; color: #fff; }
.msseo-ew-hero-stat span { font-size: 12px; opacity: .7; color: #fff; }
.msseo-ew-stat-sep { width: 1px; background: rgba(255,255,255,.2); height: 36px; align-self: center; }

/* ── Buttons ── */
.msseo-ew-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none !important; transition: all .2s; cursor: pointer; border: none; font-family: inherit; }
.msseo-ew-btn:hover { transform: translateY(-1px); }
.msseo-ew-btn-white  { background: #fff; color: #2563eb !important; }
.msseo-ew-btn-ghost  { background: rgba(255,255,255,.15); color: #fff !important; border: 2px solid rgba(255,255,255,.4); }
.msseo-ew-btn-primary{ background: #2563eb; color: #fff !important; }
.msseo-ew-btn-outline{ background: transparent; color: #2563eb !important; border: 2px solid #2563eb; }
.msseo-ew-btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }

/* ── Section Title ── */
.msseo-ew-section-title { text-align: center; margin-bottom: 44px; }
.msseo-ew-section-title h2 { font-size: clamp(22px,4vw,36px); font-weight: 800; margin-bottom: 10px; }
.msseo-ew-section-title p  { color: #64748b; font-size: 15px; max-width: 500px; margin: 0 auto; }

/* ── Features ── */
.msseo-ew-features { padding: 80px 20px; }
.msseo-ew-features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 20px; }
.msseo-ew-feature-card { padding: 24px; border: 1.5px solid #e2e8f0; border-radius: 12px; transition: all .2s; background: #fff; }
.msseo-ew-feature-card:hover { border-color: #2563eb; box-shadow: 0 8px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.msseo-ew-feature-icon { font-size: 30px; margin-bottom: 12px; display: block; }
.msseo-ew-feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.msseo-ew-feature-card p  { font-size: 13px; color: #64748b; line-height: 1.7; margin: 0; }
.msseo-ew-premium-badge { font-size: 10px; background: #fef3c7; color: #92400e; padding: 2px 8px; border-radius: 99px; font-weight: 700; margin-right: 4px; }

/* ── Pricing ── */
.msseo-ew-pricing { background: #f8fafc; padding: 80px 20px; }
.msseo-ew-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.msseo-ew-price-card { background: #fff; border: 2px solid #e2e8f0; border-radius: 14px; padding: 28px; position: relative; transition: all .2s; }
.msseo-ew-price-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.msseo-ew-price-card.featured { border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37,99,235,.1); }
.msseo-ew-popular-tag { position: absolute; top: -12px; right: 50%; transform: translateX(50%); background: #2563eb; color: #fff; padding: 3px 16px; border-radius: 99px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.msseo-ew-price-name   { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.msseo-ew-price-amount { font-size: 36px; font-weight: 900; color: #2563eb; margin: 12px 0 4px; }
.msseo-ew-price-amount span { font-size: 14px; color: #64748b; font-weight: 400; }
.msseo-ew-price-features { list-style: none; padding: 0; margin: 14px 0 20px; }
.msseo-ew-price-features li { padding: 6px 0; font-size: 13px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; gap: 6px; }
.msseo-ew-price-features li:last-child { border: none; }

/* ── FAQ ── */
.msseo-ew-faq-section { padding: 72px 20px; }
.msseo-ew-faq-list { max-width: 780px; margin: 36px auto 0; }
.msseo-ew-faq-item { border: 1.5px solid #e2e8f0; border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.msseo-ew-faq-item.open { border-color: #2563eb; }
.msseo-ew-faq-q { padding: 16px 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 15px; user-select: none; }
.msseo-ew-faq-q:hover { background: #f8fafc; }
.msseo-ew-faq-arrow { transition: transform .2s; }
.msseo-ew-faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: all .3s; font-size: 14px; color: #64748b; line-height: 1.8; }
.msseo-ew-faq-item.open .msseo-ew-faq-a { padding: 0 20px 16px; max-height: 300px; }
.msseo-ew-faq-item.open .msseo-ew-faq-arrow { transform: rotate(180deg); }

/* ── Stats ── */
.msseo-ew-stats { background: #1e3a8a; padding: 56px 20px; }
.msseo-ew-stats-grid { display: grid; gap: 28px; text-align: center; max-width: 900px; margin: 0 auto; }
.msseo-ew-stat-icon   { font-size: 28px; margin-bottom: 10px; }
.msseo-ew-stat-number { font-size: 34px; font-weight: 900; color: #fff; }
.msseo-ew-stat-label  { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ── CTA ── */
.msseo-ew-cta { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; padding: 72px 20px; text-align: center; }
.msseo-ew-cta h2 { font-size: clamp(22px,4vw,36px); font-weight: 800; margin-bottom: 10px; color: #fff; }
.msseo-ew-cta p  { opacity: .85; font-size: 16px; margin-bottom: 24px; color: #fff; }

/* ── Testimonials ── */
.msseo-ew-testimonials { padding: 72px 20px; background: #f8fafc; }
.msseo-ew-testimonials-grid { display: grid; gap: 20px; }
.msseo-ew-testimonial-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,.1); border: 1px solid #e2e8f0; }
.msseo-ew-testimonial-rating { font-size: 16px; margin-bottom: 10px; }
.msseo-ew-testimonial-text   { font-size: 14px; color: #334155; line-height: 1.8; margin-bottom: 18px; font-style: italic; }
.msseo-ew-testimonial-author { display: flex; align-items: center; gap: 10px; }
.msseo-ew-testimonial-avatar { font-size: 28px; }
.msseo-ew-testimonial-name   { font-weight: 700; font-size: 14px; }
.msseo-ew-testimonial-role   { font-size: 12px; color: #64748b; }

.msseo-ew-container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ── Responsive ── */
@media(max-width:768px) {
    .msseo-ew-features-grid, .msseo-ew-pricing-grid, .msseo-ew-testimonials-grid { grid-template-columns: 1fr; }
    .msseo-ew-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .msseo-ew-hero { padding: 56px 16px; }
}
