.telegram-float{
position:fixed;
bottom:20px;
right:20px;
width:60px;
height:60px;
background:linear-gradient(135deg,#229ED9,#0f75bc);
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 10px 30px rgba(0,0,0,.25);
z-index:9999;
transition:.3s
}
.telegram-float:hover{
transform:scale(1.08);
box-shadow:0 15px 40px rgba(34,158,217,.45)
}
.telegram-float img{
width:32px;
height:32px
}


.telegram-float span{
position:absolute;
right:70px;
background:#229ED9;
color:#fff;
padding:6px 12px;
border-radius:20px;
font-size:13px;
white-space:nowrap;
opacity:0;
transition:.3s
}
.telegram-float:hover span{
opacity:1
}



.pricing-table{
display:flex;
gap:20px;
justify-content:center;
flex-wrap:wrap;
}

.pricing-card{
background:#fff;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.1);
padding:30px;
width:280px;
text-align:center;
transition:0.3s;
}

.pricing-card:hover{
transform:translateY(-10px);
}

.pricing-title{
font-size:22px;
font-weight:bold;
margin-bottom:10px;
}

.price{
font-size:30px;
color:#4CAF50;
margin:15px 0;
}

.pricing-features{
list-style:none;
padding:0;
margin:20px 0;
}

.pricing-features li{
padding:8px 0;
border-bottom:1px solid #eee;
}

.order-btn{
background:#4CAF50;
color:#fff;
padding:10px 25px;
border-radius:6px;
text-decoration:none;
display:inline-block;
}


.hosting-card{
  background:#fff;
  border-radius:12px;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
  padding:30px;
  width:320px;
  margin:20px auto;
  text-align:right;
  font-family:Arial, sans-serif;
  transition:0.3s;
}

.hosting-card:hover{
  transform:translateY(-10px);
}

.hosting-card h2{
  font-size:20px;
  margin-bottom:12px;
  color:#00aaff;
}

.hosting-card ul{
  list-style:none;
  padding:0;
  margin-bottom:20px;
}

.hosting-card ul li{
  padding:8px 0;
  border-bottom:1px solid #eee;
}

.order-btn{
  display:inline-block;
  background:#00aaff;
  color:#fff;
  padding:12px 25px;
  border-radius:6px;
  text-decoration:none;
  font-weight:bold;
  transition:0.3s;
}

.order-btn:hover{
  background:#008ecc;
}



/* استايل عصري وجميل لميزات الخطة */

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --border-radius: 24px;
    --box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.plan-features {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
}

/* خلفية متحركة */
.plan-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    animation: gradientMove 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* تنسيق العنوان */
.plan-features::after {
    content: '📋 ميزات الخطة';
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 3px dashed var(--primary-color);
}

/* تنسيق كل ميزة */
.plan-features br {
    display: none;
}

.plan-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

/* تحويل النص إلى عناصر منظمة */
.plan-features {
    counter-reset: feature-counter;
}

.plan-features br + br {
    display: block;
    content: '';
    margin: 0;
}

/* تنسيق كل بند */
.plan-features br {
    display: block;
    content: '';
    margin: 0;
}

.plan-features br:has(+ br) {
    display: none;
}

.plan-features br:not(:has(+ br)) {
    display: none;
}

/* استخراج النص وتنسيقه */
.plan-features {
    color: var(--text-secondary);
    line-height: 1.6;
}

.plan-features br + br {
    display: none;
}

/* تنسيق كل عنصر */
.plan-features br:first-of-type ~ br {
    display: none;
}

/* حل بديل باستخدام JavaScript - ولكن للـ CSS فقط سنقوم بتنسيق النص الموجود */
.plan-features {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* تنسيق كل سطر */
.plan-features {
    display: flex;
    flex-direction: column;
}

/* إعادة هيكلة المحتوى باستخدام CSS */
.plan-features {
    font-size: 0;
}

.plan-features br {
    display: block;
    content: '';
    margin: 0;
    font-size: 1rem;
}

.plan-features br::before {
    display: none;
}

/* تنسيق النص كبطاقات */
.plan-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    white-space: normal;
}

/* إضافة أيقونات للميزات */
.plan-features {
    counter-reset: feature;
}

.plan-features br:nth-of-type(1)::before,
.plan-features br:nth-of-type(2)::before,
.plan-features br:nth-of-type(3)::before,
.plan-features br:nth-of-type(4)::before,
.plan-features br:nth-of-type(5)::before,
.plan-features br:nth-of-type(6)::before,
.plan-features br:nth-of-type(7)::before,
.plan-features br:nth-of-type(8)::before,
.plan-features br:nth-of-type(9)::before,
.plan-features br:nth-of-type(10)::before,
.plan-features br:nth-of-type(11)::before,
.plan-features br:nth-of-type(12)::before,
.plan-features br:nth-of-type(13)::before,
.plan-features br:nth-of-type(14)::before,
.plan-features br:nth-of-type(15)::before {
    display: inline-block;
    width: 100%;
    padding: 1rem 1.2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    counter-increment: feature;
}

/* إضافة أيقونات مختلفة حسب نوع الميزة */
.plan-features br:nth-of-type(1)::before { content: "💾 " attr(data-content) "Disk Space Quota (MB): 15000"; }
.plan-features br:nth-of-type(2)::before { content: "📊 " attr(data-content) "Monthly Bandwidth Limit (MB): 400000"; }
.plan-features br:nth-of-type(3)::before { content: "👥 " attr(data-content) "Max FTP Accounts: 5"; }
.plan-features br:nth-of-type(4)::before { content: "📧 " attr(data-content) "Max Email Accounts: 5"; }
.plan-features br:nth-of-type(5)::before { content: "📋 " attr(data-content) "Max Mailing Lists: 1"; }
.plan-features br:nth-of-type(6)::before { content: "🗄️ " attr(data-content) "Max SQL Databases: 30"; }
.plan-features br:nth-of-type(7)::before { content: "🌐 " attr(data-content) "Max Sub Domains: 5"; }
.plan-features br:nth-of-type(8)::before { content: "🔗 " attr(data-content) "Max Parked Domains: 3"; }
.plan-features br:nth-of-type(9)::before { content: "➕ " attr(data-content) "Max Addon Domains: 1"; }
.plan-features br:nth-of-type(10)::before { content: "🚀 " attr(data-content) "Max Passenger Applications: 4"; }
.plan-features br:nth-of-type(11)::before { content: "⏰ " attr(data-content) "Maximum Hourly Email by Domain Relayed: 200"; }
.plan-features br:nth-of-type(12)::before { content: "📨 " attr(data-content) "Maximum percentage of failed or deferred messages per hour: 100%"; }
.plan-features br:nth-of-type(13)::before { content: "📎 " attr(data-content) "Max Quota per Email Address (MB): 1024"; }
.plan-features br:nth-of-type(14)::before { content: "👑 " attr(data-content) "Max Team Users with Roles: 7"; }

/* تأثير التحويم */
.plan-features br::before {
    cursor: pointer;
}

.plan-features br:hover::before {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 24px -8px rgba(99, 102, 241, 0.3);
    border-color: var(--primary-color);
    background: white;
}

/* تنسيق القيم الرقمية */
.plan-features br::after {
    content: attr(data-value);
    float: left;
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 1rem;
}

/* ألوان مختلفة للخلفيات */
.plan-features br:nth-child(odd)::before {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f0fa 100%);
}

.plan-features br:nth-child(even)::before {
    background: linear-gradient(135deg, #faf5ff 0%, #f0e9fa 100%);
}

/* تنسيق خاص للأرقام الكبيرة */
.plan-features br:nth-of-type(1)::after,
.plan-features br:nth-of-type(2)::after,
.plan-features br:nth-of-type(13)::after {
    background: linear-gradient(145deg, #f97316, #dc2626);
}

/* شارة مميزة */
.plan-features::before {
    content: '⭐';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.2;
    transform: rotate(15deg);
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .plan-features {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .plan-features br::before {
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .plan-features {
        padding: 1rem;
    }
    
    .plan-features::after {
        font-size: 1.5rem;
    }
}

/* تأثير النبض للعناصر المهمة */
.plan-features br:nth-of-type(6)::before,
.plan-features br:nth-of-type(11)::before {
    animation: gentlePulse 2s infinite;
}

@keyframes gentlePulse {
    0%, 100% { box-shadow: 0 2px 4px rgba(99, 102, 241, 0.1); }
    50% { box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2); }
}