/* ===== RESET و تنظیمات پایه ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #0b2a57;
    color: #ffffff;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ===== تصویر تزئینی پس‌زمینه ===== */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 800px;
    height: 800px;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== دکمه بازگشت به خانه ===== */
.back-to-home {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 196, 0, 0.2);
    margin-bottom: 20px;
}

.home-button {
    display: inline-block;
    color: #ffc400;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 20px;
    border: 1px solid #ffc400;
    border-radius: 30px;
    transition: 0.3s;
}

.home-button:hover {
    background: rgba(255, 196, 0, 0.1);
    transform: translateX(-5px);
}

/* ===== بخش قهرمان (Hero) ===== */
.hero {
    text-align: center;
    padding: 60px 0 40px;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    color: #ffc400;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 196, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 10px;
}

.hero-desc {
    font-size: 18px;
    color: #ffc400;
    margin-bottom: 20px;
}

.hero-line {
    width: 100px;
    height: 3px;
    background: #ffc400;
    margin: 20px auto;
}

/* ===== عنوان بخش‌ها ===== */
.section-title {
    font-size: 32px;
    color: #ffc400;
    text-align: center;
    margin: 50px 0 30px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ffc400;
    margin: 10px auto 0;
}

/* ===== تیکت طلایی ===== */
.golden-ticket-section {
    margin: 60px 0;
    position: relative;
}

.golden-ticket {
    background: linear-gradient(145deg, #1a3a6a, #0b2a57);
    border: 3px solid #ffc400;
    border-radius: 40px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 196, 0, 0.2);
    animation: ticketGlow 2s infinite alternate;
}

@keyframes ticketGlow {
    from { box-shadow: 0 20px 40px rgba(255, 196, 0, 0.2); }
    to { box-shadow: 0 20px 60px rgba(255, 196, 0, 0.5); }
}

.golden-ticket::before {
    content: '🎫';
    position: absolute;
    bottom: -30px;
    left: -30px;
    font-size: 200px;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.ticket-badge {
    position: absolute;
    top: 20px;
    left: 30px;
    background: #ffc400;
    color: #0b2a57;
    padding: 8px 25px;
    border-radius: 40px;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 1px;
    transform: rotate(5deg);
    box-shadow: 0 5px 15px rgba(255, 196, 0, 0.4);
}

.ticket-title {
    font-size: 48px;
    color: #ffc400;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 196, 0, 0.5);
}

.ticket-subtitle {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 30px;
    opacity: 0.9;
}

.ticket-content {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.ticket-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 196, 0, 0.1);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid #ffc400;
}

.ticket-icon {
    font-size: 24px;
}

.ticket-divider {
    width: 100px;
    height: 2px;
    background: #ffc400;
    margin: 30px auto;
    opacity: 0.5;
}

.ticket-info {
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.ticket-info h3 {
    color: #ffc400;
    font-size: 22px;
    margin-bottom: 15px;
}

.ticket-free {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 10px;
}

.ticket-free-badge {
    display: inline-block;
    background: #00cc66;
    color: #ffffff;
    padding: 10px 40px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 5px 15px rgba(0, 204, 102, 0.3);
}

.ticket-price {
    margin: 15px 0;
}

.price-amount {
    font-size: 42px;
    font-weight: 900;
    color: #ffc400;
}

.price-currency {
    font-size: 18px;
    color: #ccc;
    margin-right: 10px;
}

.ticket-note {
    background: rgba(255, 196, 0, 0.15);
    border-right: 5px solid #ffc400;
    padding: 15px;
    border-radius: 10px;
    margin: 30px 0;
    font-size: 16px;
}

.ticket-contact {
    text-align: center;
    margin-top: 30px;
}

.ticket-contact p {
    color: #ffc400;
    margin-bottom: 20px;
    font-size: 18px;
}

.ticket-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ticket-btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: 0.3s;
    display: inline-block;
}

.ticket-btn.telegram {
    background: #0088cc;
    color: #ffffff;
}

.ticket-btn.telegram:hover {
    background: #006699;
    transform: scale(1.05);
}

.ticket-btn.call {
    background: #ffc400;
    color: #0b2a57;
}

.ticket-btn.call:hover {
    background: #ffaa00;
    transform: scale(1.05);
}

/* ===== کارت‌های دوره (Courses) ===== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.course-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 196, 0, 0.2);
    position: relative;
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: #ffc400;
    box-shadow: 0 10px 30px rgba(255, 196, 0, 0.2);
}

.course-card.popular {
    border: 2px solid #ffc400;
    background: rgba(255, 196, 0, 0.05);
}

.badge {
    position: absolute;
    top: 15px;
    left: 20px;
    background: #ffc400;
    color: #0b2a57;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    z-index: 10;
}

.card-number {
    font-size: 70px;
    font-weight: 900;
    color: rgba(255, 196, 0, 0.1);
    position: absolute;
    top: 10px;
    right: 15px;
}

.course-card h3 {
    font-size: 26px;
    color: #ffc400;
    margin-bottom: 5px;
}

.course-subtitle {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 15px;
}

.card-price {
    margin: 15px 0;
}

.card-price .old {
    text-decoration: line-through;
    color: #ccc;
    font-size: 16px;
    margin-left: 10px;
}

.card-price .new {
    color: #ffc400;
    font-size: 24px;
    font-weight: 700;
}

.card-price .currency {
    color: #ccc;
    font-size: 14px;
    margin-right: 5px;
}

.card-features {
    list-style: none;
    margin: 20px 0;
}

.card-features li {
    margin-bottom: 8px;
    color: #e0e0e0;
    font-size: 14px;
}

.teacher-icons {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.teacher-icons img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #ffc400;
    transition: 0.3s;
}

.teacher-icons img:hover {
    transform: scale(1.1);
}

.card-btn {
    display: block;
    background: transparent;
    border: 2px solid #ffc400;
    color: #ffc400;
    text-align: center;
    padding: 12px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.card-btn:hover {
    background: #ffc400;
    color: #0b2a57;
}

/* ===== اساتید (Teachers) ===== */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.teacher-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px 10px;
    transition: 0.3s;
}

.teacher-card:hover {
    transform: scale(1.05);
    border: 1px solid #ffc400;
}

.teacher-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #ffc400;
    margin-bottom: 10px;
}

.teacher-card h3 {
    color: #ffc400;
    font-size: 16px;
    margin-bottom: 5px;
}

.teacher-card p {
    color: #ccc;
    font-size: 12px;
}

/* ===== بخش تماس (Contact) ===== */
.contact-box {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.contact-item {
    background: rgba(255, 196, 0, 0.1);
    border: 1px solid #ffc400;
    padding: 15px 30px;
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    direction: ltr;
}

.contact-item:hover {
    background: rgba(255, 196, 0, 0.2);
    transform: scale(1.05);
}

.contact-icon {
    font-size: 20px;
}

/* ===== صفحات داخلی کورس ===== */
.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.course-title {
    font-size: 42px;
    color: #ffc400;
}

.course-badge-light {
    background: rgba(255, 196, 0, 0.2);
    color: #ffc400;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 14px;
}

.course-badge {
    background: #ffc400;
    color: #0b2a57;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
}

.ielts-badge {
    background: linear-gradient(135deg, #ffc400, #ffaa00);
    color: #0b2a57;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-right: 10px;
}

.level-indicator {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.level-badge {
    background: rgba(255, 196, 0, 0.2);
    border: 1px solid #ffc400;
    color: #ffc400;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 196, 0, 0.3);
}

.price-card .price-old {
    text-decoration: line-through;
    color: #ccc;
    font-size: 14px;
}

.price-card .price-new {
    color: #ffc400;
    font-size: 22px;
    font-weight: 700;
    margin: 5px 0;
}

.price-note {
    color: #ffc400;
    font-size: 12px;
}

.info-label {
    color: #ffc400;
    margin-bottom: 5px;
    font-size: 14px;
}

.info-value {
    font-size: 18px;
    font-weight: 700;
}

.freeze-alert {
    background: rgba(255, 193, 7, 0.2);
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin: 20px 0;
    font-weight: 700;
    color: #ffc107;
}

/* ===== سرفصل‌ها (Topics) ===== */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.topic {
    background: rgba(255, 196, 0, 0.05);
    padding: 12px 15px;
    border-radius: 8px;
    border-right: 3px solid #ffc400;
    font-size: 14px;
}

/* ===== اساتید دوره (Teacher Blocks) ===== */
.teacher-block {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 196, 0, 0.2);
}

.teacher-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.teacher-info-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.teacher-info-wrap img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #ffc400;
    object-fit: cover;
}

.teacher-info-wrap h3 {
    color: #ffc400;
    font-size: 22px;
    margin-bottom: 5px;
}

.teacher-specialty {
    color: #ccc;
    font-size: 14px;
}

.session-count {
    background: #ffc400;
    color: #0b2a57;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
}

.teacher-time {
    color: #ffc400;
    margin-bottom: 20px;
    font-size: 15px;
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}

.session {
    background: rgba(255, 196, 0, 0.08);
    border: 1px solid rgba(255, 196, 0, 0.3);
    border-radius: 8px;
    padding: 8px 5px;
    text-align: center;
    font-size: 12px;
    transition: 0.3s;
}

.session:hover {
    background: rgba(255, 196, 0, 0.2);
    transform: translateY(-2px);
}

.total-sessions {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 196, 0, 0.1);
    border-radius: 10px;
    color: #ffc400;
    font-weight: 700;
}

/* ===== پشتیبانی VIP ===== */
.vip-box {
    background: linear-gradient(135deg, #1a3a6a, #0b2a57);
    border: 2px solid #ffc400;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.vip-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.vip-header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #ffc400;
}

.vip-header h3 {
    color: #ffc400;
    font-size: 26px;
}

.vip-time {
    display: inline-block;
    background: rgba(255, 196, 0, 0.2);
    padding: 8px 25px;
    border-radius: 50px;
    margin: 15px 0;
    color: #ffc400;
    direction: ltr;
}

.vip-features {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.vip-features span {
    background: rgba(255, 196, 0, 0.15);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
}

/* ===== فرم ثبت‌نامه ===== */
.form-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #ffc400;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ffc400;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 196, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Vazirmatn', sans-serif;
}

.form-group select option {
    background: #0b2a57;
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ffc400;
}

.submit-btn {
    width: 100%;
    background: #ffc400;
    color: #0b2a57;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    transition: 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 196, 0, 0.3);
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

.form-message.success {
    background: rgba(0, 255, 0, 0.1);
    color: #0f0;
    border: 1px solid #0f0;
}

/* ===== راه‌های ارتباطی (جایگزین زرین‌پال) ===== */
.phone-number-large {
    text-align: center;
    margin: 30px 0 20px;
    padding: 20px;
    background: rgba(255, 196, 0, 0.1);
    border-radius: 50px;
    border: 2px solid #ffc400;
    font-size: 28px;
    font-weight: 700;
    color: #ffc400;
    direction: ltr;
    letter-spacing: 2px;
}

.contact-channels {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.channel-item {
    background: rgba(255, 196, 0, 0.15);
    border: 1px solid #ffc400;
    padding: 10px 25px;
    border-radius: 40px;
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 20px auto;
}

.payment-link {
    color: #ffffff;
    text-decoration: none;
    padding: 12px;
    background: rgba(255, 196, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 196, 0, 0.3);
    transition: 0.3s;
    direction: ltr;
}

.payment-link:hover {
    background: rgba(255, 196, 0, 0.2);
    border-color: #ffc400;
}

/* ===== فوتر ===== */
.footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 196, 0, 0.2);
    color: #ccc;
}

.copyright {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 992px) {
    .teachers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-title {
        font-size: 32px;
    }
    
    .course-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .teacher-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sessions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-box {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        width: 100%;
        justify-content: center;
    }
    
    .golden-ticket {
        padding: 30px 20px;
    }
    
    .ticket-title {
        font-size: 32px;
    }
    
    .ticket-subtitle {
        font-size: 18px;
    }
    
    .ticket-badge {
        font-size: 14px;
        padding: 5px 15px;
        top: 10px;
        left: 15px;
    }
    
    .ticket-buttons {
        flex-direction: column;
    }
    
    .ticket-btn {
        width: 100%;
        text-align: center;
    }
    
    .phone-number-large {
        font-size: 22px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .sessions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .teacher-info-wrap {
        flex-direction: column;
        text-align: center;
    }
    
    .vip-header {
        flex-direction: column;
    }
    
    .phone-number-large {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    .channel-item {
        width: 100%;
        justify-content: center;
    }
}