@font-face {
    font-family: 'ir';
    src: url('../fonts/ir/IRANSansDN_Fa_Num.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ir';
    src: url('../fonts/ir/IRANSansDN_FaNum-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ir';
    src: url('../fonts/ir/IRANSansDN_FaNum_Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --eco-color: #10B981;
    --med-color: #F59E0B;
    --vip-color: #8B5CF6;
    --primary: #4D96FF;
    --primary-hover: #3B82F6;
    --secondary: #F59E0B;
    --bg-dark: #0f172a;
    --bg-card: #0f172a;
    --bg-body: #f8fafc;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'ir', Tahoma, sans-serif;
    background: var(--bg-body);
    color: #1e293b;
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 14px;
}

/* ============================================
   WEATHER CANVAS
   ============================================ */
#weather-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.highlight {
    color: var(--primary);
}

.text-gold {
    color: var(--primary);
}

.text-red-400 {
    color: #ef4444;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-badge {
    display: inline-block;
    background: rgba(234, 179, 8, 0.1);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(234, 179, 8, 0.2);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.section-badge i {
    margin-left: 6px;
}

.section-title {
    font-family: 'Lalezar', cursive;
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-muted);
    font-size: 13px;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    font-family: 'ir', Tahoma, sans-serif !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 13px;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(77, 150, 255, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 13px;
}

.btn-secondary:hover {
    border-color: var(--primary-hover);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 12px 32px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 12px;
}

.btn-pulse {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #FF416C, #FF4B2B);
    color: white;
    padding: 14px 40px;
    border-radius: 20px;
    font-size: 18px;
    font-family: 'Lalezar', cursive;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(255, 75, 43, 0.4);
    animation: pulse-red 2s infinite;
    transition: var(--transition);
}

.btn-pulse:hover {
    transform: scale(1.05);
}

/* ============================================
   [1] HERO SECTION
   ============================================ */
.plans-hero {
    text-align: center;
    padding: 40px 20px 30px;
    background: linear-gradient(180deg, rgba(77,150,255,0.08) 0%, rgba(255,255,255,0) 100%);
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.fomo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    margin-bottom: 20px;
}

.fomo-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-red 1.5s infinite;
}

.plans-title {
    font-family: 'Lalezar', cursive;
    font-size: 36px;
    color: #0f172a;
    margin-bottom: 8px;
}

.plans-subtitle {
    font-size: 14px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

/* ============================================
   FOMO PROGRESS BAR - Dynamic Colors
   ============================================ */
.fomo-progress {
    max-width: 400px;
    margin: 0 auto;
}

.fomo-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 4px;
}

.fomo-progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.fomo-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s ease, background 0.5s ease;
    width: 0%;
}

/* رنگ‌های مختلف برای progress */
.fomo-progress-fill.color-green {
    background: linear-gradient(to right, #10b981, #34d399);
}

.fomo-progress-fill.color-blue {
    background: linear-gradient(to right, #4D96FF, #60a5fa);
}

.fomo-progress-fill.color-red {
    background: linear-gradient(to right, #ef4444, #f87171);
    animation: pulse-progress 2s infinite;
}

/* انیمیشن برای حالت قرمز (اضطراری) */
@keyframes pulse-progress {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ============================================
   [2] TESTIMONIALS
   ============================================ */
.section-testimonials {
    padding: 30px 0;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.testimonials-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonials-slider::-webkit-scrollbar {
    height: 4px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.testimonial-card {
    min-width: 260px;
    max-width: 280px;
    background: white;
    border-radius: var(--radius-md);
    padding: 16px;
    scroll-snap-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eco-color);
    border: 2px solid rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.testimonial-info p {
    font-size: 10px;
    color: var(--text-muted);
}

.testimonial-audio {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
}

.audio-play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    color: white;
    background: var(--eco-color);
}

.audio-play-btn:hover {
    transform: scale(1.1);
}

.audio-play-btn.playing {
    background: #ef4444;
}

.audio-progress {
    flex: 1;
    min-width: 0;
}

.audio-range {
    width: 100%;
    height: 3px;
    -webkit-appearance: none;
    background: #e2e8f0;
    border-radius: 4px;
    outline: none;
}

.audio-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--eco-color);
    cursor: pointer;
}

.audio-time {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
   [3] TRANSFORMATION CHART - Chart.js
   ============================================ */
.section-chart {
    padding: 30px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.chart-container {
    max-width: 750px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.chart-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
}

.chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #475569;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.06);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .chart-container {
        padding: 16px;
    }
    
    .chart-wrapper {
        height: 200px;
    }
    
    .chart-legend {
        gap: 8px 14px;
    }
    
    .legend-item {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .chart-container {
        padding: 12px;
        border-radius: var(--radius-md);
    }
    
    .chart-wrapper {
        height: 180px;
    }
    
    .chart-legend {
        gap: 6px 10px;
        margin-top: 10px;
        padding-top: 8px;
    }
    
    .legend-item {
        font-size: 8px;
    }
    
    .legend-dot {
        width: 8px;
        height: 8px;
    }
}

/* ============================================
   [4] CHAT SIMULATOR - LITE MODE
   ============================================ */
.section-chat {
    padding: 30px 0;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.chat-container {
    max-width: 420px;
    margin: 0 auto;
}

.chat-mockup {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

/* ============================================
   CHAT HEADER - LITE
   ============================================ */
.chat-header-lite {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafbfc;
}

.chat-user-lite {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar-lite {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.chat-avatar-lite img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-status-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid white;
}

.chat-user-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.chat-status-text {
    font-size: 11px;
    color: #10b981;
    margin: 0;
    font-weight: 500;
}

.chat-actions {
    display: flex;
    gap: 4px;
}

.chat-action-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #94a3b8;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-action-btn:hover {
    background: #f1f5f9;
    color: #475569;
}

/* ============================================
   CHAT BODY - LITE
   ============================================ */
.chat-body-lite {
    height: 420px;
    padding: 16px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-body-lite::-webkit-scrollbar {
    width: 4px;
}

.chat-body-lite::-webkit-scrollbar-track {
    background: transparent;
}

.chat-body-lite::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Messages */
.chat-msg {
    max-width: 85%;
    padding: 8px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    animation: msgAppear 0.3s ease forwards;
    position: relative;
}

.chat-msg.user {
    align-self: flex-end;
    background: #4D96FF;
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg.bot {
    align-self: flex-start;
    background: white;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}

.chat-msg .msg-time {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    display: block;
    text-align: left;
}

.chat-msg.bot .msg-time {
    color: #94a3b8;
}

.chat-msg .msg-analysis {
    background: #f0f7ff;
    border-right: 3px solid #4D96FF;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 6px;
    font-size: 12px;
    color: #1e293b;
}

.chat-msg .msg-analysis strong {
    color: #4D96FF;
}

.chat-msg .msg-tip {
    background: #fef3c7;
    border-right: 3px solid #F59E0B;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 6px;
    font-size: 12px;
    color: #78350f;
}

.chat-msg .msg-tip strong {
    color: #F59E0B;
}

/* Typing Indicator */
.chat-typing-lite {
    align-self: flex-start;
    display: flex;
    gap: 4px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
}

.chat-typing-lite span {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    display: inline-block;
    animation: typingBounce 1.4s infinite;
}

.chat-typing-lite span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing-lite span:nth-child(3) {
    animation-delay: 0.4s;
}

/* ============================================
   CHAT FOOTER - LITE
   ============================================ */
.chat-footer-lite {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #e2e8f0;
    background: white;
    align-items: center;
}

.chat-input-lite {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border-radius: 24px;
    padding: 4px 8px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.chat-input-lite:focus-within {
    border-color: #4D96FF;
    background: white;
}

.chat-attach-btn,
.chat-emoji-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #94a3b8;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-attach-btn:hover,
.chat-emoji-btn:hover {
    background: #e2e8f0;
    color: #475569;
}

.chat-input-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 6px 0;
    font-size: 13px;
    color: #0f172a;
    outline: none;
    font-family: inherit;
}

.chat-input-field::placeholder {
    color: #94a3b8;
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #4D96FF;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background: #3B82F6;
    transform: scale(1.05);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes msgAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-6px);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
    .chat-body-lite {
        height: 350px;
        padding: 12px;
    }

    .chat-msg {
        font-size: 12px;
        padding: 6px 12px;
        max-width: 90%;
    }

    .chat-header-lite {
        padding: 10px 12px;
    }

    .chat-avatar-lite {
        width: 34px;
        height: 34px;
    }

    .chat-user-info h4 {
        font-size: 13px;
    }

    .chat-footer-lite {
        padding: 8px 10px;
    }

    .chat-input-field {
        font-size: 12px;
    }

    .chat-send-btn {
        width: 36px;
        height: 36px;
    }

    .chat-msg .msg-analysis,
    .chat-msg .msg-tip {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* ============================================
   [5] TIME CALCULATOR
   ============================================ */
.section-calculator {
    padding: 30px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.calculator-wrapper {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.calc-group {
    margin-bottom: 16px;
}

.calc-group:last-child {
    margin-bottom: 0;
}

.calc-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.calc-value {
    margin-right: auto;
    background: #f1f5f9;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
}

.calc-group input[type="range"] {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    background: #e2e8f0;
    border-radius: 4px;
    outline: none;
}

.calc-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
}

#calc-sleep::-webkit-slider-thumb {
    background: #10b981;
}

#calc-school::-webkit-slider-thumb {
    background: #3b82f6;
}

/* ============================================
   CALCULATOR RESULT - UPDATED
   ============================================ */
.calculator-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 12px;
}

.calc-chart {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.calc-center {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.06);
}

.calc-label {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 600;
}

.calc-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.calc-unit {
    font-size: 10px;
    color: #64748b;
}

/* ============================================
   CALC STATS
   ============================================ */
.calc-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 10px 16px;
    width: 100%;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

.calc-stat-item {
    text-align: center;
}

.calc-stat-item.highlight {
    background: rgba(77, 150, 255, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(77, 150, 255, 0.15);
}

.calc-stat-label {
    font-size: 9px;
    color: #94a3b8;
    font-weight: 600;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-stat-number {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    display: block;
    line-height: 1.2;
}

.calc-stat-item.highlight .calc-stat-number {
    color: #4D96FF;
}

.calc-stat-unit {
    font-size: 10px;
    color: #94a3b8;
}

.calc-stat-divider {
    width: 1px;
    height: 30px;
    background: #e2e8f0;
}

/* ============================================
   CALC MOTIVATION
   ============================================ */
.calc-motivation {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(77, 150, 255, 0.08), rgba(77, 150, 255, 0.02));
    border: 1px solid rgba(77, 150, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    width: 100%;
    justify-content: center;
    min-height: 40px;
    transition: all 0.3s ease;
}

.calc-motivation i {
    font-size: 18px;
    flex-shrink: 0;
}

.calc-motivation span {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
    line-height: 1.4;
}

.calc-motivation .highlight-text {
    color: #4D96FF;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .calc-stats {
        padding: 8px 12px;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .calc-stat-number {
        font-size: 17px;
    }
    
    .calc-stat-divider {
        height: 24px;
    }
    
    .calc-motivation span {
        font-size: 12px;
    }
    
    .calc-motivation {
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .calc-chart {
        width: 120px;
        height: 120px;
    }
    
    .calc-center {
        width: 85px;
        height: 85px;
    }
    
    .calc-number {
        font-size: 22px;
    }
    
    .calc-stat-number {
        font-size: 15px;
    }
    
    .calc-stat-item.highlight {
        padding: 4px 10px;
    }
    
    .calc-motivation span {
        font-size: 11px;
    }
    
    .calc-stats {
        gap: 6px;
        padding: 6px 8px;
    }
}

.calc-summary {
    margin-top: 12px;
    text-align: center;
    background: rgba(234, 179, 8, 0.08);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: #0f172a;
}

.calc-highlight {
    font-size: 20px;
    color: var(--primary);
}

/* ============================================
   [6] FLIP CARDS
   ============================================ */
.section-flip {
    padding: 30px 0;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.flip-card {
    perspective: 1000px;
    height: 180px;
    cursor: pointer;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card.active .flip-inner,
.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
}

.flip-front {
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.flip-front i {
    font-size: 24px;
    color: #ef4444;
    opacity: 0.5;
    margin-bottom: 8px;
}

.flip-front h3 {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
}

.flip-hint {
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 6px;
    opacity: 0.6;
}

.flip-hint i {
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.6;
}

.flip-back {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(234, 179, 8, 0.3);
    transform: rotateY(180deg);
    color: white;
}

.flip-back i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 8px;
}

.flip-back p {
    font-size: 12px;
    line-height: 1.6;
    color: #e2e8f0;
}

.flip-back strong {
    color: var(--primary);
}

/* ============================================
   [7] STRATEGIC TIMELINE
   ============================================ */
.section-timeline {
    padding: 30px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.timeline-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.timeline-tabs {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.timeline-tabs::-webkit-scrollbar {
    height: 2px;
}

.timeline-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.timeline-btn {
    font-family: 'ir', Tahoma, sans-serif !important;
    padding: 6px 14px;
    border: none;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.timeline-btn:hover {
    background: rgba(234, 179, 8, 0.08);
    color: var(--primary);
}

.timeline-btn.active {
    background: var(--primary);
    color: #0f172a;
}

.timeline-content-wrapper {
    position: relative;
    min-height: 120px;
}

.timeline-content {
    display: none;
    padding: 4px 0;
}

.timeline-content.active {
    display: flex;
    gap: 16px;
    animation: fadeSlide 0.4s ease;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.timeline-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.timeline-info p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

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

/* ============================================
   PREMIUM VIP BOARDING PASS - SAHANDAN
   ============================================ */
.section-passport {
    padding: 40px 0;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.passport-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 24px;
    align-items: start;
}

/* ============================================
   FORM SIDE
   ============================================ */
.passport-form {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.passport-form .form-group {
    margin-bottom: 16px;
}

.passport-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.passport-form label i {
    color: var(--primary);
    margin-left: 6px;
}

.passport-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
    background: #fafbfc;
    color: #0f172a;
}

.passport-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(77, 150, 255, 0.1);
    background: white;
}

.passport-hint {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 12px;
    text-align: center;
}

.passport-hint i {
    color: var(--primary);
}

.passport-result {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ============================================
   PREMIUM VIP BOARDING PASS
   ============================================ */
.passport-frame {
    width: 100%;
    aspect-ratio: 1.6 / 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: radial-gradient(circle at top right, rgba(77, 150, 255, 0.15), transparent 45%),
                linear-gradient(135deg, #0f172a, #172554);
    border: 1px solid #334155;
}

.passport-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(77, 150, 255, 0.18);
}

/* ============================================
   DEFAULT STATE (Before Generation)
   ============================================ */
.passport-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.passport-default::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(77, 150, 255, 0.15);
    border-radius: 16px;
    pointer-events: none;
}

.passport-default-inner {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.passport-default-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.passport-default-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.passport-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px;
    object-fit: contain;
}

.passport-default-logo span {
    font-size: 16px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    font-family: 'Lalezar', cursive;
}

.passport-default-badge {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    letter-spacing: 1px;
}

.passport-default-title {
    font-size: 28px;
    font-weight: 900;
    color: white;
    letter-spacing: 4px;
    margin-bottom: 4px;
    font-family: 'Lalezar', cursive;
}

.passport-default-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.passport-default-id {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
    font-family: monospace;
    letter-spacing: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
    display: inline-block;
}

.passport-default-glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(77, 150, 255, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   GENERATED PASSPORT (Active State)
   ============================================ */
.passport-generated {
    width: 100%;
    height: 100%;
    padding: 24px 28px;
    background: radial-gradient(circle at top right, rgba(77, 150, 255, 0.12), transparent 45%),
                linear-gradient(135deg, #0f172a, #172554);
    position: relative;
    display: none;
    flex-direction: column;
    border-radius: 24px;
}

.passport-generated.active {
    display: flex;
}

/* Cutouts (Left & Right Edges) */
.passport-generated::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.passport-generated::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

/* Vertical Perforation Line */
.passport-generated .perforation {
    position: absolute;
    left: 28px;
    top: 20px;
    bottom: 20px;
    width: 1px;
    border-left: 2px dashed rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.passport-generated .perforation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #f1f5f9;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header */
.passport-header-vip {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 8px;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.passport-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.passport-header-left .logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px;
    object-fit: contain;
}

.passport-header-left .brand-name {
    font-size: 14px;
    font-weight: 700;
    color: white;
    font-family: 'Lalezar', cursive;
    letter-spacing: 0.5px;
}

.passport-header-right {
    text-align: left;
}

.passport-header-right .vip-title {
    font-size: 9px;
    font-weight: 700;
    color: #F59E0B;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
}

.passport-header-right .vip-sub {
    font-size: 7px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    display: block;
}

/* Body Layout */
.passport-body-vip {
    display: flex;
    flex: 1;
    gap: 20px;
    position: relative;
    z-index: 2;
    min-height: 0;
}

/* Left Side: Flight Info */
.passport-flight {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 12px;
}

.passport-flight .flight-label {
    font-size: 8px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.passport-flight .flight-code {
    font-size: 32px;
    font-weight: 900;
    color: #4D96FF;
    letter-spacing: 3px;
    font-family: 'Lalezar', cursive;
    line-height: 1;
    margin-bottom: 4px;
}

.passport-flight .flight-class {
    display: flex;
    align-items: center;
    gap: 8px;
}

.passport-flight .flight-class .class-label {
    font-size: 8px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.passport-flight .flight-class .class-value {
    font-size: 12px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

/* Right Side: Passenger Info */
.passport-passenger {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-right: 8px;
}

.passport-passenger .passenger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 2px 0;
}

.passport-passenger .passenger-label {
    font-size: 7px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.passport-passenger .passenger-value {
    font-size: 12px;
    font-weight: 600;
    color: white;
    padding: 0 30px;
}

.passport-passenger .passenger-value.highlight {
    color: #4D96FF;
}

.passport-passenger .passenger-value.amber {
    color: #F59E0B;
}

/* Footer */
.passport-footer-vip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 8px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

/* Barcode (Futuristic) */
.passport-barcode-vip {
    display: flex;
    align-items: center;
    gap: 8px;
}

.passport-barcode-vip .barcode-svg {
    height: 24px;
    width: auto;
}

.passport-barcode-vip .barcode-id {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.2);
    font-family: monospace;
    letter-spacing: 1px;
}

/* Signature */
.passport-signature-vip {
    text-align: left;
}

.passport-signature-vip .sig-label {
    font-size: 6px;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.passport-signature-vip .sig-line {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin-top: 2px;
    position: relative;
}

.passport-signature-vip .sig-line::after {
    content: 'امضای دارنده';
    position: absolute;
    top: -12px;
    right: 0;
    font-size: 5px;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .passport-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .passport-frame {
        aspect-ratio: 1.4 / 1;
    }

    .passport-generated {
        padding: 16px 18px;
    }

    .passport-generated::before,
    .passport-generated::after {
        display: none;
    }

    .passport-generated .perforation {
        left: 16px;
        top: 12px;
        bottom: 12px;
    }

    .passport-body-vip {
        flex-direction: column;
        gap: 8px;
    }

    .passport-flight {
        padding-left: 8px;
    }

    .passport-flight .flight-code {
        font-size: 24px;
    }

    .passport-passenger {
        padding-right: 0;
    }

    .passport-passenger .passenger-value {
        font-size: 11px;
    }

    .passport-footer-vip {
        flex-direction: column;
        gap: 6px;
        align-items: stretch;
    }

    .passport-signature-vip {
        text-align: center;
    }

    .passport-signature-vip .sig-line {
        margin: 0 auto;
    }

    .passport-header-vip {
        flex-direction: column;
        gap: 4px;
    }

    .passport-header-right {
        text-align: right;
        width: 100%;
    }

    .passport-default-title {
        font-size: 22px;
    }

    .passport-default-logo span {
        font-size: 14px;
    }
}

/* ============================================
   PREMIUM VIP BOARDING PASS - RESPONSIVE FIXES
   ============================================ */

/* ============================================
   EXTRA SMALL DEVICES (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    /* Container & Layout */
    .passport-wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 4px;
    }

    .passport-frame {
        aspect-ratio: 1.1 / 1;
        border-radius: 16px;
        min-height: 200px;
    }

    /* Generated Passport */
    .passport-generated {
        padding: 10px 12px;
        border-radius: 16px;
        gap: 4px;
    }

    /* Hide cutouts on mobile */
    .passport-generated::before,
    .passport-generated::after {
        display: none;
    }

    /* Perforation line - smaller */
    .passport-generated .perforation {
        left: 10px;
        top: 10px;
        bottom: 10px;
        border-left: 1px dashed rgba(255, 255, 255, 0.06);
    }

    .passport-generated .perforation::before {
        width: 8px;
        height: 8px;
    }

    /* Header */
    .passport-header-vip {
        flex-direction: row;
        align-items: center;
        padding-bottom: 4px;
        margin-bottom: 6px;
        gap: 6px;
    }

    .passport-header-left .logo-icon {
        width: 20px;
        height: 20px;
        padding: 2px;
    }

    .passport-header-left .brand-name {
        font-size: 11px;
        letter-spacing: 0.3px;
    }

    .passport-header-right .vip-title {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .passport-header-right .vip-sub {
        font-size: 5px;
        letter-spacing: 0.5px;
    }

    /* Body - Stack vertically */
    .passport-body-vip {
        flex-direction: column;
        gap: 4px;
        flex: 1;
    }

    /* Flight Info - Top */
    .passport-flight {
        padding-left: 4px;
        padding-right: 4px;
        flex: 0 0 auto;
    }

    .passport-flight .flight-label {
        font-size: 6px;
        letter-spacing: 1px;
        margin-bottom: 0;
    }

    .passport-flight .flight-code {
        font-size: 18px;
        letter-spacing: 1.5px;
        line-height: 1.1;
    }

    .passport-flight .flight-class {
        gap: 4px;
    }

    .passport-flight .flight-class .class-label {
        font-size: 6px;
        letter-spacing: 1px;
    }

    .passport-flight .flight-class .class-value {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    /* Passenger Info - Bottom */
    .passport-passenger {
        padding-right: 0;
        padding-left: 4px;
        flex: 1;
        gap: 1px;
        justify-content: center;
    }

    .passport-passenger .passenger-row {
        padding: 1px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .passport-passenger .passenger-label {
        font-size: 6px;
        letter-spacing: 0.5px;
    }

    .passport-passenger .passenger-value {
        font-size: 9px;
        font-weight: 600;
        max-width: 60%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Footer */
    .passport-footer-vip {
        flex-direction: row;
        align-items: center;
        gap: 4px;
        padding-top: 4px;
        margin-top: 2px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .passport-barcode-vip {
        gap: 4px;
    }

    .passport-barcode-vip .barcode-svg {
        height: 16px;
        width: 60px;
    }

    .passport-barcode-vip .barcode-id {
        font-size: 6px;
        letter-spacing: 0.5px;
    }

    .passport-signature-vip .sig-label {
        font-size: 5px;
        letter-spacing: 0.5px;
    }

    .passport-signature-vip .sig-line {
        width: 40px;
        height: 1px;
        margin-top: 1px;
    }

    .passport-signature-vip .sig-line::after {
        font-size: 4px;
        top: -10px;
    }

    /* ============================================
       DEFAULT STATE (Before Generation)
       ============================================ */
    .passport-default {
        padding: 16px;
    }

    .passport-default::before {
        inset: 8px;
        border-radius: 10px;
    }

    .passport-default-inner {
        padding: 4px;
    }

    .passport-default-header {
        gap: 8px;
        margin-bottom: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .passport-default-logo {
        gap: 4px;
    }

    .passport-logo-img {
        width: 24px;
        height: 24px;
        padding: 3px;
    }

    .passport-default-logo span {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .passport-default-badge {
        font-size: 7px;
        padding: 1px 8px;
        letter-spacing: 0.5px;
    }

    .passport-default-title {
        font-size: 16px;
        letter-spacing: 2px;
        margin-bottom: 2px;
    }

    .passport-default-sub {
        font-size: 9px;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .passport-default-id {
        font-size: 8px;
        letter-spacing: 1px;
        padding-top: 6px;
    }

    .passport-default-glow {
        width: 60%;
        height: 150%;
        top: -30%;
        right: -20%;
    }

    /* ============================================
       FORM SIDE - Extra Small
       ============================================ */
    .passport-form {
        padding: 16px;
        border-radius: 12px;
    }

    .passport-form .form-group {
        margin-bottom: 10px;
    }

    .passport-form label {
        font-size: 10px;
    }

    .passport-input {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 8px;
    }

    .passport-hint {
        font-size: 9px;
        margin-top: 8px;
    }

    .btn-primary.btn-block {
        padding: 8px 16px;
        font-size: 12px;
        border-radius: 8px;
    }

    .btn-secondary.btn-sm {
        padding: 4px 12px;
        font-size: 10px;
        border-radius: 8px;
    }
}

/* ============================================
   EXTRA SMALL - LANDSCAPE MODE (max-width: 640px and max-height: 480px)
   ============================================ */
@media (max-width: 640px) and (max-height: 480px) {
    .passport-frame {
        aspect-ratio: 1.6 / 1;
        min-height: 140px;
    }

    .passport-generated {
        padding: 8px 12px;
    }

    .passport-body-vip {
        flex-direction: row;
        gap: 8px;
    }

    .passport-flight {
        flex: 1;
        padding-left: 4px;
    }

    .passport-flight .flight-code {
        font-size: 16px;
    }

    .passport-passenger {
        flex: 1.5;
        padding-left: 4px;
    }

    .passport-passenger .passenger-value {
        font-size: 8px;
    }

    .passport-header-left .brand-name {
        font-size: 10px;
    }

    .passport-header-left .logo-icon {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   VERY SMALL (max-width: 360px)
   ============================================ */
@media (max-width: 360px) {
    .passport-frame {
        aspect-ratio: 1 / 1;
        min-height: 160px;
        border-radius: 12px;
    }

    .passport-generated {
        padding: 6px 8px;
    }

    .passport-flight .flight-code {
        font-size: 14px;
    }

    .passport-passenger .passenger-value {
        font-size: 7px;
    }

    .passport-passenger .passenger-label {
        font-size: 5px;
    }

    .passport-header-right .vip-title {
        font-size: 6px;
    }

    .passport-header-left .brand-name {
        font-size: 9px;
    }

    .passport-header-left .logo-icon {
        width: 16px;
        height: 16px;
    }

    .passport-barcode-vip .barcode-svg {
        height: 12px;
        width: 40px;
    }

    .passport-barcode-vip .barcode-id {
        font-size: 5px;
    }

    .passport-signature-vip .sig-line {
        width: 30px;
    }

    .passport-signature-vip .sig-label {
        font-size: 4px;
    }

    .passport-default-title {
        font-size: 14px;
    }

    .passport-default-logo span {
        font-size: 10px;
    }

    .passport-logo-img {
        width: 20px;
        height: 20px;
    }

    .passport-default-badge {
        font-size: 6px;
        padding: 1px 6px;
    }

    .passport-form {
        padding: 12px;
    }

    .passport-input {
        font-size: 11px;
        padding: 6px 8px;
    }
}

/* ============================================
   [9] TEAM SHOWCASE
   ============================================ */
.section-team {
    padding: 30px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-image {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 10px;
}

.team-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
}

.team-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    font-size: 7px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 10px;
    color: white;
    border: 2px solid white;
}

.badge-primary {
    background: var(--primary);
}

.badge-secondary {
    background: var(--med-color);
}

.badge-vip {
    background: var(--vip-color);
}

.team-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.team-card p {
    font-size: 10px;
    color: #64748b;
    margin: 0;
}

/* ============================================
   [10] PRICING PLANS - UPDATED
   ============================================ */
.section-pricing {
    padding: 30px 0;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

/* ============================================
   PRICING TOGGLE - ULTRA PREMIUM (FIXED)
   ============================================ */
.pricing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.toggle-wrapper {
    background: #f1f5f9;
    border-radius: 16px;
    padding: 4px;
    display: inline-flex;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
}

.toggle-bg {
    position: absolute;
    top: 4px;
    bottom: 4px;
    width: calc(50% - 4px);
    background: linear-gradient(135deg, #4D96FF, #3B82F6);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(77, 150, 255, 0.35);
}

.toggle-btn {
    padding: 10px 28px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    border-radius: 12px;
    white-space: nowrap;
    font-family: 'ir', Tahoma, sans-serif;
    letter-spacing: 0.3px;
    text-align: center;
  align-items: center;
  display: grid;
}

.toggle-btn.active {
    color: #000308 !important;
}

.toggle-btn:not(.active) {
    color: #e8eaed !important;
}

.toggle-btn:not(.active):hover {
    color: #fff !important;
}

.toggle-badge {
    background: #ef4444;
    color: white;
    font-size: 8px;
    padding: 1px 8px;
    border-radius: 10px;
    margin-right: 4px;
    font-weight: 700;
    display: inline-block;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Toggle */
@media (max-width: 480px) {
    .toggle-wrapper {
        border-radius: 12px;
        padding: 3px;
    }
    
    .toggle-bg {
        border-radius: 10px;
    }
    
    .toggle-btn {
        padding: 6px 14px;
        font-size: 11px;
    }
    
    .toggle-badge {
        font-size: 6px;
        padding: 1px 5px;
    }
}
/* ============================================
   PRICING GRID
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(77, 150, 255, 0.12);
}

.plan-card.recommended {
    border-color: var(--med-color);
    border-width: 2px;
    transform: scale(1.02);
}

.plan-card.recommended:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 35px rgba(77, 150, 255, 0.2);
}

.recommended-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--med-color);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 14px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(77, 150, 255, 0.3);
    font-family: 'ir', Tahoma, sans-serif;
}

.recommended-badge i {
    font-size: 10px;
    margin-left: 4px;
}
/* ============================================
   USER SELECT - PREVENT COPY
   ============================================ */
.plan-card {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.plan-card * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Allow selection on input fields if any */
.plan-card input,
.plan-card textarea {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}
/* ============================================
   PLAN HEADER
   ============================================ */
.plan-header {
    text-align: center;
    margin-bottom: 14px;
}

.plan-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: white;
    font-size: 18px;
}

.plan-name {
    font-family: 'Lalezar', cursive;
    font-size: 20px;
    margin: 0;
    line-height: 1.2;
}

.plan-plus {
    font-size: 14px;
    vertical-align: super;
}

.plan-slogan {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    font-family: 'ir', Tahoma, sans-serif;
}

/* ============================================
   PLAN PRICING
   ============================================ */
.plan-pricing {
    text-align: center;
    margin-bottom: 12px;
}

.plan-price .price-amount {
    font-family: 'Lalezar', cursive;
    font-size: 22px;
    color: #0f172a;
}

.plan-price .price-unit {
    font-size: 10px;
    color: #94a3b8;
    font-family: 'ir', Tahoma, sans-serif;
}

.price-savings {
    font-size: 10px;
    color: #10b981;
    font-weight: 600;
    margin-top: 2px;
    font-family: 'ir', Tahoma, sans-serif;
}

.plan-discount {
    font-size: 10px;
    color: #64748b;
    margin-top: 4px;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    font-family: 'ir', Tahoma, sans-serif;
}

/* ============================================
   PLAN CAPACITY
   ============================================ */
.plan-capacity {
    text-align: center;
    margin-bottom: 10px;
}

.capacity-badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    font-family: 'ir', Tahoma, sans-serif;
}

.capacity-badge.eco {
    background: rgba(16, 185, 129, 0.1);
    color: var(--eco-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.capacity-badge.med {
    background: rgba(245, 158, 11, 0.1);
    color: var(--med-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.capacity-badge.vip {
    background: rgba(139, 92, 246, 0.1);
    color: var(--vip-color);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* ============================================
   PLAN STATS (Quick Stats) - FIXED
   ============================================ */
.plan-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    background: #f8fafc !important;
    border-radius: var(--radius-sm) !important;
    padding: 8px 10px !important;
    margin-bottom: 12px !important;
    border: 1px solid #e2e8f0 !important;
}

.plan-stat {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 10px !important;
    color: #64748b !important;
    font-family: 'ir', Tahoma, sans-serif !important;
}

.plan-stat i {
    font-size: 12px !important;
    color: #4D96FF !important;
    flex-shrink: 0 !important;
}

.plan-stat strong {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .plan-stats {
        grid-template-columns: 1fr 1fr !important;
        gap: 4px !important;
        padding: 6px 8px !important;
    }
    
    .plan-stat {
        font-size: 9px !important;
    }
}

@media (max-width: 480px) {
    .plan-stats {
        grid-template-columns: 1fr !important;
        gap: 2px !important;
    }
    
    .plan-stat {
        font-size: 9px !important;
        justify-content: center !important;
    }
}

/* ============================================
   PLAN FEATURES - CONFLICT RESOLUTION
   ============================================ */
/* Reset any conflicting styles */
.plan-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 12px 0 !important;
    flex: 1 !important;
}

.plan-features li {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    color: #475569 !important;
    padding: 4px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-family: 'ir', Tahoma, sans-serif !important;
    list-style: none !important;
}

.plan-features li:last-child {
    border-bottom: none !important;
}

.plan-features li i {
    font-size: 12px !important;
    flex-shrink: 0 !important;
    width: 16px !important;
    text-align: center !important;
}

.plan-features li span {
    flex: 1 !important;
}

.plan-features .feature-missing {
    color: #94a3b8 !important;
    opacity: 0.6 !important;
}

.plan-features .feature-missing i {
    color: #ef4444 !important;
    font-size: 10px !important;
}

.plan-features .feature-missing .line-through {
    text-decoration: line-through !important;
    text-decoration-color: rgba(239, 68, 68, 0.3) !important;
}

/* Feature Toggle Button */
.feature-toggle {
    background: none !important;
    border: none !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    padding: 2px 6px !important;
    font-size: 10px !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    border-radius: 4px !important;
    width: auto !important;
    height: auto !important;
    min-width: unset !important;
    min-height: unset !important;
}

.feature-toggle:hover {
    background: #f1f5f9 !important;
    color: #4D96FF !important;
}

.feature-toggle.open {
    transform: rotate(180deg) !important;
    color: #4D96FF !important;
}

/* Feature Detail (Accordion) */
.feature-detail {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease, padding 0.3s ease !important;
    padding: 0 24px 0 26px !important;
    background: #fafbfc !important;
    border-radius: 6px !important;
    margin: 0 0 2px 0 !important;
    font-size: 10px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    font-family: 'ir', Tahoma, sans-serif !important;
}

.feature-detail.open {
    max-height: 200px !important;
    padding: 6px 24px 6px 26px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.feature-detail p {
    margin: 0 !important;
}

/* ============================================
   PLAN GUARANTEES
   ============================================ */
.plan-guarantees {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.plan-guarantees span {
    font-size: 9px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    padding: 2px 10px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: 'ir', Tahoma, sans-serif;
}

.plan-guarantees span i {
    font-size: 10px;
    color: #4D96FF;
}

/* ============================================
   PLAN BUTTON
   ============================================ */
.plan-btn {
    display: block;
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Lalezar', cursive;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-align: center;
    text-decoration: none;
    margin-top: auto;
}

.plan-btn.eco {
    background: var(--eco-color);
}

.plan-btn.med {
    background: var(--med-color);
}

.plan-btn.vip {
    background: var(--vip-color);
}

.plan-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .plan-card.recommended {
        transform: none;
    }

    .plan-card.recommended:hover {
        transform: translateY(-4px);
    }

    .plan-stats {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        padding: 6px 8px;
    }

    .plan-stat {
        font-size: 9px;
    }

    .plan-guarantees {
        gap: 6px;
    }

    .plan-guarantees span {
        font-size: 8px;
        padding: 2px 8px;
    }
}

@media (max-width: 480px) {
    .plan-card {
        padding: 16px;
    }

    .plan-price .price-amount {
        font-size: 18px;
    }

    .plan-stats {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .plan-stat {
        font-size: 9px;
        justify-content: center;
    }

    .plan-features li {
        font-size: 10px;
        padding: 3px 0;
    }

    .feature-detail {
        font-size: 9px;
        padding: 0 16px 0 18px;
    }

    .feature-detail.open {
        padding: 4px 16px 4px 18px;
    }

    .toggle-btn {
        font-size: 10px;
        padding: 4px 12px;
    }

    .plan-guarantees span {
        font-size: 7px;
        padding: 1px 6px;
    }
}

/* ============================================
   [11] QUIZ
   ============================================ */
.section-quiz {
    padding: 30px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.quiz-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.quiz-container {
    position: relative;
    min-height: 200px;
}

.quiz-step {
    display: none;
    text-align: center;
    animation: fadeSlide 0.4s ease;
}

.quiz-step.active {
    display: block;
}

.quiz-step h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.quiz-options .quiz-btn {
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: var(--transition);
}

.quiz-options .quiz-btn:hover {
    border-color: var(--primary);
    background: rgba(234, 179, 8, 0.05);
    color: var(--primary);
}

.quiz-loader {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

.quiz-result-box {
    padding: 16px;
    background: rgba(234, 179, 8, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.quiz-result-box i {
    font-size: 32px;
    color: #10b981;
    margin-bottom: 8px;
}

.quiz-result-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.quiz-result-box p {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   [12] REGISTRATION FORM
   ============================================ */
.section-form {
    padding: 30px 0;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
}

.form-sidebar {
    padding: 24px;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-sidebar h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.form-sidebar p {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.6;
}

.form-sidebar ul {
    list-style: none;
    padding: 0;
}

.form-sidebar ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #475569;
    padding: 4px 0;
}

.form-sidebar ul li i {
    color: var(--eco-color);
    width: 16px;
}

.form-main {
    padding: 24px;
    position: relative;
}

.form-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 10;
}

.form-overlay.show {
    opacity: 1;
    visibility: visible;
}

.form-loader {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

.success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 12px;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }
    60% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.form-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.form-overlay p {
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

.form-main form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.form-group .required {
    color: #ef4444;
}

.form-group input,
.form-group select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 13px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
}

.form-group.terms {
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 11px;
    color: #64748b;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.checkbox-label input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* ============================================
   [13] GUARANTEE
   ============================================ */
.section-guarantee {
    padding: 20px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.guarantee-box {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.guarantee-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eco-color);
    font-size: 20px;
    flex-shrink: 0;
}

.guarantee-content h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.guarantee-content p {
    font-size: 11px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   [14] FAQ
   ============================================ */
.section-faq {
    padding: 30px 0;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.faq-grid {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    transition: var(--transition);
    text-align: right;
    font-family: inherit;
}

.faq-btn:hover {
    background: #f8fafc;
}

.faq-btn i {
    transition: var(--transition);
    color: #94a3b8;
    font-size: 12px;
}

.faq-item.active .faq-btn i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 16px 12px;
}

.faq-answer p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   [15] FINAL CTA
   ============================================ */
.section-final-cta {
    padding: 20px 0 30px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.final-cta-box {
    text-align: center;
}

.final-cta-box h3 {
    font-family: 'Lalezar', cursive;
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 12px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(234, 179, 8, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .plans-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 22px;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }

    .passport-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-wrapper {
        grid-template-columns: 1fr;
        border-radius: var(--radius-md);
    }

    .form-sidebar {
        border-left: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .plan-card.recommended {
        transform: none;
    }

    .plan-card.recommended:hover {
        transform: translateY(-4px);
    }

    .flip-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .quiz-options {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guarantee-box {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .chart-area {
        height: 160px;
    }

    .point-tooltip {
        min-width: 140px;
        left: auto;
        right: 0;
        transform: none;
    }

    .point-tooltip h4 {
        font-size: 10px;
    }

    .point-tooltip p {
        font-size: 9px;
    }

    .timeline-tabs {
        padding-bottom: 8px;
        margin-bottom: 12px;
    }

    .timeline-btn {
        font-size: 10px;
        padding: 4px 10px;
    }

    .timeline-content.active {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .chat-body {
        height: 220px;
    }

    .chat-message {
        font-size: 11px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .plans-title {
        font-size: 24px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
        font-size: 13px;
        padding: 10px 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .testimonial-card {
        min-width: 220px;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .plan-card {
        padding: 16px;
    }

    .plan-price .price-amount {
        font-size: 18px;
    }

    .passport-frame {
        padding: 14px;
    }

    .passport-frame .passport-value {
        font-size: 12px;
    }

    .toggle-btn {
        font-size: 10px;
        padding: 4px 12px;
    }
}



/* ============================================
   SOCIAL PROOF TOAST (FOMO Notifications)
   ============================================ */
.custom-toast {
    position: fixed !important;
    bottom: 24px !important;
    left: 16px !important;
    z-index: 9999 !important;
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    width: 280px !important;
    max-width: calc(100vw - 32px) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform: translateY(20px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.custom-toast.show {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.custom-toast .toast-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: #10b981 !important;
}

.custom-toast .toast-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.custom-toast .toast-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 2px !important;
}

.custom-toast .toast-action {
    font-size: 11px !important;
    color: #64748b !important;
}

.custom-toast .toast-action strong {
    color: #10b981 !important;
    font-weight: 700 !important;
}

.custom-toast .toast-close {
    width: 24px !important;
    height: 24px !important;
    border: none !important;
    background: transparent !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.custom-toast .toast-close:hover {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

/* ============================================
   RESPONSIVE - TOAST
   ============================================ */
@media (max-width: 480px) {
    .custom-toast {
        bottom: 16px !important;
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        max-width: calc(100vw - 16px) !important;
        padding: 10px 14px !important;
        border-radius: 12px !important;
    }

    .custom-toast .toast-name {
        font-size: 12px !important;
    }

    .custom-toast .toast-action {
        font-size: 10px !important;
    }

    .custom-toast .toast-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
}


/* ============================================
   PLAN DESCRIPTIONS ACCORDION (زیر همه پلن‌ها)
   ============================================ */
.plan-descriptions-wrapper {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 0 4px;
}

.plan-desc-main-title {
    text-align: center;
    font-family: 'Lalezar', cursive;
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 16px;
}

.plan-desc-item {
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    margin-bottom: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.plan-desc-item:hover {
    border-color: #4D96FF;
}

.plan-desc-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'ir', Tahoma, sans-serif;
    text-align: right;
}

.plan-desc-toggle:hover {
    background: #f8fafc;
    color: #4D96FF;
}

.plan-desc-toggle span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-desc-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
    color: #94a3b8;
    font-size: 12px;
    flex-shrink: 0;
}

.plan-desc-toggle.open .fa-chevron-down {
    transform: rotate(180deg);
    color: #4D96FF;
}

.plan-desc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 16px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.8;
    font-family: 'ir', Tahoma, sans-serif;
}

.plan-desc-content.open {
    max-height: 800px;
    padding: 0 16px 16px;
}

.plan-desc-content p {
    margin: 8px 0;
}

.plan-desc-content strong {
    color: #0f172a;
}

.plan-desc-content ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 8px 0;
}

.plan-desc-content ul li {
    padding: 2px 0 2px 20px;
    position: relative;
    font-size: 12px;
    color: #475569;
}

.plan-desc-content ul li::before {
    content: '▸';
    position: absolute;
    right: 0;
    color: #4D96FF;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .plan-desc-main-title {
        font-size: 17px;
    }
    
    .plan-desc-toggle {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .plan-desc-content {
        font-size: 11px;
    }
    
    .plan-desc-content ul li {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .plan-desc-main-title {
        font-size: 15px;
    }
    
    .plan-desc-toggle {
        font-size: 11px;
        padding: 8px 10px;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .plan-desc-content {
        font-size: 10px;
        padding: 0 12px;
    }
    
    .plan-desc-content.open {
        padding: 0 12px 12px;
    }
    
    .plan-desc-content ul li {
        font-size: 10px;
        padding: 1px 0 1px 16px;
    }
}

/* ============================================
   QUIZ - ADVANCED (5 Questions)
   ============================================ */
.section-quiz {
    padding: 30px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.quiz-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.quiz-container {
    position: relative;
    min-height: 280px;
}

/* Progress Bar */
.quiz-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 4px 12px 4px 4px;
}

.quiz-progress-bar {
    height: 6px;
    background: linear-gradient(to right, #4D96FF, #3B82F6);
    border-radius: 4px;
    transition: width 0.5s ease;
    flex: 1;
}

.quiz-progress-text {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    font-family: 'ir', Tahoma, sans-serif;
    direction: ltr !important;
    unicode-bidi: embed;
    display: flex;
    align-items: center;
    gap: 4px;
}

.quiz-progress-text .progress-current,
.quiz-progress-text .progress-total {
    font-weight: 900;
    color: #0f172a;
    min-width: 12px;
    text-align: center;
}

.quiz-progress-text .progress-sep {
    color: #94a3b8;
    font-weight: 400;
}

.quiz-step {
    display: none;
    text-align: center;
    animation: fadeSlide 0.4s ease;
}

.quiz-step.active {
    display: block;
}

.quiz-step h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    font-family: 'ir', Tahoma, sans-serif;
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.quiz-options .quiz-btn {
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'ir', Tahoma, sans-serif;
}

.quiz-options .quiz-btn:hover {
    border-color: #4D96FF;
    background: rgba(77, 150, 255, 0.05);
    color: #4D96FF;
}

.quiz-options .quiz-btn:active {
    transform: scale(0.97);
}

.quiz-loader {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top-color: #4D96FF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

.quiz-loader p {
    font-family: 'ir', Tahoma, sans-serif;
}

/* Result */
.quiz-result-box {
    padding: 20px;
    background: rgba(77, 150, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(77, 150, 255, 0.15);
    text-align: center;
}

.quiz-result-icon {
    font-size: 40px;
    color: #10b981;
    margin-bottom: 8px;
}

.quiz-result-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    font-family: 'ir', Tahoma, sans-serif;
}

.quiz-result-box p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
    font-family: 'ir', Tahoma, sans-serif;
    line-height: 1.6;
}

.quiz-result-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.result-detail {
    font-size: 12px;
    color: #475569;
    font-family: 'ir', Tahoma, sans-serif;
}

.result-detail i {
    color: #4D96FF;
    margin-left: 4px;
    width: 16px;
}

/* Responsive */
@media (max-width: 480px) {
    .quiz-options {
        grid-template-columns: 1fr;
    }
    
    .quiz-options .quiz-btn {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .quiz-step h3 {
        font-size: 14px;
    }
    
    .quiz-result-box h3 {
        font-size: 16px;
    }
    
    .quiz-progress-text {
        font-size: 10px;
    }
}

/* ============================================
   CONSULTATION GUIDE MODAL
   ============================================ */
.consultation-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.consultation-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: overlayFadeIn 0.4s ease;
}

.consultation-modal-content {
    position: relative;
    background: white;
    border-radius: 32px;
    max-width: 560px;
    width: 100%;
    padding: 40px 35px 35px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: modalSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.consultation-modal-content::-webkit-scrollbar {
    width: 4px;
}
.consultation-modal-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.consultation-modal-content::-webkit-scrollbar-thumb {
    background: #4D96FF;
    border-radius: 4px;
}

.consultation-modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    font-size: 16px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultation-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

.consultation-modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4D96FF, #2563EB);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 12px 35px rgba(77, 150, 255, 0.35);
}

.consultation-modal-icon i {
    font-size: 32px;
    color: white;
}

.consultation-modal-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    font-family: 'Lalezar', cursive;
}

.consultation-modal-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.consultation-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.consultation-step:hover {
    background: #f1f5f9;
    border-color: #4D96FF;
    transform: translateX(-4px);
}

.consultation-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4D96FF, #2563EB);
    color: white;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(77, 150, 255, 0.3);
}

.consultation-step-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.consultation-step-content h4 i {
    color: #4D96FF;
    font-size: 14px;
}

.consultation-step-content p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.consultation-step-content p strong {
    color: #4D96FF;
}

.consultation-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.consultation-modal-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'i', 'vazir', sans-serif;
}

.consultation-modal-btn.primary {
    background: linear-gradient(135deg, #4D96FF, #2563EB);
    color: white;
    box-shadow: 0 8px 25px rgba(77, 150, 255, 0.35);
}

.consultation-modal-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(77, 150, 255, 0.45);
}

.consultation-modal-btn.secondary {
    background: #f1f5f9;
    color: #64748b;
}

.consultation-modal-btn.secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Animations */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive */
@media (max-width: 480px) {
    .consultation-modal-content {
        padding: 28px 20px 24px;
        border-radius: 24px;
    }
    
    .consultation-modal-icon {
        width: 56px;
        height: 56px;
    }
    
    .consultation-modal-icon i {
        font-size: 24px;
    }
    
    .consultation-modal-title {
        font-size: 18px;
    }
    
    .consultation-step {
        padding: 10px 14px;
    }
    
    .consultation-step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .consultation-step-content h4 {
        font-size: 13px;
    }
    
    .consultation-step-content p {
        font-size: 12px;
    }
    
    .consultation-modal-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}