/* =========================================
   متغیرهای رنگی مدرن (Soft UI & Modern Design)
   ========================================= */
:root {
    --primary: #00bda1;
    --primary-dark: #009688;
    --bg-color: #f0f4f8; /* پس‌زمینه ملایم */
    --surface: #ffffff;
    --text-main: #2d3748; /* رنگ متن خواناتر */
    --text-muted: #718096;
    --border-light: #e2e8f0;
    --section-yellow: #fffaf0;
    --section-cyan: #e6fffa;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 10px 20px -5px rgba(0, 189, 161, 0.4);
    --shadow-glow-yellow: 0 10px 20px -5px rgba(255, 209, 102, 0.4);
    --radius-lg: 32px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    padding: 20px 10px;
    direction: rtl;
}

/* =========================================
   کانتینر اصلی (شبیه‌سازی صفحه گوشی)
   ========================================= */
.container {
    max-width: 480px;
    width: 100%;
    background-color: var(--surface);
    min-height: 100vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding-bottom: 80px;
    overflow: hidden;
}

/* =========================================
   هدر و پروفایل
   ========================================= */
.profile-section {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    background: linear-gradient(180deg, rgba(0,189,161,0.1) 0%, rgba(255,255,255,0) 100%);
}

.profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--surface);
    margin: 0 auto 15px;
    display: block;
    background-color: var(--surface);
    z-index: 2;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05) rotate(-3deg);
}

.profile-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 40px 20px 20px;
    margin-top: -50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.profile-card h1 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-main);
}

.profile-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* =========================================
   تیتر بخش‌ها (مدرن با خطوط گرادیان)
   ========================================= */
.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    width: calc(100% - 40px);
    margin: 30px auto 20px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.section-title::after {
    content: "";
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--border-light) 0%, transparent 100%);
    border-radius: 2px;
}

/* =========================================
   لیست لینک‌ها (کارت‌های تعاملی)
   ========================================= */
.links-list {
    list-style: none;
    padding: 0 20px;
}

.links-list li {
    margin-bottom: 12px;
}

.links-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.links-list a:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.links-list a:hover .link-icon {
    transform: scale(1.1) rotate(5deg);
}

.links-list a:hover .link-arrow {
    transform: translateX(-5px);
    color: var(--primary);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.link-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.8rem;
    background: var(--bg-color);
    transition: transform 0.3s ease;
}

/* رنگ‌های اختصاصی آیکون‌ها */
.icon-gold { color: #d4af37; background: #fcf6e3; }
.icon-instagram { color: #E1306C; background: #fce4ec; }
.icon-telegram { color: #0088cc; background: #e1f5fe; }
.icon-eitaa { color: #f26622; font-weight: bold; font-size: 0.8rem; font-family: Tahoma; background: #fff0e6; }
.icon-bale { color: #50c878; font-weight: bold; font-size: 0.8rem; font-family: Tahoma; background: #e8f5e9; }
.icon-rubika { color: #8a2be2; font-weight: bold; font-size: 0.8rem; font-family: Tahoma; background: #f3e5f5; }

.link-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.link-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.link-arrow {
    color: #cbd5e1;
    transition: all 0.3s ease;
}

/* =========================================
   درباره ما و ویدیو
   ========================================= */
.about-box {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    margin: 0 20px;
    text-align: justify;
    font-size: 0.9rem;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}

.video-placeholder {
    width: 100%;
    height: 180px;
    background: var(--bg-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

/* =========================================
   بخش‌های تمام عرض (مراحل)
   ========================================= */
.bg-section {
    padding: 30px 20px;
    margin-top: 30px;
}
.bg-yellow { background-color: var(--section-yellow); }
.bg-cyan { background-color: var(--section-cyan); }

.step-card {
    background: var(--surface);
    padding: 25px 20px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    position: relative;
    border: none;
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--text-main), #4a5568);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

/* =========================================
   دکمه‌های اقدام (Call to Action)
   ========================================= */
.cta-btn {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 800;
    margin-top: 25px;
    color: var(--surface);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-yellow { 
    background: linear-gradient(135deg, #ffd166, #ffb703); 
    color: #5a3a00;
    box-shadow: var(--shadow-sm);
}
.btn-yellow:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-yellow);
}

.btn-cyan { 
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: var(--shadow-sm);
}
.btn-cyan:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* =========================================
   سوالات متداول (FAQ)
   ========================================= */
.faq-section {
    padding: 0 20px 30px;
}

details {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

details[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

summary {
    padding: 18px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-main);
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 18px 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* =========================================
   تماس با ما (کارت تیره مدرن)
   ========================================= */
.contact-section {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: var(--surface);
    padding: 30px 20px;
    margin: 0 20px 30px;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
}

.contact-section h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--surface);
    font-weight: 800;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.05);
    padding: 12px 15px;
    border-radius: 12px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    background: rgba(0, 189, 161, 0.1);
    padding: 10px;
    border-radius: 10px;
}

/* =========================================
   دکمه‌های پشتیبانی
   ========================================= */
.support-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding: 0 20px;
}

.support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--bg-color);
    color: var(--text-main);
    padding: 14px;
    border-radius: var(--radius-md);
    text-decoration: none;
    border: 1px solid var(--border-light);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    direction: ltr;
}

.support-btn i {
    color: var(--primary);
    font-size: 1.2rem;
}

.support-btn:hover {
    background-color: var(--surface);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

/* =========================================
   دکمه چسبان پایین (Sticky Button)
   ========================================= */
.sticky-bottom {
    position: fixed;
    bottom: 0;
    max-width: 480px;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); /* افکت شیشه‌ای مدرن */
    padding: 15px 20px;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.03);
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.5);
    border-radius: 24px 24px 0 0;
}

.sticky-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--surface);
    text-align: center;
    padding: 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: var(--shadow-sm);
}

.sticky-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}
/* حذف پس‌زمینه رنگی پیش‌فرض در صورت نیاز */
.transparent-bg {
    background: transparent !important;
}

/* استایل و تنظیم اندازه عکس محلی */
.custom-local-icon {
    width: 40px;  /* عرض دلخواه خود را اینجا وارد کنید */
    height: 40px; /* ارتفاع دلخواه خود را اینجا وارد کنید */
    object-fit: contain; /* برای جلوگیری از دفرمه شدن عکس */
    border-radius: 8px; /* اگر می‌خواهید گوشه‌های عکس کمی گرد باشد */
    transition: transform 0.3s ease;
}

/* افکت بزرگ‌نمایی هنگام هاور (اختیاری) */
.links-list a:hover .custom-local-icon {
    transform: scale(1.1);
}
