/* ========== ریست و پایه ========== */
body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    min-height: 100vh;
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); }
    100% { background: linear-gradient(135deg, #1a1040, #3a2f7a, #2a2a50); }
}

/* ========== نوار ابزار بازگشت (شفاف) ========== */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    animation: slideDown 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.toolbar .back-btn {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s;
}
.toolbar .back-btn:hover {
    background: rgba(255,255,255,0.15);
}
.toolbar .back-btn .material-icons {
    font-size: 24px;
    color: #fff;
}
.toolbar .title {
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    text-align: center;
    letter-spacing: -0.5px;
}

/* ========== محتوای اصلی ========== */
.upgrade-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 50px 24px 80px;
    text-align: center;
    color: #fff;
}

/* ========== هدر و تیتر ========== */
.hero-badge {
    display: inline-block;
    background: rgba(99,102,241,0.2);
    border: 1px solid rgba(99,102,241,0.4);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.upgrade-title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 12px;
    background: linear-gradient(135deg, #c084fc, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.upgrade-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 30px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.upgrade-desc {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 2;
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ========== ویژگی‌ها (کارت شیشه‌ای) ========== */
.features-glass {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 30px 24px;
    margin-bottom: 40px;
    text-align: right;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.features-glass .section-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.features-glass ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-glass li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #cbd5e1;
    animation: fadeInRight 0.5s ease-out;
}

.features-glass li:nth-child(odd) { animation-duration: 0.6s; }
.features-glass li:nth-child(even) { animation-duration: 0.8s; }

@keyframes fadeInRight {
    from { transform: translateX(-20px); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

.features-glass li .material-icons {
    color: #34d399;
    font-size: 22px;
    flex-shrink: 0;
}

/* ========== نقل‌قول / شعار ========== */
.cta-quote {
    font-size: 18px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 36px;
    line-height: 1.6;
    position: relative;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.cta-quote::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1, #a78bfa);
    border-radius: 2px;
    animation: barPulse 2s infinite;
}

@keyframes barPulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* ========== دکمه‌ها ========== */
.btn-upgrade {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    border: none;
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-pro {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 10px 30px rgba(99,102,241,0.4);
}

.btn-pro:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99,102,241,0.6);
}

.btn-home {
    background: rgba(255,255,255,0.1);
    color: #cbd5e1;
    backdrop-filter: blur(4px);
}

.btn-home:hover {
    background: rgba(255,255,255,0.2);
}