* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
@font-face {
    font-family: iran;
    src: url(IRANSansWeb.woff);
}
        body {
            font-family: 'iran', -apple-system, BlinkMacSystemFont, sans-serif;
            background: 
                radial-gradient(circle at 20% 80%, rgba(205, 133, 63, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(244, 162, 97, 0.06) 0%, transparent 50%),
                linear-gradient(135deg, #faf8f5 0%, #f5f1eb 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            color: #2d2a26;
            position: relative;
            overflow-x: hidden;
        }

        body::before {
            content: '';
            position: fixed;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background-image: 
                radial-gradient(circle at 25% 25%, rgba(205, 133, 63, 0.03) 0%, transparent 2%),
                radial-gradient(circle at 75% 75%, rgba(139, 69, 19, 0.02) 0%, transparent 2%);
            background-size: 100px 100px, 150px 150px;
            animation: backgroundMove 30s linear infinite;
            pointer-events: none;
            z-index: -1;
        }

        @keyframes backgroundMove {
            0% { transform: translate(0, 0) rotate(0deg); }
            100% { transform: translate(-50px, -50px) rotate(360deg); }
        }
#loadingOverlay {
    display: none;
    /* ابتدا مخفی */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* تار کردن صفحه */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#loadingOverlay .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
        .container {
            max-width: 900px;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.8);
            border-radius: 24px;
            box-shadow: 
                0 20px 60px rgba(139, 69, 19, 0.12),
                0 8px 32px rgba(139, 69, 19, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
            overflow: hidden;
            animation: slideUp 0.8s ease-out;
            position: relative;
        }

        .container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(68, 205, 63, 0.3), transparent);
            z-index: 1;
        }

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

        .hero-section {
            background: 
                linear-gradient(135deg, rgba(47, 139, 19, 0.95) 0%, rgba(63, 205, 87, 0.9) 100%),
                url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M50 50c0-27.614 22.386-50 50-50v50H50z'/%3E%3C/g%3E%3C/svg%3E");
            padding: 60px 40px;
            display: flex;
            text-align: center;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: 
                radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-16.569 13.431-30 30-30v30H30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
            animation: float 20s linear infinite;
        }

        .hero-section::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        }

        @keyframes float {
            0% { transform: translate(0, 0); }
            100% { transform: translate(-60px, -60px); }
        }

        .hero-content {
            position: relative;
            z-index: 1;
            color: white;
            font-family: iran;
        }

        .brand-logo {
            width: 56px;
            height: 56px;
            background: 
                linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 32px;
            backdrop-filter: blur(10px);
            position: relative;
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .brand-logo::before {
            content: '✦';
            font-size: 28px;
            color: white;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            animation: logoGlow 3s ease-in-out infinite alternate;
        }

        @keyframes logoGlow {
            0% { filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5)); }
            100% { filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.8)); }
        }

        .hero-title {
            font-family: 'iran';
            font-size: 36px;
            font-weight: 600;
            line-height: 1.2;
            margin-bottom: 16px;
            background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .hero-subtitle {
            font-size: 18px;
            opacity: 0.9;
            line-height: 1.6;
            margin-bottom: 32px;
        }

        .feature-list {
            list-style: none;
        }

        .feature-item {
            display: flex;
            align-items: center;
            margin-bottom: 16px;
            font-size: 16px;
            opacity: 0.95;
        }

        .feature-item::before {
            content: '✓';
            background: 
                linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            width: 28px;
            height: 28px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            font-weight: bold;
            font-size: 14px;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            animation: checkPulse 2s ease-in-out infinite;
            animation-delay: calc(var(--i) * 0.2s);
        }

        @keyframes checkPulse {
            0%, 70%, 100% { transform: scale(1); }
            35% { transform: scale(1.05); }
        }

        .form-section {
            padding: 60px 40px;
            position: relative;
        }

        .form-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 40px;
            right: 40px;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.1), transparent);
        }

        .form-header {
            margin-bottom: 32px;
        }

        .form-title {
            font-family: 'iran';
            font-size: 28px;
            text-align: right;
            font-weight: 600;
            color: #2d2a26;
            margin-bottom: 8px;
        }

        .form-subtitle {
            color: #8b7355;

            font-size: 16px;
            line-height: 1.5;
        }

        .trial-status {
            background: linear-gradient(135deg, #fff5e6 0%, #ffecd1 100%);
            border: 1px solid #f4a261;
            border-radius: 12px;
            padding: 16px 20px;
            margin-bottom: 32px;
            display: flex;
            align-items: center;
            animation: pulse 2s ease-in-out infinite alternate;
        }

        @keyframes pulse {
            0% { border-color: #f4a261; }
            100% { border-color: #e76f51; }
        }

        .trial-status::before {
            content: '⏰';
            font-size: 20px;
            margin-right: 12px;
        }

        .trial-text {
            flex: 1;
        }

        .trial-title {
            font-weight: 600;
            color: #8b4513;
            margin-bottom: 4px;
        }

        .trial-subtitle {
            color: #cd853f;
            font-size: 14px;
        }

        .form-group {
            margin-bottom: 24px;
            text-align: right;

        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
                        text-align: right;

        }

        .form-label {
            display: block;
                        text-align: right;

            margin-bottom: 8px;
            font-weight: 500;
            color: #2d2a26;
            font-size: 14px;
        }

        .form-input {
            width: 100%;
            padding: 18px 20px;
            border: 2px solid rgba(232, 226, 212, 0.8);
            border-radius: 16px;
            font-size: 16px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: 
                linear-gradient(135deg, rgba(250, 248, 245, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
            font-family: iran;
            position: relative;
                        text-align: right;

            box-shadow: 
                0 1px 3px rgba(139, 69, 19, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
        }

        .form-input:focus {
            outline: none;
            border-color: rgba(205, 133, 63, 0.8);
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 
                0 0 0 4px rgba(205, 133, 63, 0.12),
                0 4px 20px rgba(139, 69, 19, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
            transform: translateY(-2px);
        }

        .form-input:hover {
            border-color: rgba(205, 133, 63, 0.4);
            box-shadow: 
                0 2px 8px rgba(139, 69, 19, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
        }

        .form-input::placeholder {
            color: #a0956b;
        }

        .card-input-group {
            position: relative;
        }

        .card-icons {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            gap: 8px;
        }

        .card-icon {
            width: 32px;
            height: 20px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            opacity: 0.6;
        }

        .security-badge {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #8b7355;
            font-size: 13px;
            margin-top: 8px;
        }

        .security-badge::before {
            content: '🔒';
            font-size: 14px;
        }

        .price-summary {
            background: 
                linear-gradient(135deg, rgba(248, 246, 241, 0.9) 0%, rgba(241, 237, 229, 0.95) 100%);
            border-radius: 20px;
            padding: 28px;
            margin-bottom: 32px;
            border: 1px solid rgba(232, 226, 212, 0.8);
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 4px 20px rgba(139, 69, 19, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
        }

        .price-summary::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(205, 133, 63, 0.3), transparent);
        }

        .price-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
            font-size: 15px;
        }

        .price-total {
            display: flex;
            justify-content: space-between;
            padding-top: 16px;
            border-top: 2px solid #e8e2d4;
            font-weight: 600;
            font-size: 18px;
            color: #2d2a26;
        }

        .upgrade-btn {
            width: 100%;
            background: 
                linear-gradient(135deg, #8b4513 0%, #cd853f 50%, #d4945a 100%);
            color: white;
            border: none;
            padding: 22px;
            border-radius: 18px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            font-family: inherit;
            box-shadow: 
                0 8px 32px rgba(139, 69, 19, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .upgrade-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
            transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .upgrade-btn::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
            transition: all 0.6s ease;
            border-radius: 50%;
            transform: translate(-50%, -50%);
        }

        .upgrade-btn:hover::before {
            left: 100%;
        }

        .upgrade-btn:hover::after {
            width: 300px;
            height: 300px;
        }

        .upgrade-btn:hover {
            transform: translateY(-3px);
            box-shadow: 
                0 16px 48px rgba(139, 69, 19, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .upgrade-btn:active {
            transform: translateY(0);
        }

        .guarantee {
            text-align: center;
            margin-top: 20px;
            color: #8b7355;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .guarantee::before {
            content: '✓';
            background: #8b4513;
            color: white;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
        }

        @media (max-width: 768px) {
            .container {
                grid-template-columns: 1fr;
                max-width: 500px;
            }
            
            .hero-section {
                padding: 40px 30px;
            }
            
            .form-section {
                padding: 40px 30px;
            }
            
            .form-row {
                grid-template-columns: 1fr;
            }
        }

        .loading {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
            margin-right: 8px;
        }

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

        .upgrade-btn.processing {
            pointer-events: none;
            opacity: 0.8;
        }

        .upgrade-btn.processing .loading {
            display: inline-block;
        }